CORD GUI -- Images updated and other CSS added. CORD logo no longer goes to Home page.
Change-Id: I1f6c26dd0918b801d1c4f0b517f0dd50d2cadfb0
Showing
30 changed files
with
49 additions
and
42 deletions
... | @@ -40,6 +40,9 @@ div.mast { | ... | @@ -40,6 +40,9 @@ div.mast { |
40 | 40 | ||
41 | .mast h1 { | 41 | .mast h1 { |
42 | font-size: 250%; | 42 | font-size: 250%; |
43 | + text-decoration: none; | ||
44 | + color: #3C3C3C; | ||
45 | + cursor: default; | ||
43 | } | 46 | } |
44 | 47 | ||
45 | .mast a, | 48 | .mast a, |
... | @@ -63,9 +66,10 @@ div.mast { | ... | @@ -63,9 +66,10 @@ div.mast { |
63 | right: 0; | 66 | right: 0; |
64 | top: 50%; | 67 | top: 50%; |
65 | transform: translate(0, -50%); | 68 | transform: translate(0, -50%); |
69 | + font-size: 90%; | ||
66 | } | 70 | } |
67 | .mast li.logout:hover { | 71 | .mast li.logout:hover { |
68 | - border-bottom: 2px solid #CE5650; | 72 | + font-weight: bold; |
69 | list-style-type: none; | 73 | list-style-type: none; |
70 | cursor: pointer; | 74 | cursor: pointer; |
71 | } | 75 | } | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | 2 | ||
3 | <div class="mast" ng-controller="CordMastCtrl"> | 3 | <div class="mast" ng-controller="CordMastCtrl"> |
4 | <div class="left"> | 4 | <div class="left"> |
5 | - <a href="#/home" class="logo"><h1>CORD</h1></a> | 5 | + <h1>CORD</h1> |
6 | <icon size="30" id="bird"></icon> | 6 | <icon size="30" id="bird"></icon> |
7 | </div> | 7 | </div> |
8 | 8 | ||
... | @@ -10,6 +10,6 @@ | ... | @@ -10,6 +10,6 @@ |
10 | <nav ng-show="page.curr !== 'login'"></nav> | 10 | <nav ng-show="page.curr !== 'login'"></nav> |
11 | <li class="logout" | 11 | <li class="logout" |
12 | ng-show="page.curr !== 'login'" | 12 | ng-show="page.curr !== 'login'" |
13 | - ng-click="logout()">Logout</li> | 13 | + ng-click="logout()">LOGOUT</li> |
14 | </div> | 14 | </div> |
15 | </div> | 15 | </div> | ... | ... |
... | @@ -3,15 +3,15 @@ | ... | @@ -3,15 +3,15 @@ |
3 | <ul> | 3 | <ul> |
4 | <a href="#/home"> | 4 | <a href="#/home"> |
5 | <li ng-class="{selected: page.curr === 'dashboard'}" | 5 | <li ng-class="{selected: page.curr === 'dashboard'}" |
6 | - ng-click="$route.reload()">Dashboard</li> | 6 | + ng-click="$route.reload()">Home</li> |
7 | - </a> | ||
8 | - <a href="#/bundle"> | ||
9 | - <li ng-class="{selected: page.curr === 'bundle'}" | ||
10 | - ng-click="$route.reload()">Bundles</li> | ||
11 | </a> | 7 | </a> |
12 | <a href="#/user"> | 8 | <a href="#/user"> |
13 | <li ng-class="{selected: page.curr === 'user'}" | 9 | <li ng-class="{selected: page.curr === 'user'}" |
14 | ng-click="$route.reload()">Users</li> | 10 | ng-click="$route.reload()">Users</li> |
15 | </a> | 11 | </a> |
12 | + <a href="#/bundle"> | ||
13 | + <li ng-class="{selected: page.curr === 'bundle'}" | ||
14 | + ng-click="$route.reload()">Bundles</li> | ||
15 | + </a> | ||
16 | </ul> | 16 | </ul> |
17 | </div> | 17 | </div> | ... | ... |
... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
15 | </table> | 15 | </table> |
16 | </div> | 16 | </div> |
17 | <div class="main-right"> | 17 | <div class="main-right"> |
18 | - <img src="imgs/binary.jpg"> | 18 | + <img src="imgs/bundle.jpg"> |
19 | <div ng-click="showBundles()"> | 19 | <div ng-click="showBundles()"> |
20 | <h2>Available Bundles</h2> | 20 | <h2>Available Bundles</h2> |
21 | </div> | 21 | </div> | ... | ... |
... | @@ -142,6 +142,18 @@ g.icon use.glyph.checkMark { | ... | @@ -142,6 +142,18 @@ g.icon use.glyph.checkMark { |
142 | fill: rgb(68, 189, 83) | 142 | fill: rgb(68, 189, 83) |
143 | } | 143 | } |
144 | 144 | ||
145 | +th.user-pic { | ||
146 | + background-color: white; | ||
147 | +} | ||
148 | +th.user-pic, | ||
149 | +td.user-pic { | ||
150 | + width: 30px; | ||
151 | + padding-left: 4%; | ||
152 | +} | ||
153 | +td.user-pic img { | ||
154 | + width: 25px; | ||
155 | +} | ||
156 | + | ||
145 | /* animation */ | 157 | /* animation */ |
146 | .fadein { | 158 | .fadein { |
147 | transition: all linear 0.5s; | 159 | transition: all linear 0.5s; | ... | ... |
... | @@ -33,8 +33,6 @@ | ... | @@ -33,8 +33,6 @@ |
33 | 33 | ||
34 | #home div.main-left img { | 34 | #home div.main-left img { |
35 | width: 100%; | 35 | width: 100%; |
36 | - opacity: 0.8; | ||
37 | - box-shadow: 10px 0 12px 1px rgba(54, 136, 210, 0.25); | ||
38 | } | 36 | } |
39 | 37 | ||
40 | #home div.main-right div.bundle-title { | 38 | #home div.main-right div.bundle-title { |
... | @@ -65,16 +63,3 @@ | ... | @@ -65,16 +63,3 @@ |
65 | text-align: left; | 63 | text-align: left; |
66 | padding: 2%; | 64 | padding: 2%; |
67 | } | 65 | } |
68 | - | ||
69 | -#home table.users th.user-pic { | ||
70 | - background-color: white; | ||
71 | -} | ||
72 | -#home table.users th.user-pic, | ||
73 | -#home table.users td.user-pic { | ||
74 | - width: 30px; | ||
75 | - padding-left: 4%; | ||
76 | -} | ||
77 | -#home table.users td.user-pic img { | ||
78 | - width: 25px; | ||
79 | - opacity: 0.5; | ||
80 | -} | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <!-- Home page partial html --> | 1 | <!-- Home page partial html --> |
2 | <div id="home" class="container"> | 2 | <div id="home" class="container"> |
3 | <div class="main-left"> | 3 | <div class="main-left"> |
4 | - <img src="/imgs/bin_ball.jpg"> | 4 | + <img src="/imgs/home.jpg"> |
5 | </div> | 5 | </div> |
6 | 6 | ||
7 | <div class="main-right"> | 7 | <div class="main-right"> |
8 | <div class="move-down"> | 8 | <div class="move-down"> |
9 | <div class="bundle-title"> | 9 | <div class="bundle-title"> |
10 | - <h4>Welcome {{shared.login}}!</h4> | 10 | + <h4>Welcome Dad!</h4> |
11 | <h5>You are subscribed to the</h5> | 11 | <h5>You are subscribed to the</h5> |
12 | <h3>{{bundle}}</h3> | 12 | <h3>{{bundle}}</h3> |
13 | </div> | 13 | </div> |
... | @@ -35,7 +35,7 @@ | ... | @@ -35,7 +35,7 @@ |
35 | 35 | ||
36 | <tr ng-repeat="user in users" class="fadein"> | 36 | <tr ng-repeat="user in users" class="fadein"> |
37 | <td class="user-pic"> | 37 | <td class="user-pic"> |
38 | - <img ng-src="{{'/imgs/' + user.icon_id + '.png'}}"> | 38 | + <img ng-src="{{'/imgs/' + user.icon_id + '.jpg'}}"> |
39 | </td> | 39 | </td> |
40 | <td>{{user.name}}</td> | 40 | <td>{{user.name}}</td> |
41 | <td>{{shared.userActivity[user.id]}}</td> | 41 | <td>{{shared.userActivity[user.id]}}</td> | ... | ... |
... | @@ -14,9 +14,12 @@ | ... | @@ -14,9 +14,12 @@ |
14 | * limitations under the License. | 14 | * limitations under the License. |
15 | */ | 15 | */ |
16 | 16 | ||
17 | -div#login{ | 17 | +div#login { |
18 | - /*background: url("/imgs/login.png") no-repeat;*/ | 18 | + background: url("/imgs/login.jpg") no-repeat center; |
19 | - height: 100%; | 19 | + background-size: contain; |
20 | + position: absolute; | ||
21 | + top: 3%; | ||
22 | + left: 5%; | ||
20 | } | 23 | } |
21 | 24 | ||
22 | div#login-wrapper { | 25 | div#login-wrapper { |
... | @@ -40,6 +43,8 @@ div#login-form { | ... | @@ -40,6 +43,8 @@ div#login-form { |
40 | #login div.outline { | 43 | #login div.outline { |
41 | position: absolute; | 44 | position: absolute; |
42 | border: 1px solid rgba(115, 115, 115, 0.7); | 45 | border: 1px solid rgba(115, 115, 115, 0.7); |
46 | + background-color: white; | ||
47 | + opacity: .6; | ||
43 | top: -160px; | 48 | top: -160px; |
44 | left: -25px; | 49 | left: -25px; |
45 | width: 300px; | 50 | width: 300px; |
... | @@ -51,7 +56,7 @@ div#login-form { | ... | @@ -51,7 +56,7 @@ div#login-form { |
51 | margin-left: 2.5%; | 56 | margin-left: 2.5%; |
52 | position: relative; | 57 | position: relative; |
53 | width: 255px; | 58 | width: 255px; |
54 | - margin-top: 30%; | 59 | + margin-top: 33.5%; |
55 | } | 60 | } |
56 | 61 | ||
57 | #login-form form { | 62 | #login-form form { | ... | ... |
... | @@ -3,12 +3,12 @@ | ... | @@ -3,12 +3,12 @@ |
3 | <div id="login-wrapper"> | 3 | <div id="login-wrapper"> |
4 | <div id="login-form"> | 4 | <div id="login-form"> |
5 | <div class="outline"></div> | 5 | <div class="outline"></div> |
6 | - <h2>Subscriber Portal</h2> | 6 | + <h2>Subscriber Portal</h2> |
7 | - <form> | 7 | + <form> |
8 | - <input ng-model="email" type="text" placeholder="email" required> | 8 | + <input ng-model="email" type="text" placeholder="email" required> |
9 | - <input ng-model="password" type="password" placeholder="password" required> | 9 | + <input ng-model="password" type="password" placeholder="password" required> |
10 | - <input ng-click="login()" type="button" value="Log In"> | 10 | + <input ng-click="login()" type="button" value="Log In"> |
11 | - </form> | 11 | + </form> |
12 | </div> | 12 | </div> |
13 | </div> | 13 | </div> |
14 | </div> | 14 | </div> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -35,12 +35,10 @@ | ... | @@ -35,12 +35,10 @@ |
35 | } | 35 | } |
36 | 36 | ||
37 | $scope.login = function () { | 37 | $scope.login = function () { |
38 | - | ||
39 | if ($scope.email && $scope.password) { | 38 | if ($scope.email && $scope.password) { |
40 | getResource($scope.email); | 39 | getResource($scope.email); |
40 | + $scope.shared.login = $scope.email; | ||
41 | } | 41 | } |
42 | - | ||
43 | - $scope.shared.login = $scope.email; | ||
44 | }; | 42 | }; |
45 | 43 | ||
46 | $log.debug('Cord Login Ctrl has been created.'); | 44 | $log.debug('Cord Login Ctrl has been created.'); | ... | ... |
... | @@ -4,10 +4,14 @@ | ... | @@ -4,10 +4,14 @@ |
4 | <div class="main-left" ng-class="{family: isFamily}"> | 4 | <div class="main-left" ng-class="{family: isFamily}"> |
5 | <table class="user-info"> | 5 | <table class="user-info"> |
6 | <tr> | 6 | <tr> |
7 | + <th class="user-pic"></th> | ||
7 | <th>Name</th> | 8 | <th>Name</th> |
8 | <th>Last Login</th> | 9 | <th>Last Login</th> |
9 | </tr> | 10 | </tr> |
10 | <tr ng-repeat="user in users" class="fadein"> | 11 | <tr ng-repeat="user in users" class="fadein"> |
12 | + <td class="user-pic"> | ||
13 | + <img ng-src="{{'/imgs/' + user.icon_id + '.jpg'}}"> | ||
14 | + </td> | ||
11 | <td>{{user.name}}</td> | 15 | <td>{{user.name}}</td> |
12 | <td>{{shared.userActivity[user.id]}}</td> | 16 | <td>{{shared.userActivity[user.id]}}</td> |
13 | </tr> | 17 | </tr> | ... | ... |

132 KB

332 KB

10 KB

211 KB

9.28 KB

4.3 MB

332 KB

8.68 KB

289 KB

12.3 KB

13.5 KB

11.1 KB

11.2 KB

4.51 MB

1.09 MB

307 KB

11.8 KB
... | @@ -57,8 +57,8 @@ | ... | @@ -57,8 +57,8 @@ |
57 | <div id="frame" ng-controller="CordCtrl as cordCtrl"> | 57 | <div id="frame" ng-controller="CordCtrl as cordCtrl"> |
58 | 58 | ||
59 | <mast></mast> | 59 | <mast></mast> |
60 | -<div id="view" ng-view></div> | ||
61 | <foot></foot> | 60 | <foot></foot> |
61 | +<div id="view" ng-view></div> | ||
62 | 62 | ||
63 | <svg id="icon-defs"> | 63 | <svg id="icon-defs"> |
64 | <defs> | 64 | <defs> | ... | ... |
-
Please register or login to post a comment