Commit 1b1f03c983267cfa688c8d028bc22da986b8f659

Authored by Etienne Pallier
1 parent 319843ba
Exists in dev

page cleanup

src/core/pyros_django/dashboard/templates/dashboard/agent_detail.html
... ... @@ -34,7 +34,7 @@
34 34 color : violet;
35 35 }
36 36 .table{
37   - //max-width:90vw;
  37 + /*max-width: 90vw;*/
38 38 table-layout: fixed;
39 39 }
40 40 th{
... ... @@ -51,7 +51,7 @@
51 51 }
52 52 .theader{
53 53 text-align: center;
54   - min-width:7vw;
  54 + min-width: 7vw;
55 55 max-width: 12vw;
56 56 vertical-align:top;
57 57 }
... ... @@ -184,10 +184,16 @@
184 184 </table>
185 185 </div>
186 186 {% endif %}
  187 +
  188 +
  189 + <!-- COMMANDS TABLE -->
  190 +
187 191 <br><h2> Commands <span style="color:green;">received</span> & <span style="color:blue;">sent</span> </h2><br>
  192 +
188 193 <div id="overflowtable">
189 194 <table
190 195 class="table table-bordered tablesorter" id="cmdtable">
  196 +
191 197 <thead>
192 198 <tr>
193 199 <th class="theader align-top">Command</th>
... ... @@ -204,9 +210,8 @@
204 210 <th class="theader align-top">Result</th>
205 211 </tr>
206 212 </thead>
  213 +
207 214 <tbody>
208   -
209   -
210 215 <tr v-for="command in commands" v-bind:class="'{{agent_name}}' == command.sender ? 'blue' : 'green'" >
211 216 <td> [[ command.full_name ]] </td>
212 217  
... ... @@ -224,8 +229,10 @@
224 229 <td id="td_result"> [[ command.result ]] </td>
225 230 </tr>
226 231 </tbody>
  232 +
227 233 </table>
228 234 </div>
  235 +
229 236 {% comment %}
230 237 {% if commands %}
231 238 <div>
... ...