mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
4e1aa2119c
Closes #354 * Reintroduced the redirect functionality (not logged in, tries to go to `/settings/user/`, is sent to `/login/` with info notification, after login user is taken to `/settings/user/) * Reintroduced the "Successfully logged out" message * Added middleware to scrub passive notifications from `ghost.notifications` after one use basically mimicing client side passive notifications * Removed flash from everywhere. Even from package.json. * Renamed flashed.hbs to notifications.hbs, modified default.hbs accordingly * Added function to parse GET variables on client side
95 lines
4.1 KiB
Handlebars
95 lines
4.1 KiB
Handlebars
<!doctype html>
|
|
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
|
|
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
|
|
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
|
|
<!--[if (gte IE 9)| IEMobile |!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
|
|
<title>{{siteTitle}}</title>
|
|
<meta name="description" content="{{siteDescription}}">
|
|
<meta name="author" content="">
|
|
<meta name="HandheldFriendly" content="True">
|
|
<meta name="MobileOptimized" content="320">
|
|
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
|
|
<link rel="shortcut icon" href="/favicon.ico">
|
|
<meta http-equiv="cleartype" content="on">
|
|
|
|
<link rel="stylesheet" type='text/css' href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,700'>
|
|
<link rel="stylesheet" href="/public/css/screen.css">
|
|
{{{block "pageStyles"}}}
|
|
</head>
|
|
<body class="{{bodyClass}}">
|
|
{{#unless hideNavbar}}
|
|
{{> navbar}}
|
|
{{/unless}}
|
|
|
|
<main role="main" id="main">
|
|
<aside id="flashbar">
|
|
{{> notifications}}
|
|
</aside>
|
|
|
|
{{{body}}}
|
|
</main>
|
|
|
|
<aside id="modal-container">
|
|
</aside>
|
|
|
|
<script src="/shared/vendor/jquery/jquery.js"></script>
|
|
<script src="/shared/vendor/jquery/jquery-ui-1.10.3.custom.min.js"></script>
|
|
<script src="/public/lib/jquery-utils.js"></script>
|
|
<script src="/shared/vendor/underscore.js"></script>
|
|
<script src="/shared/vendor/backbone/backbone.js"></script>
|
|
<script src="/shared/vendor/handlebars/handlebars-runtime.js"></script>
|
|
<script src="/shared/vendor/moment.js"></script>
|
|
|
|
<script src="/public/vendor/icheck/jquery.icheck.min.js"></script>
|
|
|
|
<script src="/shared/vendor/jquery/jquery.ui.widget.js"></script>
|
|
<script src="/shared/vendor/jquery/jquery.iframe-transport.js"></script>
|
|
<script src="/shared/vendor/jquery/jquery.fileupload.js"></script>
|
|
|
|
<script src="/public/vendor/codemirror/codemirror.js"></script>
|
|
<script src="/public/vendor/codemirror/mode/markdown/markdown.js"></script>
|
|
<script src="/public/vendor/showdown/showdown.js"></script>
|
|
<script src="/public/vendor/showdown/extensions/ghostdown.js"></script>
|
|
<script src="/public/vendor/shortcuts.js"></script>
|
|
<script src="/public/vendor/countable.js"></script>
|
|
<script src="/public/vendor/to-title-case.js"></script>
|
|
<script src="/public/vendor/packery.pkgd.min.js"></script>
|
|
<script src="/public/vendor/jquery.hammer.min.js"></script>
|
|
|
|
<script src="/public/init.js"></script>
|
|
|
|
<script src="/public/assets/lib/uploader.js"></script>
|
|
|
|
<script src="/public/tpl/hbs-tpl.js"></script>
|
|
<script src="/public/mobile-interactions.js"></script>
|
|
<script src="/public/toggle.js"></script>
|
|
<script src="/public/markdown-actions.js"></script>
|
|
<script src="/public/tagui.js"></script>
|
|
<script src="/public/helpers/index.js"></script>
|
|
|
|
<!-- // require '/public/models/*' -->
|
|
<script src="/public/models/post.js"></script>
|
|
<script src="/public/models/user.js"></script>
|
|
<script src="/public/models/widget.js"></script>
|
|
<script src="/public/models/settings.js"></script>
|
|
<!-- // require '/public/views/*' -->
|
|
<script src="/public/views/base.js"></script>
|
|
<script src="/public/views/dashboard.js"></script>
|
|
<script src="/public/views/blog.js"></script>
|
|
<script src="/public/views/editor.js"></script>
|
|
<script src="/public/views/login.js"></script>
|
|
<script src="/public/views/settings.js"></script>
|
|
<script src="/public/views/debug.js"></script>
|
|
<script src="/public/router.js"></script>
|
|
{{{block "bodyScripts"}}}
|
|
<script>
|
|
Ghost.init();
|
|
</script>
|
|
</body>
|
|
</html>
|