You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

deleteRepository.jsp 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <%--
  2. ~ Licensed to the Apache Software Foundation (ASF) under one
  3. ~ or more contributor license agreements. See the NOTICE file
  4. ~ distributed with this work for additional information
  5. ~ regarding copyright ownership. The ASF licenses this file
  6. ~ to you under the Apache License, Version 2.0 (the
  7. ~ "License"); you may not use this file except in compliance
  8. ~ with the License. You may obtain a copy of the License at
  9. ~
  10. ~ http://www.apache.org/licenses/LICENSE-2.0
  11. ~
  12. ~ Unless required by applicable law or agreed to in writing,
  13. ~ software distributed under the License is distributed on an
  14. ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  15. ~ KIND, either express or implied. See the License for the
  16. ~ specific language governing permissions and limitations
  17. ~ under the License.
  18. --%>
  19. <%@ taglib prefix="s" uri="/struts-tags" %>
  20. <html>
  21. <head>
  22. <title>Admin: Delete Managed Repository</title>
  23. <s:head/>
  24. </head>
  25. <body>
  26. <h1>Admin: Delete Managed Repository</h1>
  27. <s:actionerror/>
  28. <div id="contentArea">
  29. <div class="warningbox">
  30. <p>
  31. <strong>WARNING: This operation can not be undone.</strong>
  32. </p>
  33. </div>
  34. <p>
  35. Are you sure you want to delete the following managed repository?
  36. </p>
  37. <div class="infobox">
  38. <table class="infotable">
  39. <tr>
  40. <td>ID:</td>
  41. <td><code>${repository.id}</code></td>
  42. </tr>
  43. <tr>
  44. <td>Name:</td>
  45. <td>${repository.name}</td>
  46. </tr>
  47. <tr>
  48. <td>Directory:</td>
  49. <td>${repository.location}</td>
  50. </tr>
  51. </table>
  52. </div>
  53. <s:form method="post" action="deleteRepository" namespace="/admin" validate="true" theme="simple">
  54. <s:hidden name="repoid"/>
  55. <div class="buttons">
  56. <s:submit value="Delete Configuration Only" method="deleteEntry" />
  57. <s:submit value="Delete Configuration and Contents" method="deleteContents" />
  58. <s:submit value="Cancel" method="execute"/>
  59. </div>
  60. </s:form>
  61. </div>
  62. </body>
  63. </html>