Show More
@@ -1,52 +1,56 b'' | |||
|
1 | 1 | <div class="panel panel-default"> |
|
2 | 2 | <div class="panel-heading"> |
|
3 | 3 | <h3 class="panel-title">${_('Exceptions Tracker ')}</h3> |
|
4 | 4 | </div> |
|
5 | 5 | <div class="panel-body"> |
|
6 | 6 | % if c.exception_list_count == 1: |
|
7 | 7 | ${_('There is {} stored exception.').format(c.exception_list_count)} |
|
8 | 8 | % else: |
|
9 | 9 | ${_('There are {} stored exceptions.').format(c.exception_list_count)} |
|
10 | 10 | % endif |
|
11 | 11 | ${_('Store directory')}: ${c.exception_store_dir} |
|
12 | 12 | |
|
13 | 13 | ${h.secure_form(h.route_path('admin_settings_exception_tracker_delete_all'), request=request)} |
|
14 | 14 | <div style="margin: 0 0 20px 0" class="fake-space"></div> |
|
15 | 15 | |
|
16 | 16 | <div class="field"> |
|
17 | 17 | <button class="btn btn-small btn-danger" type="submit" |
|
18 | 18 | onclick="return confirm('${_('Confirm to delete all exceptions')}');"> |
|
19 | 19 | <i class="icon-remove-sign"></i> |
|
20 | 20 | ${_('Delete All')} |
|
21 | 21 | </button> |
|
22 | 22 | </div> |
|
23 | 23 | |
|
24 | 24 | ${h.end_form()} |
|
25 | 25 | |
|
26 | 26 | </div> |
|
27 | 27 | </div> |
|
28 | 28 | |
|
29 | 29 | |
|
30 | 30 | <div class="panel panel-default"> |
|
31 | 31 | <div class="panel-heading"> |
|
32 | 32 | <h3 class="panel-title">${_('Exceptions Tracker - Showing the last {} Exceptions').format(c.limit)}</h3> |
|
33 | 33 | </div> |
|
34 | 34 | <div class="panel-body"> |
|
35 | 35 | <table class="rctable"> |
|
36 | 36 | <tr> |
|
37 | <th>#</th> | |
|
37 | 38 | <th>Exception ID</th> |
|
38 | 39 | <th>Date</th> |
|
39 | 40 | <th>App Type</th> |
|
40 | 41 | <th>Exc Type</th> |
|
41 | 42 | </tr> |
|
43 | <% cnt = len(c.exception_list)%> | |
|
42 | 44 |
|
|
43 | 45 | <tr> |
|
46 | <td>${cnt}</td> | |
|
44 | 47 | <td><a href="${h.route_path('admin_settings_exception_tracker_show', exception_id=tb['exc_id'])}"><code>${tb['exc_id']}</code></a></td> |
|
45 | 48 | <td>${h.format_date(tb['exc_utc_date'])}</td> |
|
46 | 49 | <td>${tb['app_type']}</td> |
|
47 | 50 | <td>${tb['exc_type']}</td> |
|
48 | 51 | </tr> |
|
52 | <% cnt -=1 %> | |
|
49 | 53 |
|
|
50 | 54 | </table> |
|
51 | 55 | </div> |
|
52 | 56 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now