summaryrefslogtreecommitdiff
path: root/qpid/tools/src/java/qpid-qmf2-tools/bin/qpid-web/web/ui/qmf.html
blob: 60977fbad0fc391360a98c9e2b68e8cbd024abd4 (plain)
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
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
<!DOCTYPE html>

<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at
  
    http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.
-->

<html>
<head>
    <title>QMF Console</title>
    <link rel="stylesheet" type="text/css" href="/itablet/css/itablet.css"/>
    <link rel="stylesheet" type="text/css" href="/qmf-ui/css/qmf.css"/>
<!--[if IE 9]>
	<link rel="stylesheet" type="text/css" href="/itablet/css/itablet-ie9.css" />
<![endif]-->
<!--[if (lte IE 8) & (gt IE 6)]>
	<link rel="stylesheet" type="text/css" href="/itablet/css/itablet-ie8.css" />
<![endif]-->
<!--[if IE 7]>
	<link rel="stylesheet" type="text/css" href="/itablet/css/itablet-ie7.css" />
<![endif]-->
<!--[if lte IE 6]>
	<link rel="stylesheet" type="text/css" href="/itablet/css/itablet-ie6.css" />
<![endif]-->

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

    <!-- Changes the logical window size used when displaying a page on iOS. -->
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>

    <!-- Sets whether a web application runs in full-screen mode. -->
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>

    <!-- Sets home screen icon. -->
    <link rel="apple-touch-icon" href="/apple-touch-icon.png" />


    <!-- Sets home screen icon. -->
<!--
    <link rel="apple-touch-startup-image" href="/startup-landscape.png" />
-->

    <script src="/itablet/scripts/jquery.js"></script>
    <script src="/itablet/scripts/iscroll.js"></script>
    <script src="/itablet/scripts/itablet.js"></script>
    <script src="/qpid/scripts/qpid.js"></script>
    <script src="/qmf-ui/scripts/qmf-ui.js"></script>
    <script src="/ui/config.js"></script>
<!--[if lte IE 8]>
    <script type="text/javascript" src="/qmf-ui/scripts/excanvas.js"></script>
<![endif]-->

</head>


<body>

<!-- display simple splash screen as app loads -->
<div id="splash">
    <div class="logo">
        <div class="loading">
        </div>
    </div>
</div> <!-- End of splash -->

<!-- The blocks provide banner style displays when an error occurs -->
<div id="resource-deleted" class="alert">Resource Deleted</div>
<div id="broker-disconnected" class="alert">Broker Disconnected</div>
<div id="restapi-disconnected" class="alert">RestAPI Disconnected</div>
<div id="failed-to-connect" class="alert">Failed to Connect</div>

<!----------------------------------------------------------------------------------------------------------------->
<!--                                               Menu/Sidebar                                                  -->
<!----------------------------------------------------------------------------------------------------------------->

<div id="menu" class="sidebar">
	<div class="header">
	    <h1>QMF Console</h1>
	</div>

    <div id="sidebar-scroller" class="scroll-area">
        <ul class="contents">
            <li id="settings-tab" class="icon"><a class="settings" href="#settings">Settings</a></li>
            <li id="broker-tab" class="icon"><a class="brokers" href="#broker">Broker</a></li>
            <li id="connections-tab" class="icon"><a class="connections" href="#connections">Connections</a></li>
            <li id="exchanges-tab" class="icon"><a class="exchanges" href="#exchanges">Exchanges</a></li>
            <li id="queues-tab" class="icon"><a class="queues" href="#queues">Queues</a></li>
<!-- TODO add link/bridge features a la qpid-route
            <li id="links-tab" class="icon"><a class="links" href="#links">Links</a></li>
            <li id="route-topology-tab" class="icon"><a class="route-topology" href="#route-topology">Route Topology</a></li>
-->
            <li id="events-tab" class="icon"><a class="events" href="#events">Events</a></li>
        </ul>
    </div>
</div>


<!----------------------------------------------------------------------------------------------------------------->
<!--                                                 Settings                                                    -->
<!----------------------------------------------------------------------------------------------------------------->

<div id="settings" class="main">
    <div class="header">
		<a class="menu back button" href="#">QMF Con...</a>
        <h1>Settings</h1>
    </div>

    <div id="settings-scroller" class="scroll-area">
        <div class="page">

    	    <ul id="settings-add-console" class="list">
    		    <li class="pop"><a href="#add-console-connection">Add QMF Console Connection</a></li>
            </ul>

            <h1>Available Brokers</h1>
            <ul id="qmf-console-selector" class="list">
                <li class="arrow">
                    <label for="qmf-console0">default</label>
                    <input type="radio" id="qmf-console0" name="qmf-console-selector" checked />
                    <a href="#selected-qmf-console-connection"></a>
                </li>
            </ul>
            <p class="note">Note that selecting a new Broker Connection will clear statistics/graphs.</p>

            <ul class="list">
                <li> 
                    <label for="settings-hide-qmf-objects">Hide QMF Objects</label>
                    <input type="checkbox" id="settings-hide-qmf-objects" />
                </li>
            </ul>
            <p class="note">Hide Exchanges and Queues that relate to QMF.</p>

            <div id="settings-hide-details-container">
                <ul class="list">
                    <li> 
                        <label for="settings-hide-details">Hide Details</label>
                        <input type="checkbox" id="settings-hide-details" checked />
                    </li>
                </ul>
            </div>
            <p class="note">Hide Flow to Disk & Dequeue Details.</p>
        </div> <!-- End of page -->
    </div> <!-- End of settings-scroller -->
