31 lines
1.6 KiB
HTML
31 lines
1.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="{{"utf-8"}}" />
|
|
<meta name="{{"author"}}" content="{{"Brad Rydzewski"}}" />
|
|
<link rel="{{"shortcut icon"}}" href="{{"/static/images/favicon.png"}}" />
|
|
<link rel="{{"stylesheet"}}" href="{{"//yui.yahooapis.com/pure/0.4.2/pure-min.css"}}" />
|
|
<link rel="{{"stylesheet"}}" href="{{"//fonts.googleapis.com/css?family=Open+Sans"}}" />
|
|
<link rel="{{"stylesheet"}}" href="{{"//fonts.googleapis.com/css?family=Orbitron"}}" />
|
|
<link rel="{{"stylesheet"}}" href="{{"//fonts.googleapis.com/css?family=Droid+Sans+Mono"}}" />
|
|
<link rel="{{"stylesheet"}}" href="{{"//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css"}}" />
|
|
<link rel="{{"stylesheet"}}" href="{{"/static/styles/drone.css"}}" />
|
|
<title>
|
|
</title>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<a class="{{"header-brand"}}" href="{{"/"}}">Drone</a>{{if .User}}
|
|
<a href="{{"/account/profile"}}" class="{{"header-user"}}">{{$__amber_1 := .User.Gravatar}}{{$__amber_2 := __amber_add "//secure.gravatar.com/avatar/" $__amber_1}}{{$__amber_3 := __amber_add $__amber_2 "?s=64"}}
|
|
<img class="{{"header-avatar"}}" src="{{$__amber_3}}" />
|
|
<span class="{{"header-username"}}">{{$__amber_4 := .User.Login}}{{$__amber_4}}</span>
|
|
</a>{{else}}
|
|
<a href="{{"/login"}}" class="{{"header-login"}}">Login</a>{{end}}
|
|
</header>
|
|
<div>
|
|
</div>
|
|
<script src="{{"//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"}}"></script>
|
|
<script src="{{"//cdnjs.cloudflare.com/ajax/libs/jquery-timeago/1.1.0/jquery.timeago.js"}}"></script>
|
|
<script src="{{"/static/scripts/main.js"}}"></script>
|
|
</body>
|
|
</html>
|