Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
a3ab22e2
Commit
a3ab22e2
authored
10 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: css
parent
6bac7447
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/public/test/test_arrays.php
+4
-6
4 additions, 6 deletions
htdocs/public/test/test_arrays.php
htdocs/theme/eldy/style.css.php
+14
-14
14 additions, 14 deletions
htdocs/theme/eldy/style.css.php
with
18 additions
and
20 deletions
htdocs/public/test/test_arrays.php
+
4
−
6
View file @
a3ab22e2
...
...
@@ -111,9 +111,8 @@ This page is a sample of page using tables. To make test with<br>
<?php
$tasksarray
=
array
(
1
,
2
,
3
);
// To force having several lines
$tagidfortablednd
=
'tablelines'
;
if
(
!
empty
(
$conf
->
use_javascript_ajax
)
&&
$object
->
statut
==
0
)
include
DOL_DOCUMENT_ROOT
.
'/core/tpl/ajaxrow.tpl.php'
;
if
(
!
empty
(
$conf
->
use_javascript_ajax
))
include
DOL_DOCUMENT_ROOT
.
'/core/tpl/ajaxrow.tpl.php'
;
?>
<div
class=
"tagtable centpercent"
id=
"tablelines"
>
<div
class=
"tagtr liste_titre"
>
<div
class=
"tagtd"
>
line3
<input
type=
"hidden"
name=
"cartitem"
value=
"3"
></div>
...
...
@@ -302,7 +301,7 @@ $('xxxth').replaceWith(
</tr>
</tbody>
</table>
<br>
<br><hr><br>
Example 3 : Standard table => Use this if you need the drag and drop for lines
<br>
...
...
@@ -310,11 +309,10 @@ $('xxxth').replaceWith(
<?php
$tasksarray
=
array
(
1
,
2
,
3
);
// To force having several lines
$tagidfortablednd
=
'tablelines3'
;
if
(
!
empty
(
$conf
->
use_javascript_ajax
)
&&
$object
->
statut
==
0
)
include
DOL_DOCUMENT_ROOT
.
'/core/tpl/ajaxrow.tpl.php'
;
if
(
!
empty
(
$conf
->
use_javascript_ajax
))
include
DOL_DOCUMENT_ROOT
.
'/core/tpl/ajaxrow.tpl.php'
;
?>
<table
class=
"tagtable centpercent centpercent"
id=
"tablelines3"
>
<tr
class=
"liste_titre"
><td>
title1
</td><td
class=
"tdlineupdown"
>
title2
</td></tr>
<tr
class=
"liste_titre"
><td>
title1
</td><td>
title2
</td></tr>
<tr
class=
"pair"
><td
class=
"pair"
>
a1
</td><td
class=
"tdlineupdown pair"
>
b1
</td></tr>
<tr
class=
"impair"
><td
class=
"impair"
>
a2
</td><td
class=
"tdlineupdown impair"
>
b2
</td></tr>
</table>
...
...
This diff is collapsed.
Click to expand it.
htdocs/theme/eldy/style.css.php
+
14
−
14
View file @
a3ab22e2
...
...
@@ -1850,13 +1850,13 @@ table.liste td {
.impair, .nohover .impair:hover, tr.impair td.nohover {
<?php
if
(
$usecss3
)
{
?>
background: linear-gradient(bottom, rgb(
<?php
echo
$colorbacklineimpair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklineimpair2
;
?>
) 100%)
!important
;
background: -o-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklineimpair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklineimpair2
;
?>
) 100%)
!important
;
background: -moz-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklineimpair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklineimpair2
;
?>
) 100%)
!important
;
background: -webkit-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklineimpair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklineimpair2
;
?>
) 100%)
!important
;
background: -ms-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklineimpair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklineimpair2
;
?>
) 100%)
!important
;
background: linear-gradient(bottom, rgb(
<?php
echo
$colorbacklineimpair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklineimpair2
;
?>
) 100%);
background: -o-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklineimpair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklineimpair2
;
?>
) 100%);
background: -moz-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklineimpair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklineimpair2
;
?>
) 100%);
background: -webkit-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklineimpair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklineimpair2
;
?>
) 100%);
background: -ms-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklineimpair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklineimpair2
;
?>
) 100%);
<?php
}
else
{
?>
background: #eaeaea
!important
;
background: #eaeaea;
<?php
}
?>
font-family:
<?php
print
$fontlist
?>
;
border: 0px;
...
...
@@ -1867,22 +1867,22 @@ table.liste td {
td.nohover, .pair:hover {
<?php
if
(
$colorbacklinepairhover
)
{
if
(
$usecss3
)
{
?>
background: rgb(
<?php
echo
$colorbacklinepairhover
;
?>
)
!important
;
background: rgb(
<?php
echo
$colorbacklinepairhover
;
?>
);
<?php
}
else
{
?>
background: #fafafa
!important
;
background: #fafafa;
<?php
}
}
?>
border: 0px;
}
.pair, .nohover .pair:hover, tr.pair td.nohover {
<?php
if
(
$usecss3
)
{
?>
background: linear-gradient(bottom, rgb(
<?php
echo
$colorbacklinepair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklinepair2
;
?>
) 100%)
!important
;
background: -o-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklinepair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklinepair2
;
?>
) 100%)
!important
;
background: -moz-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklinepair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklinepair2
;
?>
) 100%)
!important
;
background: -webkit-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklinepair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklinepair2
;
?>
) 100%)
!important
;
background: -ms-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklinepair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklinepair2
;
?>
) 100%)
!important
;
background: linear-gradient(bottom, rgb(
<?php
echo
$colorbacklinepair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklinepair2
;
?>
) 100%);
background: -o-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklinepair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklinepair2
;
?>
) 100%);
background: -moz-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklinepair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklinepair2
;
?>
) 100%);
background: -webkit-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklinepair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklinepair2
;
?>
) 100%);
background: -ms-linear-gradient(bottom, rgb(
<?php
echo
$colorbacklinepair1
;
?>
) 85%, rgb(
<?php
echo
$colorbacklinepair2
;
?>
) 100%);
<?php
}
else
{
?>
background: #ffffff
!important
;
background: #ffffff;
<?php
}
?>
font-family:
<?php
print
$fontlist
?>
;
border: 0px;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment