File tree 3 files changed +17
-23
lines changed
barsystem/src/barsystem/gui
3 files changed +17
-23
lines changed Original file line number Diff line number Diff line change @@ -82,26 +82,9 @@ input[type=number] {
82
82
font-weight : bold;
83
83
}
84
84
85
- # connection {
86
- position : absolute;
87
- top : 0 ;
88
- left : 0 ;
89
- z-index : 1001 ;
85
+ .connection-status .ok {
86
+ color : green;
90
87
}
91
- # connection .ok div {
92
- border-color : green;
93
- background-color : green;
94
- }
95
- # connection .fail div {
96
- border-color : red;
97
- background-color : red;
98
- }
99
- # connection div {
100
- border-width : 1px ;
101
- border-style : solid;
102
- border-color : transparent;
103
- border-radius : 10px ;
104
- width : 20px ;
105
- height : 20px ;
106
- background-color : transparent;
88
+ .connection-status {
89
+ color : red;
107
90
}
Original file line number Diff line number Diff line change @@ -76,8 +76,13 @@ <h3>Halp how does this work?</h3>
76
76
</ div >
77
77
{% endblock %}
78
78
79
+ {% block navextra %}
80
+ < div class ="navbar-left ">
81
+ < span class ="navbar-text "> < span id ="connection " class ="connection-status glyphicon glyphicon-signal "> </ span > </ span >
82
+ </ div >
83
+ {% endblock %}
84
+
79
85
{% block extracontent %}
80
- < div id ="connection "> < div > </ div > </ div >
81
86
< form id ="messageForm " method ="post ">
82
87
{% csrf_token %}
83
88
< input type ="hidden " name ="message " />
Original file line number Diff line number Diff line change @@ -208,5 +208,11 @@ <h4 class="modal-title">Help</h4>
208
208
</ li >
209
209
</ template >
210
210
<!-- end template -->
211
- < div id ="connection "> < div > </ div > </ div >
211
+ {% endblock %}
212
+
213
+
214
+ {% block navextra %}
215
+ < div class ="navbar-left ">
216
+ < span class ="navbar-text "> < span id ="connection " class ="connection-status glyphicon glyphicon-signal "> </ span > </ span >
217
+ </ div >
212
218
{% endblock %}
You can’t perform that action at this time.
0 commit comments