2014-04-16 22:40:15 +04:00
|
|
|
<!--
|
|
|
|
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">
|
2014-09-12 23:46:16 +04:00
|
|
|
<link href="/css/bootstrap.css" rel="stylesheet" >
|
2014-02-19 21:02:22 +04:00
|
|
|
<link href="/css/mozdef.css" rel="stylesheet" media="screen,projection,tv">
|
2014-07-18 01:59:24 +04:00
|
|
|
<link href="/css/dropdowns.css" rel="stylesheet" media="screen,projection,tv">
|
2014-02-19 21:02:22 +04:00
|
|
|
<title>mozdef::mozilla defense platform</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
2016-12-19 21:28:26 +03:00
|
|
|
|
|
|
|
</body>
|
2014-02-19 21:02:22 +04:00
|
|
|
<!--begin layout templates-->
|
|
|
|
<!--the main, simple layout for the router to target-->
|
|
|
|
<template name="layout">
|
2014-07-14 04:46:51 +04:00
|
|
|
{{> menu}}
|
2016-12-19 21:28:26 +03:00
|
|
|
|
2014-07-08 20:22:45 +04:00
|
|
|
{{#if loggingIn}}
|
2015-01-14 01:54:20 +03:00
|
|
|
<div class="row center">
|
|
|
|
<div class="col-xs-5 col-xs-offset-3 alert alert-info alert-dismissible" role="alert">
|
2014-07-08 20:22:45 +04:00
|
|
|
<button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
2014-07-31 20:24:38 +04:00
|
|
|
<strong>loading</strong>
|
2014-07-08 20:22:45 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-12-19 21:28:26 +03:00
|
|
|
{{else}}
|
2014-07-08 20:22:45 +04:00
|
|
|
{{#if currentUser}}
|
|
|
|
{{>yield}}
|
|
|
|
{{else}}
|
2015-01-14 01:54:20 +03:00
|
|
|
<div class="row center">
|
|
|
|
<div class="col-xs-5 col-xs-offset-3 alert alert-info alert-dismissible" role="alert">
|
2014-07-08 20:22:45 +04:00
|
|
|
<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}}
|
2014-05-03 05:18:47 +04:00
|
|
|
{{/if}}
|
2014-07-02 22:42:14 +04:00
|
|
|
|
2016-12-19 21:28:26 +03:00
|
|
|
|
2014-07-14 04:46:51 +04:00
|
|
|
|
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">
|
2014-07-16 18:54:40 +04:00
|
|
|
<div class="row center">
|
2014-07-08 20:22:45 +04:00
|
|
|
<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>
|
|
|
|
|