Skip to content

Commit

Permalink
Merge pull request #114 from Edirom/issue-55
Browse files Browse the repository at this point in the history
Display GitHub contributors in footer
  • Loading branch information
daniel-jettka authored Jun 24, 2022
2 parents fcc7fab + 3c0bf5c commit 043358d
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 10 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>MerMEId – Metadata Editor and Repository for MEI Data</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF8"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link href="resources/css/tab_style.css" rel="stylesheet" type="text/css"/>
<link href="resources/css/list_style.css" rel="stylesheet" type="text/css"/>
<link href="resources/css/xform_style.css" rel="stylesheet" type="text/css"/>
Expand Down
18 changes: 11 additions & 7 deletions properties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,17 @@
<version>v. @repository.version@ for MEI 4.0.0</version>
<footer>
<div class="footer" xmlns="http://www.w3.org/1999/xhtml">
<div style="float:right" class="version">v. {$config:version} for MEI 4.0.0</div>
<img
style="border: 0px; vertical-align:middle;"
alt="DCM Logo"
src="/resources/images/dcm_logo_small_white.png"/>
2010-2019 Danish Centre for Music Editing | Royal Danish Library, Copenhagen | <a name="www.kb.dk" id="www.kb.dk" href="http://www.kb.dk">www.kb.dk</a> – 2020 ff. MerMEId Community
<div class="version">v. {$config:version} for MEI 4.0.0</div>
<div class="dev">
2010-2019 Danish Centre for Music Editing | Royal Danish Library, Copenhagen | <a name="https://www.kb.dk/" id="www.kb.dk" href="http://www.kb.dk" title="Det Kgl. Bibliotek">www.kb.dk <img id="dcm-logo" src="/resources/images/dcm_logo_small_white.png" /></a>
</div>
<div class="dev">
2020 ff. MerMEId Community
<a href="https://github.com/Edirom/MerMEId/graphs/contributors" title="See contributors to MerMEId GitHub project">
<img id="github-contributors" src="https://contrib.rocks/image?repo=Edirom/MerMEId" alt="Avatars of contributors to MerMEId in GitHub" />
</a>
</div>
</div>
</footer>

</properties>
</properties>
25 changes: 23 additions & 2 deletions resources/css/front_page.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,35 @@ div.main {

div.footer, p.footer {
margin: 0 -20px 20px -20px;
padding: 10px 20px;
padding: 10px 25px;
}


.footer, .footer a:link, .footer a:visited, .footer a:active {
color: #888;
}

div.footer div.version{
float:right;
}

div.footer div.dev{
margin-top: 10px;
}

div.footer img{
vertical-align: middle;
margin-left: 10px;
}

div.footer #dcm-logo{
height:30px;
}

div.footer #github-contributors{
height: 23px;
}

table {
padding:0px;
}
Expand All @@ -38,4 +59,4 @@ p {

body {
background-color: #fff;
}
}
18 changes: 18 additions & 0 deletions resources/css/list_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,24 @@ div.footer, p.footer {

div.footer .version {
margin-top: 12px;
float:right;
}

div.footer div.dev{
margin-top: 10px;
}

div.footer img{
vertical-align: middle;
margin-left: 10px;
}

div.footer #dcm-logo{
height:30px;
}

div.footer #github-contributors{
height: 23px;
}


Expand Down

0 comments on commit 043358d

Please sign in to comment.