Felix Meschberger | afcbd60 | 2010-02-18 13:02:12 +0000 | [diff] [blame] | 1 | <script type="text/javascript" src="res/ui/logs.js"></script> |
| 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"> |
| 23 | <label>${log.severity.label}</label> |
| 24 | <select class="minLevel"> |
| 25 | <option value="1">${log.level.error}</option> |
| 26 | <option value="2">${log.level.warn}</option> |
| 27 | <option value="3">${log.level.info}</option> |
| 28 | <option value="4" selected="selected">${log.level.debug}</option> |
| 29 | </select> |
| 30 | <button class="reloadButton">${reload}</button> |
| 31 | </div> |
| 32 | </form> |
| 33 | |
| 34 | <div id="logs2"> |
| 35 | <table id="plugin_table" class="tablesorter nicetable"> |
| 36 | <thead> |
| 37 | <tr> |
| 38 | <th class="col_Received">${log.received}</th> |
| 39 | <th class="col_Level">${log.level}</th> |
| 40 | <th class="col_Message">${log.message}</th> |
| 41 | <th class="col_Service">${log.service}</th> |
| 42 | <th class="col_Exception">${log.exception}</th> |
| 43 | </tr> |
| 44 | </thead> |
| 45 | <tbody> |
| 46 | <tr><td colspan="5"> </td></tr> |
| 47 | </tbody> |
| 48 | </table> |
| 49 | |
| 50 | <!-- buttons bottom --> |
| 51 | <form method="post" enctype="multipart/form-data" action=""> |
| 52 | <div class="ui-widget-header ui-corner-bottom buttonGroup"> |
| 53 | <label>${log.severity.label}</label> |
| 54 | <select class="minLevel"> |
| 55 | <option value="1">${log.level.error}</option> |
| 56 | <option value="2">${log.level.warn}</option> |
| 57 | <option value="3">${log.level.info}</option> |
| 58 | <option value="4" selected="selected">${log.level.debug}</option> |
| 59 | </select> |
| 60 | <button class="reloadButton">${reload}</button> |
| 61 | </div> |
| 62 | </form> |
| 63 | </div> <!-- logs2 --> |
| 64 | |
| 65 | </div> <!-- logs --> |
| 66 | |
| 67 | <!-- status line --> |
| 68 | <p class="statline"> </p> |