author | Julien Cristau <julien.cristau@logilab.fr> |
Mon, 05 Oct 2015 14:51:24 +0200 | |
changeset 10766 | d730f91251af |
parent 8207 | c04676b16c59 |
permissions | -rw-r--r-- |
8207
c04676b16c59
([config] add file encoding information to python files (closes #1942655)
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents:
5466
diff
changeset
|
1 |
# -*- coding: utf-8 -*- |
0 | 2 |
############################################################################### |
3 |
# |
|
5466
b5af2ac0c43c
[uiprops] test and fix reloading of modified css files; update c-c newcube; deprecates config.has_resource.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
0
diff
changeset
|
4 |
# Put here information about external resources / styles used by your cube, |
b5af2ac0c43c
[uiprops] test and fix reloading of modified css files; update c-c newcube; deprecates config.has_resource.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
0
diff
changeset
|
5 |
# or to overides existing UI properties. |
0 | 6 |
# |
5466
b5af2ac0c43c
[uiprops] test and fix reloading of modified css files; update c-c newcube; deprecates config.has_resource.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
0
diff
changeset
|
7 |
# Existing properties are available through the `sheet` dictionary available |
b5af2ac0c43c
[uiprops] test and fix reloading of modified css files; update c-c newcube; deprecates config.has_resource.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
0
diff
changeset
|
8 |
# in the global namespace. You also have access to a `data` function which |
b5af2ac0c43c
[uiprops] test and fix reloading of modified css files; update c-c newcube; deprecates config.has_resource.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
0
diff
changeset
|
9 |
# will return proper url for resources in the 'data' directory. |
b5af2ac0c43c
[uiprops] test and fix reloading of modified css files; update c-c newcube; deprecates config.has_resource.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
0
diff
changeset
|
10 |
# |
b5af2ac0c43c
[uiprops] test and fix reloading of modified css files; update c-c newcube; deprecates config.has_resource.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
0
diff
changeset
|
11 |
# /!\ this file should not be imported /!\ |
0 | 12 |
############################################################################### |
13 |
||
14 |
# CSS stylesheets to include in HTML headers |
|
15 |
# uncomment the line below to use template specific stylesheet |
|
5466
b5af2ac0c43c
[uiprops] test and fix reloading of modified css files; update c-c newcube; deprecates config.has_resource.
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
0
diff
changeset
|
16 |
# STYLESHEETS = sheet['STYLESHEETS'] + [data('cubes.%(cubename)s.css')] |