[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 09/16: Task #1045 - Amélioration apparence
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 09/16: Task #1045 - Amélioration apparence : tabs adaptive responsive |
Date: |
Fri, 21 Nov 2014 23:17:34 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit e40e1694f0dfbc5303f20b3145fa86858d5398b4
Author: Dany De Bontridder <address@hidden>
Date: Sat Nov 22 00:12:06 2014 +0100
Task #1045 - Amélioration apparence :
tabs adaptive responsive
---
include/category_card.inc.php | 32 +++++++++++++++++++++-----------
1 files changed, 21 insertions(+), 11 deletions(-)
diff --git a/include/category_card.inc.php b/include/category_card.inc.php
index 524e3c3..52c97cc 100644
--- a/include/category_card.inc.php
+++ b/include/category_card.inc.php
@@ -51,7 +51,7 @@ case 'let':
$def=6;
break;
case 'bal':
- $def=7;
+ $def=5;
break;
default:
$def=1;
@@ -61,19 +61,28 @@ $f=new Fiche($cn,$_REQUEST['f_id']);
echo '<div class="content">';
echo $f->get_gestion_title();
-echo ShowItem(array(
- array($root."&sc=dc",_('Fiche'),_('Détail de la fiche'),1),
- array($root.'&sc=sv',_('Suivi'),_('Suivi Fournisseur,
client, banque, devis, bon de commande, courrier'),2),
- array($root.'&sc=cn',_('Contact'),_('Liste de contacts'),3),
- array($root.'&sc=op',_('Opérations'),_('Toutes les
opérations'),4),
- array($root.'&sc=bal',_('Balance'),_('Balance du
fournisseur'),7),
- array($root.'&sc=let',_('Lettrage'),_('Opérations &
Lettrages'),6)
- ),
- 'H',"mtitle","mtitle",$def,' ');
+$menu = array(
+
array('href'=>$root."&sc=dc",'label'=>_('Fiche'),'alt'=>_('Détail de la
fiche')),
+
array('href'=>$root.'&sc=sv','label'=>_('Suivi'),'alt'=>_('Suivi Fournisseur,
client, banque, devis, bon de commande, courrier')),
+
array('href'=>$root.'&sc=cn','label'=>_('Contact'),'alt'=>_('Liste de
contacts')),
+
array('href'=>$root.'&sc=op','label'=>_('Opérations'),'alt'=>_('Toutes les
opérations')),
+
array('href'=>$root.'&sc=bal','label'=>_('Balance'),'alt'=>_('Balance du
fournisseur')),
+
array('href'=>$root.'&sc=let','label'=>_('Lettrage'),'alt'=>_('Opérations &
Lettrages'))
+ );
+echo '<ul class="tabs">';
+for ($i=0;$i<count($menu);$i++) {
+ $style=($def==($i+1))?"tabs_selected":"tabs";
+ echo '<li class="'.$style.'">';
+ echo '<a href="'.$menu[$i]['href'].'" alt="'.$menu[$i]['alt'].'">';
+ echo h($menu[$i]['label']);
+ echo '</a>';
+ echo '</li>';
+}
+echo '</ul>';
echo '</div>';
echo '<div>';
-
+echo '<div class="myfieldset">';
//---------------------------------------------------------------------------
// Show Detail of a card and category
//---------------------------------------------------------------------------
@@ -143,3 +152,4 @@ if ( $def==6 )
{
require_once('lettering.gestion.inc.php');
}
+echo '</div>';
\ No newline at end of file
- [Noalyss-commit] [noalyss] branch master updated (9218e29 -> 016a84c), Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 02/16: box Position for managing document template, Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 03/16: Prototype.js remove the hack for autocomplete prob, Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 04/16: Prototype.js remove the hack for autocomplete prob, Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 05/16: Task #1044 - Implementation de Test Update doc, Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 06/16: Add function for creating ledger with a factory, Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 08/16: Prototype.js remove the hack for autocomplete prob, Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 09/16: Task #1045 - Amélioration apparence : tabs adaptive responsive,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 12/16: Prototype.js remove the hack for autocomplete prob, Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 10/16: Task #1054 - Menu to list, Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 01/16: Documentation, Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 07/16: Task #1054 - Menu to list, Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 11/16: Task #1054 - Menu to list, Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 13/16:, Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 15/16: Task #1045 - Amélioration apparence : Textarea appearance for Chrome, Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 16/16: Add filter when choosing a distribution key, Dany De Bontridder, 2014/11/21
- [Noalyss-commit] [noalyss] 14/16: Task #1045 - Amélioration apparence :, Dany De Bontridder, 2014/11/21