</div> <!-- End of settings -->

<div id="selected-qmf-console-connection" class="main">
    <div class="header">
		<a class="back button" href="#">Settings</a>
        <h1>QMF Console Connection</h1>

        <span class="toolbar">
            <a class="delete" href="#"></a>
            <a class="menu home" href="#"></a>
        </span>
    </div>

    <div id="selected-qmf-console-connection-scroller" class="scroll-area">
        <div class="page">
    	    <ul class="list">
                <li id="selected-qmf-console-connection-url"><a href="#">URL<p>url</p></a></li>
                <li id="selected-qmf-console-connection-name"><a href="#">Name<p>name</p></a></li>
                <li id="selected-qmf-console-connection-events-disabled"><a href="#">Events Disabled<p>false</p></a></li>
    	    </ul>
            <p id="selected-qmf-console-connection-default-info" class="note nopadding">A default URL means that the Connection URL configured on the QpidRestAPI server is being used.</p>

            <div id="selected-qmf-console-connection-connection-options">
                <h1>Connection Options</h1>
    	        <ul class="list">
                    <li><textarea readonly></textarea></li>
    	        </ul>
            </div>
        </div> <!-- End of page -->
    </div> <!-- End of selected-qmf-console-connection-scroller -->
</div> <!-- End of selected-qmf-console-connection -->


<!----------------------------------------------------------------------------------------------------------------->
<!--                                            Broker Information                                               -->
<!----------------------------------------------------------------------------------------------------------------->

<div id="broker" class="main">
    <div class="header">
		<a class="menu back button" href="#">QMF Con...</a>
        <h1>Broker</h1>
    </div>

    <div id="broker-scroller" class="scroll-area">
        <div class="page">
    	    <ul id="broker-list" class="list">
    		    <li class><a href="#">Broker row 1</a></li>
    	    </ul>

            <div id="broker-msgio-container">
                <h1>Message Input/Output</h1>
    	        <ul id="broker-msgio" class="list">
                    <li><a href="#">Broker row 1</a></li>
    	        </ul>
            </div>

            <div id="broker-byteio-container">
                <h1>Byte Input/Output</h1>
    	        <ul id="broker-byteio" class="list">
                    <li><a href="#">Broker row 1</a></li>
    	        </ul>
            </div>

            <div id="broker-flow-to-disk-container">
                <h1>Flow to Disk</h1>
    	        <ul id="broker-flow-to-disk" class="list">
                    <li><a href="#">Broker row 1</a></li>
    	        </ul>
            </div>

            <div id="broker-dequeue-container">
                <h1>Dequeue Details</h1>
    	        <ul id="broker-dequeue" class="list">
                    <li><a href="#">Broker row 1</a></li>
    	        </ul>
            </div>

            <h1>Set Log Level</h1>
            <ul id="broker-log-level" class="list">
                <li>
                    <label for="broker-log-normal">Normal</label>
                    <input type="radio" id="broker-log-normal" name="broker-log-level" value="normal" checked />
                </li>
                <li>
                    <label for="broker-log-debug">Debug</label>
                    <input type="radio" id="broker-log-debug" name="broker-log-level" value="debug"/>
                </li>
            </ul>
        </div> <!-- End of page -->
    </div> <!-- End of broker-scroller -->
</div> <!-- End of broker -->

<!----------------------------------------------------------------------------------------------------------------->
<!--                                          Connection Information                                             -->
<!----------------------------------------------------------------------------------------------------------------->

<div id="connections" class="main">
    <div class="header">
		<a class="menu back button" href="#">QMF Con...</a>
        <h1>Connections</h1>
    </div>

    <div id="connections-scroller" class="scroll-area">
        <div class="page">
    	    <ul id="connections-list" class="list">
    		    <li class="arrow"><a href="#selected-connection">Dummy Connection</a></li>
    	    </ul>
        </div> <!-- End of page -->
    </div> <!-- End of connections-scroller -->
</div> <!-- End of connections -->

<div id="selected-connection" class="main">
    <div class="header">
		<a class="back button" href="#">Connect...</a>
        <h1>Selected Connection</h1>

        <span class="toolbar">
            <a class="menu home" href="#"></a>
        </span>
    </div>

    <div id="selected-connection-scroller" class="scroll-area">
        <div class="page">
            <h1 class="first">Message Input/Output</h1>
    	    <ul id="selected-connection-msgio" class="list">
                <li class="arrow"><a href="#graphs">Selected Connection row 1</a></li>
    	    </ul>

            <h1>Byte Input/Output</h1>
    	    <ul id="selected-connection-byteio" class="list">
                <li><a href="#">Selected Connection row 1</a></li>
    	    </ul>

            <h1>Frame Input/Output</h1>
    	    <ul id="selected-connection-frameio" class="list">
                <li><a href="#">Selected Connection row 1</a></li>
    	    </ul>

            <h1>General</h1>
    	    <ul id="selected-connection-general" class="list">
                <li><a href="#">Selected Connection row 1</a></li>
    	    </ul>

            <h1>Subscribed Sessions</h1>
	        <ul id="selected-connection-subscribed-sessions" class="list">
		        <li class="arrow"><a href="#connection-sessions">Selected Connection Session 1</a></li>
            </ul>

            <h1>Unsubscribed Sessions</h1>
	        <ul id="selected-connection-unsubscribed-sessions" class="list">
		        <li><a href="#connection-sessions">Selected Connection Session 1</a></li>
            </ul>
        </div> <!-- End of page -->
    </div> <!-- End of selected-connection-scroller -->
