Subversion Repositories eFlore/Archives.herbiers

Compare Revisions

Ignore whitespace Rev 1 → Rev 2

/trunk/applications/hb_admin/presentations/styles/hb_admin.css
New file
0,0 → 1,164
/* vim: set expandtab tabstop=4 shiftwidth=4: */
/* ========================================================================================================
| Copyright (C) 1999-2005 Tela Botanica (accueil@tela-botanica.org) |
+---------------------------------------------------------------------------------------------------------+
| This file is part of Herbier - Administration. |
| |
| Foobar is free software; you can redistribute it and/or modify it under the terms of the GNU General |
| Public License as published by the Free Software Foundation; either version 2 of the License, or |
| (at your option) any later version. |
| |
| Foobar is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the |
| implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
| License for more details. |
| |
| You should have received a copy of the GNU General Public License along with Foobar; if not, write to |
| the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
+---------------------------------------------------------------------------------------------------------+
CVS : $Id: hb_admin.css,v 1.1 2005-11-23 10:32:32 jp_milcent Exp $
===========================================================================================================
DESCRIPTION : Fichier des styles CSS de Herbier - Administration.
===========================================================================================================
Auteur original : Jean-Pascal MILCENT
Autres auteurs : Aucun
===========================================================================================================
AUTEUR : $Author: jp_milcent $
VERSION : $Revision: 1.1 $ $Date: 2005-11-23 10:32:32 $
======================================================================================================= */
 
/* +----------------------------------------------------------------------------------------------------+
| STRUCTURE |
+----------------------------------------------------------------------------------------------------+*/
#hba_info {
text-align:left;
width: 20em;
height: 100%;
margin: 0.2em;
border: 0.5em groove #EF5D31;
font-size: 0.8em;
background-color: white;
}
#hba_info dl, #hba_info ul {
width: 19em;
margin: 0.1em;
padding: 0;
}
#hba_info ul {
margin-left: 1.2em;
list-style-type: disc;
}
 
#hba_info dl dt {
width: 7em;
float: left;
margin: .1em;
padding: .1em;
}
/* hack de commentaire avec un antislash pour ie5 mac \*/
#hba_info dt { clear: both; }
/* end hack */
#hba_info dl dd {
float: left;
width: 11em;
margin: 0;
padding: .1em;
}
#hba_info h1 {
clear: both;
width:100%;
text-align: center;
margin: 0;
padding: 0;
}
 
/* Mise en ligne des boutons de formulaire */
#texte form .liste_bouton li {
display: inline;
}
 
/* Alignement des champs de formulaire */
#texte form ul li {
text-align: left;
padding: 1em 0 0 0;
margin: 0;
}
 
#texte form label {
float: left;
width: 15em;
text-align: left;
}
li.hba_commentaire {
clear:both;
margin-top: 1em;
}
table.hba_formulaire, ul.hba_formulaire {
clear:both;
width:100%;
margin:0;
padding:0;
}
textarea.hba_formulaire, input.hba_formulaire {
width:30em;
}
.hba_liste_organisation table, .hba_liste_correspondant table, .hba_liste_redacteur table,
.hba_liste_inscrit table, .hba_liste_collection table, .hba_liste_equipe table {
width:100%;
min-height:0;
}
/*
.hba_liste_organisation tbody, .hba_liste_correspondant tbody, .hba_liste_redacteur table,
.hba_liste_inscrit tbody, .hba_liste_collection tbody, .hba_liste_equipe tbody {
height:15em;
width:100%;
overflow:auto;
vertical-align:top;
}
*/
.hba_aide:first-letter, .hba_information:first-letter {
font-size:1.5em;
font-weight:bold;
}
.hba_information {
margin:0;
padding: 5px;
border : 1px dotted green;
background-color: #ffffcc;
}
.hba_attention {
padding: 5px;
border : 1px dotted red;
color: red;
font-weight: bold;
background-color: #ffffcc;
}
/* +----------------------------------------------------------------------------------------------------+
| DESIGN |
+----------------------------------------------------------------------------------------------------+*/
#texte input, #texte textarea, #texte select {
background-color:#F7B4A0;
}
#texte form ul {
list-style-type: none;
}
.hba_liste_note table {
padding:0;
margin:0;
border-width:0;
}
/* +--Fin des CSS ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.2 2005/05/18 07:30:13 jpm
* Correction des bogues et derniers réglages avant mise en ligne du site v4.
*
* Revision 1.1 2005/04/06 13:30:29 jpm
* Ajout des styles css propres à l'application admin.
*
* Revision 1.1 2005/03/08 14:14:59 jpm
* Ajout du fichier css de Herbier.
*
*
* +-- Fin des CSS ----------------------------------------------------------------------------------------+
*/
 
/trunk/applications/hb_admin/presentations/scripts/hb_admin.js
New file
0,0 → 1,61
/*vim: set expandtab tabstop=4 shiftwidth=4: */
// +------------------------------------------------------------------------------------------------------+
// | Javascript version 1.5 |
// +------------------------------------------------------------------------------------------------------+
// | Copyright (C) Tela Botanica (accueil@tela-botanica.org), 2005. |
// +------------------------------------------------------------------------------------------------------+
// | This file is part of Herbiers. |
// | |
// | Foobar is free software; you can redistribute it and/or modify |
// | it under the terms of the GNU General Public License as published by |
// | the Free Software Foundation; either version 2 of the License, or |
// | (at your option) any later version. |
// | |
// | Foobar is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
// | GNU General Public License for more details. |
// | |
// | You should have received a copy of the GNU General Public License |
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: hb_admin.js,v 1.1 2005-11-23 10:32:32 jp_milcent Exp $
/**
* Javascript de Herbier-Administration
*
* Cntient les fonctions Javascript nécessaire pour les interfaces d'administration.
*
*
*@package Herbier-Administration
*@subpackage Javascript
//Auteur original :
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2005
*@version $Revision: 1.1 $ $Date: 2005-11-23 10:32:32 $
// +------------------------------------------------------------------------------------------------------+
*/
 
function validateAndSubmitAdd(HERBIERS_ORGANISATION)
{
if (HERBIERS_ORGANISATION.INSTITUTION_NAME.value == "") {
alert ("Vous devez saisir un nom pour l'institution");
return false;
}
if (HERBIERS_ORGANISATION.ZIP.value == "") {
alert ("Vous devez saisir un code postal valide, ex 75000");
return false;
}
}
 
/* +--Fin du code ----------------------------------------------------------------------------------------+
*
* $Log: not supported by cvs2svn $
* Revision 1.1 2005/04/06 13:30:13 jpm
* Ajout du script vérifiant les formulaires.
*
*
* +-- Fin du code ----------------------------------------------------------------------------------------+
*/