[openmairie-framework-Commits] r4953 - in openmairie_exemple/branches/om5_rad/app: . css img

0 views
Skip to first unread message

fray...@users.adullact.net

unread,
May 3, 2024, 8:24:16 AMMay 3
to openmairie...@googlegroups.com
Author: fraynaud
Date: 2024-05-03 14:24:14 +0200 (Fri, 03 May 2024)
New Revision: 4953

Added:
openmairie_exemple/branches/om5_rad/app/css/
openmairie_exemple/branches/om5_rad/app/css/app.css
openmairie_exemple/branches/om5_rad/app/css/index.php
openmairie_exemple/branches/om5_rad/app/img/
openmairie_exemple/branches/om5_rad/app/img/csv-25x25.png
openmairie_exemple/branches/om5_rad/app/img/index.php
Modified:
openmairie_exemple/branches/om5_rad/app/framework_openmairie.class.php
Log:
modification om_theme




Added: openmairie_exemple/branches/om5_rad/app/css/app.css
===================================================================
--- openmairie_exemple/branches/om5_rad/app/css/app.css (rev 0)
+++ openmairie_exemple/branches/om5_rad/app/css/app.css 2024-05-03 12:24:14 UTC (rev 4953)
@@ -0,0 +1,50 @@
+/**
+ * Feuille de style CSS spécifique à l'applicatif, ce script est destiné à être
+ * appelé en dernier dans la pile des fichiers CSS.
+ *
+ * @package openmairie_exemple
+ * @version SVN : $Id: app.css 2202 2013-03-28 17:30:48Z fmichon $
+ */
+
+#logo span.logo { width: 123px; height: 50px; background-image: url("../img/openRH.png"); background-repeat: no-repeat; display: block; text-indent: -9999px; }
+#menu li.elem.ui-state-focus a { color:darkblue; text-decoration:none; }
+/* suivant etprecedent*/
+
+.csv-25 { background-image: url("../../app/img/csv-25x25.png"); }
+
+
+/* Affichage de la recherche avancée */
+#adv-search-adv-fields .field-type-select,
+#adv-search-adv-fields .field-type-text,
+#adv-search-adv-fields .bloc.intervaldate {
+ float:left;
+ width: 210px;
+}
+#adv-search-adv-fields .field-type-select div.form-libelle,
+#adv-search-adv-fields .field-type-text div.form-libelle,
+#adv-search-adv-fields .bloc.intervaldate div.bloc-titre {
+ display: block;
+ font-weight: bold;
+ padding: 0;
+}
+#adv-search-adv-fields .field-type-select div.form-content,
+#adv-search-adv-fields .field-type-text div.form-content {
+ display: block;
+ padding: 3px;
+ height: 20px;
+}
+#adv-search-adv-fields .field-type-select div.form-content select,
+#adv-search-adv-fields .field-type-text div.form-content input {
+ width:90%;
+}
+#adv-search-adv-fields .bloc.intervaldate .field-type-date {
+ float:none;
+ padding: 3px;
+}
+#adv-search-adv-fields .bloc.intervaldate .field-type-date div.form-libelle {
+ display: table-cell;
+}
+#adv-search-adv-fields .bloc.intervaldate .field-type-date div.form-content {
+ height: 20px;
+}
+


Property changes on: openmairie_exemple/branches/om5_rad/app/css/app.css
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: openmairie_exemple/branches/om5_rad/app/css/index.php
===================================================================
--- openmairie_exemple/branches/om5_rad/app/css/index.php (rev 0)
+++ openmairie_exemple/branches/om5_rad/app/css/index.php 2024-05-03 12:24:14 UTC (rev 4953)
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Ce fichier permet de faire une redirection vers le fichier index.php a la
+ * racine de l'application.
+ *
+ * @package openmairie_exemple
+ * @version SVN : $Id: index.php 1080 2012-02-25 15:33:52Z atreal $
+ */
+
+header("Location: ../index.php");
+exit();
+
+?>


