From ecf0462b97be87fa14b91624fcd8fb9d82a52f29 Mon Sep 17 00:00:00 2001 From: Jeremy Laine Date: Sat, 23 Nov 2002 17:39:30 +0000 Subject: [PATCH] ajout de CSS pour les couleurs choix du tri des fichiers liste des fichiers dans une page separee suivi du context courant --- depview/depview.css | 25 +++++++++++++++++++++++++ depview/file.php | 14 +++++++++----- depview/include/header.inc.php | 10 +++++++++- depview/index.php | 23 ++++------------------- depview/list.php | 41 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 88 insertions(+), 25 deletions(-) create mode 100644 depview/depview.css create mode 100644 depview/list.php diff --git a/depview/depview.css b/depview/depview.css new file mode 100644 index 0000000..bd200ec --- /dev/null +++ b/depview/depview.css @@ -0,0 +1,25 @@ +/* text definitions */ +body { + font-family: Arial,Helvetica,sans-serif; +} + +/* table definitions */ +tr.dead { + background-color: red; +} + +tr.image { + background-color: yellow; +} + +tr.include { + background-color: #00bbff; +} + +tr.page { + background-color: #00ffbb; +} + +tr.current { + background-color: yellow; +} diff --git a/depview/file.php b/depview/file.php index a0c99a3..dc221d7 100644 --- a/depview/file.php +++ b/depview/file.php @@ -3,13 +3,17 @@ require("config.inc.php"); require("header.inc.php"); $res = mysql_query("select path from file where id=$id"); if (!list($page)=mysql_fetch_row($res)) { - echo "page not found"; + echo "file $id not found"; include("footer.inc.php"); exit; } ?>

Dependencies for

+

+ Current context is highlighted in yellow.
+ back to file list +

files that depends on

@@ -24,10 +28,10 @@ while (list($dir,$type,$cid,$cpath)=mysql_fetch_row($res)) { $res2 = mysql_query("select path from dir where id=$dir"); list($dirname)=mysql_fetch_row($res2); ?> - +> - + - +> - + + + + +depview + + + diff --git a/depview/index.php b/depview/index.php index 1347f31..10d2ddd 100644 --- a/depview/index.php +++ b/depview/index.php @@ -3,26 +3,11 @@ require("config.inc.php"); require("header.inc.php"); ?> -
- - - - - +

depview main menu

- -> - - - - - -
idtypepath
+ + + + + + + + + + + + + + + + +
idtypepath
+ + -- 2.1.4