зеркало из https://github.com/mozilla/MozDef.git
74 строки
2.3 KiB
HTML
74 строки
2.3 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
|
|
-->
|
|
|
|
<head>
|
|
<meta name="viewport" content="width=1024">
|
|
<link href="/css/bootstrap.css" rel="stylesheet" >
|
|
<link href="/css/mozdef.css" rel="stylesheet" media="screen,projection,tv">
|
|
<link href="/css/dropdowns.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>
|
|
|
|
</body>
|
|
<!--begin layout templates-->
|
|
<!--the main, simple layout for the router to target-->
|
|
<template name="layout">
|
|
{{> menu}}
|
|
|
|
{{#if loggingIn}}
|
|
<div class="row center">
|
|
<div class="col-xs-5 col-xs-offset-3 alert alert-info alert-dismissible" role="alert">
|
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
|
<strong>loading</strong>
|
|
</div>
|
|
</div>
|
|
{{else}}
|
|
{{#if currentUser}}
|
|
{{>yield}}
|
|
{{else}}
|
|
<div class="row center">
|
|
<div class="col-xs-5 col-xs-offset-3 alert alert-info alert-dismissible" role="alert">
|
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
|
<strong>Please login</strong>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
{{/if}}
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
<!--a nice greeting-->
|
|
<template name="hello">
|
|
<div class="container">
|
|
<div class="row center">
|
|
<p class="welcome">{{greeting}}<br>hand made by Mozilla</p>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|