fpaste/views/layouts/main.handlebars

58 lines
1.8 KiB
HTML
Raw Normal View History

2018-02-16 13:25:46 +00:00
<!doctype blah>
<html>
<head>
<title>fpaste</title>
<link rel="stylesheet" type="text/css" href="/css/main.css" />
<link rel="stylesheet" type="text/css" href="/css/notifications.css" />
<link rel="stylesheet" type="text/css" href="/css/code.css" />
<link rel="stylesheet" type="text/css" href="/css/view.css" />
<link rel="stylesheet" type="text/css" href="/css/index.css" />
<link rel="stylesheet" type="text/css" href="/css/fonts.css" />
</head>
<body>
<header>
<p id="left"><a id="n3" href="/a">f&nbsp;<sup>3,5</sup></a>paste.cc</p><p id="center">::</p><p id="right">Pudding</p>
<p id="info">a javascript pastebin</p>
</header>
<menu>
2018-02-19 10:15:33 +00:00
<li class="highlight"><a href="/">New paste</a></li>
2018-02-16 13:25:46 +00:00
<li class="highlight"><a href="/v">View pastes</a></li>
<li><hr></li>
<li class="highlight"><a href="/u">Login</a></li>
<li><hr></li>
2018-02-19 09:34:37 +00:00
<li class="highlight"><a href="/a">About</a>
2018-02-19 10:15:33 +00:00
<ul class="submenu hidden">
2018-02-19 09:34:37 +00:00
<li><a href="/a/howto">How to</a></li>
<li><a href="/a/contact">Contact</a></li>
<li><a href="/a/statistics">Statistics</a></li>
</ul>
</li>
2018-02-16 13:25:46 +00:00
</menu>
2018-02-19 09:34:37 +00:00
<section id="notifications">{{notification}}</section>
2018-02-16 13:25:46 +00:00
<section id="main">
{{{body}}}
</section>
2018-02-19 10:01:52 +00:00
<script type="text/javascript" src="/js/jquery-3.1.0.min.js"></script>
<script type="text/javascript" src="/js/jquery.timeago.js"></script>
2018-02-19 10:15:33 +00:00
<script type="text/javascript" src="/js/main.js"></script>
2018-02-19 10:01:52 +00:00
<script>
$(document).ready(() => {
let s = $.timeago.settings;
let str = s.strings;
s.refreshMillis = 1000;
s.allowFuture = true;
s.localeTitle = true;
str.seconds = "%d seconds";
str.minute = "1 minute";
str.hour = "1 hour";
str.hours = "%d hours";
str.day = "1 day";
str.month = "1 month";
str.year = "1 year";
str.suffixFromNow = null;
$("time.timeago").timeago();
});
</script>
2018-02-16 13:25:46 +00:00
</body>
</html>