Css enhancement
This commit is contained in:
parent
888675016d
commit
e6d8b3c4db
@ -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 } ?>
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user