From 1f19d91fdf6a1d32cc01a9c1410c8ba54429e812 Mon Sep 17 00:00:00 2001 From: mdoglio Date: Tue, 3 Dec 2013 22:36:06 +0100 Subject: [PATCH] change the layout of the bottom panel --- ui/css/treeherder.css | 32 ++++++++- ui/index.html | 20 +++--- ui/js/directives.js | 1 - ui/js/services.js | 21 ++++++ ui/plugins/bugs/controller.js | 19 +++++ ui/plugins/bugs/main.html | 16 +++++ ui/plugins/controller.js | 102 ++++++++++++++++++++++++-- ui/plugins/jobdetail/controller.js | 112 ----------------------------- ui/plugins/jobdetail/main.html | 60 ---------------- ui/plugins/jobfoo/controller.js | 13 ---- ui/plugins/jobfoo/main.html | 3 - ui/plugins/pluginpanel.html | 72 +++++++++++++++++-- ui/plugins/tinderbox/controller.js | 15 ++++ ui/plugins/tinderbox/directives.js | 12 ++++ ui/plugins/tinderbox/main.html | 8 +++ 15 files changed, 293 insertions(+), 213 deletions(-) create mode 100644 ui/plugins/bugs/controller.js create mode 100644 ui/plugins/bugs/main.html delete mode 100644 ui/plugins/jobdetail/controller.js delete mode 100644 ui/plugins/jobdetail/main.html delete mode 100644 ui/plugins/jobfoo/controller.js delete mode 100644 ui/plugins/jobfoo/main.html create mode 100644 ui/plugins/tinderbox/controller.js create mode 100644 ui/plugins/tinderbox/directives.js create mode 100644 ui/plugins/tinderbox/main.html diff --git a/ui/css/treeherder.css b/ui/css/treeherder.css index 7bb395e1d..7df21c302 100755 --- a/ui/css/treeherder.css +++ b/ui/css/treeherder.css @@ -124,13 +124,43 @@ body { } .job-btn { - margin: 0 -4px 0 0; + margin: 0 -3px 0 0; padding: 0 2px 0 2px; } .th-notes-accordion .accordion-toggle { padding: 0; } +div.navbar-fixed-bottom{ + border-top: 1px solid #ccc; + padding:5px; +} + +.table-super-condensed thead > tr > th, +.table-super-condensed tbody > tr > th, +.table-super-condensed tfoot > tr > th, +.table-super-condensed thead > tr > td, +.table-super-condensed tbody > tr > td, +.table-super-condensed tfoot > tr > td { + padding: 2px; + font-size: .9em; +} + +div.navbar-fixed-bottom .panel{ + box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.1), 0px 0px 2px 0px rgba(0, 0, 0, 0.8) inset +} + +div.navbar-fixed-bottom dt, +div.navbar-fixed-bottom dt { + font-size:.8em; +} + +div.navbar-fixed-bottom .close-btn{ + position:absolute; + top:-15px; + right:5px; + z-index:10; +} /* Custom Job buttons*/ .btn-orange { diff --git a/ui/index.html b/ui/index.html index 006d272d2..286adbf33 100755 --- a/ui/index.html +++ b/ui/index.html @@ -63,16 +63,13 @@ -