Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3052)

Issue 13001044: Add viewBox attribute to icons.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by matthew.scott
Modified:
10 years, 8 months ago
Reviewers:
bac, benji, mp+180400
Visibility:
Public.

Description

Add viewBox attribute to icons. This branch adds the viewBox attribute to the default icons, as well as any icon being ingested (if it does not exist; https://code.launchpad.net/~makyo/juju-core/enable-viewboxing/+merge/180354 adds to the charm documentation the steps required to enable viewboxing from Inkscape). This allows icons to be scaled within a viewport (such as an HTML img tag or an SVG image tag) rather than clipped in both FF and IE10. This will only affect new charms, and some additional work will be required within the GUI to close this bug (https://bugs.launchpad.net/juju-gui/+bug/1207035) https://code.launchpad.net/~makyo/charmworld/svg-viewbox/+merge/180400 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add viewBox attribute to icons. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -1 line) Patch
M .lbox.check View 1 1 chunk +1 line, -0 lines 0 comments Download
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M charmworld/models.py View 1 2 chunks +21 lines, -0 lines 0 comments Download
M charmworld/static/img/category-app-servers-bw.svg View 1 chunk +1 line, -0 lines 0 comments Download
M charmworld/static/img/category-applications-bw.svg View 1 chunk +1 line, -0 lines 0 comments Download
M charmworld/static/img/category-cache-proxy-bw.svg View 1 chunk +1 line, -0 lines 0 comments Download
M charmworld/static/img/category-databases-bw.svg View 1 chunk +1 line, -0 lines 0 comments Download
M charmworld/static/img/category-file-servers-bw.svg View 1 chunk +1 line, -0 lines 0 comments Download
M charmworld/static/img/category-misc-bw.svg View 1 chunk +1 line, -0 lines 0 comments Download
M charmworld/static/img/charm_160.svg View 1 chunk +1 line, -0 lines 0 comments Download
M charmworld/tests/test_models.py View 1 1 chunk +22 lines, -1 line 0 comments Download

Messages

Total messages: 4
matthew.scott
Please take a look.
10 years, 8 months ago (2013-08-15 19:14:48 UTC) #1
benji
Given reasonable answers to the small questions I had, this branch LGTM. https://codereview.appspot.com/13001044/diff/1/charmworld/models.py File charmworld/models.py ...
10 years, 8 months ago (2013-08-15 19:25:03 UTC) #2
bac
LGTM -- it looks like there are one or more issues 'make lint' might find.
10 years, 8 months ago (2013-08-15 19:25:32 UTC) #3
matthew.scott
10 years, 8 months ago (2013-08-15 19:49:34 UTC) #4
Please take a look.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b