Merge lp:~hatch/juju-gui/1125424-loading-visuals into lp:juju-gui/experimental

Proposed by Jeff Pihach
Status: Merged
Merged at revision: 410
Proposed branch: lp:~hatch/juju-gui/1125424-loading-visuals
Merge into: lp:juju-gui/experimental
Diff against target: 82 lines (+38/-3)
3 files modified
app/index.html (+1/-1)
app/templates/login.handlebars (+1/-1)
lib/views/stylesheet.less (+36/-1)
To merge this branch: bzr merge lp:~hatch/juju-gui/1125424-loading-visuals
Reviewer Review Type Date Requested Status
Juju GUI Hackers Pending
Review via email: mp+151081@code.launchpad.net

Description of the change

Fixed layout issues as per design

https://codereview.appspot.com/7452043/

To post a comment you must log in.
Revision history for this message
Jeff Pihach (hatch) wrote :

Reviewers: mp+151081_code.launchpad.net,

Message:
Please take a look.

Description:
Fixed layout issues as per design

https://code.launchpad.net/~hatch/juju-gui/1125424-loading-visuals/+merge/151081

(do not edit description out of merge proposal)

Please review this at https://codereview.appspot.com/7452043/

Affected files:
   A [revision details]
   M app/index.html
   M app/templates/login.handlebars
   M lib/views/stylesheet.less

Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision: <email address hidden>

Index: app/index.html
=== modified file 'app/index.html'
--- app/index.html 2013-02-21 19:02:43 +0000
+++ app/index.html 2013-02-28 19:27:47 +0000
@@ -43,7 +43,7 @@
              <div class="header">
                <div class="error">
                  <span><i class="sprite alert_icon2"></i>
- Your browser is not fully supported</span>
+ <h4>Your browser is not fully supported</h4></span>
                </div>
              </div>
              <p>

Index: app/templates/login.handlebars
=== modified file 'app/templates/login.handlebars'
--- app/templates/login.handlebars 2013-02-18 17:02:09 +0000
+++ app/templates/login.handlebars 2013-02-28 19:27:47 +0000
@@ -1,4 +1,4 @@
-<div class="centered-column">
+<div class="centered-column in-main">
    <i class="sprite juju_logo" title="Juju GUI"></i>
    <div id="login-form" class="panel">
      <div class="header">

Index: lib/views/stylesheet.less
=== modified file 'lib/views/stylesheet.less'
--- lib/views/stylesheet.less 2013-02-27 14:49:14 +0000
+++ lib/views/stylesheet.less 2013-02-28 19:27:47 +0000
@@ -224,7 +224,7 @@
              &.control {
                  display: none;
              }
-
+
              .landscape-icon {
                  margin: 10px 0 0 16px;
              }
@@ -1514,6 +1514,12 @@
      width: 420px;
      margin-left: -210px;

+ /* This enables us to use the .centered-column
+ class inside of the main application */
+ &.in-main {
+ top: 0;
+ }
+
      div {
          width: 280px;
          text-align: left;
@@ -1596,4 +1602,33 @@
      #loading-spinner {
          height: 100px;
      }
+
+ #loading-message-text {
+ font-family: Ubuntu Medium, Helvetica, Arial;
+ font-size: 10pt;
+ }
+
+ #login-form {
+ .header {
+ font-size: 10pt;
+ font-family: Ubuntu Medium, Helvetica, Arial;
+ }
+ }
+
+ .header .error span {
+ color: #DD4814;
+ i {
+ margin-right: 5px;
+ float: left;
+ }
+ h4 {
+ font-family: Ubuntu Medium, Helvetica, Arial;
+ font-size: 10pt;
+ line-height: 10pt;
+ }
+ }
+
+ p {
+ font-size: 8pt;
+ }
  }

Revision history for this message
Nicholas Boettcher (notrebene) wrote :

LGTM. Sign off from Design

https://codereview.appspot.com/7452043/

Revision history for this message
Gary Poster (gary) wrote :
Revision history for this message
Madison Scott-Clary (makyo) wrote :

LGTM - a super-minor and a note.

https://codereview.appspot.com/7452043/diff/1/lib/views/stylesheet.less
File lib/views/stylesheet.less (right):

