Merge lp:~frankban/juju-gui/bug-1075672-icons into lp:juju-gui/experimental
Proposed by
Francesco Banconi
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 237 | ||||
Proposed branch: | lp:~frankban/juju-gui/bug-1075672-icons | ||||
Merge into: | lp:juju-gui/experimental | ||||
Diff against target: |
225 lines (+41/-21) 7 files modified
app/index.html (+1/-1) app/templates/charm-description.handlebars (+5/-5) app/templates/charm-pre-configuration.handlebars (+1/-1) app/views/charm-panel.js (+29/-7) lib/views/stylesheet.less (+2/-1) test/test_charm_panel.js (+3/-3) undocumented (+0/-3) |
||||
To merge this branch: | bzr merge lp:~frankban/juju-gui/bug-1075672-icons | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju GUI Hackers | Pending | ||
Review via email: mp+133944@code.launchpad.net |
Description of the change
Replaced charm panel icons with our assets.
In the charm panel, replaced bootstrap icons with
the ones from our sprite. Also added the back triangle
to the sprite.
This branch also fixes the charm menu chevrons: now they
are correctly replaced on panel open/close.
Added "docstrings" for relevant methods.
To post a comment you must log in.
Reviewers: mp+133944_ code.launchpad. net,
Message:
Please take a look.
Description:
Replaced charm panel icons with our assets.
In the charm panel, replaced bootstrap icons with
the ones from our sprite. Also added the back triangle
to the sprite.
This branch also fixes the charm menu chevrons: now they
are correctly replaced on panel open/close.
Added "docstrings" for relevant methods.
https:/ /code.launchpad .net/~frankban/ juju-gui/ bug-1075672- icons/+ merge/133944
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/6819131/
Affected files: images/ back_triangle. png charm-descripti on.handlebars charm-pre- configuration. handlebars charm-panel. js stylesheet. less charm_panel. js
A [revision details]
A app/assets/
M app/index.html
M app/templates/
M app/templates/
M app/views/
M lib/views/
M test/test_
M undocumented
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
<span id="charm- search- trigger" >
<i id="charm- search- icon" class="sprite
Charms icon-chevron- down">< /i> search- chevron" class="sprite
</span>
<input type="text" id="charm- search- field"
required= "required" placeholder="Search for a charm"
=== modified file 'app/index.html'
--- app/index.html 2012-11-07 21:52:54 +0000
+++ app/index.html 2012-11-12 14:46:20 +0000
@@ -51,7 +51,7 @@
charm_icon"></i>
- <i class="
+ <i id="charm-
chevron_down"></i>
/>
Index: app/templates/ charm-descripti on.handlebars charm-descripti on.handlebars' charm-descripti on.handlebars 2012-11-07 18:25:14 +0000 charm-descripti on.handlebars 2012-11-12 14:46:20 +0000 charm-nav- back">< i class=" icon-chevron- left">< /i> Back</div> charm-nav- back">< i class="sprite back_triangle"></i>
=== modified file 'app/templates/
--- app/templates/
+++ app/templates/
@@ -1,5 +1,5 @@
<div>
- <div class="
+ <div class="
Back</div>
<div class=" charm-descripti on charm-panel"> panel-head" >
<div id="charm-
@@ -12,7 +12,7 @@
</div>
<div class=" charm-section" > icon-chevron- down">< /i> Description</h4> collapsible" >
<h5> Summary< /h5>
<p>{ {summary} }</p>
- <h4 class="first"><i class="
+ <h4 class="first"><i class="sprite chevron_up"></i> Description</h4>
<div class="
@@ -33,7 +33,7 @@
{{#any requires provides}} charm-section" > icon-chevron- up"></i> Interfaces</h4> collapsible" >
<h5> Provides< /h5>
<div class="
- <h4><i class="
+ <h4><i class="sprite chevron_down"></i> Interfaces</h4>
<div class="
{{#if provides}}
@@ -57,7 +57,7 @@
{{#if last_change}} charm-section" > icon-chevron- up"></i> Change Log</h4> down">< /i>...
<div class="
- <h4><i class="
+ <h4><i class="sprite chevron_