Skip to content

Commit 549886d

Browse files
committed
Initial Commit
First Version
1 parent 40f2442 commit 549886d

20 files changed

+34188
-0
lines changed

assets/css/bootstrap.css

Lines changed: 6805 additions & 0 deletions
Large diffs are not rendered by default.

assets/css/main.css

Lines changed: 866 additions & 0 deletions
Large diffs are not rendered by default.

assets/css/table.css

Lines changed: 916 additions & 0 deletions
Large diffs are not rendered by default.

assets/fonts/linecons.eot

15.2 KB
Binary file not shown.

assets/fonts/linecons.svg

Lines changed: 469 additions & 0 deletions
Loading

assets/fonts/linecons.ttf

15 KB
Binary file not shown.

assets/fonts/linecons.woff

26.7 KB
Binary file not shown.
8.57 KB
Loading

assets/img/glyphicons-halflings.png

12.5 KB
Loading

assets/img/logo.png

3.08 KB
Loading

assets/img/logo30.png

1 KB
Loading

assets/img/sep-half.png

951 Bytes
Loading

assets/js/admin.js

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
// Interactiveness now
2+
3+
(function() {
4+
5+
var clock = document.querySelector('digiclock');
6+
7+
// But there is a little problem
8+
// we need to pad 0-9 with an extra
9+
// 0 on the left for hours, seconds, minutes
10+
11+
var pad = function(x) {
12+
return x < 10 ? '0'+x : x;
13+
};
14+
15+
var ticktock = function() {
16+
var d = new Date();
17+
18+
var h = pad( d.getHours() );
19+
var m = pad( d.getMinutes() );
20+
var s = pad( d.getSeconds() );
21+
22+
var current_time = [h,m,s].join(':');
23+
24+
clock.innerHTML = current_time;
25+
26+
};
27+
28+
ticktock();
29+
30+
// Calling ticktock() every 1 second
31+
setInterval(ticktock, 1000);
32+
33+
}());
34+
35+
/* ---------- Notifications ---------- */
36+
$('.noty').click(function(e){
37+
e.preventDefault();
38+
var options = $.parseJSON($(this).attr('data-noty-options'));
39+
noty(options);
40+
});
41+

0 commit comments

Comments
 (0)