Commit 8f80cc6ed949d1b70feb9e01e79a0fcb105d4b1e

Authored by Alexis Koralewski
1 parent c636598c
Exists in dev

visual changes

src/core/pyros_django/dashboard/templates/dashboard/agent_detail.html
... ... @@ -27,12 +27,12 @@
27 27 .table{
28 28 width:auto;
29 29 }
30   - h1{
31   - margin-bottom: 5vh;
  30 + h2{
  31 + margin-top: 5vh;
32 32 }
33 33 </style>
34 34 <div>
35   - <h1> {{ agent_name }} detail </h1>
  35 + <h1> {{ agent_name }} </h1>
36 36 {% if managed_by %}
37 37 <p> This agent is managed by <a href="{% url 'agent_detail' managed_by %}">{{ managed_by }} </a></p>
38 38 {% endif %}
... ... @@ -41,7 +41,7 @@
41 41 </div>
42 42 {% if CAN_SEND_COMMAND %}
43 43 {% if specific_cmd_with_args|length > 0 %}
44   - <div><h1> Send command to {{agent_name}}</h1>
  44 + <div><h2> Send command to {{agent_name}}</h2>
45 45  
46 46  
47 47  
... ... @@ -69,13 +69,13 @@
69 69 </form>
70 70 </div>
71 71 {% else %}
72   - <h1 style="color:red;"> {{ agent_name }} is not available.</h1>
  72 + <h2 style="color:red;"> {{ agent_name }} is not available.</h2>
73 73  
74 74 {% endif %}
75 75 {% endif %}
76 76 {% if managed_agents != None %}
77 77 <div>
78   - <h1> Managed agents </h1>
  78 + <h2> Managed agents </h2>
79 79 <table
80 80 class="table table-sm table-bordered tablesorter">
81 81 <thead>
... ... @@ -126,7 +126,7 @@
126 126 </table>
127 127 </div>
128 128 {% endif %}
129   - <br><h1> Commands <span style="color:green;">received</span> & <span style="color:blue;">sent</span> </h1><br>
  129 + <br><h2> Commands <span style="color:green;">received</span> & <span style="color:blue;">sent</span> </h2><br>
130 130 {% if commands %}
131 131 <div>
132 132 <table
... ... @@ -190,7 +190,7 @@
190 190 </div>
191 191 {% if not error_message %}
192 192 <div>
193   -<h1> Last logs : </h1>
  193 +<h2> Last logs : </h2>
194 194 <pre id="log_content">
195 195 {% comment %} {% for line in log_last_30_lines %}
196 196 {{ line }}
... ... @@ -199,7 +199,7 @@
199 199 </pre>
200 200 </div>
201 201 {% else %}
202   -<h1> {{ error_message }} </h1>
  202 +<h2> {{ error_message }} </h2>
203 203 {% endif %}
204 204 <a class="btn btn-info" href={% url 'agents_state' %}> Go back to agents state </a>
205 205 {% csrf_token %}
... ...