https://codereview.appspot.com/7452043/diff/1/lib/views/stylesheet.less#newcode1607
lib/views/stylesheet.less:1607: font-family: Ubuntu Medium, Helvetica,
Arial;
Perhaps a task for later, but we might want an @ubuntu-font at some
point.

https://codereview.appspot.com/7452043/diff/1/lib/views/stylesheet.less#newcode1631
lib/views/stylesheet.less:1631: p {
Something wonky with indenting here.

https://codereview.appspot.com/7452043/

Revision history for this message
Jeff Pihach (hatch) wrote :

Thanks for the reviews! Reply's below.

https://codereview.appspot.com/7452043/diff/1/lib/views/stylesheet.less
File lib/views/stylesheet.less (right):

https://codereview.appspot.com/7452043/diff/1/lib/views/stylesheet.less#newcode1607
lib/views/stylesheet.less:1607: font-family: Ubuntu Medium, Helvetica,
Arial;
On 2013/02/28 23:12:43, matthew.scott wrote:
> Perhaps a task for later, but we might want an @ubuntu-font at some
point.
Yeah would be nice if it was a local asset

https://codereview.appspot.com/7452043/diff/1/lib/views/stylesheet.less#newcode1631
lib/views/stylesheet.less:1631: p {
On 2013/02/28 23:12:43, matthew.scott wrote:
> Something wonky with indenting here.
Hmm that there is - I'll fix up

https://codereview.appspot.com/7452043/

Revision history for this message
Jeff Pihach (hatch) wrote :

*** Submitted:

Fixed layout issues as per design

R=goodspud, gary.poster, matthew.scott
CC=
https://codereview.appspot.com/7452043

https://codereview.appspot.com/7452043/

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'app/index.html'
2--- app/index.html 2013-02-21 19:02:43 +0000
3+++ app/index.html 2013-02-28 19:30:28 +0000
4@@ -43,7 +43,7 @@
5 <div class="header">
6 <div class="error">
7 <span><i class="sprite alert_icon2"></i>
8- Your browser is not fully supported</span>
9+ <h4>Your browser is not fully supported</h4></span>
10 </div>
11 </div>
12 <p>
13
14=== modified file 'app/templates/login.handlebars'
15--- app/templates/login.handlebars 2013-02-18 17:02:09 +0000
16+++ app/templates/login.handlebars 2013-02-28 19:30:28 +0000
17@@ -1,4 +1,4 @@
18-<div class="centered-column">
19+<div class="centered-column in-main">
20 <i class="sprite juju_logo" title="Juju GUI"></i>
21 <div id="login-form" class="panel">
22 <div class="header">
23
24=== modified file 'lib/views/stylesheet.less'
25--- lib/views/stylesheet.less 2013-02-27 14:49:14 +0000
26+++ lib/views/stylesheet.less 2013-02-28 19:30:28 +0000
27@@ -224,7 +224,7 @@
28 &.control {
29 display: none;
30 }
31-
32+
33 .landscape-icon {
34 margin: 10px 0 0 16px;
35 }
36@@ -1514,6 +1514,12 @@
37 width: 420px;
38 margin-left: -210px;
39
40+ /* This enables us to use the .centered-column
41+ class inside of the main application */
42+ &.in-main {
43+ top: 0;
44+ }
45+
46 div {
47 width: 280px;
48 text-align: left;
49@@ -1596,4 +1602,33 @@
50 #loading-spinner {
51 height: 100px;
52 }
53+
54+ #loading-message-text {
55+ font-family: Ubuntu Medium, Helvetica, Arial;
56+ font-size: 10pt;
57+ }
58+
59+ #login-form {
60+ .header {
61+ font-size: 10pt;
62+ font-family: Ubuntu Medium, Helvetica, Arial;
63+ }
64+ }
65+
66+ .header .error span {
67+ color: #DD4814;
68+ i {
69+ margin-right: 5px;
70+ float: left;
71+ }
72+ h4 {
73+ font-family: Ubuntu Medium, Helvetica, Arial;
74+ font-size: 10pt;
75+ line-height: 10pt;
76+ }
77+ }
78+
79+ p {
80+ font-size: 8pt;
81+ }
82 }

Subscribers

People subscribed via source and target branches