Files
stf/res/app/views/index.jade
Gunther Brunner fa71aae56a Added admin-mode.
For now it shows/hides columns in the Device List and adds kicking behaviour.
Using $rootScope.adminMode for convenience.
2014-07-14 20:23:32 +09:00

29 lines
1.4 KiB
Plaintext

doctype html
html
head
meta(charset='utf-8')
meta(name='viewport', content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui')
meta(name='mobile-web-app-capable', content='yes')
meta(name='apple-mobile-web-app-capable', content='yes')
meta(name='apple-mobile-web-app-title', content='STF')
meta(name='format-detection', content='telephone=no')
meta(name='apple-mobile-web-app-status-bar-style', content='black-translucent')
link(href='/static/bower_components/stf-graphics/logo/exports/STF-128.png', rel='apple-touch-icon')
title STF
body(ng-app='app', ng-cloak).bg-1.fill-height
div(ng-controller='LayoutCtrl', basic-mode, admin-mode, landscape).fill-height
.pane-top(fa-pane).fill-height
.pane-top-bar(fa-pane, pane-id='menu', pane-anchor='north', pane-size='44px', pane-min='44px', pane-max='44px', pane-handle='')
div(ng-include='"menu.jade"')
.pane-center(fa-pane, pane-id='main', pane-anchor='center').fill-height
socket-state
div(growl)
div(ng-view).fill-height
script(src='data:application/javascript;base64,#{new Buffer("var APPSTATE=" + JSON.stringify(APPSTATE)).toString("base64")}')
script(src='/static/app/build/entry/commons.entry.js')
script(src='/static/app/build/entry/app.entry.js')
script(src='/static/bower_components/stf-analytics/analytics.js')