Added Powered By

This commit is contained in:
Stéphane Goetz 2018-02-27 22:47:07 +01:00
parent e3a156f770
commit e31be9d02e
14 changed files with 33 additions and 20 deletions

View File

@ -28,7 +28,9 @@
"Download": "https://github.com/dauxio/daux.io/archive/master.zip",
"GitHub Repo": "https://github.com/dauxio/daux.io",
"Help/Support/Bugs": "https://github.com/dauxio/daux.io/issues"
}
},
"powered_by": "Powered by Daux.io"
},
"confluence": {
"base_url": "https://dauxio.atlassian.net/wiki/",

View File

@ -57,20 +57,11 @@
}
?>
<!-- jQuery -->
<script src="<?= $base_url; ?>themes/daux/js/jquery-1.11.3.min.js"></script>
<!-- hightlight.js -->
<script src="<?= $base_url; ?>themes/daux/js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<!-- JS -->
<?php foreach ($params['theme']['js'] as $js) {
echo '<script src="' . $js . '"></script>';
} ?>
<script src="<?= $base_url; ?>themes/daux/js/daux.js"></script>
<?php if ($params['html']['search']) { ?>
<!-- Tipue Search -->
<script type="text/javascript" src="<?php echo $base_url; ?>tipuesearch/tipuesearch.js"></script>

View File

@ -63,6 +63,13 @@
<?php } ?>
</div>
<?php } ?>
<?php if (!empty($params['html']['powered_by'])) { ?>
<div class="PoweredBy">
<hr/>
<?= $params['html']['powered_by'] ?>
</div>
<?php } ?>
</div>
</aside>
<div class="Columns__right <?= $params['html']['float'] ? 'Columns__right--float' : 'Columns__right--full'; ?>">

View File

@ -1,6 +1,10 @@
{
"favicon": "<theme_url>img/favicon.png",
"js": [],
"js": [
"<theme_url>js/jquery-1.11.3.min.js",
"<theme_url>js/highlight.pack.js",
"<theme_url>js/daux.js"
],
"variants": {
"blue": {
"favicon": "<theme_url>img/favicon-blue.png",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,8 @@
/** global localStorage */
/** global localStorage, hljs */
if (hljs) {
hljs.initHighlightingOnLoad();
}
//Initialize CodeBlock Visibility Settings
$(function () {

View File

@ -282,6 +282,11 @@ Components
padding: 0 20px;
}
.PoweredBy {
padding: 0 20px;
font-size: var(--type-size-6);
}
.Search {
position: relative;