j'ai craquƩ: div de developpement
authorx2000habouzit <x2000habouzit>
Thu, 12 Feb 2004 02:58:15 +0000 (02:58 +0000)
committerx2000habouzit <x2000habouzit>
Thu, 12 Feb 2004 02:58:15 +0000 (02:58 +0000)
htdocs/css/default.css
templates/skin/common.dev.tpl [new file with mode: 0644]
templates/skin/default.tpl

index 552802f..1ab1932 100644 (file)
@@ -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 (file)
index 0000000..fcfad29
--- /dev/null
@@ -0,0 +1,15 @@
+{* $Id: common.dev.tpl,v 1.1 2004-02-12 02:58:16 x2000habouzit Exp $ *}
+
+    <div id="dev">
+      <div class="title">Outils de dev</div>
+      <div>
+        <a href="http://validator.w3.org/check?uri={$validate}">VALIDER XHTML 1.1</a><br />
+        <a href="http://jigsaw.w3.org/css-validator/validator?uri={$validate}">VALIDER CSS</a>
+      </div>
+      <div>
+        <a href="http://www.w3schools.com/xhtml/xhtml_reference.asp">XHTML ref.</a><br />
+        <a href="http://www.w3schools.com/css/css_reference.asp">CSS2 ref.</a>
+      </div>
+    </div>
+
+{* vim:set et sw=2 sts=2 sws=2: *}
index fe67ec4..91db0c6 100644 (file)
@@ -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 $ *}
 <?xml version="1.0" encoding="iso-8859-1"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 {include file=skin/common.bandeau.head.tpl}
   </head>
   <body>
-    
 {if $validate}
-    <table style="width: 100%; background: #00ffff; color: blue;">
-      <tr>
-        <td>
-          [<a href="http://validator.w3.org/check?uri={$validate}">VALIDER XHTML !!!</a>]
-          &nbsp;&nbsp;
-          [<a href="http://jigsaw.w3.org/css-validator/validator?uri={$validate}">VALIDER CSS !!!</a>]
-        </td>
-      </tr>
-    </table>
+{include file=skin/common.dev.tpl validate=$validate}
 {/if}
 
-{include file=skin/common.bandeau.tpl}
-
 {if $smarty.session.suid}
     <table id="suid" cellpadding="0" cellspacing="0">
     <tr>
@@ -39,6 +28,8 @@
     </table>
 {/if}
 
+{include file=skin/common.bandeau.tpl}
+
     <table id="body" cellpadding="0" cellspacing="0">
     <tr>
       <td id="body-logo">