|
Revision 22, 1.1 KB
(checked in by samuraraujo, 5 years ago)
|
|
|
| Line | |
|---|
| 1 | <div class ="_WINDOW config " id="appwindow"
|
|---|
| 2 | <div class=' winoperations _NO_MINIMIZE '>
|
|---|
| 3 | <div class ='_remove'>
|
|---|
| 4 | X
|
|---|
| 5 | </div>
|
|---|
| 6 |
|
|---|
| 7 | </div>
|
|---|
| 8 | <br>
|
|---|
| 9 | <h1>List of Applications</h1>
|
|---|
| 10 | <table width="100%" border="1">
|
|---|
| 11 | <%@applications.each do |app| %>
|
|---|
| 12 | <tr>
|
|---|
| 13 | <td>
|
|---|
| 14 | <%=app.localname %> <% if app.is_current? %>(current)<%end%>
|
|---|
| 15 | </td>
|
|---|
| 16 | <td>
|
|---|
| 17 | <a href = "/application/restore?uri=<%=h(uri(app))%>">Load</a>
|
|---|
| 18 | </td>
|
|---|
| 19 | <td>
|
|---|
| 20 | <a href="#" onclick="new Ajax.Request('/application/delete?uri=<%=h(uri(app))%>',{ method: 'get'} );$('appwindow').remove();ajax_request('/application/index');">Delete</a>
|
|---|
| 21 | </td>
|
|---|
| 22 | </tr><%end %>
|
|---|
| 23 | </table>
|
|---|
| 24 | <br>
|
|---|
| 25 | <h1>Save the current application as:</h1>
|
|---|
| 26 |
|
|---|
| 27 | <form id ="formnewapp" method = "post" action = '/application/create'>
|
|---|
| 28 | Application name: <input type ='text' name ="name" />
|
|---|
| 29 | <input type="submit" save" value="save"> <input type="button" class = "_remove" name="cancel" value="cancel">
|
|---|
| 30 |
|
|---|
| 31 | </form>
|
|---|
| 32 |
|
|---|
| 33 | </div> |
|---|