Property changes on: openmairie_exemple/branches/om5_rad/app/css/index.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Modified: openmairie_exemple/branches/om5_rad/app/framework_openmairie.class.php
===================================================================
--- openmairie_exemple/branches/om5_rad/app/framework_openmairie.class.php 2024-05-02 09:42:22 UTC (rev 4952)
+++ openmairie_exemple/branches/om5_rad/app/framework_openmairie.class.php 2024-05-03 12:24:14 UTC (rev 4953)
@@ -91,9 +91,21 @@
* @return void
*/

+
function setDefaultValues() {
$this->addHTMLHeadCss(
array(
+ "../om-theme/jquery-ui-theme/jquery-ui.custom.css",
+ "../om-theme/om.css",
+ ),
+ 21
+ );
+ }
+
+/*
+ function setDefaultValues() {
+ $this->addHTMLHeadCss(
+ array(
"../lib/om-theme/jquery-ui-theme/jquery-ui.custom.css",
"../lib/om-theme/om.css",
),
@@ -100,7 +112,7 @@
21
);
}
-
+*/
/* ergonomie openads
function setDefaultValues() {
$this->addHTMLHeadCss(
@@ -364,9 +376,42 @@
//
$this->config__footer = $footer;
}
+/*
+ function getActionsToDisplay() {
+ // Récupère les actions
+ $actions = parent::getActionsToDisplay();
+ // probleme avec login.php - DB_PREFIXE non initialisé
+ // ne pas afficher les actions si l utilisateur n est pas logué
+ if (isset($_SESSION['login']) && !empty($_SESSION['login'])){
+ // action a ajouter -> changement d action
+ $changerfonction = array(
+ "title" => _("changer profil"),
+ "description" => _("changer de profil"),
+ "href" => "../app/index.php?module=changerprofil",
+ "class" => "changerprofil",
+ );
+
+ // On ajoute la nouvelle action au début du tableau
+ array_unshift($actions, $changerfonction);
+ //}
+ // Action à ajouter -> affichage de la fonction active
+ $fonction = array(
+ "title" => $_SESSION['profil'],
+ "description" => _("profil de l'utilisateur"),
+ "class" => "fonction",
+ );
+ // On ajoute la nouvelle action au début du tableau
+ array_unshift($actions, $fonction);
+ // Retourne les actions
+ return $actions;
+ }
+
+ //parent::getActionsToDisplay();
+ }

-
-
-
-
+ function changerprofil() {
+ echo "xxxx";
+ return;
+ }
+*/
}

Added: openmairie_exemple/branches/om5_rad/app/img/csv-25x25.png
===================================================================
(Binary files differ)

Index: openmairie_exemple/branches/om5_rad/app/img/csv-25x25.png
===================================================================
--- openmairie_exemple/branches/om5_rad/app/img/csv-25x25.png 2024-05-02 09:42:22 UTC (rev 4952)
+++ openmairie_exemple/branches/om5_rad/app/img/csv-25x25.png 2024-05-03 12:24:14 UTC (rev 4953)

Property changes on: openmairie_exemple/branches/om5_rad/app/img/csv-25x25.png
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: openmairie_exemple/branches/om5_rad/app/img/index.php
===================================================================
--- openmairie_exemple/branches/om5_rad/app/img/index.php (rev 0)
+++ openmairie_exemple/branches/om5_rad/app/img/index.php 2024-05-03 12:24:14 UTC (rev 4953)
@@ -0,0 +1,13 @@
+<?php
+/**
+ * Ce fichier permet de faire une redirection vers le fichier index.php a la
+ * racine de l'application.
+ *
+ * @package openmairie_exemple
+ * @version SVN : $Id: index.php 1080 2012-02-25 15:33:52Z atreal $
+ */
+
+header("Location: ../index.php");
+exit();
+
+?>


Property changes on: openmairie_exemple/branches/om5_rad/app/img/index.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Reply all
Reply to author
Forward
0 new messages