58 lines
1.8 KiB
HTML
58 lines
1.8 KiB
HTML
<!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 <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>
|
|
<li class="highlight"><a href="/">New paste</a></li>
|
|
<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>
|
|
<li class="highlight"><a href="/a">About</a>
|
|
<ul class="submenu hidden">
|
|
<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>
|
|
</menu>
|
|
<section id="notifications">{{notification}}</section>
|
|
<section id="main">
|
|
{{{body}}}
|
|
</section>
|
|
|
|
<script type="text/javascript" src="/js/jquery-3.1.0.min.js"></script>
|
|
<script type="text/javascript" src="/js/jquery.timeago.js"></script>
|
|
<script type="text/javascript" src="/js/main.js"></script>
|
|
<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>
|
|
</body>
|
|
</html> |