silvrgit/views/pages/slackV2-min.ejs
2017-09-06 08:42:13 +01:00

51 lines
1.6 KiB
Plaintext

<% include ../partials/head-min %>
<!-- Slack - I have plenty of talent and vision I just don't give a damn -->
<header id="header">
<div class="mui-appbar mui--appbar-line-height">
<div class="mui-container-fluid">
Slack
</div>
</div>
</header>
<div class="mui-container">
<div class="mui--appbar-height">
</div>
<div id="container" class="mui-panel">
<div class="mui-row" id="events">
</div>
</div>
<% include ../partials/links %>
<div id='weather' class="mui-panel"></div>
</div>
<script type="text/template" id="password-template">
<div>Long: {{=long }}</div><div>Short: {{=short }}</div>
</script>
</body>
<script src="live/js/vendor.js"></script>
<script src="live/js/app.js"></script>
<script>
;(function (w) {
navigator.geolocation.getCurrentPosition((show_weather) => {
w.weather = new WeatherSlim({model: new WeatherModel({geo:show_weather})});
});
w.contractEnds = new EventView({model:new EventModel({event:new Date(2017, 8, 29), label: 'Contract Ends:'})});
w.bitcoin = new Bitcoin({model: new BitcoinModel()});
w.fx = new FxView({model: new FxModel()});
w.dbqglqView = new TrainView({model: new TrainModel({from: 'dbe', to: 'glq'})});
w.glqdbeView = new TrainView({model: new TrainModel({from: 'glq', to: 'dbe'})});
w.glqhymView = new TrainView({model: new TrainModel({from: 'glq', to: 'hym'})});
w.hymglqView = new TrainView({model: new TrainModel({from: 'hym', to: 'glq'})});
w.passwords = new PasswordView();
})(window);
</script>
</html>