1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,29 @@ |
1 |
+<div class="modal-content"> |
|
2 |
+ <div id="wa-unauthorized"> |
|
3 |
+ <h1>Unauthorized</h1> |
|
4 |
+ </div> |
|
5 |
+</div> |
|
6 |
+<script> |
|
7 |
+ |
|
8 |
+ (function ($) { |
|
9 |
+ |
|
10 |
+ window.modals = window.modals || [] |
|
11 |
+ |
|
12 |
+ if (window.modals.wa_unauthorized === undefined) |
|
13 |
+ { |
|
14 |
+ window.modals.wa_unauthorized = new jBox('Modal', { |
|
15 |
+ closeButton: 'box', |
|
16 |
+ content: $('#wa-unauthorized'), |
|
17 |
+ maxWidth: 650, |
|
18 |
+ minWidth: 100, |
|
19 |
+ minHeight: 100, |
|
20 |
+ width: 650, |
|
21 |
+ addClass: '' |
|
22 |
+ }).open(); |
|
23 |
+ } else { |
|
24 |
+ window.modals.wa_unauthorized.content.empty(); |
|
25 |
+ window.modals.wa_unauthorized.setContent($('#wa-unauthorized')).open(); |
|
26 |
+ } |
|
27 |
+ |
|
28 |
+ })(jQuery); |
|
29 |
+</script> |