</div> <!-- End of selected-connection -->

<div id="connection-subscriptions" class="main">
    <div class="header">
		<a class="back button" href="#">Connect...</a>
        <h1>Connection Subscriptions</h1>

        <span class="toolbar">
            <a class="menu home" href="#"></a>
        </span>
    </div>

    <div id="connection-subscriptions-scroller" class="scroll-area">
        <div class="page">
            <h1>Subscription</h1>
    	    <ul id="connection-subscriptions-list" class="list">
                <li><a href="#">Selected Subscription row 1</a></li>
    	    </ul>
        </div> <!-- End of page -->
    </div> <!-- End of connection-subscriptions-scroller -->
</div> <!-- End of connection-subscriptions -->

<!----------------------------------------------------------------------------------------------------------------->
<!--                                            Exchange Information                                             -->
<!----------------------------------------------------------------------------------------------------------------->

<div id="exchanges" class="main">
    <div class="header">
		<a class="menu back button" href="#">QMF Con...</a>
        <h1>Exchanges</h1>
    </div>

    <div id="exchanges-scroller" class="scroll-area">
        <div class="page">
    	    <ul id="exchanges-add-exchange" class="list">
    		    <li class="pop"><a href="#add-exchange">Add Exchange</a></li>
            </ul>
            <p/>

    	    <ul id="exchanges-list" class="list">
    		    <li class="arrow"><a href="#selected-exchange">Dummy Exchange</a></li>
    	    </ul>
        </div> <!-- End of page -->
    </div> <!-- End of exchanges-scroller -->
</div> <!-- End of exchanges -->

<div id="selected-exchange" class="main">
    <div class="header">
		<a class="back button" href="#">Exchan...</a>
        <h1>Selected Exchange</h1>

        <span class="toolbar">
            <a class="delete" href="#"></a>
            <a class="menu home" href="#"></a>
        </span>
    </div>

    <div id="selected-exchange-scroller" class="scroll-area">
        <div class="page">
    	    <ul id="selected-exchange-bindings" class="list">
    		    <li class="arrow"><a href="#bindings">Bindings</a></li>
            </ul>

            <h1>Message Input/Output</h1>
    	    <ul id="selected-exchange-msgio" class="list">
                <li class="arrow" ><a href="#graphs">Selected Exchange row 1</a></li>
    	    </ul>

            <h1>Byte Input/Output</h1>
    	    <ul id="selected-exchange-byteio" class="list">
                <li><a href="#">Selected Exchange row 1</a></li>
    	    </ul>

            <h1>General</h1>
    	    <ul id="selected-exchange-general" class="list">
                <li><a href="#">Selected Exchange row 1</a></li>
    	    </ul>
        </div> <!-- End of page -->
    </div> <!-- End of selected-exchange-scroller -->
</div> <!-- End of selected-exchange -->

<!----------------------------------------------------------------------------------------------------------------->
<!--                                             Queue Information                                               -->
<!----------------------------------------------------------------------------------------------------------------->

<div id="queues" class="main">
    <div class="header">
		<a class="menu back button" href="#">QMF Con...</a>
        <h1>Queues</h1>
    </div>

    <div id="queues-scroller" class="scroll-area">
        <div class="page">
    	    <ul id="queues-add-queue" class="list">
    		    <li class="pop"><a href="#add-queue">Add Queue</a></li>
            </ul>
            <p/>

    	    <ul id="queues-list" class="list">
                <li class="arrow"><a href="#selected-queue">Dummy Queue</a></li>
    	    </ul>
        </div> <!-- End of page -->
    </div> <!-- End of queues-scroller -->
</div> <!-- End of queues -->

<div id="selected-queue" class="main">
    <div class="header">
		<a class="back button" href="#">Queues</a>
        <h1>Selected Queue</h1>

        <span class="toolbar">
            <a class="delete" href="#"></a>
            <a class="menu home" href="#"></a>
        </span>
    </div>

    <div id="selected-queue-scroller" class="scroll-area">
        <div class="page">
    	    <ul id="selected-queue-bindings" class="list">
    		    <li class="arrow"><a href="#bindings">Bindings</a></li>
            </ul>

            <h1>Message Input/Output</h1>
    	    <ul id="selected-queue-msgio" class="list">
                <li class="arrow"><a href="#graphs">Selected Queue row 1</a></li>
    	    </ul>

            <h1>Byte Input/Output</h1>
    	    <ul id="selected-queue-byteio" class="list">
                <li><a href="#">Selected Queue row 1</a></li>
    	    </ul>

            <h1>General</h1>
    	    <ul id="selected-queue-general" class="list">
                <li><a href="#">Selected Queue row 1</a></li>
    	    </ul>

            <div id="selected-queue-flow-to-disk-container">
                <h1>Flow to Disk</h1>
    	        <ul id="selected-queue-flow-to-disk" class="list">
                    <li><a href="#">Selected Queue row 1</a></li>
    	        </ul>
            </div>

            <div id="selected-queue-dequeue-container">
                <h1>Dequeue Details</h1>
    	        <ul id="selected-queue-dequeue" class="list">
                    <li><a href="#">Selected Queue row 1</a></li>
    	        </ul>
            </div>

            <h1>Subscriptions</h1>
    	    <ul id="selected-queue-subscriptions" class="list">
    		    <li class="arrow"><a href="#queue-subscriptions">Selected Queue Subscription 1</a></li>
            </ul>

            <!-- This wrapper div makes it easy to hide these admin functions on QMF queues -->
            <div id="selected-queue-admin-wrapper">
                <h1>Admin</h1>
    	        <ul id="selected-queue-admin" class="list">
    		        <li class="arrow pop"><a href="#purge-queue">Purge</a></li>
    		        <li class="arrow pop"><a href="#reroute-messages">Reroute Messages</a></li>
    		        <li class="arrow pop"><a href="#move-messages">Move Messages</a></li>
    	        </ul>
            </div>
        </div> <!-- End of page -->
    </div> <!-- End of selected-queue-scroller -->
