aboutsummaryrefslogtreecommitdiffstats
path: root/snmpmapper/src/main/resources/templates/uploadform.html
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-08-20 17:37:42 +0000
committerGerrit Code Review <gerrit@onap.org>2018-08-20 17:37:42 +0000
commit94a172b3f692efdf6faf46f02c002a6dc91eaa31 (patch)
tree3eb52b2d78e970df43a5640d42a5b8c7c4217465 /snmpmapper/src/main/resources/templates/uploadform.html
parentc17ce648ecc3453df8754b936f2b344f13f6dc65 (diff)
parent7cb9a25a7e32bcf141a5ad8f8ab1af0ed6064a99 (diff)
Merge "Modified snmpmapper"
Diffstat (limited to 'snmpmapper/src/main/resources/templates/uploadform.html')
-rw-r--r--snmpmapper/src/main/resources/templates/uploadform.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/snmpmapper/src/main/resources/templates/uploadform.html b/snmpmapper/src/main/resources/templates/uploadform.html
new file mode 100644
index 0000000..89ef4c2
--- /dev/null
+++ b/snmpmapper/src/main/resources/templates/uploadform.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Mapping File</title>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css">
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js"></script>
+ <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
+</head>
+
+<body>
+ <center>
+ <h2>Upload Mapping File</h2>
+ <form id="fileUploadForm" method="post" action="uploadFile" enctype="multipart/form-data">
+ <table id="fileUploadFormBeanTable" border="0" width="80%">
+ <tr>
+ <td>Enterprise ID:</td>
+ <td><input id="enterpriseid" type="text" name="eid" size="65" /></td>
+ </tr>
+ <tr>
+ <td>Mapping file:</td>
+ <td>
+ <input id="mappingfile" type="file" name="mapper" size="60" />
+ <span id="fileUploadErr">Please Upload A File!</span>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" align="center"><input id="fileUploadBtn" type="submit" value="Upload" /></td>
+ </tr>
+ </table>
+ </form>
+ </center>
+ </body>
+</html> \ No newline at end of file