Skip to content

Commit

Permalink
Fix copyright footer
Browse files Browse the repository at this point in the history
* Now is back at the very right of the page
* Added a padding so it wont align with the page border
* Fixes #37
  • Loading branch information
Dynalon committed Nov 30, 2013
1 parent c15d3a0 commit 22254ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
1 change: 1 addition & 0 deletions index.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
#md-all .md-copyright-footer {
background-color: !important;
font-size: smaller;
padding: 1em;
}
</style>

Expand Down
21 changes: 5 additions & 16 deletions js/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,22 +451,11 @@
// and may not be removed or hidden to comply with licensing conditions.
function addFooter() {
var navbar = '';
navbar += '<hr><div class="container md-copyright-footer" class="navbar navbar-default navbar-fixed-bottom">';
navbar += '<ul class="nav navbar-nav navbar-left">';
navbar += '<p class="navbar-text">';
navbar += '</p>';
navbar += '</ul>';
navbar += '<ul class="nav navbar-nav navbar-right">';
navbar += '<p class="navbar-text">';
navbar += '<span id="md-footer-additional"></span>';
navbar += '<span>';
navbar += ' Website generated with <a href="http://www.mdwiki.info">MDwiki</a> ';
navbar += '&copy; Timo D&ouml;rr and contributors. ';
// navbar += '<a href="http://www.mdwiki.info">MDwiki</a> is free software licensed under ';
// navbar += '<a href="https://github.com/Dynalon/mdwiki/blob/master/LICENSE.txt">GNU GPLv3 (additional terms apply).</a>';
navbar += '</span>';
navbar += '</p>';
navbar += '</ul>';
navbar += '<hr><div class="scontainer">';
navbar += '<div class="pull-right md-copyright-footer"> ';
navbar += '<span id="md-footer-additional"></span>';
navbar += 'Website generated with <a href="http://www.mdwiki.info">MDwiki</a> ';
navbar += '&copy; Timo D&ouml;rr and contributors. ';
navbar += '</div>';
navbar += '</div>';
var $navbar = $(navbar);
Expand Down

0 comments on commit 22254ea

Please sign in to comment.