Felix Meschberger | f15dc7a | 2010-02-21 16:45:55 +0000 | [diff] [blame] | 1 | <script type="text/javascript" src="res/ui/obr.js"></script> |
| 2 | <script type="text/javascript"> |
| 3 | var i18n = { |
| 4 | status_ok : '${obr.status.ok}', |
| 5 | status_no : '${obr.status.no}', |
| 6 | selectVersion : '${obr.version.select}' |
| 7 | } |
| 8 | var obrData = ${__data__}; |
| 9 | </script> |
| 10 | |
| 11 | <p class="statline">${obr.status.ok}</p> |
| 12 | |
Felix Meschberger | 98f1be0 | 2010-03-03 12:48:20 +0000 | [diff] [blame^] | 13 | <div id="ifStatusOK" class="ui-helper-hidden"> |
| 14 | |
Felix Meschberger | f15dc7a | 2010-02-21 16:45:55 +0000 | [diff] [blame] | 15 | <div class="ui-widget-header ui-corner-top buttonGroup"> |
| 16 | <span style="float: left; margin-left: 1em">${obr.repo.title}</span> |
| 17 | <input style="width: 50%" type="text" id="addRepoUri" /> |
| 18 | <button id="addRepoBtn">${obr.action.add}</button> |
| 19 | </div> |
| 20 | |
| 21 | <table id="repoTable" class="nicetable"> |
| 22 | <thead> |
| 23 | <tr> |
| 24 | <th class="col_Name">${obr.repo.name}</th> |
| 25 | <th class="col_URL">${obr.repo.url}</th> |
| 26 | <th class="col_lastMod">${obr.repo.lastModified}</th> |
| 27 | <th class="col_Actions">${obr.repo.actions}</th> |
| 28 | </tr> |
| 29 | </thead> |
| 30 | <tbody> <!-- template: will be replaced dynamically by JS --> |
| 31 | <tr> |
| 32 | <td>name</td> |
| 33 | <td>url</td> |
| 34 | <td>date</td> |
| 35 | <td> |
| 36 | <ul class="icons ui-widget"> |
| 37 | <li class="dynhover" title="${refresh}"><span class="ui-icon ui-icon-refresh"> </span></li> |
| 38 | <li class="dynhover" title="${delete}"><span class="ui-icon ui-icon-trash"> </span></li> |
| 39 | </ul> |
| 40 | </td> |
| 41 | </tr> |
| 42 | </tbody> |
| 43 | </table> |
| 44 | |
| 45 | <br/> |
| 46 | |
| 47 | <form id="installForm" method="post" action=""> |
| 48 | <div class="ui-widget-header ui-corner-top buttonGroup"> |
| 49 | <span style="float: left; margin-left: 1em">${obr.res.title}</span> |
| 50 | <input type="text" id="searchField" /> |
| 51 | <button id="searchBtn">${obr.action.search}</button> |
| 52 | <input type="submit" name="deploy" value="${obr.action.deploy}" /> |
| 53 | <input type="submit" name="deploystart" value="${obr.action.deploystart}" /> |
| 54 | </div> |
| 55 | |
| 56 | <table id="resTable" class="nicetable"> |
| 57 | <thead> |
| 58 | <tr> |
| 59 | <th class="col_Version">${version}</th> |
| 60 | <th class="col_ResName">${obr.res.name}</th> |
| 61 | <th class="col_VersionInst">${obr.res.installedVer}</th> |
| 62 | </tr> |
| 63 | </thead> |
| 64 | <tbody> |
| 65 | <tr><td colspan="2">dummy</td></tr> |
| 66 | </tbody> |
| 67 | </table> |
| 68 | </form> |
| 69 | |
Felix Meschberger | 98f1be0 | 2010-03-03 12:48:20 +0000 | [diff] [blame^] | 70 | <br/> |
| 71 | |
| 72 | </div> <!-- ifStatusOK --> |