Host snippets with a git backend. Like Gists but OpenSource. https://gist.sigpipe.me/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 

66 lines
2.4 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="{{AppSubURL}}/favicon.ico">
<title>{{ .Title }}</title>
<!-- Bootstrap core CSS -->
<link href="{{AppSubURL}}/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="{{AppSubURL}}/css/custom.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{AppSubURL}}/">{{AppName}}</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
</ul>
<ul class="nav navbar-nav navbar-right">
{{if AnonymousCreate}}
<li><a href="{{AppSubURL}}/new">New git.txt</a></li>
{{end}}
{{if .IsLogged}}
<li><a href="{{AppSubURL}}/user/logout">Logout</a></li>
{{else}}
{{if CanRegister}}
<li><a href="{{AppSubURL}}/user/register">Register</a></li>
{{end}}
<li><a href="{{AppSubURL}}/user/login">Login</a></li>
{{end}}
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container">
{{template "base/alert" .}}
{{/*
</div>
</body>
</html>
*/}}