-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
99 lines (83 loc) · 4.61 KB
/
index.html
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Упоминания на sc2tv</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css" />
<link rel="stylesheet" href="css/libs/bootstrap-switch.min.css">
<link rel="stylesheet" href="css/libs/ng-tags-input.min.css" />
<link rel="stylesheet" href="css/app.css" />
<script src="https://code.jquery.com/jquery-1.11.2.min.js" type="text/javascript"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js" type="text/javascript"></script>
<script src="js/libs/bootstrap-switch.min.js"></script>
<script src="js/libs/ng-tags-input.min.js" type="text/javascript"></script>
<script src="js/libs/socket.io.js" type="text/javascript"></script>
<script src="js/pekatv.js" type="text/javascript"></script>
<script src="js/app.js" type="text/javascript"></script>
</head>
<body ng-app="main">
<div class="container" ng-controller="general">
<div>
<div id="headEl">
<img src="img/pika.gif" id="logo"/>
<h1>sc2tv нотификатор</h1>
</div>
<img src="img/Black_Settings.png" id="settings" ng-click="openSettings()" />
</div>
<div style="clear: both;"></div>
<div id="contMain">
<p class="lead">
<label for="keys">Теги: </label>
</p>
<tags-input id="keys" ng-model="tags" min-length="2" placeholder="Введите теги" on-tag-removed="changedTags()" on-tag-added="changedTags()"></tags-input>
</div>
<div style="padding-top:10px;">
<div ng-repeat="data in mentions | reverse">
<div>
<span style="width: 30%; float: left; font-size: 18px; font-weight: bold;">{{data.name}}</span>
<span style="width: 140px; float: left; font-size: 14px;">{{data.date * 1000 | date:'HH:mm:ss dd-MM-yyyy'}}</span>
<a ng-href="{{data.url}}" target="_blank" style="float: right;" >{{data.url}}</a>
</div>
<div style="clear: both;"></div>
<div ng-bind-html="data.message"></div>
<hr>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<p class="text-muted">
<a href="https://github.com/NickKush/peka2tvnotificator" target="_blank">NickKush (c) 2022 v0.5.4</a>
</p>
</div>
</footer>
<audio id="soundalert" preload="auto" style="display: none;">
<source src="https://raw.githubusercontent.com/NickKush/peka2tvnotificator/master/snd/sound.ogg" type="audio/ogg" />
<source src="https://raw.githubusercontent.com/NickKush/peka2tvnotificator/master/snd/sound.mp3" type="audio/mpeg" />
</audio>
<div class="modal fade" id="settingsModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Настройки</h4>
</div>
<div class="modal-body">
<table style=" margin: 0 auto;">
<tr>
<td style="width: 200px">Звук оповещения: </td>
<td><input id="switchSound" class="switch" type="checkbox" checked></td>
</tr>
<tr>
<td>Нотификация в браузере: </td>
<td><input id="switchBrowserNotification" class="switch" type="checkbox" checked></td>
</tr>
</table>
</div>
</div>
</div>
</div>
</body>
</html>