Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added single queue stub

  • Loading branch information...
commit d4c9e20e2ef97a3434b9892caf8c0027220d1fa9 1 parent 1239086
@jurka jurka authored
View
111 static/css/style.css
@@ -122,28 +122,31 @@ footer {
#main_menu{
float: right;
border-right: 1px solid #010101;
-border-left: 1px solid #2b2b2b;
-margin: 0;
- }
+ border-left: 1px solid #2b2b2b;
+ margin: 0;
+}
#main_menu li{
-width: 108px;
-border-left: 1px solid #010101;
-border-right: 1px solid #2b2b2b;
-font-weight: bold;
-line-height: 6.3;
-font-size: 12px;
-list-style: none;
-text-align: center;
-float: left;
-color: #f1f1f1;
-font-family: Ubuntu, Monaco, Calibri, Tahoma, Arial, sans-serif;
-vertical-align: middle;
- }
+ width: 108px;
+ border-left: 1px solid #010101;
+ border-right: 1px solid #2b2b2b;
+ font-weight: bold;
+ line-height: 6.3;
+ font-size: 12px;
+ list-style: none;
+ text-align: center;
+ float: left;
+ color: #f1f1f1;
+ font-family: Ubuntu, Monaco, Calibri, Tahoma, Arial, sans-serif;
+ vertical-align: middle;
+}
+#main_menu li a{
+ text-decoration: none;
+}
#main_menu li.selected{
-background-color: rgba(0,0,0, 0.25);
- }
+ background-color: rgba(0,0,0, 0.25);
+}
aside{
width: 48%;
@@ -153,9 +156,13 @@ aside{
/* BLOCK STYLE*/
.block{
-padding-top: 10px;
-width: 48%;
- }
+ padding-top: 10px;
+ width: 48%;
+}
+
+.block a{
+ text-decoration: none;
+}
.block h2{
font-size: 24px;
@@ -213,6 +220,66 @@ aside .block{
}
+/* SINGLE QUEUE ITEM*/
+
+#queues_list a{
+ text-decoration: none;
+}
+
+#queues_list .queue_item{
+ list-style: none inside none;
+ margin-bottom: 24px;
+}
+
+#queues_list .queue_item.collapsed{
+ margin-bottom: 6px;
+}
+
+.queue_headline{
+ font-size: 12px;
+ color: #b8b8b8;
+ line-height: 2;
+ border-bottom: 1px solid #010101;
+ padding-left: 12px;
+ background-color: rgba(0,0,0, 0.25);
+}
+.queue_headline h3{
+ font-size: 16px;
+}
+
+.queue_headline .short_info{
+ float: right;
+ margin: 0 10px;
+}
+.queue_headline .expand_queue{
+ float: right;
+ color: #969696;
+ font-weight: bolder;
+ margin: 0 10px;
+ cursor: pointer;
+}
+
+.queue_headline .workers_value{
+ color: #ffe825;
+}
+
+.queue_headline .mem_value{
+ color: #1696ff;
+}
+
+.queue_headline .cpu_value{
+ color: #0f0;
+}
+
+.queue_details{
+ border-top: 1px solid #2b2b2b;
+ background: rgba(0,0,0,0.15);
+}
+
+
+
+
+
@@ -261,4 +328,4 @@ aside .block{
@page { margin: 0.5cm; }
p, h2, h3 { orphans: 3; widows: 3; }
h2, h3{ page-break-after: avoid; }
-}
+}
View
11 templates/dashboard/queue/queue.html
@@ -0,0 +1,11 @@
+<div class="queue_headline">
+
+ <a href="#" class="expand_queue" title="Show queue details">&dArr;</a>
+ <a href="#" class="short_info workers_value" title="Number of workers">5</a>
+ <a href="#" class="short_info mem_value" title="Memory">80%</a>
+ <a href="#" class="short_info cpu_value" title="CPU">55%</a>
+
+ <h3>[Name of Queue]</h3>
+
+</div>
+
View
2  templates/dashboard/queue/queue_list.html
@@ -5,7 +5,7 @@
<ul id="queues_list">
<li class="queue_item">
- QUEUE ITEM
+ {% include 'dashboard/queue/queue.html' %}
</li>
</ul>
Please sign in to comment.
Something went wrong with that request. Please try again.