MozDef/meteor/mozdef.html

76 строки
2.2 KiB
HTML
Исходник Обычный вид История

<!--
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) 2014 Mozilla Corporation
Contributors:
Jeff Bryner jbryner@mozilla.com
Anthony Verez averez@mozilla.com
-->
2014-02-19 21:02:22 +04:00
<head>
<meta name="viewport" content="width=1024">
<link href="/css/mozdef.css" rel="stylesheet" media="screen,projection,tv">
<!--persona login-->
<script>
(function() {
var t = document.createElement('script');
t.type = 'text/javascript';
t.async = true;
t.id = 'persona-lib';
t.src = '//login.persona.org/include.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(t, s);
})();
</script>
<title>mozdef::mozilla defense platform</title>
</head>
<body>
2014-02-19 21:02:22 +04:00
</body>
<!--begin layout templates-->
<!--the main, simple layout for the router to target-->
<template name="layout">
{{> menu}}
{{#if loggingIn}}
<div class="span5 center">
<div class="alert alert-info alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<strong>logging in</strong>
</div>
</div>
{{else}}
{{#if currentUser}}
{{>yield}}
{{else}}
<div class="span5 center">
<div class="alert alert-info alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
<strong>Please login</strong>
</div>
</div>
{{/if}}
{{/if}}
2014-07-02 22:42:14 +04:00
<div id="main-content">
</div>
2014-02-19 21:02:22 +04:00
</template>
<!--a nice greeting-->
<template name="hello">
2014-07-04 01:55:58 +04:00
<div class="container">
<div class="row center">
<p class="welcome">{{greeting}}<br>hand made by Mozilla</p>
2014-07-04 01:55:58 +04:00
</div>
2014-07-02 22:42:14 +04:00
</div>
2014-02-19 21:02:22 +04:00
</template>