</div> <!-- End of selected-queue -->

<div id="queue-subscriptions" class="main">
    <div class="header">
		<a class="back button" href="#">Queue</a>
        <h1>Selected Subscription</h1>

        <span class="toolbar">
            <a class="menu home" href="#"></a>
        </span>
    </div>

    <div id="queue-subscriptions-scroller" class="scroll-area">
        <div class="page">
            <h1 class="first">Connection</h1>
    	    <ul id="queue-subscriptions-connection" class="list">
                <li class="arrow"><a href="#">Selected Subscription row 1</a></li>
    	    </ul>

            <h1>Session</h1>
    	    <ul id="queue-subscriptions-session" class="list">
                <li><a href="#">Selected Subscription row 1</a></li>
    	    </ul>

            <h1>Subscription</h1>
    	    <ul id="queue-subscriptions-subscription" class="list">
                <li><a href="#">Selected Subscription row 1</a></li>
    	    </ul>
        </div> <!-- End of page -->
    </div> <!-- End of queue-subscriptions-scroller -->
</div> <!-- End of queue-subscriptions -->

<!----------------------------------------------------------------------------------------------------------------->

<div id="bindings" class="main">
    <div class="header">
		<a class="back button" href="#">Queue</a>
        <h1>Bindings</h1>

        <span class="toolbar">
            <a class="menu home" href="#"></a>
        </span>
    </div>

    <div id="bindings-scroller" class="scroll-area">
        <div class="page">
    	    <ul id="bindings-add-binding" class="list">
    		    <li class="pop"><a href="#add-binding">Add Binding</a></li>
            </ul>

            <h1 class="first">Bindings</h1>
    	    <ul id="bindings-list" class="list">
                <li class="arrow"><a href="#">Binding 1</a></li>
    	    </ul>
        </div> <!-- End of page -->
    </div> <!-- End of bindings-scroller -->
</div> <!-- End of bindings -->

<div id="graphs" class="main">
    <div class="header">
		<a class="back button" href="#">Back</a>
        <h1>Graphs</h1>

        <span class="toolbar">
            <a class="menu home" href="#"></a>
        </span>
    </div>

    <div id="graphs-scroller" class="scroll-area">
        <div class="page">

            <ul id="graphs-time-selector" class="list">
                <li>
                    <label>10 minutes</label><input type="radio" value="tenMinutes" name="graphs-time-selector" checked />
                </li>
                <li>
                    <label>1 hour</label><input type="radio" value="oneHour" name="graphs-time-selector" />
                </li>
                <li>
                    <label>1 day</label><input type="radio" value="oneDay" name="graphs-time-selector" />
                </li>
            </ul>

            <h1>Graph Title</h1>
            <canvas id="graphs-canvas">
                Your browser does not support the canvas element.
            </canvas>
        </div> <!-- End of page -->
    </div> <!-- End of graphs-scroller -->
</div> <!-- End of graphs -->

<!----------------------------------------------------------------------------------------------------------------->

<div id="links" class="main">
    <div class="header">
		<a class="menu back button" href="#">QMF Con...</a>
        <h1>Links</h1>
    </div>

    <div id="links-scroller" class="scroll-area">
        <div class="page">
    	    <ul id="links-list" class="list">
    		    <li class="arrow"><a href="#">Not Yet Supported</a></li>
    	    </ul>
        </div> <!-- End of page -->
    </div> <!-- End of links-scroller -->
</div> <!-- End of links -->

<!----------------------------------------------------------------------------------------------------------------->

<div id="route-topology" class="main">
    <div class="header">
		<a class="menu back button" href="#">QMF Con...</a>
        <h1>Route Topology</h1>
    </div>

    <div id="route-topology-scroller" class="scroll-area">
        <div class="page">
    	    <ul id="route-topology-list" class="list">
    		    <li class="arrow"><a href="#">Not Yet Supported</a></li>
    	    </ul>
        </div> <!-- End of page -->
    </div> <!-- End of route-topology-scroller -->
</div> <!-- End of route-topology -->

<!----------------------------------------------------------------------------------------------------------------->
<!--                                        Asynchronous Broker Events                                           -->
<!----------------------------------------------------------------------------------------------------------------->

