summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-widget-ms/widget-ms/src/main/resources/templates
diff options
context:
space:
mode:
authorChristopher Lott (cl778h) <clott@research.att.com>2017-08-23 18:27:19 -0400
committerChristopher Lott (cl778h) <clott@research.att.com>2017-08-23 21:12:56 -0400
commit978dbcf0a196acbafad72fe1e2478ec0e384f02f (patch)
tree17e1ceaa4a12a599320cbb317947e990bf1a5383 /ecomp-portal-widget-ms/widget-ms/src/main/resources/templates
parentbc7350dce5b7b1dcd1c472a3922b42c4ea99809d (diff)
Deliver centralized role management feature
Repair multiple defects also. Revise deployment to use docker-compose. Remove all zip archives. Issue: PORTAL-21, PORTAL-25, PORTAL-28, PORTAL-52, PORTAL-69, PORTAL-74, PORTAL-76, PORTAL-80, PORTAL-82 Change-Id: Ie72fec7d35ba78beb162bba6ed27b2caee340c61 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
Diffstat (limited to 'ecomp-portal-widget-ms/widget-ms/src/main/resources/templates')
-rw-r--r--ecomp-portal-widget-ms/widget-ms/src/main/resources/templates/Upload.html17
-rw-r--r--ecomp-portal-widget-ms/widget-ms/src/main/resources/templates/widgetsPage.html15
2 files changed, 32 insertions, 0 deletions
diff --git a/ecomp-portal-widget-ms/widget-ms/src/main/resources/templates/Upload.html b/ecomp-portal-widget-ms/widget-ms/src/main/resources/templates/Upload.html
new file mode 100644
index 00000000..a5e7c632
--- /dev/null
+++ b/ecomp-portal-widget-ms/widget-ms/src/main/resources/templates/Upload.html
@@ -0,0 +1,17 @@
+<html>
+<body>
+ <div align="center">
+ <form method="post" action="doUpload/widget-resources" enctype="multipart/form-data">
+ <table border="0">
+ <tr>
+ <td>Pick file:</td>
+ <td><input type="file" name="fileUpload" size="50" /></td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"><input type="submit" value="Upload" /></td>
+ </tr>
+ </table>
+ </form>
+ </div>
+</body>
+</html> \ No newline at end of file
diff --git a/ecomp-portal-widget-ms/widget-ms/src/main/resources/templates/widgetsPage.html b/ecomp-portal-widget-ms/widget-ms/src/main/resources/templates/widgetsPage.html
new file mode 100644
index 00000000..440f64ca
--- /dev/null
+++ b/ecomp-portal-widget-ms/widget-ms/src/main/resources/templates/widgetsPage.html
@@ -0,0 +1,15 @@
+<html xmlns:th="http://www.thymeleaf.org">
+<body>
+
+ <p> Uploaded Widgets: </p>
+
+ <div>
+ <ul>
+ <li th:each="file : ${files}">
+ <a th:href="${file}" th:text="${file}" />
+ </li>
+ </ul>
+ </div>
+
+</body>
+</html>