Changes for page Administration

Last modified by Leon Poon on 2025/05/12 14:26

From version 9.1
edited by Leon Poon
on 2025/05/12 14:26
Change comment: Install extension [org.xwiki.platform:xwiki-platform-administration-ui/16.10.7]
To version 8.1
edited by Leon Poon
on 2024/03/23 04:26
Change comment: Install extension [org.xwiki.platform:xwiki-platform-administration-ui/15.10.7]

Summary

Details

Page properties
Content
... ... @@ -266,12 +266,9 @@
266 266   #sortCollectionOfMapsByField($item.children, 'order', 99999, 'asc', $children)
267 267   <div class="panel panel-default">
268 268   <a class="panel-heading#if (!$isActive) collapsed#end" id="panel-heading-$escapedId"
269 - href="$!item.url" data-toggle="collapse"#if ("$!options.id" != '') data-parent="#$options.id" #end
270 - data-target="#panel-body-$escapedId" aria-expanded="$isActive" aria-controls="panel-body-$escapedId"
271 - title="$!escapetool.xml($item.description)">
272 - <span>$!services.icon.renderHTML($item.icon)$escapetool.xml($name)</span>
273 - <div>$services.icon.renderHTML('caret-down')</div>
274 - </a>
269 + href="$!item.url" data-toggle="collapse"#if ("$!options.id" != '') data-parent="#$options.id" #end
270 + data-target="#panel-body-$escapedId" aria-expanded="$isActive" aria-controls="panel-body-$escapedId"
271 + title="$!escapetool.xml($item.description)">$!services.icon.renderHTML($item.icon)$escapetool.xml($name)</a>
275 275   <section class="panel-collapse collapse#if ($isActive) in#end" id="panel-body-$escapedId"
276 276   aria-labelledby="panel-heading-$escapedId">
277 277   <div class="list-group">
XWiki.StyleSheetExtension[0]
Code
... ... @@ -13,17 +13,10 @@
13 13   margin-top: 0;
14 14  }
15 15  
16 -#admin-page-content label > input[type="checkbox"] {
17 - vertical-align: middle;
18 -}
19 -
16 +#admin-page-content label > input[type="checkbox"],
20 20  #admin-page-content label > input[type="radio"] {
21 - vertical-align: baseline;
18 + vertical-align: bottom;
22 22  }
23 -
24 -#admin-page-content .usersorgroupsnames label > input[type="radio"] {
25 - vertical-align: unset;
26 -}
27 27  
28 28  /**
29 29   * Category Overview
... ... @@ -64,23 +64,10 @@
64 64  /* Override general table styles. */
65 65  /* TODO: Move to livetable.css */
66 66  
67 -#usersandgroupstable td, #alldocstable td {
60 +#userstable td, #groupstable td, #usersandgroupstable td, #alldocstable td {
68 68   border-color: transparent;
69 69  }
70 70  
71 -#admin-page-content .usersorgroupsnames {
72 - white-space: nowrap;
73 - /* Triple of the value for the .right column. This is useful to make sure the columns are somewhat balanced when
74 - there is only one right (e.g., extension rights with a default flavor).
75 - Keeping them balanced is useful to make sure the filters are displayed properly, which is especially important
76 - on a subwiki where we have to find a place to display the scope selector. */
77 - width: 27%;
78 -}
79 -
80 -#usersandgroupstable-filters-scope {
81 - white-space: nowrap;
82 -}
83 -
84 84  #usersandgroupstable-filters #name {
85 85   width: 65%;
86 86  }
... ... @@ -99,10 +99,6 @@
99 99   vertical-align: top;
100 100  }
101 101  
102 -.xform #usersandgroupstable select {
103 - width: unset;
104 -}
105 -
106 106  /**
107 107   * Bootstrap's Accordion Menu
108 108   */
... ... @@ -118,28 +118,13 @@
118 118  }
119 119  
120 120  .admin-menu a.panel-heading {
121 - display: flex;
97 + display: block;
122 122   font-size: 100%;
123 123  }
124 -
125 -.admin-menu a.panel-heading span {
126 - flex-grow: 1;
127 -}
128 -
129 129  .admin-menu a.panel-heading:not(.collapsed) {
130 130   background-color: $theme.menuBackgroundColor;
131 131   color: $theme.menuLinkColor;
132 132  }
133 -
134 -/* Rotate the carret on collapse. */
135 -.admin-menu a.panel-heading.collapsed > *:last-child {
136 - transform: rotate(90deg);
137 -}
138 -
139 -.admin-menu a.panel-heading > *:last-child {
140 - transition: transform 200ms ease-in-out;
141 -}
142 -
143 143  .admin-menu a.panel-heading:active,
144 144  .admin-menu a.panel-heading:focus,
145 145  .admin-menu a.panel-heading:hover {
... ... @@ -146,7 +146,7 @@
146 146   text-decoration: none;
147 147  }
148 148  
149 -.admin-menu .panel-heading > span > *:first-child {
110 +.admin-menu .panel-heading > *:first-child {
150 150   margin-right: .8em;
151 151  }
152 152