Changeset 65145 in vbox
- Timestamp:
- Jan 5, 2017 11:44:01 AM (8 years ago)
- Location:
- trunk/src/VBox/ValidationKit/testmanager
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/htdocs/css/common.css
r65133 r65145 177 177 } 178 178 179 body.tm-wide-side-menu #side-menu-wrap { 180 width: 300px; 181 } 179 182 #side-menu-wrap { 180 183 position: fixed; … … 194 197 #side-menu { 195 198 margin-top: 46px; 199 margin-top: 70px; 200 padding-top: 6px 196 201 height: auto; 197 202 max-height: 100%; 198 width: 156px; 203 width: 95%; 204 width: calc(100% - 8px); /* CSS3 */ 199 205 200 206 display: flex; … … 209 215 } 210 216 217 body.tm-wide-side-menu #main { 218 margin-left: 300px; 219 } 211 220 #main { 212 221 height: 100%; … … 247 256 background-color: #c0d0e0; 248 257 padding: 2px 2px 2px 2px; 258 } 259 260 #top-menu.tm-top-menu-wo-side { 249 261 border-radius: 12px; 262 } 263 #top-menu { 264 border-radius: 12px 12px 12px 0px; 265 } 266 267 #side-menu { 268 border-radius: 0px 0px 12px 12px; 250 269 } 251 270 … … 275 294 /* Side menu: */ 276 295 #side-menu { 277 padding-top: 28px; /**< #top-menu.max-height*/296 /* margin-top and padding-top are set up in layout !*/ 278 297 margin-right: 3px; 279 298 margin-left: 3px; … … 308 327 margin-top: 0.5em; 309 328 } 329 330 .tm-sidebar-size-link { 331 float: right; 332 } 333 310 334 311 335 /* Webkit: Pretty scroll bars on the menu body as well as inside filter criteria. */ … … 441 465 */ 442 466 #top-menu { 443 margin: 0 auto; 467 margin-right: 3px; /* same as #side-menu! */ 468 margin-left: 3px; 444 469 } 445 470 -
trunk/src/VBox/ValidationKit/testmanager/htdocs/js/common.js
r65092 r65145 434 434 } 435 435 return true; 436 } 437 438 /** 439 * Toggles the sidebar size so filters can more easily manipulated. 440 */ 441 function toggleSidebarSize() 442 { 443 var sLinkText; 444 if (document.body.className != 'tm-wide-side-menu') 445 { 446 document.body.className = 'tm-wide-side-menu'; 447 sLinkText = '\u00ab\u00ab'; 448 } 449 else 450 { 451 document.body.className = ''; 452 sLinkText = '\u00bb\u00bb'; 453 } 454 455 var aoToggleLink = document.getElementsByClassName('tm-sidebar-size-link'); 456 var i; 457 for (i = 0; i < aoToggleLink.length; i++) 458 if (aoToggleLink[i].textContent.indexOf('\u00bb') >= 0 || aoToggleLink[i].textContent.indexOf('\u00ab') >= 0) 459 aoToggleLink[i].textContent = sLinkText; 436 460 } 437 461 -
trunk/src/VBox/ValidationKit/testmanager/webui/template-details.html
r65010 r65145 22 22 <h1>@@PAGE_TITLE@@</h1> 23 23 </div> 24 <div id="top-menu" >24 <div id="top-menu" class="tm-top-menu-wo-side"> 25 25 <ul> 26 26 @@TOP_MENU_ITEMS@@ -
trunk/src/VBox/ValidationKit/testmanager/webui/wuimain.py
r65092 r65145 928 928 # Generate the filter panel. 929 929 sHtml += u'<div id="side-filters">\n' \ 930 u' <p>Filters</p>\n' \ 930 u' <p>Filters' \ 931 u' <a href="javascript:toggleSidebarSize();" class="tm-sidebar-size-link">»»</p>\n'\ 931 932 u' <dl>\n'; 932 933
Note:
See TracChangeset
for help on using the changeset viewer.