Fix missing sorting indicators for table headers. Added few additional css classes. trunk@1166173
authorŁukasz Dywicki <ldywicki@apache.org>
Wed, 7 Sep 2011 09:23:49 +0000 (09:23 +0000)
committerŁukasz Dywicki <ldywicki@apache.org>
Wed, 7 Sep 2011 09:23:49 +0000 (09:23 +0000)
Signed-off-by: Lukasz Dywicki <luke@code-house.org>
git-svn-id: https://svn.apache.org/repos/asf/karaf/sandbox/webconsole/trunk@1166078 13f79535-47bb-0310-9956-ffa450edef68

core/src/main/resources/org/apache/karaf/webconsole/core/images/arrow_down.png [new file with mode: 0644]
core/src/main/resources/org/apache/karaf/webconsole/core/images/arrow_off.png [new file with mode: 0644]
core/src/main/resources/org/apache/karaf/webconsole/core/images/arrow_up.png [new file with mode: 0644]
core/src/main/resources/org/apache/karaf/webconsole/core/page/SidebarPage.html
core/src/main/resources/org/apache/karaf/webconsole/core/page/SinglePage.html
core/src/main/resources/org/apache/karaf/webconsole/core/style.css

diff --git a/core/src/main/resources/org/apache/karaf/webconsole/core/images/arrow_down.png b/core/src/main/resources/org/apache/karaf/webconsole/core/images/arrow_down.png
new file mode 100644 (file)
index 0000000..107b59f
Binary files /dev/null and b/core/src/main/resources/org/apache/karaf/webconsole/core/images/arrow_down.png differ
diff --git a/core/src/main/resources/org/apache/karaf/webconsole/core/images/arrow_off.png b/core/src/main/resources/org/apache/karaf/webconsole/core/images/arrow_off.png
new file mode 100644 (file)
index 0000000..c507cb5
Binary files /dev/null and b/core/src/main/resources/org/apache/karaf/webconsole/core/images/arrow_off.png differ
diff --git a/core/src/main/resources/org/apache/karaf/webconsole/core/images/arrow_up.png b/core/src/main/resources/org/apache/karaf/webconsole/core/images/arrow_up.png
new file mode 100644 (file)
index 0000000..b4e9bbb
Binary files /dev/null and b/core/src/main/resources/org/apache/karaf/webconsole/core/images/arrow_up.png differ
index dcbb937..b2eabe7 100644 (file)
 <body>
 
     <wicket:extend>
-        <div class="grid_3">
-            <div wicket:id="sidebar">Sidebar goes here</div>
+        <div class="grid_3 sidebar-wrapper">
+            <div class="sidebar" wicket:id="sidebar">Sidebar goes here</div>
         </div>
-        <div class="grid_9">
+        <div class="grid_9 sidebar-content content">
             <span wicket:id="feedback">Feedback stuff</span>
             <wicket:child />
         </div>
index 1077866..670531e 100644 (file)
@@ -25,7 +25,7 @@
 <body>
 
     <wicket:extend>
-        <div class="grid_12">
+        <div class="grid_12 single-content content">
             <span wicket:id="feedback">Feedback stuff</span>
             <wicket:child />
         </div>
index f28aba0..8742e3b 100644 (file)
@@ -59,11 +59,13 @@ div.widget {
 }
 
 table.dataview {
+       width: 100%;
+       margin-top: 20px;
        margin-bottom: 10px;
        border-bottom: 1px solid #0079d6;
        font-size: 1em;
        font-family: arial;
-       }
+}
 
 table.dataview caption { text-align: left; }
 table.dataview tr { padding-top: 2px; padding-bottom: 2px; }
@@ -74,11 +76,11 @@ table.dataview tr th { color: black; padding-top: 3px; padding-bottom: 3px; padd
 
 table.dataview tr th { background-position: right; background-repeat:no-repeat; }
 table.dataview tr th.wicket_orderDown {
-       background-color: #87cbff; background-image: url(displaytag/img/arrow_down.png); }
+       background-color: #87cbff; background-image: url(images/arrow_down.png); }
 table.dataview tr th.wicket_orderUp {
-       background-color: #87cbff; background-image: url(displaytag/img/arrow_up.png); }
+       background-color: #87cbff; background-image: url(images/arrow_up.png); }
 table.dataview tr th.wicket_orderNone {
-       background-image: url(displaytag/img/arrow_off.png);
+       background-image: url(images/arrow_off.png);
 }
 table.dataview tr th a { font-weight: normal; }
 table.dataview #message { padding-left: 3px; }