120 lines
5.3 KiB
Handlebars
120 lines
5.3 KiB
Handlebars
<!doctype html>
|
|
<html class="no-js" lang="en" dir="ltr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="Dyno is a feature-rich and modular discord bot for your Discord server. With web configuration, moderation, anti-spam, auto roles, music, custom commands, and much more!">
|
|
{{>opengraph}}
|
|
<link rel="shortcut icon" type="image/png" href="/images/v3/favicon.png"/>
|
|
<title>{{config.name}}</title>
|
|
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-87DrmpqHRiY8hPLIr7ByqhPIywuSsjuQAfMXAE0sMUpY3BM7nXjf+mLIUSvhDArs" crossorigin="anonymous">
|
|
{{#each externalStylesheets}}
|
|
<link rel="stylesheet" href="{{getVersionedPath this}}">
|
|
{{/each}}
|
|
{{#each stylesheets}}
|
|
<link rel="stylesheet" href="{{getVersionedPath this}}">
|
|
{{/each}}
|
|
<!-- Google Tag Manager -->
|
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
|
})(window,document,'script','dataLayer','GTM-MFGKT6L');</script>
|
|
<!-- End Google Tag Manager -->
|
|
</head>
|
|
<body>
|
|
<nav class="level top-bar">
|
|
<div class="level-left">
|
|
<h1 class="title">
|
|
<a href="/" title="{{config.name}}">
|
|
<img src="/images/v3/dyno-44.svg" alt="Dyno" />
|
|
</a>
|
|
</h1>
|
|
{{>topnav}}
|
|
</div>
|
|
|
|
<div id='auth-mount'></div>
|
|
{{!-- <div class="level-right">
|
|
{{#if user}}
|
|
<div class="level-item">
|
|
{{>serverselect}}
|
|
</div>
|
|
<a class="level-item" href="/">
|
|
{{#if user.avatar}}
|
|
<img class="image is-32x32" src="https://discordapp.com/api/users/{{user.id}}/avatars/{{user.avatar}}.jpg" />
|
|
{{else}}
|
|
<img class="image is-32x32" src="https://discordapp.com/assets/6debd47ed13483642cf09e832ed0bc1b.png" />
|
|
{{/if}}
|
|
</a>
|
|
<a class="level-item" href="/">{{user.username}}</a>
|
|
<a class="level-item button is-info" href="/logout" title="Logout">Logout</a>
|
|
{{else}}
|
|
<a class="level-item button is-info" href="/auth" title="Login with Discord">Login with Discord</a>
|
|
{{/if}}
|
|
</div> --}}
|
|
</nav>
|
|
|
|
<div class="page-wrapper">
|
|
{{{body}}}
|
|
</div>
|
|
|
|
<footer class="footer">
|
|
<div class="container-fluid">
|
|
<div class="content has-text-centered">
|
|
{{>footernav}}
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<script src="/js/vendor/jquery.js"></script>
|
|
{{!-- <script defer src="https://pro.fontawesome.com/releases/v5.1.0/js/all.js" integrity="sha384-E5SpgaZcbSJx0Iabb3Jr2AfTRiFnrdOw1mhO19DzzrT9L+wCpDyHUG2q07aQdO6E" crossorigin="anonymous"></script> --}}
|
|
{{!-- <script>
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
|
|
|
ga('create', 'UA-90456879-1', 'auto');
|
|
ga('send', 'pageview');
|
|
</script> --}}
|
|
<!-- Google Tag Manager -->
|
|
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
|
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
|
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
|
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
|
})(window,document,'script','dataLayer','GTM-W6NZSRQ');</script>
|
|
<!-- End Google Tag Manager -->
|
|
<!-- Google Tag Manager (noscript) -->
|
|
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-MFGKT6L"
|
|
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
|
<!-- End Google Tag Manager (noscript) -->
|
|
<script type="text/javascript">
|
|
{{#if server}}
|
|
var server = '{{server.id}}';
|
|
{{/if}}
|
|
var host = '{{config.site.host}}';
|
|
{{#if user}}
|
|
var user = {{{toJSON user}}}
|
|
{{/if}}
|
|
{{#if guilds}}
|
|
var guilds = {{{toJSON guilds}}}
|
|
{{/if}}
|
|
</script>
|
|
{{#each scripts}}
|
|
<script type="text/javascript" src="{{getVersionedPath this}}"></script>
|
|
{{/each}}
|
|
<script src="{{getVersionedPath '/js/app.js'}}"></script>
|
|
{{!-- <script type="text/javascript">
|
|
window.doorbellOptions = {
|
|
appKey: '2OQ0ebpY6s99I8WiSeweOCxEFMElyXhFz9EB8rcwC63JqQuUqXI9VkeUu3QrpM2E'
|
|
};
|
|
(function(w, d, t) {
|
|
var hasLoaded = false;
|
|
function l() { if (hasLoaded) { return; } hasLoaded = true; window.doorbellOptions.windowLoaded = true; var g = d.createElement(t);g.id = 'doorbellScript';g.type = 'text/javascript';g.async = true;g.src = 'https://embed.doorbell.io/button/5948?t='+(new Date().getTime());(d.getElementsByTagName('head')[0]||d.getElementsByTagName('body')[0]).appendChild(g); }
|
|
if (w.attachEvent) { w.attachEvent('onload', l); } else if (w.addEventListener) { w.addEventListener('load', l, false); } else { l(); }
|
|
if (d.readyState == 'complete') { l(); }
|
|
}(window, document, 'script'));
|
|
</script> --}}
|
|
</body>
|
|
</html> |