Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
better UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Flaxman committed Apr 24, 2017
1 parent 1ea36b2 commit c3a3cd8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,4 @@ Percentage of the requests served within a certain time (ms)
100% 1025 (longest request)
```
## TODOs
1. add test coverage!
2. make UI not awful?
TODO: add test coverage
30 changes: 22 additions & 8 deletions templates/base.jinja2
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="en">

<head>
{% block head %}
<link rel="stylesheet" href="style.css" />
Expand All @@ -10,11 +11,22 @@
>
{% endblock %}
</head>

<body>

{# Fork me on github #}
<a href="https://github.com/paxos-bankchain/pastey">
<img
style="position: absolute; top: 0; right: 0; border: 0;"
src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67"
alt="Fork me on GitHub"
data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"
>
</a>

{# nav #}
<nav>
<div class="nav-wrapper">
<div class="nav-wrapper container">
<a href="/" class="brand-logo">Pastey</a>
<ul id="nav-mobile" class="right hide-on-med-and-down">
<li><a href="/pastes">Upload Pastey</a></li>
Expand All @@ -23,18 +35,20 @@
</div>
</nav>

<div class="container" id="content">{% block content %}{% endblock %}</div>
<hr />

<div class="container" id="content">
{% block content %}{% endblock %}
</div>

<br />
<footer class="page-footer">
<div class="footer-copyright">
<div class="container">
&copy; Copyright 2017
<a class="grey-text" href="https://www.paxos.com/">Paxos Trust Company, LLC</a>.
<a class="grey-text text-lighten-4" href="https://www.paxos.com/">
&copy; Copyright 2017
Paxos Trust Company, LLC
</a>
</div>
</div>
</footer>

</body>

</html>

0 comments on commit c3a3cd8

Please sign in to comment.