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.

Changes between Initial Version and Version 2 of Ticket #7173


Ignore:
Timestamp:
11/02/11 23:25:51 (13 years ago)
Author:
wmoore
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7173

    • Property Status changed from new to accepted
  • Ticket #7173 – Description

    initial v2  
    22 
    33Some of this will be exploratory, to decide what strategies we want to adopt in this template story.  
     4 
     5Outline 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 
     14Questions 
     15 - How to allow optional inclusion of various js or css? E.g.  
     16{{{ 
     17{% include footer_css %} 
     18}}} 
     19with 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.13690 sec.)

We're Hiring!