-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-detail-settings.html
301 lines (250 loc) · 11 KB
/
app-detail-settings.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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
<!DOCTYPE html>
<!--[if IE 8]><html class="ie8"><![endif]-->
<!--[if IE 9]><html class="ie9"><![endif]-->
<!--[if gt IE 9]><!-->
<html>
<!--<![endif]-->
<head>
<title>AeroGear UnifiedPush Server</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<link rel="shortcut icon" href="../dist/img/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../dist/img/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../dist/img/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../dist/img/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="../dist/img/apple-touch-icon-57-precomposed.png">
<link href="css/styles.css" rel="stylesheet" media="screen, print">
<!-- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> -->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="bower_components/patternfly/components/html5shiv/dist/html5shiv.min.js"></script>
<script src="bower_components/patternfly/components/respond/dest/respond.min.js"></script>
<![endif]-->
<!-- IE8 requires jQuery and Bootstrap JS to load in head to prevent rendering bugs -->
<!-- IE8 requires jQuery v1.x -->
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="bower_components/patternfly/components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="bower_components/patternfly/dist/js/patternfly.min.js"></script>
<script>
// Initialize Datatables
$(document).ready(function() {
$('.datatable').dataTable();
});
</script>
<script>
$(document).ready(function(){
$(".ups-all-variables input").click(function(){
$(".ups-more-variables").fadeToggle("fast");
});
});
</script>
</head>
<body>
<nav class="navbar navbar-default navbar-pf" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html">
<img src="img/brand.svg" alt="Aerogear" />
</a>
</div>
<div class="collapse navbar-collapse navbar-collapse-1">
<ul class="nav navbar-nav navbar-utility">
<li class="dropdown">
<a href="#" data-toggle="dropdown">
<span class="pficon pficon-info"></span>
Warnings: <strong>2</strong>
</a>
<div class="dropdown-menu infotip bottom-right">
<div class="arrow"></div>
<ul class="list-group">
<li class="list-group-item">
<span class="i pficon pficon-info"></span>
Added Datasources TestDS
</li>
<li class="list-group-item">
<span class="i pficon pficon-info"></span>
Modified Datasources ExampleDS
</li>
</ul>
<div class="footer"><a href="#">Clear Warnings</a></div>
</div>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span class="pficon pficon-user"></span>
Brian Johnson <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li>
<a href="#">Accont management</a>
</li>
<li class="divider"></li>
<li>
<a href="#">Logout</a>
</li>
</ul>
</li>
</ul>
</div>
</nav>
<div class="collapse navbar-collapse navbar-collapse-1">
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="col-sm-8 col-md-9">
<ol class="breadcrumb">
<li><a href="index.html">Applications</a></li>
<li><strong>Application One:</strong> Activity preferences</li>
</ol>
<div class="ups-app-header">
<div class="actions pull-right">
<button class="btn btn-default" data-toggle="modal" data-target="#sendNotification"><i class="fa fa-paper-plane"></i> Send Notification to this app</button>
</div>
<h1>Application One</h1>
</div><!-- app header -->
<ul class="nav nav-tabs">
<li><a href="app-detail-variants.html">Variants</a></li>
<li><a href="app-detail.html">Sender API</a></li>
<li><a href="app-detail-log.html">Activity log</a></li>
<li class="active"><a href="#">Application preferences</a></li>
</ul>
<h3>Application Settings</h3>
<p>You can change your app name, delete the app and upgrade your UPS console</p>
<h3>Change application name</h3>
<form class="form-horizontal">
<div class="form-group">
<label for="appname" class="col-sm-2 control-label">App Name</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="appname" placeholder="Name of the App">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary">Change Name</button>
</div>
</div>
</form>
<h3>Remove Application</h3>
<p>Do you want to remove application <strong>"Application name"</strong>? Please type in the name of the application to confirm.</p>
<form class="form-horizontal">
<div class="form-group">
<label for="appname" class="col-sm-2 control-label">App Name</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="appname" placeholder="Name of the App">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-danger">Remove app</button>
</div>
</div>
</form>
<!--
<div class="alert alert-warning">
<span class="pficon-layered">
<span class="pficon pficon-warning-triangle"></span>
<span class="pficon pficon-warning-exclamation"></span>
</span>
<p><strong>There is a new version of UPS console!</strong> to upgrade export your variants and import them in the new instance:</p>
<p><a href="#" class="btn btn-default"><span class="pficon pficon-export"></span> Export your variants</a></p>
</div>
-->
</div><!-- /col -->
<div class="col-sm-4 col-md-3 sidebar-pf sidebar-pf-right">
<div class="sidebar-header sidebar-header-bleed-left sidebar-header-bleed-right">
<h2 class="h5">App Statistics</h2>
</div>
<ul class="list-unstyled ups-statistics">
<li><span>8</span>Variants</li>
<li><span>825</span>Delivered</li>
<li><span>52</span>Devices</li>
</ul>
<div class="sidebar-header sidebar-header-bleed-left sidebar-header-bleed-right">
<h2 class="h5">App Notifications</h2>
</div>
<div class="list-group">
<a href="app-detail-log.html" class="list-group-item">
<h3 class="list-group-item-heading">Application name</h3>
<p class="list-group-item-text">29 Dec, 12:12:30, 2014</p>
</a>
<a href="app-detail-log.html" class="list-group-item">
<h3 class="list-group-item-heading">Application name</h3>
<p class="list-group-item-text">29 Dec, 12:12:30, 2014</p>
</a>
<a href="app-detail-log.html" class="list-group-item">
<h3 class="list-group-item-heading">Application name</h3>
<p class="list-group-item-text">29 Dec, 12:12:30, 2014</p>
</a>
<a href="app-detail-log.html" class="list-group-item">
<h3 class="list-group-item-heading">Application name</h3>
<p class="list-group-item-text">29 Dec, 12:12:30, 2014</p>
</a>
</div>
<p><a href="#"><span class="pficon pficon-history"></span> See all notifications</a></p>
</div><!-- /col -->
</div><!-- /row -->
</div><!-- /container -->
<div class="modal" id="sendNotification" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
<span class="pficon pficon-close"></span>
</button>
<h4 class="modal-title" id="myModalLabel">Send push to Application One</h4>
</div>
<div class="modal-body">
<form class="form-horizontal">
<div class="form-group">
<label class="col-sm-3 control-label" for="textInput-modal-markup">Message</label>
<div class="col-sm-9">
<textarea class="form-control" rows="3" placeholder="Write the notification"></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label" for="textInput-modal-markup">Variants</label>
<div class="col-sm-9">
<select class="selectpicker" multiple="multiple">
<option>Variant One</option>
<option>Variant Two</option>
<option>Variant Three</option>
<option>Variant Four</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label" for="textInput-modal-markup">Aliases</label>
<div class="col-sm-9">
<input type="text" id="textInput-modal-markup" class="form-control" placeholder="All">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label" for="textInput-modal-markup">Device Types</label>
<div class="col-sm-9">
<input type="text" id="textInput-modal-markup" class="form-control" placeholder="All">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label" for="textInput-modal-markup">Categories</label>
<div class="col-sm-9">
<input type="text" id="textInput-modal-markup" class="form-control" placeholder="All">
</div>
</div>
<span id="helpBlock" class="help-block">You can provide multiple values at a time by separating them by commas.</span>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
<a href="#" class="btn btn-primary">Send Push Notification</a>
</div>
</div>
</div>
</div>
</body>
</html>