Felix Meschberger | 26444e2 | 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 | |
| 13 | <div class="ui-widget-header ui-corner-top buttonGroup"> |
| 14 | <span style="float: left; margin-left: 1em">${obr.repo.title}</span> |
| 15 | <input style="width: 50%" type="text" id="addRepoUri" /> |
| 16 | <button id="addRepoBtn">${obr.action.add}</button> |
| 17 | </div> |
| 18 | |
| 19 | <table id="repoTable" class="nicetable"> |
| 20 | <thead> |
| 21 | <tr> |
| 22 | <th class="col_Name">${obr.repo.name}</th> |
| 23 | <th class="col_URL">${obr.repo.url}</th> |
| 24 | <th class="col_lastMod">${obr.repo.lastModified}</th> |
| 25 | <th class="col_Actions">${obr.repo.actions}</th> |
| 26 | </tr> |
| 27 | </thead> |
| 28 | <tbody> <!-- template: will be replaced dynamically by JS --> |
| 29 | <tr> |
| 30 | <td>name</td> |
| 31 | <td>url</td> |
| 32 | <td>date</td> |
| 33 | <td> |
| 34 | <ul class="icons ui-widget"> |
| 35 | <li class="dynhover" title="${refresh}"><span class="ui-icon ui-icon-refresh"> </span></li> |
| 36 | <li class="dynhover" title="${delete}"><span class="ui-icon ui-icon-trash"> </span></li> |
| 37 | </ul> |
| 38 | </td> |
| 39 | </tr> |
| 40 | </tbody> |
| 41 | </table> |
| 42 | |
| 43 | <br/> |
| 44 | |
| 45 | <form id="installForm" method="post" action=""> |
| 46 | <div class="ui-widget-header ui-corner-top buttonGroup"> |
| 47 | <span style="float: left; margin-left: 1em">${obr.res.title}</span> |
| 48 | <input type="text" id="searchField" /> |
| 49 | <button id="searchBtn">${obr.action.search}</button> |
| 50 | <input type="submit" name="deploy" value="${obr.action.deploy}" /> |
| 51 | <input type="submit" name="deploystart" value="${obr.action.deploystart}" /> |
| 52 | </div> |
| 53 | |
| 54 | <table id="resTable" class="nicetable"> |
| 55 | <thead> |
| 56 | <tr> |
| 57 | <th class="col_Version">${version}</th> |
| 58 | <th class="col_ResName">${obr.res.name}</th> |
| 59 | <th class="col_VersionInst">${obr.res.installedVer}</th> |
| 60 | </tr> |
| 61 | </thead> |
| 62 | <tbody> |
| 63 | <tr><td colspan="2">dummy</td></tr> |
| 64 | </tbody> |
| 65 | </table> |
| 66 | </form> |
| 67 | |
| 68 | <br/> |