Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
- Timestamp:
-
11/02/11 23:25:51 (13 years ago)
- Author:
-
wmoore
- Comment:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
-
-
Property
Status
changed from
new
to
accepted
-
initial
|
v2
|
|
2 | 2 | |
3 | 3 | Some of this will be exploratory, to decide what strategies we want to adopt in this template story. |
| 4 | |
| 5 | Outline of work: |
| 6 | - created new Django app: 'common' |
| 7 | - moved 'generic' templates from webclient/base/ to common/base/ (not moved base.html since header needs 'nav') |
| 8 | - separated various sections from base_main.html into 'includes' at common/base/includes/ |
| 9 | - menu |
| 10 | - footer |
| 11 | - split the body, header & footer sections of layout.css into separate css files under omeroweb/media/omeroweb/common/css/ (not sure if omeroweb/media is the final location for 'common' media?) The idea is to allow inclusion of only the css you need, without all of layout.css. |
| 12 | |
| 13 | |
| 14 | Questions |
| 15 | - How to allow optional inclusion of various js or css? E.g. |
| 16 | {{{ |
| 17 | {% include footer_css %} |
| 18 | }}} |
| 19 | with footer_css is simply one line: |
| 20 | {{{ |
| 21 | <link rel="stylesheet" href="{% url webstatic "common/css/footer.css" %}" type="text/css" /> |
| 22 | }}} |
1.3.13-PRO © 2008-2011
Agilo Software all
rights reserved
(this page was served in: 0.12588 sec.)