<div id="events" class="main">
    <div class="header">
		<a class="menu back button" href="#">QMF Con...</a>
        <h1>Events</h1>
    </div>

    <div id="events-scroller" class="scroll-area">
        <div class="page">
    	    <ul id="events-list" class="list">
    		    <li class="grey"><a href="#">There are currently no events available</a></li>
            </ul>
        </div> <!-- End of page -->
    </div> <!-- End of events-scroller -->
</div> <!-- End of events -->

<div id="selected-event" class="main">
    <div class="header">
		<a class="back button" href="#">Events</a>
        <h1>Selected Event</h1>

        <span class="toolbar">
            <a class="menu home" href="#"></a>
        </span>
    </div>

    <div id="selected-event-scroller" class="scroll-area">
        <div class="page">
    	    <ul id="selected-event-list" class="list">
                <li><a href="#">Selected Event row 1</a></li>
    	    </ul>
            <p/>
    	    <ul id="selected-event-values" class="list">
                <li><a href="#">Selected Event row 1</a></li>
    	    </ul>
        </div> <!-- End of page -->
    </div> <!-- End of selected-event-scroller -->
</div> <!-- End of selected-event -->



<!----------------------------------------------------------------------------------------------------------------->
<!--                                            Popup Form Windows                                               -->
<!----------------------------------------------------------------------------------------------------------------->

<!--
<div class="popup-window"> and <div class="popup-container"> act as the container elements for all popup windows
these are used to enable a semi-transparent "smoked glass" background behind the actual popup.
-->
<div class="popup-window">
    <div class="popup-container">


        <div id="add-console-connection" class="popup">
            <div class="header">
		        <a class="cancel button" href="#">Cancel</a>
                <h1>Add QMF Console Connection</h1>
		        <a class="blue right button" href="#">Done</a>
            </div>

            <div id="add-console-connection-scroller" class="scroll-area">
                <div class="page">
                    <form action="#">
	                    <ul class="list">
    	                    <li>
                                <label for="console-url">URL</label>
                                <input type="text" id="console-url" placeholder="guest/guest@host:5672" required />
                            </li>
    	                    <li>
                                <label for="console-name">Name</label>
                                <input type="text" id="console-name" placeholder="Operational Broker" />
                            </li>
	                    </ul>
                        <p class="note">URL may be any AMQP URL format, Name is a name used to identify the Broker.</p>

                        <ul class="list">
                            <li> 
                                <label for="console-disable-events">Disable Events</label>
                                <input type="checkbox" id="console-disable-events" />
                            </li>
                        </ul>
                        <p class="note nopadding">Disable QMF2 Events, use polling to update state instead.</p>

                        <h1>Connection Options</h1>
                        <ul id="add-connection-options" class="list">
    	                    <li>
                                <textarea placeholder='{"sasl_mechanisms": "GSSAPI", "protocol": "ssl"}'></textarea>
                            </li>
                        </ul>
                        <p class="note">Connection Options are not required for most QMF Connections, but may be needed in some authentication edge cases.</p>
                    </form>
                </div> <!-- End of page -->
            </div> <!-- End of add-console-connection-scroller -->
        </div> <!-- End of add-console-connection -->

<!----------------------------------------------------------------------------------------------------------------->

        <div id="add-exchange" class="popup">
            <div class="header">
		        <a class="cancel button" href="#">Cancel</a>
                <h1>Add Exchange</h1>
		        <a class="blue right button" href="#">Done</a>
            </div>

            <div id="add-exchange-scroller" class="scroll-area">
                <div class="page">
                    <form action="#">
	                    <ul class="list">
    	                    <li>
                                <label for="exchange-name">Name</label>
                                <input type="text" id="exchange-name" placeholder="Exchange Name" required />
                            </li>
	                    </ul>
                        <p/>
        	            <ul class="list">
        		            <li id="add-exchange-exchange-type" class="arrow">
                                <a href="#exchange-type">Exchange Type<p>direct</p></a>
                            </li>
        		            <li class="arrow"><a href="#add-exchange-additional">Additional Options</a></li>
        	            </ul>
                    </form>
                </div> <!-- End of page -->
            </div> <!-- End of add-exchange-scroller -->
        </div> <!-- End of add-exchange -->

        <div id="exchange-type" class="popup">
            <div class="header">
		        <a class="back button" href="#">Add Exc...</a>
                <h1>Exchange Type</h1>
            </div>

            <div id="exchange-type-scroller" class="scroll-area">
                <div class="page">
	                <ul class="list">
                        <li>
                            <label for="direct">direct</label>
                            <input type="radio" id="direct" name="exchange-type" value="direct" checked />
                        </li>
                        <li>
                            <label for="fanout">fanout</label>
                            <input type="radio" id="fanout" name="exchange-type" value="fanout" />
                        </li>
                        <li>
                            <label for="topic">topic</label>
                            <input type="radio" id="topic" name="exchange-type" value="topic" />
                        </li>
                        <li>
                            <label for="headers">headers</label>
                            <input type="radio" id="headers" name="exchange-type" value="headers" />
                        </li>
                        <li>
                            <label for="xml">xml</label>
                            <input type="radio" id="xml" name="exchange-type" value="xml" />
                        </li>
	                </ul>
                </div> <!-- End of page -->
            </div> <!-- End of exchange-type-scroller -->
        </div> <!-- End of exchange-type -->

        <div id="add-exchange-additional" class="popup">
            <div class="header">
		        <a class="back button" href="#">Add Exc...</a>
                <h1>Additional Options</h1>
            </div>

            <div id="add-exchange-additional-scroller" class="scroll-area">
                <div class="page">
                    <h1 class="first">Alternate Exchange</h1>
                    <ul class="list">
                        <li id="add-exchange-additional-alternate-exchange-name" class="arrow">
                            <a href="#exchange-selector?id=#add-exchange-additional-alternate-exchange-name">Exchange<p>None (default)</p></a>
                        </li>
                    </ul>
                    <p class="note">Route messages here if this exchange is unable to route them elsewhere.</p>

                    <ul class="list">
                        <li> 
                            <label for="exchange-durable">Durable</label>
                            <input type="checkbox" id="exchange-durable"/>
                        </li>
                        <li> 
                            <label for="sequence">Sequence Number</label>
                            <input type="checkbox" id="sequence"/>
                        </li>
                        <li> 
                            <label for="ive">Initial Value Exchange</label>
                            <input type="checkbox" id="ive"/>
                        </li>
                    </ul>
                    <p class="note">An Initial Value Exchange will keep a reference  to the last message forwarded and enqueue that message to newly bound queues.</p>
                </div> <!-- End of page -->
            </div> <!-- End of add-exchange-additional-scroller -->
        </div> <!-- End of add-exchange-additional -->

        <div id="exchange-selector" class="popup">
            <div class="header">
		        <a class="back button" href="#">Additio...</a>
                <h1>Alternate Exchange</h1>
            </div>

            <div id="exchange-selector-scroller" class="scroll-area">
                <div class="page">
	                <ul id="exchange-selector-list" class="list">
                        <li>
                            <label for="exchange-selector-exchangeNone">None (default)</label>
                            <input type="radio" id="exchange-selector-exchangeNone"
                                                name="exchange-selector" value="None (default)" checked />
                        </li>
	                </ul>
                </div> <!-- End of page -->
            </div> <!-- End of exchange-selector-scroller -->
        </div> <!-- End of exchange-selector -->

