62 lines
2.0 KiB
Plaintext
62 lines
2.0 KiB
Plaintext
<% 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">
|
|
<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="libs/ejs.js"></script>
|
|
<script src="libs/moment.js"></script>
|
|
<script src="libs/underscore.js"></script>
|
|
<script src="libs/backbone.js"></script>
|
|
<script src="js/modules/events.js"></script>
|
|
<script src="js/modules/bitcoin.js"></script>
|
|
<script src="js/modules/fx.js"></script>
|
|
<script src="js/modules/train.js"></script>
|
|
<script src="js/modules/weather.js"></script>
|
|
<script src="js/modules/password.js"></script>
|
|
<script src="app.js"></script>
|
|
<script>
|
|
// slackV2.ejs
|
|
(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'})});
|
|
|
|
console.log(PasswordView);
|
|
w.passwords = new PasswordView();
|
|
|
|
})(window);
|
|
|
|
</script>
|
|
</html>
|