Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
jrladd committed Jan 11, 2018
1 parent c3e5147 commit 9b1de49
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
Binary file added CMU_Logo_Horiz_Red.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,26 @@
<link rel="stylesheet" href="bootstrap-sortable.css">

<style>
html {
position: relative;
min-height: 100%;
}
body {
margin-bottom: 60px;
}
#logo {
max-height: 15px;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
height: 60px;
background-color: #f5f5f5;
}
.container .text-muted {
margin: 20px 0;
}
.panel-body {
white-space: pre;
}
Expand Down Expand Up @@ -102,6 +122,12 @@ <h4 class="panel-title">
</div>
</div>
</div>

<footer class="footer">
<div class="container">
<p class="text-muted">Made by <a href="http://jrladd.com" target="_blank">J.R. Ladd</a> with hosting and support from <a href="http://dsharp.library.cmu.edu/" target="_blank"><img id="logo" src="CMU_Logo_Horiz_Red.png" /></a></p>
</div>
</footer>
<!-- Latest jQuery API -->
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>

Expand Down
4 changes: 3 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ $( function() {
var allInfo = '';
list.forEach(function(l){
var items = l.split(",");
edges.push(items);
if (items.length > 1) {
edges.push(items);
}
});

$('tbody').empty();
Expand Down

0 comments on commit 9b1de49

Please sign in to comment.