152 |
153 | {% if check_item.check_value_is_number=='Y'%}
154 |
155 |
156 |
157 |
158 |
159 | {% if svg_value_stat_short %}
160 | {{svg_value_stat_short|safe}}
161 | {% endif %}
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 | {% if svg_value_stat_long %}
175 | {{svg_value_stat_long|safe}}
176 | {% endif %}
177 |
178 |
179 |
180 |
181 |
182 |
183 | {% endif %}
184 |
185 |
192 |
193 |
194 |
195 |
196 |
197 | {% if svg_status_stat_short %}
198 | {{svg_status_stat_short|safe}}
199 | {% endif %}
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 | {% if svg_status_stat_long %}
212 | {{svg_status_stat_long|safe}}
213 | {% endif %}
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 | {% endblock %}
--------------------------------------------------------------------------------
/edwinServer/web/app/templates/index.html:
--------------------------------------------------------------------------------
1 | {% if not is_xhr|default(false) %}{% extends "base.html" %}{% endif -%}
2 |
3 |
4 | {% block sidebar_menu %}
5 |
96 |
97 | {% for pagelet in pagelet_components%}
98 |
99 |
100 |
101 |
{{pagelet.pagelet_title}}
102 |
103 |
104 | Item |
105 | Last value |
106 | Status |
107 | Last timestamp |
108 | Last message |
109 |
110 |
111 | {% for item in pagelet.check_list%}
112 |
113 |
114 | {% if item.last_status=='CRITICAL'%}
115 |
116 | {% elif item.last_status=='WARNING'%}
117 |
118 | {% elif item.last_status=='NORMAL' and item.is_outdated %}
119 |
120 | {%else%}
121 |
122 | {% endif %}
123 |
124 | {{item.itm_title}}
125 |
126 | |
127 | {% if item.last_value != None %}{{item.last_value}} {% endif %} |
128 |
138 | {% if item.last_status %}{{item.last_status}} {% endif %}
139 | |
140 |
141 | {% if item.last_check_timestamp %}
146 | {{item.last_check_timestamp[:14]}}
147 | {% endif %}
148 | |
149 |
150 |
151 | {% if item.last_detail_msg %}
152 | {{item.last_detail_msg[:250]|safe}}
153 | {% endif %}
154 | |
155 |
156 | {% endfor %}
157 |
158 |
159 |
160 |
161 |
162 | {% endfor %}
163 |
164 |
165 |
166 | {% endblock %}
--------------------------------------------------------------------------------
/edwinServer/web/app/templates/team.html:
--------------------------------------------------------------------------------
1 | {% if not is_xhr|default(false) %}{% extends "base_no_sidebar.html" %}{% endif -%}
2 |
3 |
4 | {% block content %}
5 |
6 |
7 |