<!----------------------------------------------------------------------------------------------------------------->

        <div id="add-queue" class="popup">
            <div class="header">
		        <a class="cancel button" href="#">Cancel</a>
                <h1>Add Queue</h1>
		        <a class="blue right button" href="#">Done</a>
            </div>

            <div id="add-queue-scroller" class="scroll-area">
                <div class="page">
                    <form action="#">
	                    <ul class="list">
    	                    <li>
                                <label for="queue-name">Name</label>
                                <input type="text" id="queue-name" placeholder="Queue Name" required />
                            </li>
	                    </ul>

                        <h1>Maximum In-memory Queue Size</h1>
	                    <ul class="list">
    	                    <li>
                                <label for="max-queue-size">Max Size</label>
                                <input type="text" id="max-queue-size" placeholder="Size (bytes) [K|M|G]"/>
                            </li>
	        	            <li>
                                <label for="max-queue-count">Max Count</label>
                                <input type="text" id="max-queue-count" placeholder="Size (messages)"/>
                            </li>
	                    </ul>
                        <p class="note">Queue sizes are optional, if not specified broker defaults will be used.</p>

        	            <ul class="list">
        		            <li id="add-queue-limit-policy" class="arrow">
                                <a href="#limit-policy">Limit Policy<p>None (default)</p></a>
                            </li>
        		            <li id="add-queue-ordering-policy" class="arrow">
                                <a href="#ordering-policy">Order Policy<p>Fifo (default)</p></a>
                            </li>
        		            <li class="arrow"><a href="#add-queue-additional">Additional Options</a></li>
        	            </ul>
                    </form>
                </div> <!-- End of page -->
            </div> <!-- End of add-queue-scroller -->
        </div> <!-- End of add-queue -->

        <div id="limit-policy" class="popup">
            <div class="header">
		        <a class="back button" href="#">Add Queue</a>
                <h1>Limit Policy</h1>
            </div>

            <div id="limit-policy-scroller" class="scroll-area">
                <div class="page">
	                <ul class="list">
                        <li>
                            <label for="none">None (default)</label>
                            <input type="radio" id="none" name="limit-policy" value="none" checked />
                        </li>
                        <li>
                            <label for="reject">Reject</label>
                            <input type="radio" id="reject" name="limit-policy" value="reject" />
                        </li>
                        <li>
                            <label for="flow-to-disc">Flow to Disc</label>
                            <input type="radio" id="flow-to-disc" name="limit-policy" value="flow_to_disk" />
                        </li>
                        <li>
                            <label for="ring">Ring</label>
                            <input type="radio" id="ring" name="limit-policy" value="ring" />
                        </li>
                        <li>
                            <label for="ring-strict">Ring Strict</label>
                            <input type="radio" id="ring-strict" name="limit-policy" value="ring_strict" />
                        </li>
	                </ul>
                </div> <!-- End of page -->
            </div> <!-- End of limit-policy-scroller -->
        </div> <!-- End of limit-policy -->

        <div id="ordering-policy" class="popup">
            <div class="header">
		        <a class="back button" href="#">Add Queue</a>
                <h1>Order Policy</h1>
            </div>

            <div id="ordering-policy-scroller" class="scroll-area">
                <div class="page">
	                <ul class="list">
                        <li>
                            <label for="fifo">Fifo (default)</label>
                            <input type="radio" id="fifo" name="ordering-policy" value="fifo" checked />
                        </li>
                        <li>
                            <label for="lvq">LVQ</label>
                            <input type="radio" id="lvq" name="ordering-policy" value="lvq" />
                        </li>
                        <li>
                            <label for="lvq-no-browse">LVQ No Browse</label>
                            <input type="radio" id="lvq-no-browse" name="ordering-policy" value="lvq-no-browse" />
                        </li>
	                </ul>
                    <p class="note">Fifo or Last Value Queue.</p>
                </div> <!-- End of page -->
            </div> <!-- End of ordering-policy-scroller -->
        </div> <!-- End of ordering-policy -->

        <div id="add-queue-additional" class="popup">
            <div class="header">
		        <a class="back button" href="#">Add Que...</a>
                <h1>Additional Options</h1>
            </div>

            <div id="add-queue-additional-scroller" class="scroll-area">
                <div class="page">
                    <h1 class="first">Alternate Exchange</h1>
	                <ul class="list">
                        <li id="add-queue-additional-alternate-exchange-name" class="arrow">
                            <a href="#exchange-selector?id=#add-queue-additional-alternate-exchange-name">Exchange<p>None (default)</p></a>
                        </li>
	                </ul>
                    <p class="note">Route messages here if rejected by a subscriber or orphaned by queue deletion.</p>

                    <ul id="add-queue-additional-durable-list" class="list">
                        <li>
                            <label for="queue-durable">Durable</label>
                            <input type="checkbox" id="queue-durable"/>
                        </li>
			<li>
                            <label for="file-size">File Size</label>
                            <input type="text" id="file-size" placeholder="24"/>
                        </li>
    	                <li>
                            <label for="file-count">File Count</label>
                            <input type="text" id="file-count" placeholder="8"/>
                        </li>
                    </ul>

                    <ul id="add-queue-additional-hidden-list" class="list">
                        hidden list
                    </ul>

                    <p id="add-queue-additional-journal-note" class="note nopadding">
                        Journal sizes are optional, if not specified defaults will be used.
                    </p>

                    <h1>Flow Control</h1>
	                <ul class="list">
    	                <li>
                            <label for="flow-stop-size">Stop Size</label>
                            <input type="text" id="flow-stop-size" placeholder="0 (bytes)"/>
                        </li>
    	                <li>
                            <label for="flow-stop-count">Stop Count</label>
                            <input type="text" id="flow-stop-count" placeholder="0 (messages)"/>
                        </li>
    	                <li>
                            <label for="flow-resume-size">Start Size</label>
                            <input type="text" id="flow-resume-size" placeholder="0 (bytes)"/>
                        </li>
    	                <li>
                            <label for="flow-resume-count">Start Count</label>
                            <input type="text" id="flow-resume-count" placeholder="0 (messages)"/>
                        </li>
	                </ul>
                    <p class="note">When one of the stop thresholds are exceeded producer flow control is enabled until the flow drops below one of the start thresholds</p>
                </div> <!-- End of page -->
            </div> <!-- End of add-queue-additional-scroller -->
        </div> <!-- End of add-queue-additional -->

