success and error template renaming; nav button templates
diff --git a/planetstack/core/xoslib/templates/xosAdmin.html b/planetstack/core/xoslib/templates/xosAdmin.html
index b1c5074..e068763 100644
--- a/planetstack/core/xoslib/templates/xosAdmin.html
+++ b/planetstack/core/xoslib/templates/xosAdmin.html
@@ -1,6 +1,6 @@
<!-- Error and Success templates -->
-<script type="text/template" id="test-error-template">
+<script type="text/template" id="xos-error-template">
<button id="close-error-box">Close Error Message</button>
<h3>An error has occurred.</h3>
<table class="test-error-table">
@@ -9,7 +9,7 @@
</table>
</script>
-<script type="text/template" id="test-success-template">
+<script type="text/template" id="xos-success-template">
<button id="close-success-box">Close Success Message</button>
<h3>Success!</h3>
<table class="test-success-table">
@@ -18,6 +18,10 @@
</table>
</script>
+<script type="text/template" id="xos-navbutton">
+ <button class="btn btn-default btn-xosnav" onclick="<%= router %>.navigate('<%= routeUrl %>', {trigger: true})"><%= name %></button><br>
+</script>
+
<!-- Deployment -->
<script type="text/template" id="xosAdmin-deployment-list-template">
@@ -623,7 +627,7 @@
</script>
<script type="text/template" id="xosAdmin-userDeployment-detail-template">
- <h3>Detail View: User</h3>
+ <h3>Detail View: UserDeployment</h3>
<form>
<table>
<tr><td>User:</td><td><input type="text" name="user" value="<%= user %>"></td></tr>