CORD GUI -- Images updated and other CSS added. CORD logo no longer goes to Home page.
Change-Id: I1f6c26dd0918b801d1c4f0b517f0dd50d2cadfb0
diff --git a/apps/demo/cord-gui/src/main/webapp/app/view/login/login.css b/apps/demo/cord-gui/src/main/webapp/app/view/login/login.css
index 3202930..f7d5f67 100644
--- a/apps/demo/cord-gui/src/main/webapp/app/view/login/login.css
+++ b/apps/demo/cord-gui/src/main/webapp/app/view/login/login.css
@@ -14,9 +14,12 @@
* limitations under the License.
*/
-div#login{
- /*background: url("/imgs/login.png") no-repeat;*/
- height: 100%;
+div#login {
+ background: url("/imgs/login.jpg") no-repeat center;
+ background-size: contain;
+ position: absolute;
+ top: 3%;
+ left: 5%;
}
div#login-wrapper {
@@ -40,6 +43,8 @@
#login div.outline {
position: absolute;
border: 1px solid rgba(115, 115, 115, 0.7);
+ background-color: white;
+ opacity: .6;
top: -160px;
left: -25px;
width: 300px;
@@ -51,7 +56,7 @@
margin-left: 2.5%;
position: relative;
width: 255px;
- margin-top: 30%;
+ margin-top: 33.5%;
}
#login-form form {
diff --git a/apps/demo/cord-gui/src/main/webapp/app/view/login/login.html b/apps/demo/cord-gui/src/main/webapp/app/view/login/login.html
index 34c188d..19c5940 100644
--- a/apps/demo/cord-gui/src/main/webapp/app/view/login/login.html
+++ b/apps/demo/cord-gui/src/main/webapp/app/view/login/login.html
@@ -3,12 +3,12 @@
<div id="login-wrapper">
<div id="login-form">
<div class="outline"></div>
- <h2>Subscriber Portal</h2>
- <form>
- <input ng-model="email" type="text" placeholder="email" required>
- <input ng-model="password" type="password" placeholder="password" required>
- <input ng-click="login()" type="button" value="Log In">
- </form>
+ <h2>Subscriber Portal</h2>
+ <form>
+ <input ng-model="email" type="text" placeholder="email" required>
+ <input ng-model="password" type="password" placeholder="password" required>
+ <input ng-click="login()" type="button" value="Log In">
+ </form>
</div>
</div>
</div>
\ No newline at end of file
diff --git a/apps/demo/cord-gui/src/main/webapp/app/view/login/login.js b/apps/demo/cord-gui/src/main/webapp/app/view/login/login.js
index b4d92ff..eae16d5 100644
--- a/apps/demo/cord-gui/src/main/webapp/app/view/login/login.js
+++ b/apps/demo/cord-gui/src/main/webapp/app/view/login/login.js
@@ -35,12 +35,10 @@
}
$scope.login = function () {
-
if ($scope.email && $scope.password) {
getResource($scope.email);
+ $scope.shared.login = $scope.email;
}
-
- $scope.shared.login = $scope.email;
};
$log.debug('Cord Login Ctrl has been created.');