From 5613a3fda1f8667227866cb1684b8a75efd2d069 Mon Sep 17 00:00:00 2001 From: pifou Date: Thu, 14 Jun 2007 08:33:23 +0000 Subject: [PATCH] DEL Suppression des titres pour simplifier l'interface ADD Ajout d'une poire ;) git-svn-id: svn://euphorik.ch/pompage@14 02bbb61a-6d21-0410-aba0-cb053bdfd66a --- css/yopyop.css | 69 +++++++++++++++++++++++-------------------------- doc/todo.txt | 5 +++- img/poire1.png | Bin 0 -> 518 bytes img/poire2.png | Bin 0 -> 461 bytes js/yopyop.js | 7 ++--- xsl/yopyop.xsl | 11 ++------ 6 files changed, 42 insertions(+), 50 deletions(-) create mode 100644 img/poire1.png create mode 100644 img/poire2.png diff --git a/css/yopyop.css b/css/yopyop.css index 122c0d8..efb5076 100644 --- a/css/yopyop.css +++ b/css/yopyop.css @@ -12,6 +12,7 @@ html { a { text-decoration: none; + cursor: pointer; } a:link { color: #51874A; @@ -42,11 +43,6 @@ h1 { margin-left: 40px; } -th { - font-size: 14pt; - font-weight: bold; -} - td { vertical-align:top; } @@ -54,6 +50,7 @@ td { div.entete { width: 90%; position: fixed; + z-index: 5; background-color: #65A35D; height: 50px; color: #8DDD83; @@ -124,39 +121,10 @@ div.contenu { } table#liste { - width: 100%; - border-spacing: 0px 0px; + width: 100%; + border-spacing: 0px 0px; margin-bottom:50px; -} - -table#liste th { - background-color: #8DDD83; - padding: 3px; - font-size: 13pt; -} - -table#liste th.titre { - text-align: left; -} - -table#liste th.annee { - width: 50px; - text-align: center; -} - -table#liste th.duree { - width: 80px; - text-align: center; -} - -table#liste th.lien { - width: 50px; - text-align: center; -} - -table#liste th.fichier { - width: 50px; - text-align: center; + margin-top: 10px; } table#liste td { @@ -167,22 +135,49 @@ table#liste td { table#liste td.titre { font-weight: bold; + cursor: pointer; } table#liste td.annee { text-align: right; + width: 50px; } table#liste td.duree { text-align: right; + width: 80px; } table#liste td.lien { text-align: center; + width: 50px; } table#liste td.fichier { text-align: center; + width: 50px; +} + +table#liste td.fichier div { + position: absolute; +} + +table#liste td.fichier a { + position: absolute; + width: 12px; + height: 20px; + display: block; + z-index: 1; + background-image: url(../img/poire1.png) +} + +table#liste td.fichier a:hover { + width: 24px; + height: 40px; + left: -6px; + top: -10px; + z-index: 10; + background-image: url(../img/poire2.png) } table#liste td.titre:hover { diff --git a/doc/todo.txt b/doc/todo.txt index 3b3b272..ea1c429 100644 --- a/doc/todo.txt +++ b/doc/todo.txt @@ -2,9 +2,12 @@ TODO - DIVX LIST ----------------- * Lorsqu'un élément n'est pas trouvé le mettre à nil, par exemple si pas de date pour un film. +* Si un film existe déjà dans la BD, alors on regarde le fichier de ce film est déjà associé au film dans la BD, si non alors on l'ajoute. + Cela permet d'avoir plusieurs fichiers pour un seul film ou série. + o Afficher, au niveau du XHTML, les fichiers sous la forme d'une liste déroulante * Vérifier si le fichier ne se trouve pas déjà dans la base de donnée (en comparant le nom du fichier, si oui alors ne pas le traiter) * Traiter les noms des fichiers de manière relatifs par exemple "/Horreur/28 jours plus tard.avi" au lieu de "F:\Films/Horreur/28 jours plus tard.avi" * Si plusieurs réponses pour une recherche alors ne pas traiter le film, mémoriser son nom, fichier ainsi que les réponses possibles. Demander à la fin du traitement à l'utilisateur quel résultat correspond pour chaque film -* Parser les langues et sous-titres et les ajouter dans l'xml \ No newline at end of file +* Parser les langues et sous-titres et les ajouter dans l'xml diff --git a/img/poire1.png b/img/poire1.png new file mode 100644 index 0000000000000000000000000000000000000000..c8a8d2b553fb1eaabf4ccff88eb2a225c6c52fd5 GIT binary patch literal 518 zcmV+h0{Q)kP)t5>PSBR6SlmFntK}*y4KG3i! zsQKfb!(5%ARN{+_2R8)&5wDlhG|7Vw|Lt(!da4h=2wvsA^GT>*C)!#L6 z&XuznY93EfGc`@~J3(q3Pkw9pseunDHunrme`6>@QoQJ#2%((LA-<{BX>lpZy*_}^ zk%t11y&gzD4?4#BVBS6 zDwjHp45QK?0Q?HT8j#pmL{dTh>pc)cIMLv0bo8KZF6`5`Q}b+l$9&I!1`M+$EPOt} zFYFrlUT40iE~R8LnPm%W4=xz;HC%B=hD;<9Ijy7gU;7YX0Ck8Jsbdkd3jhEB07*qo IM6N<$f-+I#Qvd(} literal 0 HcmV?d00001 diff --git a/img/poire2.png b/img/poire2.png new file mode 100644 index 0000000000000000000000000000000000000000..0f477f6f317bb45e66e903fcb6c779626bef5123 GIT binary patch literal 461 zcmV;;0W$uHP)((<4ia21QmCFZzDjGBvFkSV51}nIVflsuTWLE0sYrqcnpmJNl@~x&$^;eHm4eXk-$7h%`wDBlF#taJ{SQKa zgNFTgXwJR=0z&J^Kjy&9OD%t)wzKuil7UyE
- - - - - - - - +
TitreAnnéeDuréeLienFichier
@@ -43,7 +36,7 @@ - +
min GOGO
-- 2.43.0