Felix Meschberger | e04faaf | 2012-03-26 19:59:12 +0000 | [diff] [blame] | 1 | <script type="text/javascript" src="${appRoot}/res/ui/logs.js"></script> |
Felix Meschberger | afcbd60 | 2010-02-18 13:02:12 +0000 | [diff] [blame] | 2 | <script type="text/javascript"> |
| 3 | // <![CDATA[ |
| 4 | // i18n |
| 5 | var i18n = { |
| 6 | status_ok : "${log.status.ok}", |
| 7 | status_missing : "${log.status.missing}", |
| 8 | error : "${log.level.error}", |
| 9 | warn : "${log.level.warn}", |
| 10 | info : "${log.level.info}", |
| 11 | debug : "${log.level.debug}" |
| 12 | } |
| 13 | // ]]> |
| 14 | </script> |
| 15 | |
| 16 | <!-- status line --> |
| 17 | <p class="statline"> </p> |
| 18 | |
| 19 | <div id="logs"> |
| 20 | <!-- buttons top --> |
| 21 | <form method="post" enctype="multipart/form-data" action=""> |
| 22 | <div class="ui-widget-header ui-corner-top buttonGroup"> |
Valentin Valchev | c699a63 | 2012-01-25 13:04:07 +0000 | [diff] [blame] | 23 | <label>${log.traces}</label> |
Felix Meschberger | e04faaf | 2012-03-26 19:59:12 +0000 | [diff] [blame] | 24 | <select class="enableTraces ui-state-default ui-corner-all"> |
Valentin Valchev | c699a63 | 2012-01-25 13:04:07 +0000 | [diff] [blame] | 25 | <option value="false">${log.traces.min}</option> |
| 26 | <option value="true">${log.traces.full}</option> |
| 27 | </select> |
Felix Meschberger | afcbd60 | 2010-02-18 13:02:12 +0000 | [diff] [blame] | 28 | <label>${log.severity.label}</label> |
Felix Meschberger | e04faaf | 2012-03-26 19:59:12 +0000 | [diff] [blame] | 29 | <select class="minLevel ui-state-default ui-corner-all"> |
Felix Meschberger | afcbd60 | 2010-02-18 13:02:12 +0000 | [diff] [blame] | 30 | <option value="1">${log.level.error}</option> |
| 31 | <option value="2">${log.level.warn}</option> |
| 32 | <option value="3">${log.level.info}</option> |
| 33 | <option value="4" selected="selected">${log.level.debug}</option> |
| 34 | </select> |
| 35 | <button class="reloadButton">${reload}</button> |
| 36 | </div> |
| 37 | </form> |
| 38 | |
| 39 | <div id="logs2"> |
Valentin Valchev | 5185b7c | 2010-04-14 13:59:53 +0000 | [diff] [blame] | 40 | <table id="plugin_table" class="tablesorter nicetable noauto"> |
Felix Meschberger | afcbd60 | 2010-02-18 13:02:12 +0000 | [diff] [blame] | 41 | <thead> |
| 42 | <tr> |
| 43 | <th class="col_Received">${log.received}</th> |
| 44 | <th class="col_Level">${log.level}</th> |
| 45 | <th class="col_Message">${log.message}</th> |
| 46 | <th class="col_Service">${log.service}</th> |
Valentin Valchev | c699a63 | 2012-01-25 13:04:07 +0000 | [diff] [blame] | 47 | <th class="col_Bundle">${bundle}</th> |
Felix Meschberger | afcbd60 | 2010-02-18 13:02:12 +0000 | [diff] [blame] | 48 | <th class="col_Exception">${log.exception}</th> |
| 49 | </tr> |
| 50 | </thead> |
| 51 | <tbody> |
Valentin Valchev | c699a63 | 2012-01-25 13:04:07 +0000 | [diff] [blame] | 52 | <tr><td colspan="6"> </td></tr> |
Felix Meschberger | afcbd60 | 2010-02-18 13:02:12 +0000 | [diff] [blame] | 53 | </tbody> |
| 54 | </table> |
| 55 | |
| 56 | <!-- buttons bottom --> |
| 57 | <form method="post" enctype="multipart/form-data" action=""> |
| 58 | <div class="ui-widget-header ui-corner-bottom buttonGroup"> |
Valentin Valchev | c699a63 | 2012-01-25 13:04:07 +0000 | [diff] [blame] | 59 | <label>${log.traces}</label> |
Felix Meschberger | e04faaf | 2012-03-26 19:59:12 +0000 | [diff] [blame] | 60 | <select class="enableTraces ui-state-default ui-corner-all"> |
Valentin Valchev | c699a63 | 2012-01-25 13:04:07 +0000 | [diff] [blame] | 61 | <option value="false">${log.traces.min}</option> |
| 62 | <option value="true">${log.traces.full}</option> |
| 63 | </select> |
Felix Meschberger | afcbd60 | 2010-02-18 13:02:12 +0000 | [diff] [blame] | 64 | <label>${log.severity.label}</label> |
Felix Meschberger | e04faaf | 2012-03-26 19:59:12 +0000 | [diff] [blame] | 65 | <select class="minLevel ui-state-default ui-corner-all"> |
Felix Meschberger | afcbd60 | 2010-02-18 13:02:12 +0000 | [diff] [blame] | 66 | <option value="1">${log.level.error}</option> |
| 67 | <option value="2">${log.level.warn}</option> |
| 68 | <option value="3">${log.level.info}</option> |
| 69 | <option value="4" selected="selected">${log.level.debug}</option> |
| 70 | </select> |
| 71 | <button class="reloadButton">${reload}</button> |
| 72 | </div> |
| 73 | </form> |
| 74 | </div> <!-- logs2 --> |
| 75 | |
| 76 | </div> <!-- logs --> |