Mercurial > prosody-modules
annotate mod_admin_web/admin_web/www_files/css/style.css @ 4942:e7b9bc629ecc
mod_rest: Add special handling to catch MAM results from remote hosts
Makes MAM queries to remote hosts works.
As the comment says, MAM results from users' local archives or local
MUCs are returned via origin.send() which is provided in the event and
thus already worked. Results from remote hosts go via normal stanza
routing and events, which need this extra handling to catch.
This pattern of iq-set, message+, iq-result is generally limited to MAM.
Closest similar thing might be MUC join, but to really handle that you
would need the webhook callback mechanism.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 16 May 2022 19:47:09 +0200 |
parents | f53475ee7ff4 |
children |
rev | line source |
---|---|
288
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
1 body { |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
2 margin: 0 |
288
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
3 } |
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
4 |
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
5 a { |
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
6 color: #0000FF |
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
7 } |
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
8 |
1117
d643c385d3f6
mod_admin_web: Provide some information about the TLS layer
Florian Zeitz <florob@babelmonkeys.de>
parents:
1022
diff
changeset
|
9 #adhocCommands > ul { |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
10 margin: 0 |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
11 } |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
12 |
575 | 13 .btn { |
577
d26436bdfd5c
mod_admin_web: Fix margins
Florian Zeitz <florob@babelmonkeys.de>
parents:
575
diff
changeset
|
14 margin-right: 0.3em |
575 | 15 } |
16 | |
1022
f15c25fff9cc
mod_admin_web: Fix CSS, :last -> :last-child
Florian Zeitz <florob@babelmonkeys.de>
parents:
1002
diff
changeset
|
17 .btn:last-child { |
577
d26436bdfd5c
mod_admin_web: Fix margins
Florian Zeitz <florob@babelmonkeys.de>
parents:
575
diff
changeset
|
18 margin-right: 0 |
575 | 19 } |
20 | |
288
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
21 #log_container { |
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
22 clear: both; |
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
23 display: none |
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
24 } |
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
25 |
573
c9955858dc7e
mod_adhoc_web: Redesign adhoc command pane
Florian Zeitz <florob@babelmonkeys.de>
parents:
539
diff
changeset
|
26 #adhocCommands { |
c9955858dc7e
mod_adhoc_web: Redesign adhoc command pane
Florian Zeitz <florob@babelmonkeys.de>
parents:
539
diff
changeset
|
27 border-right: solid 1px |
c9955858dc7e
mod_adhoc_web: Redesign adhoc command pane
Florian Zeitz <florob@babelmonkeys.de>
parents:
539
diff
changeset
|
28 } |
c9955858dc7e
mod_adhoc_web: Redesign adhoc command pane
Florian Zeitz <florob@babelmonkeys.de>
parents:
539
diff
changeset
|
29 |
c9955858dc7e
mod_adhoc_web: Redesign adhoc command pane
Florian Zeitz <florob@babelmonkeys.de>
parents:
539
diff
changeset
|
30 #adhocCommands li { |
c9955858dc7e
mod_adhoc_web: Redesign adhoc command pane
Florian Zeitz <florob@babelmonkeys.de>
parents:
539
diff
changeset
|
31 list-style: inside |
288
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
32 } |
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
33 |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
34 #login { |
288
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
35 float: left; |
575 | 36 margin: 1em 2em 0 1em; |
37 padding-right: 1em; | |
319
ba2e78661ea8
mod_admin_web: Make module global. Host to administrate is now chooseable
Florian Zeitz <florob@babelmonkeys.de>
parents:
301
diff
changeset
|
38 border: solid 1px; |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
39 background: #eef0f2; |
288
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
40 color: #000000 |
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
41 } |
9233d7ee3c09
mod_admin_web: Initial PoC commit
Florian Zeitz <florob@babelmonkeys.de>
parents:
diff
changeset
|
42 |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
43 #main { |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
44 display: none; |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
45 margin: 1em |
319
ba2e78661ea8
mod_admin_web: Make module global. Host to administrate is now chooseable
Florian Zeitz <florob@babelmonkeys.de>
parents:
301
diff
changeset
|
46 } |
ba2e78661ea8
mod_admin_web: Make module global. Host to administrate is now chooseable
Florian Zeitz <florob@babelmonkeys.de>
parents:
301
diff
changeset
|
47 |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
48 #main p { |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
49 margin: 0 |
294
5a619d6045a8
mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents:
288
diff
changeset
|
50 } |
5a619d6045a8
mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents:
288
diff
changeset
|
51 |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
52 #top { |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
53 clear: both; |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
54 width: 100%; |
573
c9955858dc7e
mod_adhoc_web: Redesign adhoc command pane
Florian Zeitz <florob@babelmonkeys.de>
parents:
539
diff
changeset
|
55 padding: 0; |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
56 } |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
57 |
1219
f53475ee7ff4
mod_admin_web: Some style fixes
Florian Zeitz <florob@babelmonkeys.de>
parents:
1119
diff
changeset
|
58 @media screen and (min-width: 757px) { |
f53475ee7ff4
mod_admin_web: Some style fixes
Florian Zeitz <florob@babelmonkeys.de>
parents:
1119
diff
changeset
|
59 #header { |
f53475ee7ff4
mod_admin_web: Some style fixes
Florian Zeitz <florob@babelmonkeys.de>
parents:
1119
diff
changeset
|
60 background: url(../images/blue_orange.png) repeat-x |
f53475ee7ff4
mod_admin_web: Some style fixes
Florian Zeitz <florob@babelmonkeys.de>
parents:
1119
diff
changeset
|
61 } |
f53475ee7ff4
mod_admin_web: Some style fixes
Florian Zeitz <florob@babelmonkeys.de>
parents:
1119
diff
changeset
|
62 } |
f53475ee7ff4
mod_admin_web: Some style fixes
Florian Zeitz <florob@babelmonkeys.de>
parents:
1119
diff
changeset
|
63 |
f53475ee7ff4
mod_admin_web: Some style fixes
Florian Zeitz <florob@babelmonkeys.de>
parents:
1119
diff
changeset
|
64 #header img { |
f53475ee7ff4
mod_admin_web: Some style fixes
Florian Zeitz <florob@babelmonkeys.de>
parents:
1119
diff
changeset
|
65 max-width: 100%; |
f53475ee7ff4
mod_admin_web: Some style fixes
Florian Zeitz <florob@babelmonkeys.de>
parents:
1119
diff
changeset
|
66 height: auto |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
67 } |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
68 |
294
5a619d6045a8
mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents:
288
diff
changeset
|
69 #menu { |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
70 display: none; |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
71 color: #454748; |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
72 font-size: 1.1em; |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
73 background: #eef0f2; |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
74 width: 100%; |
294
5a619d6045a8
mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents:
288
diff
changeset
|
75 } |
5a619d6045a8
mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents:
288
diff
changeset
|
76 |
5a619d6045a8
mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents:
288
diff
changeset
|
77 #menu ul { |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
78 display: inline; |
294
5a619d6045a8
mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents:
288
diff
changeset
|
79 list-style-type: none; |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
80 margin: 0; |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
81 padding: 0.5em 0 |
294
5a619d6045a8
mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents:
288
diff
changeset
|
82 } |
5a619d6045a8
mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents:
288
diff
changeset
|
83 |
5a619d6045a8
mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents:
288
diff
changeset
|
84 #menu li { |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
85 display: inline; |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
86 padding: 0 0.5em |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
87 } |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
88 |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
89 #menu a { |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
90 color: #454748; |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
91 text-decoration: none |
294
5a619d6045a8
mod_admin_web: Prepare for adding more features
Florian Zeitz <florob@babelmonkeys.de>
parents:
288
diff
changeset
|
92 } |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
93 |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
94 #menu li a:hover { |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
95 color: #6197DF; |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
96 text-decoration: underline |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
97 } |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
98 |
1219
f53475ee7ff4
mod_admin_web: Some style fixes
Florian Zeitz <florob@babelmonkeys.de>
parents:
1119
diff
changeset
|
99 #selector { |
f53475ee7ff4
mod_admin_web: Some style fixes
Florian Zeitz <florob@babelmonkeys.de>
parents:
1119
diff
changeset
|
100 display: inline-block |
f53475ee7ff4
mod_admin_web: Some style fixes
Florian Zeitz <florob@babelmonkeys.de>
parents:
1119
diff
changeset
|
101 } |
f53475ee7ff4
mod_admin_web: Some style fixes
Florian Zeitz <florob@babelmonkeys.de>
parents:
1119
diff
changeset
|
102 |
539
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
103 #s2sList h2, #c2sList h2 { |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
104 color: #4b8ade; |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
105 margin: 0 |
99465bbfa205
First pass of web-admin redesign
Florian Zeitz <florob@babelmonkeys.de>
parents:
334
diff
changeset
|
106 } |
575 | 107 |
1119
1af68e5e40f3
mod_admin_web: Use a different cursor for expandable items
Florian Zeitz <florob@babelmonkeys.de>
parents:
1117
diff
changeset
|
108 #s2sList li, #c2sList li { |
1af68e5e40f3
mod_admin_web: Use a different cursor for expandable items
Florian Zeitz <florob@babelmonkeys.de>
parents:
1117
diff
changeset
|
109 cursor: pointer |
1af68e5e40f3
mod_admin_web: Use a different cursor for expandable items
Florian Zeitz <florob@babelmonkeys.de>
parents:
1117
diff
changeset
|
110 } |
1af68e5e40f3
mod_admin_web: Use a different cursor for expandable items
Florian Zeitz <florob@babelmonkeys.de>
parents:
1117
diff
changeset
|
111 |
575 | 112 #host { |
113 margin: 0.25em; | |
114 } |