mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-13 02:42:23 +01:00
100 lines
3.2 KiB
HTML
100 lines
3.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" ng-strict-di>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
|
|
<title page-title></title>
|
|
{{#if showSeoField}}
|
|
<meta name="description" content="{{description}}">
|
|
<meta name="keywords" content="{{keywords}}"/>
|
|
{{/if}}
|
|
<meta name="fragment" content="!">
|
|
|
|
<!-- Apple META -->
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
|
|
<!-- Facebook META -->
|
|
{{#if showSeoField}}
|
|
<meta property="fb:app_id" content="{{facebookAppId}}">
|
|
<meta property="og:site_name" content="{{title}}">
|
|
<meta property="og:title" content="{{title}}">
|
|
<meta property="og:description" content="{{description}}">
|
|
<meta property="og:keywords" content="{{keywords}}">
|
|
<meta property="og:url" content="{{url}}">
|
|
<meta property="og:image" content="{{logo}}">
|
|
<meta property="og:type" content="website">
|
|
{{/if}}
|
|
|
|
<!-- Twitter META -->
|
|
{{#if showSeoField}}
|
|
<meta name="twitter:card" content="summary">
|
|
<meta name="twitter:site" content="{{twitterUsername}}">
|
|
<meta name="twitter:title" content="{{title}}">
|
|
<meta name="twitter:description" content="{{description}}">
|
|
<meta name="twitter:keywords" content="{{keywords}}">
|
|
<meta name="twitter:image" content="{{logo}}">
|
|
{{/if}}
|
|
|
|
<!-- Fav Icon -->
|
|
<link href="/{{favicon}}" rel="shortcut icon" type="image/x-icon">
|
|
|
|
<!-- Manifest -->
|
|
<link href="/manifest.json" rel="manifest">
|
|
|
|
<!-- Application CSS Files -->
|
|
{{#each cssFiles}}<link rel="stylesheet" href="/{{this}}">{{/each}}
|
|
|
|
<link rel="stylesheet" href="/web-fonts-with-css/css/fontawesome-all.min.css">
|
|
</head>
|
|
|
|
<body class="ng-cloak body-backdrop">
|
|
<header ng-include="'/modules/core/client/views/header.client.view.html'" class="navbar navbar-fixed-top navbar-inverse"></header>
|
|
<section class="content page-content">
|
|
<section>
|
|
{{{block "content"}}}
|
|
</section>
|
|
</section>
|
|
<footer ng-include="'/modules/core/client/views/footer.client.view.html'"></footer>
|
|
|
|
<noscript>
|
|
<style>
|
|
[ng\:cloak], [ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
|
|
display: block !important;
|
|
}
|
|
</style>
|
|
<div class="alert alert-warning">
|
|
<strong>This page requires JavaScript.</strong> Please enable it in your browser.
|
|
</div>
|
|
</noscript>
|
|
|
|
<!--Embedding The User Object-->
|
|
<script type="text/javascript">
|
|
var user = {{{ user }}};
|
|
var env = "{{ env }}";
|
|
var meanTorrentConfig = {{{ meanTorrentConfig }}};
|
|
</script>
|
|
|
|
<!--Load The Socket.io File-->
|
|
<script type="text/javascript" src="/socket.io/socket.io.js"></script>
|
|
|
|
<!--Application JavaScript Files-->
|
|
{{#each jsFiles}}<script type="text/javascript" src="/{{this}}"></script>{{/each}}
|
|
|
|
<script type="text/javascript" src="/mt/emojies.js"></script>
|
|
|
|
<!--owasp config sync-->
|
|
<script type="text/javascript">
|
|
var sharedConfig = {{{ sharedConfig }}};
|
|
owaspPasswordStrengthTest.config(sharedConfig.owasp);
|
|
</script>
|
|
|
|
{{#if livereload}}
|
|
<!--Livereload script rendered -->
|
|
<script type="text/javascript" src="{{host}}:35729/livereload.js"></script>
|
|
{{/if}}
|
|
</body>
|
|
|
|
</html>
|