aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2017-10-30 18:43:27 +0100
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2017-10-30 19:00:01 +0100
commitb09c24d40e8e11d03a0c51e628b256c27fd1b0d8 (patch)
tree34f239bbbc757a69c79baee2c6080396d5351413 /src
parent9472232d02bc468bc2c66b622056dfd4fb90c78b (diff)
Remove and change useless code
Remove and change useless code in UI designer part. Change-Id: I3a0d4b98bb5dfff380c50edccc9ca073c263a04d Issue-ID: CLAMP-54 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/resources/META-INF/resources/designer/authenticate.html2
-rw-r--r--src/main/resources/META-INF/resources/designer/modeler/dist/index.html6
-rw-r--r--src/main/resources/META-INF/resources/designer/scripts/ImportSchemaCtrl.js11
3 files changed, 1 insertions, 18 deletions
diff --git a/src/main/resources/META-INF/resources/designer/authenticate.html b/src/main/resources/META-INF/resources/designer/authenticate.html
index 8b30ef8cb..b409ef26a 100644
--- a/src/main/resources/META-INF/resources/designer/authenticate.html
+++ b/src/main/resources/META-INF/resources/designer/authenticate.html
@@ -49,7 +49,7 @@
<div id='main'>
<div class="divRow"><b>Welcome to Clamp. Please login first.</b></div>
<div class="divForm">
- <form ng-submit="authenticate()">
+ <form ng-submit="authenticate()" method="post" autocomplete="off">
<div class="divFormRow"><label>User Name : <input type="text" ng-model="username" name="username"/> </label></div>
<div class="divFormRow"><label>Password: <input type="password" ng-model="password" name="password"/> </label></div>
<div class="divFormRow"><input type="submit" value=" Sign In"/></div>
diff --git a/src/main/resources/META-INF/resources/designer/modeler/dist/index.html b/src/main/resources/META-INF/resources/designer/modeler/dist/index.html
index 80e5cda8a..61f714188 100644
--- a/src/main/resources/META-INF/resources/designer/modeler/dist/index.html
+++ b/src/main/resources/META-INF/resources/designer/modeler/dist/index.html
@@ -60,12 +60,6 @@
</li>
<li>
<div>
- Import Diagram:
- <input type="file" id="fileInput">
- </div>
- </li>
- <li>
- <div>
<a id="file_generate_test_case" href title="Generate Test Case">
Generate Test Cases
</a>
diff --git a/src/main/resources/META-INF/resources/designer/scripts/ImportSchemaCtrl.js b/src/main/resources/META-INF/resources/designer/scripts/ImportSchemaCtrl.js
index bbe2c3b55..9ddee7935 100644
--- a/src/main/resources/META-INF/resources/designer/scripts/ImportSchemaCtrl.js
+++ b/src/main/resources/META-INF/resources/designer/scripts/ImportSchemaCtrl.js
@@ -56,17 +56,6 @@ app.controller('ImportSchemaCtrl', ['$scope', '$rootScope','$modalInstance','dat
setTimeout(function(){
console.log("setTimeout");
setMultiSelect(); }, 100);
-
- $scope.init = function() {
- console.log("init");
- $scope.schemaLocation = 'svn://svnrepo:3690';
- $scope.upgrade_schemaLocation = 'svn://svnrepo:3690';
- $scope.userID = 'user_id';
- $scope.password = 'password';
- };
-
- $scope.init();
-
$scope.close = function(){
console.log("close");