-
Notifications
You must be signed in to change notification settings - Fork 14
/
entry.js
41 lines (25 loc) · 814 Bytes
/
entry.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Styles
require('bootstrap/dist/css/bootstrap.min.css');
require('font-awesome/css/font-awesome.css');
require('jquery.terminal/css/jquery.terminal.css');
require('./style/dashboard.css');
require('./style/custom.css');
// jQuery, Bootstrap & Angular
window.jQuery = require('jquery');
window.$ = window.jQuery;
require('bootstrap');
require('angular');
require('jquery.mousewheel');
require('jquery.terminal');
require('angular-terminal');
require('angular-websocket');
// App
var app = angular.module('top.nemanja.reverse-shell-listener', ['angular-terminal', 'ngWebSocket']);
require("./controllers")(app);
window.resize = function() {
$(".fluid").each(function(id, element){
$(element).height($(window).height() - $(element).offset().top - 50);
});
};
resize();
$(window).resize(resize);