From f4aed25600e890d35a63d8cc962f147d4c7d5d4d Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Thu, 12 Feb 2004 02:58:15 +0000 Subject: [PATCH] =?utf8?q?j'ai=20craqu=E9:=20div=20de=20developpement?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- htdocs/css/default.css | 28 +++++++++++++++++++++++++++- templates/skin/common.dev.tpl | 15 +++++++++++++++ templates/skin/default.tpl | 17 ++++------------- 3 files changed, 46 insertions(+), 14 deletions(-) create mode 100644 templates/skin/common.dev.tpl diff --git a/htdocs/css/default.css b/htdocs/css/default.css index 552802f..1ab1932 100644 --- a/htdocs/css/default.css +++ b/htdocs/css/default.css @@ -170,11 +170,37 @@ table.tinybicol td.info, table.bicol td.info { /* ..:: Apendices ::.. */ /*************************/ +#dev { + position: fixed; + top : 32px; + left : 14px; + width : 128px; + + color: #003399; + background: #e0ffff; + border: 1px dashed #003399; + + font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif; + font-size: 10pt; + font-weight: bold; +} +#dev div { padding: 3px; } +#dev .title { + text-align: center; + font-size: larger; + text-decoration: underline; +} +#dev a:hover { + color: inherit; + background: #c0e0e0; +} + #suid { color: red; background: #ffc0cb; width: 100%; font-weight: bold; + position: fixed; } #suid td { padding: 2px; } #suid a { color: red; } @@ -248,4 +274,4 @@ table.tinybicol td.info, table.bicol td.info { vertical-align: top; } /* vim: set et ts=4 sts=4 sw=4: */ -/* $Id: default.css,v 1.16 2004-02-12 01:42:45 x2000habouzit Exp $ */ +/* $Id: default.css,v 1.17 2004-02-12 02:58:15 x2000habouzit Exp $ */ diff --git a/templates/skin/common.dev.tpl b/templates/skin/common.dev.tpl new file mode 100644 index 0000000..fcfad29 --- /dev/null +++ b/templates/skin/common.dev.tpl @@ -0,0 +1,15 @@ +{* $Id: common.dev.tpl,v 1.1 2004-02-12 02:58:16 x2000habouzit Exp $ *} + +
+
Outils de dev
+
+ VALIDER XHTML 1.1
+ VALIDER CSS +
+
+ XHTML ref.
+ CSS2 ref. +
+
+ +{* vim:set et sw=2 sts=2 sws=2: *} diff --git a/templates/skin/default.tpl b/templates/skin/default.tpl index fe67ec4..91db0c6 100644 --- a/templates/skin/default.tpl +++ b/templates/skin/default.tpl @@ -1,4 +1,4 @@ -{* $Id: default.tpl,v 1.9 2004-02-12 01:42:46 x2000habouzit Exp $ *} +{* $Id: default.tpl,v 1.10 2004-02-12 02:58:16 x2000habouzit Exp $ *} @@ -11,21 +11,10 @@ {include file=skin/common.bandeau.head.tpl} - {if $validate} - - - - -
- [VALIDER XHTML !!!] -    - [VALIDER CSS !!!] -
+{include file=skin/common.dev.tpl validate=$validate} {/if} -{include file=skin/common.bandeau.tpl} - {if $smarty.session.suid} @@ -39,6 +28,8 @@
{/if} +{include file=skin/common.bandeau.tpl} +