silvrgit/views/pages/slackV2.ejs

62 lines
2.0 KiB
Plaintext
Raw Normal View History

2017-03-22 15:48:36 +00:00
<% include ../partials/head %>
<!-- 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">
2017-04-11 13:30:48 +00:00
<div class="mui-row" id="events">
2017-03-22 15:48:36 +00:00
</div>
</div>
2017-06-13 09:58:25 +00:00
<% include ../partials/links %>
2017-03-22 15:48:36 +00:00
<div id='weather' class="mui-panel"></div>
</div>
2017-04-20 13:55:33 +00:00
<script type="text/template" id="password-template">
2017-08-08 00:06:02 +00:00
<div>Long: {{=long }}</div><div>Short: {{=short }}</div>
2017-04-20 13:55:33 +00:00
</script>
2017-03-22 15:48:36 +00:00
</body>
<script src="libs/ejs.js"></script>
2017-04-11 13:30:48 +00:00
<script src="libs/moment.js"></script>
2017-03-22 15:48:36 +00:00
<script src="libs/underscore.js"></script>
<script src="libs/backbone.js"></script>
2017-04-11 13:30:48 +00:00
<script src="js/modules/events.js"></script>
2017-03-22 15:48:36 +00:00
<script src="js/modules/bitcoin.js"></script>
2017-03-22 17:01:58 +00:00
<script src="js/modules/fx.js"></script>
<script src="js/modules/train.js"></script>
2017-04-11 13:30:48 +00:00
<script src="js/modules/weather.js"></script>
2017-04-20 12:42:55 +00:00
<script src="js/modules/password.js"></script>
2017-03-22 15:48:36 +00:00
<script src="app.js"></script>
<script>
2017-08-08 00:06:02 +00:00
// slackV2.ejs
2017-04-02 23:07:55 +00:00
(function (w) {
2017-04-11 13:30:48 +00:00
navigator.geolocation.getCurrentPosition((show_weather) => {
w.weather = new WeatherSlim({model: new WeatherModel({geo:show_weather})});
});
2017-08-07 09:51:56 +00:00
w.contractEnds = new EventView({model:new EventModel({event:new Date(2017, 8, 29), label: 'Contract Ends:'})});
2017-04-02 23:07:55 +00:00
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'})});
2017-03-22 15:48:36 +00:00
2017-08-08 00:06:02 +00:00
console.log(PasswordView);
2017-04-20 12:42:55 +00:00
w.passwords = new PasswordView();
2017-04-11 13:30:48 +00:00
2017-04-02 23:07:55 +00:00
})(window);
2017-03-22 15:48:36 +00:00
</script>
</html>