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
e6d8b3c4
Commit
e6d8b3c4
authored
8 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Css enhancement
parent
88867501
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
htdocs/core/tpl/contacts.tpl.php
+10
-10
10 additions, 10 deletions
htdocs/core/tpl/contacts.tpl.php
htdocs/theme/eldy/style.css.php
+10
-0
10 additions, 0 deletions
htdocs/theme/eldy/style.css.php
htdocs/theme/md/style.css.php
+3
-0
3 additions, 0 deletions
htdocs/theme/md/style.css.php
with
23 additions
and
10 deletions
htdocs/core/tpl/contacts.tpl.php
+
10
−
10
View file @
e6d8b3c4
...
...
@@ -90,7 +90,7 @@ if ($permission) {
echo
$formcompany
->
selectTypeContact
(
$tmpobject
,
''
,
'type'
,
'internal'
);
?>
</div>
<div
class=
"tagtd"
>
</div>
<div
class=
"tagtd
"
align=
"
right"
><input
type=
"submit"
class=
"button"
value=
"
<?php
echo
$langs
->
trans
(
"Add"
);
?>
"
></div>
<div
class=
"tagtd
right"
><input
type=
"submit"
class=
"button"
value=
"
<?php
echo
$langs
->
trans
(
"Add"
);
?>
"
></div>
</form>
<?php
...
...
@@ -107,8 +107,8 @@ if ($permission) {
<input
type=
"hidden"
name=
"action"
value=
"addcontact"
/>
<input
type=
"hidden"
name=
"source"
value=
"external"
/>
<?php
if
(
$withproject
)
print
'<input type="hidden" name="withproject" value="'
.
$withproject
.
'">'
;
?>
<div
class=
"tagtd nowrap"
>
<?php
echo
img_object
(
''
,
'contact'
)
.
' '
.
$langs
->
trans
(
"ThirdPartyContacts"
);
?>
</div>
<div
class=
"tagtd nowrap maxwidthonsmartphone"
>
<div
class=
"tagtd nowrap
noborderbottom
"
>
<?php
echo
img_object
(
''
,
'contact'
)
.
' '
.
$langs
->
trans
(
"ThirdPartyContacts"
);
?>
</div>
<div
class=
"tagtd nowrap maxwidthonsmartphone
noborderbottom
"
>
<?php
$selectedCompany
=
isset
(
$_GET
[
"newcompany"
])
?
$_GET
[
"newcompany"
]
:
$object
->
socid
;
?>
<?php
// add company icon before select list
...
...
@@ -119,17 +119,17 @@ if ($permission) {
?>
<?php
$selectedCompany
=
$formcompany
->
selectCompaniesForNewContact
(
$object
,
'id'
,
$selectedCompany
,
'newcompany'
,
''
,
0
);
?>
</div>
<div
class=
"tagtd maxwidthonsmartphone"
>
<div
class=
"tagtd maxwidthonsmartphone
noborderbottom
"
>
<?php
$nbofcontacts
=
$form
->
select_contacts
(
$selectedCompany
,
''
,
'contactid'
,
0
,
''
,
''
,
0
,
'minwidth200'
);
?>
</div>
<div
class=
"tagtd maxwidthonsmartphone"
>
<div
class=
"tagtd maxwidthonsmartphone
noborderbottom
"
>
<?php
$tmpobject
=
$object
;
if
(
$object
->
element
==
'shipping'
&&
is_object
(
$objectsrc
))
$tmpobject
=
$objectsrc
;
$formcompany
->
selectTypeContact
(
$tmpobject
,
''
,
'type'
,
'external'
);
?>
</div>
<div
class=
"tagtd"
>
</div>
<div
class=
"tagtd
"
align=
"right
"
>
<div
class=
"tagtd
noborderbottom
"
>
</div>
<div
class=
"tagtd
right noborderbottom
"
>
<input
type=
"submit"
id=
"add-customer-contact"
class=
"button"
value=
"
<?php
echo
$langs
->
trans
(
"Add"
);
?>
"
<?php
if
(
!
$nbofcontacts
)
echo
' disabled'
;
?>
>
</div>
</form>
...
...
@@ -144,7 +144,7 @@ if ($permission) {
<div
class=
"tagtd liste_titre"
>
<?php
echo
$langs
->
trans
(
"ThirdParty"
);
?>
</div>
<div
class=
"tagtd liste_titre"
>
<?php
echo
$langs
->
trans
(
"Users"
)
.
'/'
.
$langs
->
trans
(
"Contacts"
);
?>
</div>
<div
class=
"tagtd liste_titre"
>
<?php
echo
$langs
->
trans
(
"ContactType"
);
?>
</div>
<div
class=
"tagtd liste_titre
"
align=
"
center"
>
<?php
echo
$langs
->
trans
(
"Status"
);
?>
</div>
<div
class=
"tagtd liste_titre
center"
>
<?php
echo
$langs
->
trans
(
"Status"
);
?>
</div>
<div
class=
"tagtd liste_titre"
>
</div>
</form>
...
...
@@ -208,7 +208,7 @@ if ($permission) {
?>
</div>
<div
class=
"tagtd"
>
<?php
echo
$tab
[
$i
][
'libelle'
];
?>
</div>
<div
class=
"tagtd
"
align=
"
center"
>
<div
class=
"tagtd
center"
>
<?php
//if ($object->statut >= 0) echo '<a href="'.$_SERVER['PHP_SELF'].'?id='.$object->id.'&action=swapstatut&ligne='.$tab[$i]['rowid'].'">'; ?>
<?
php
if
(
$tab
[
$i
][
'source'
]
==
'internal'
)
...
...
@@ -228,7 +228,7 @@ if ($permission) {
?>
<?php
//if ($object->statut >= 0) echo '</a>'; ?>
</
div
>
<
div
class
=
"tagtd nowrap
"
align
=
"
right"
>
<
div
class
=
"tagtd nowrap
right"
>
<?
php
if
(
$permission
)
{
?>
<a
href=
"
<?php
echo
$_SERVER
[
"PHP_SELF"
]
.
'?id='
.
$object
->
id
.
'&action=deletecontact&lineid='
.
$tab
[
$i
][
'rowid'
];
?>
"
>
<?php
echo
img_delete
();
?>
</a>
<?php
}
?>
...
...
This diff is collapsed.
Click to expand it.
htdocs/theme/eldy/style.css.php
+
10
−
0
View file @
e6d8b3c4
...
...
@@ -2326,6 +2326,9 @@ td.border, div.tagtable div div.border {
/* Main boxes */
.noborderbottom {
border-bottom: none !important;
}
.ficheaddleft table.noborder {
margin: 0px 0px 0px 0px;
}
...
...
@@ -2345,6 +2348,13 @@ table.liste, table.noborder, table.formdoc, div.noborder {
margin: 0px 0px 5px 0px;
}
div.ficheaddleft table.noborder:last-child {
border-bottom: 1px solid #aaa;
}
div.ficheaddleft table.noborder {
border-bottom: none;
}
table.paddingtopbottomonly tr td {
padding-top: 1px;
padding-bottom: 2px;
...
...
This diff is collapsed.
Click to expand it.
htdocs/theme/md/style.css.php
+
3
−
0
View file @
e6d8b3c4
...
...
@@ -2228,6 +2228,9 @@ td.border, div.tagtable div div.border {
/* Main boxes */
.noborderbottom {
border-bottom: none !important;
}
.ficheaddleft table.noborder {
margin: 0px 0px 0px 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