Host snippets with a git backend. Like Gists but OpenSource.
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">
<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=""></script>
<script src=""></script>
<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>
<a class="navbar-brand" href="{{AppSubURL}}/">{{AppName}}</a>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<ul class="nav navbar-nav navbar-right">
{{if AnonymousCreate}}
<li><a href="{{AppSubURL}}/new">New git.txt</a></li>
{{if .IsLogged}}
<li><a href="{{AppSubURL}}/user/logout">Logout</a></li>
{{if CanRegister}}
<li><a href="{{AppSubURL}}/user/register">Register</a></li>
<li><a href="{{AppSubURL}}/user/login">Login</a></li>
</div><!--/.nav-collapse -->
<div class="container">
{{template "base/alert" .}}