aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-02-16 22:36:57 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-02-16 22:36:57 +0100
commit45d82515461601d301aefcd95af8c77448ef01a4 (patch)
tree0930794c758dbfcbcfe62bf07309ad7875fa44c8
parentdeaffdc77ae56e84247284de4339fcc2cdb30b86 (diff)
Use FA
-rw-r--r--tmpl/root16
1 files changed, 12 insertions, 4 deletions
diff --git a/tmpl/root b/tmpl/root
index ad3d243..57117f4 100644
--- a/tmpl/root
+++ b/tmpl/root
@@ -6,6 +6,8 @@
<link href='http://fonts.googleapis.com/css?family=Abel' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Anonymous+Pro' rel='stylesheet' type='text/css'>
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
+
<style>
body {
font-family: 'Abel', sans-serif;
@@ -24,6 +26,12 @@
color: #05A;
text-decoration: none;
}
+ nav {
+ float: right;
+ }
+ nav a {
+ padding: 1ex;
+ }
</style>
</head>
<body>
@@ -31,10 +39,10 @@
<header>
<h1>{{template "title" .}}</h1>
<nav>
- <a href="/">root</a> |
- <a href="/index">index</a> |
- <a href="/edit/{{.Title}}">edit</a> |
- <a href="/del/{{.Title}}">delete</a>
+ <a href="/"><i class="fa fa-home"></i></a>
+ <a href="/index"><i class="fa fa-list"></i></a>
+ <a href="/edit/{{.Title}}"><i class="fa fa-pencil"></i></a>
+ <a href="/del/{{.Title}}"><i class="fa fa-trash"></i></a>
</nav>
</header>
{{template "content" .}}