Skip to content

Commit a14829a

Browse files
committed
Merged in [9736] from lars@netapp.com:
Update the README now that the facelift has happened, and remove the outdated TODO. - Legacy-Id: 9770 Note: SVN reference [9736] has been migrated to Git commit fbf3023
1 parent c41a079 commit a14829a

3 files changed

Lines changed: 35 additions & 36 deletions

File tree

README

Lines changed: 0 additions & 25 deletions
This file was deleted.

README.datatracker

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
The "new" datatracker uses Twitter Bootstrap for the UI.
2+
3+
Get familiar with http://getbootstrap.com/getting-started/ and use those
4+
UI elements instead of cooking up your own.
5+
6+
We have some site-wide customization applied to the bootstrap version we keep
7+
in bootstrap/ (from which the minified dist version is built); it modifies
8+
some stuff under less/
9+
10+
We also apply some additional custiomizations in static/css/ietf.css; we
11+
should eventually move that under bootstrap/less/ if possible. (ietf.css was
12+
what Lars used initially for customization with an unmodified bootstrap.)
13+
14+
Some ground rules:
15+
16+
* Think hard before tweaking the bootstrap CSS, it will make it harder to
17+
upgrade to future releases.
18+
19+
* No <style> tags in the HTML! Put CSS into the "morecss" block of a
20+
template instead.
21+
22+
* CSS that is used by multiple templates goes into static/css/ietf.css.
23+
24+
* Javascript that is only used on one template goes into the "js" block of
25+
that template.
26+
27+
* Javascript that is used by multiple templates goes into static/js/ietf.js.
28+
29+
* Every template includes jquery, so write jquery code and not plain Javascript.
30+
It's shorter and often faster.
31+
32+
* No CSS, HTML styling or Javascript in the python code!
33+
34+
* Templates that use jquery or bootstrap plugins include the css file in the
35+
"pagehead" block, and the Javascript in the "js" block.

TODO

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)