Skip to content

Commit

Permalink
reposition footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Jordan committed Dec 2, 2023
1 parent 1c7df28 commit bee7a7b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
5 changes: 0 additions & 5 deletions htdocs/themes/math4/math4.scss
Original file line number Diff line number Diff line change
Expand Up @@ -695,11 +695,6 @@ ul.courses-list {
padding: 1em;
margin-top: 1em;

div {
margin-left: auto;
margin-right: auto;
}

a {
color: #555;
}
Expand Down
2 changes: 1 addition & 1 deletion htdocs/themes/math4/system.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
% }
%
% # Footer
<div id="footer" role="contentinfo"><%= include 'ContentGenerator/Base/footer' %></div>
<div id="footer" role="contentinfo" class="row"><%= include 'ContentGenerator/Base/footer' %></div>
</div>
</div>
%
Expand Down
22 changes: 12 additions & 10 deletions templates/ContentGenerator/Base/footer.html.ep
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<div id="last-modified"><%= maketext('Page generated at [_1]', $c->timestamp) %></div>
<div id="copyright">
<%== maketext(
'WeBWorK &copy; [_1] | theme: [_2] | ww_version: [_3] | pg_version [_4]',
$ce->{WW_COPYRIGHT_YEARS} || '1996-2023',
$ce->{defaultTheme} || 'unknown -- set defaultTheme in localOverides.conf',
$ce->{WW_VERSION} || 'unknown -- set WW_VERSION in VERSION',
$ce->{PG_VERSION} || 'unknown -- set PG_VERSION in ../pg/VERSION'
) %>
<div class="col-lg-10">
<div id="last-modified"><%= maketext('Page generated at [_1]', $c->timestamp) %></div>
<div id="copyright">
<%== maketext(
'WeBWorK &copy; [_1] | theme: [_2] | ww_version: [_3] | pg_version [_4]',
$ce->{WW_COPYRIGHT_YEARS} || '1996-2023',
$ce->{defaultTheme} || 'unknown -- set defaultTheme in localOverides.conf',
$ce->{WW_VERSION} || 'unknown -- set WW_VERSION in VERSION',
$ce->{PG_VERSION} || 'unknown -- set PG_VERSION in ../pg/VERSION'
) %>
</div>
<a href="https://openwebwork.org/"><%= maketext('The WeBWorK Project') %></a>
</div>
<a href="https://openwebwork.org/"><%= maketext('The WeBWorK Project') %></a>

0 comments on commit bee7a7b

Please sign in to comment.