<!----------------------------------------------------------------------------------------------------------------->

        <div id="purge-queue" class="popup">
            <div class="header">
		        <a class="cancel button" href="#">Cancel</a>
                <h1>Purge Queue</h1>
		        <a class="blue right button" href="#">Done</a>
            </div>

            <div id="purge-queue-scroller" class="scroll-area">
                <div class="page">
                    <form action="#">
	                    <ul class="list">
    	                    <li>
                                <label for="purge-queue-request-number">Number</label>
                                <input type="text" id="purge-queue-request-number" placeholder="Message Count" />
                            </li>
	                    </ul>
                        <p class="note">Discards all or some messages from this queue. A value of 0 (default) discards all messages otherwise use the specified number.</p>
                    </form>
                </div> <!-- End of page -->
            </div> <!-- End of purge-queue-scroller -->
        </div> <!-- End of purge-queue -->


        <div id="reroute-messages" class="popup">
            <div class="header">
		        <a class="cancel button" href="#">Cancel</a>
                <h1>Reroute Messages</h1>
		        <a class="blue right button" href="#">Done</a>
            </div>

            <div id="reroute-messages-scroller" class="scroll-area">
                <div class="page">
                    <form action="#">
	                    <ul class="list">
    	                    <li>
                                <label for="reroute-messages-request-number">Number</label>
                                <input type="text" id="reroute-messages-request-number" placeholder="Message Count" />
                            </li>
	                    </ul>
                        <p class="note">Remove all or some messages from this queue and route them to an exchange. A value of 0 (default) reroutes all messages otherwise use the specified number.</p>

                        <ul class="list">
                            <li>
                                <label for="reroute-messages-use-alternate-exchange">Alternate Exchange</label>
                                <input type="checkbox" id="reroute-messages-use-alternate-exchange"/>
                            </li>
                        </ul>
                        <p class="note">Use the queue's configured alternate exchange.</p>
                        <!-- reroute-messages-use-selected-exchange div is used to show/hide the following  -->
                        <ul id="reroute-messages-use-selected-exchange" class="list">
	                        <li id="reroute-messages-exchange-name" class="arrow">
                                <a href="#exchange-selector?id=#reroute-messages-exchange-name">Exchange<p>None (default)</p></a>
                            </li>
                        </ul>
                    </form>
                </div> <!-- End of page -->
            </div> <!-- End of reroute-messages-scroller -->
        </div> <!-- End of reroute-messages -->


        <div id="move-messages" class="popup">
            <div class="header">
		        <a class="cancel button" href="#">Cancel</a>
                <h1>Move Messages</h1>
		        <a class="blue right button" href="#">Done</a>
            </div>

            <div id="move-messages-scroller" class="scroll-area">
                <div class="page">
                    <form action="#">
	                    <ul class="list">
    	                    <li>
                                <label for="move-messages-request-number">Number</label>
                                <input type="text" id="move-messages-request-number" placeholder="Message Count" />
                            </li>
	                    </ul>
                        <p class="note">Move messages from this queue to another. A value of 0 (default) moves all messages otherwise use the specified number.</p>

	                    <ul class="list">
    	                    <li id="move-messages-queue-name" class="arrow">
                                <a href="#queue-selector?id=#move-messages-queue-name">Queue<p>None (default)</p></a>
                                <!--<a href="#move-messages-select-queue">Queue<p>None (default)</p></a>-->
                            </li>
                        </ul>
                        <p class="note">Destination Queue.</p>
                    </form>
                </div> <!-- End of page -->
            </div> <!-- End of move-messages-scroller -->
        </div> <!-- End of move-messages -->

