forked from novosga/panel-app
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.html
145 lines (140 loc) · 8.03 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta charset="utf-8" />
<title>Painel Web | Novo SGA</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="css/bootstrap-theme.min.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<script src="js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript" src="js/angular.min.js"></script>
</head>
<body ng-controller="PainelCtrl" ng-init="init()">
<!-- menu retratil -->
<div id="menu">
<ul>
<li>
<a href="#config" data-toggle="modal">
<span class="glyphicon glyphicon-cog"></span>
Configuração
</a>
</li>
<li>
<a href="javascript:void(0)" onclick="SGA.PainelWeb.fullscreen()">
<span class="glyphicon glyphicon-fullscreen"></span>
Fullscreen
</a>
</li>
</ul>
</div>
<link rel="stylesheet" type="text/css" ng-href="layout/{{ layout }}/style.css" />
<div id="config" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Configuração</h4>
</div>
<div class="modal-body">
<ul class="nav nav-tabs">
<li class="active"><a href="#unidade" data-toggle="tab">Serviços</a></li>
<li><a href="#som" data-toggle="tab">Som</a></li>
</ul>
<div class="tab-content">
<div id="unidade" class="tab-pane active">
<div class="form-group">
<label for="url">URL</label>
<input id="url" type="text" class="form-control"
ng-model="url"
ng-change="changeUrl()">
</div>
<div class="form-group">
<label for="unidades">Unidades</label>
<select id="unidades" class="form-control" ng-model="unidade" ng-change="changeUnidade()" ng-options="u.nome for u in unidades">
<option value="">Selecione</option>
</select>
</div>
<div class="form-group">
<label>Serviços</label>
<ul id="servicos">
<li ng-repeat="servico in servicosUnidade">
<label>
<input type="checkbox"
ng-checked="indexServico(servico) > -1"
ng-click="checkServico(servico)"> {{ servico.nome }}
</label>
</li>
</ul>
</div>
</div>
<div id="som" class="tab-pane">
<div class="form-group">
<label for="alert-file">Alerta</label>
<select id="alert-file" class="form-control">
<option value="ekiga-vm.wav">Ekiga</option>
<option value="doorbell-bingbong.wav">Doorbell bingbong</option>
<option value="toydoorbell.wav">Toy doorbell</option>
<option value="airport-bingbong.wav">Airport bingbong.wav</option>
<option value="ding-dong.wav">ding-dong</option>
<option value="infobleep.wav">Info bleep</option>
<option value="quito-mariscal-sucre.wav">Quito mariscal sucre</option>
</select>
<button class="btn btn-default" onclick="SGA.PainelWeb.Alert.test();">Testar</button>
</div>
<fieldset>
<legend>Vocalizar</legend>
<div class="checkbox">
<label>
<input id="vocalizar-status" type="checkbox" value="1"> Ativo
</label>
</div>
<div class="checkbox">
<label>
<input id="vocalizar-zero" type="checkbox" value="1" class="vocalizar"> Zero a esquerda
</label>
</div>
<div class="checkbox">
<label>
<input id="vocalizar-local" type="checkbox" value="1" class="vocalizar"> Local de atendimento
</label>
</div>
<div class="form-group">
<label for="idioma">Idioma</label>
<select id="idioma" class="vocalizar form-control">
<option value="pt">Português</option>
<option value="en">English</option>
<option value="es">Español</option>
</select>
</div>
</fieldset>
<div class="form-group">
<button class="btn btn-default vocalizar" onclick="SGA.PainelWeb.Speech.test();">Testar</button>
<code>Senha: A001 / Guichê: 1</code>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Fechar</button>
<button id="config-save" type="button" class="btn btn-primary" ng-click="save()">Salvar</button>
</div>
</div>
</div>
</div>
<div id="layout" class="{{ ultima.styleClass }}">
<div ng-include="'layout/' + layout + '/index.html'" onload="layoutResources()"></div>
</div>
<!-- Sounds by http://www.freesound.org -->
<audio id="alert"></audio>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/prefixfree.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/buzz.js"></script>
<script type="text/javascript" src="js/painel.js"></script>
<script type="text/javascript" src="js/painel-web.js"></script>
</body>
</html>