Skip to content

Commit

Permalink
add footer nav
Browse files Browse the repository at this point in the history
with links to about.html and index.html
  • Loading branch information
peterstadler committed May 24, 2023
1 parent 6f5a6da commit 91e9d8c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
4 changes: 2 additions & 2 deletions forms/includes/topmenu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
title="Close editor and return to file list" border="0"/></xf:label>
<xf:action ev:event="DOMActivate">
<xf:action if="instance('temp')/changed='true'">
<xf:var name="uri" select="concat(instance('parameters')/dcm:server_name,'/modules/list_files.xq')"/>
<xf:var name="uri" select="concat(instance('parameters')/dcm:server_name,'/index.html')"/>
<xf:setvalue ref="instance('temp')/target_uri" value="$uri"/>
<xxf:show dialog="exit-warning-dialog"/>
</xf:action>
<xf:action if="instance('temp')/changed='false'">
<xf:load resource="{instance('parameters')/dcm:server_name}/modules/list_files.xq" show="replace"/>
<xf:load resource="{instance('parameters')/dcm:server_name}/index.html" show="replace"/>
</xf:action>
</xf:action>
</xf:trigger><xf:trigger appearance="minimal">
Expand Down
6 changes: 6 additions & 0 deletions properties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
<img id="github-contributors" src="https://contrib.rocks/image?repo=Edirom/MerMEId" alt="Avatars of contributors to MerMEId in GitHub" />
</a>
</div>
<div class="nav">
<ul>
<li><a href="/index.html">Home</a></li>
<li><a href="/about.html">About</a></li>
</ul>
</div>
</div>
</footer>

Expand Down
14 changes: 14 additions & 0 deletions resources/css/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,17 @@ div.footer #dcm-logo{
div.footer #github-contributors{
height: 23px;
}

.footer .nav {
text-align:center;
}

.footer .nav ul {
padding:0;
}

.footer .nav li {
list-style-type:none;
margin: 0 2em;
display:inline;
}

0 comments on commit 91e9d8c

Please sign in to comment.