<!----------------------------------------------------------------------------------------------------------------->

        <div id="add-binding" class="popup">
            <div class="header">
		        <a class="cancel button" href="#">Cancel</a>
                <h1>Add Binding</h1>
		        <a class="blue right button" href="#">Done</a>
            </div>

            <div id="add-binding-scroller" class="scroll-area">
                <div class="page">
                    <form action="#">
	                    <ul class="list">
    	                    <li id="add-binding-exchange-name" class="arrow">
                                <a href="#exchange-selector?id=#add-binding-exchange-name">Exchange<p>None (default)</p></a>
                            </li>
    	                    <li id="add-binding-queue-name" class="arrow">
                                <a href="#queue-selector?id=#add-binding-queue-name">Queue<p>None (default)</p></a>
                            </li>
    	                    <li>
                                <label for="add-binding-key-name">Key</label>
                                <input type="text" id="add-binding-key-name" placeholder="Binding Key"/>
                            </li>
	                    </ul>
                        <p class="note nopadding">
                            Key is optional, but without it the Binding cannot be explicitly deleted.
                        </p>

                        <h1>Headers</h1>
                        <ul id="add-headers-binding" class="list">
        		            <li id="add-headers-binding-x-match" class="arrow">
                                <a href="#x-match">Match<p>all</p></a>
                            </li>
        		            <li class="arrow">
                                <a href="#add-header-match">Add...</a>
                            </li>
                        </ul>

                        <ul id="add-xml-binding" class="list">
    	                    <li>
                                <textarea placeholder="Add XQuery here"></textarea>
                            </li>
                        </ul>
                    </form>
                </div> <!-- End of page -->
            </div> <!-- End of add-binding-scroller -->
        </div> <!-- End of add-binding -->

        <div id="queue-selector" class="popup">
            <div class="header">
		        <a class="back button" href="#">Add Bind...</a>
                <h1>Select Queue</h1>
            </div>

            <div id="queue-selector-scroller" class="scroll-area">
                <div class="page">
	                <ul id="queue-selector-list" class="list">
                        <li>
                            <label for="queue-selector-queueNone">None (default)</label>
                            <input type="radio" id="queue-selector-queueNone"
                                                name="queue-selector" value="None (default)" checked />
                        </li>
	                </ul>
                </div> <!-- End of page -->
            </div> <!-- End of queue-selector-scroller -->
        </div> <!-- End of queue-selector -->

        <div id="x-match" class="popup">
            <div class="header">
		        <a class="back button" href="#">Add Binding</a>
                <h1>Match</h1>
            </div>

            <div id="x-match-scroller" class="scroll-area">
                <div class="page">
	                <ul class="list">
                        <li>
                            <label for="x-match-all">all</label>
                            <input type="radio" id="x-match-all" name="x-match" value="all" checked />
                        </li>
                        <li>
                            <label for="x-match-any">any</label>
                            <input type="radio" id="x-match-any" name="x-match" value="any" />
                        </li>
	                </ul>
                </div> <!-- End of page -->
            </div> <!-- End of x-match-scroller -->
        </div> <!-- End of x-match -->

        <div id="add-header-match" class="popup">
            <div class="header">
		        <a class="back button" href="#">Add Bind...</a>
                <h1>Header Match</h1>
		        <a class="blue right button" href="#">Add</a>
            </div>

            <div id="add-header-match-scroller" class="scroll-area">
                <div class="page">
                    <form action="#">
	                    <ul class="list">
    	                    <li>
                                <label for="header-match-key">Key</label>
                                <input type="text" id="header-match-key" placeholder="Header Name"/>
                            </li>
    	                    <li>
                                <label for="header-match-value">Value</label>
                                <input type="text" id="header-match-value" placeholder="Match Value"/>
                            </li>
	                    </ul>
                        <p class="note">
                            Specify a Header name and a value to match the Header against.
                        </p>
                    </form>
                </div> <!-- End of page -->
            </div> <!-- End of add-header-match-scroller -->
        </div> <!-- End of add-header-match -->


    </div> <!-- End of popup-container -->
</div> <!-- End of popup-window -->


<!----------------------------------------------------------------------------------------------------------------->

</body>
</html>