2
0
forked from Wavyzz/dolibarr

Look and feel v13

This commit is contained in:
Laurent Destailleur
2020-08-23 15:16:52 +02:00
parent ca2a34a4c9
commit 34d2d9a7c6
10 changed files with 73 additions and 5 deletions

View File

@@ -3026,12 +3026,12 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
'object_lot', 'object_mrp', 'object_payment', 'object_product', 'object_propal', 'object_lot', 'object_mrp', 'object_payment', 'object_product', 'object_propal',
'object_other', 'object_paragraph', 'object_poll', 'object_printer', 'object_project', 'object_projectpub', 'object_propal', 'object_resource', 'object_rss', 'object_projecttask', 'object_other', 'object_paragraph', 'object_poll', 'object_printer', 'object_project', 'object_projectpub', 'object_propal', 'object_resource', 'object_rss', 'object_projecttask',
'object_recruitmentjobposition', 'object_recruitmentcandidature', 'object_recruitmentjobposition', 'object_recruitmentcandidature',
'object_shipment', 'object_supplier_invoice', 'object_supplier_invoicea', 'object_supplier_invoiced', 'object_supplier_order', 'object_supplier_proposal', 'object_service', 'object_stock', 'object_shipment', 'object_share-alt', 'object_supplier_invoice', 'object_supplier_invoicea', 'object_supplier_invoiced', 'object_supplier_order', 'object_supplier_proposal', 'object_service', 'object_stock',
'object_technic', 'object_ticket', 'object_trip', 'object_user', 'object_group', 'object_member', 'object_technic', 'object_ticket', 'object_trip', 'object_user', 'object_group', 'object_member',
'object_phoning', 'object_phoning_mobile', 'object_phoning_fax', 'object_email', 'object_website', 'object_phoning', 'object_phoning_mobile', 'object_phoning_fax', 'object_email', 'object_website',
'off', 'on', 'order', 'off', 'on', 'order',
'paiment', 'play', 'playdisabled', 'poll', 'printer', 'product', 'propal', 'projecttask', 'stock', 'resize', 'service', 'stats', 'trip', 'paiment', 'play', 'playdisabled', 'poll', 'printer', 'product', 'propal', 'projecttask', 'stock', 'resize', 'service', 'stats', 'trip',
'setup', 'sign-out', 'split', 'stripe-s', 'switch_off', 'switch_on', 'tools', 'unlink', 'uparrow', 'user', 'vcard', 'wrench', 'setup', 'share-alt', 'sign-out', 'split', 'stripe-s', 'switch_off', 'switch_on', 'tools', 'unlink', 'uparrow', 'user', 'vcard', 'wrench',
'jabber', 'skype', 'twitter', 'facebook', 'linkedin', 'instagram', 'snapchat', 'youtube', 'google-plus-g', 'whatsapp', 'jabber', 'skype', 'twitter', 'facebook', 'linkedin', 'instagram', 'snapchat', 'youtube', 'google-plus-g', 'whatsapp',
'chevron-left', 'chevron-right', 'chevron-down', 'chevron-top', 'chevron-left', 'chevron-right', 'chevron-down', 'chevron-top',
'home', 'hrm', 'companies', 'products', 'commercial', 'invoicing', 'pencil-ruler', 'preview', 'project', 'projectpub', 'supplier_invoice', 'members', 'ticket', 'generic', 'home', 'hrm', 'companies', 'products', 'commercial', 'invoicing', 'pencil-ruler', 'preview', 'project', 'projectpub', 'supplier_invoice', 'members', 'ticket', 'generic',

View File

@@ -56,7 +56,7 @@ class modSocialNetworks extends DolibarrModules
// Key used in llx_const table to save module status enabled/disabled (where MYMODULE is value of property name of module in uppercase) // Key used in llx_const table to save module status enabled/disabled (where MYMODULE is value of property name of module in uppercase)
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name); $this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
// Name of image file used for this module. // Name of image file used for this module.
$this->picto = 'email'; $this->picto = 'share-alt';
// Data directories to create when module is enabled // Data directories to create when module is enabled
$this->dirs = array(); $this->dirs = array();

View File

@@ -173,6 +173,7 @@ $check_access = dol_check_secure_access_document($modulepart, $original_file, $e
$accessallowed = $check_access['accessallowed']; $accessallowed = $check_access['accessallowed'];
$sqlprotectagainstexternals = $check_access['sqlprotectagainstexternals']; $sqlprotectagainstexternals = $check_access['sqlprotectagainstexternals'];
$fullpath_original_file = $check_access['original_file']; // $fullpath_original_file is now a full path name $fullpath_original_file = $check_access['original_file']; // $fullpath_original_file is now a full path name
//var_dump($fullpath_original_file);exit;
if (!empty($hashp)) if (!empty($hashp))
{ {

View File

@@ -284,7 +284,7 @@ dol_banner_tab($object, '', $linkback, 0, '', '', $s);
print '<div class="fichecenter">'; print '<div class="fichecenter">';
print '<div class="underbanner clearboth"></div>'; print '<div class="underbanner clearboth"></div>';
print '<table class="border centpercent">'; print '<table class="border centpercent tableforfield">';
print '<tr><td class="titlefield">'.$langs->trans("ECMCreationDate").'</td><td>'; print '<tr><td class="titlefield">'.$langs->trans("ECMCreationDate").'</td><td>';
print dol_print_date(dol_filemtime($fullpath), 'dayhour'); print dol_print_date(dol_filemtime($fullpath), 'dayhour');
print '</td></tr>'; print '</td></tr>';

View File

@@ -1,5 +1,6 @@
Mrp=Manufacturing Orders Mrp=Manufacturing Orders
MO=Manufacturing Order MO=Manufacturing Order
MOs=Manufacturing orders
MRPDescription=Module to manage production and Manufacturing Orders (MO). MRPDescription=Module to manage production and Manufacturing Orders (MO).
MRPArea=MRP Area MRPArea=MRP Area
MrpSetupPage=Setup of module MRP MrpSetupPage=Setup of module MRP

View File

@@ -26,3 +26,4 @@ ModuleZapierForDolibarrDesc = Zapier for Dolibarr module
# Admin page # Admin page
# #
ZapierForDolibarrSetup = Setup of Zapier for Dolibarr ZapierForDolibarrSetup = Setup of Zapier for Dolibarr
ZapierDescription=Interface with Zapier

View File

@@ -149,7 +149,7 @@ div.mainmenu.generic4::before {
opacity: 0.7; opacity: 0.7;
color: #440; color: #440;
} }
.fa-at, .fa-external-link-alt { .fa-at, .fa-external-link-alt, .fa-share-alt {
opacity: 0.7; opacity: 0.7;
color: #304; color: #304;
} }

View File

@@ -167,6 +167,10 @@ a.butAction:hover, a.butActionNew:hover, a.butActionDelete:hover {
TITLE BUTTON TITLE BUTTON
*/ */
div.pagination li:first-child a.btnTitle {
margin-left: 10px;
}
.btnTitle, a.btnTitle { .btnTitle, a.btnTitle {
display: inline-block; display: inline-block;
padding: 6px 12px; padding: 6px 12px;
@@ -196,6 +200,11 @@ TITLE BUTTON
background-color: #fbfbfb; background-color: #fbfbfb;
} }
a.btnTitle.btnTitleSelected {
border: 1px solid #ccc;
border-radius: 3px;
}
.btnTitle > .btnTitle-icon{ .btnTitle > .btnTitle-icon{
} }

View File

@@ -283,6 +283,9 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
font-weight: bold; font-weight: bold;
margin-bottom: 6px; margin-bottom: 6px;
} }
.info-box-title {
width: calc(100% - 20px);
}
.info-box-text{ .info-box-text{
font-size: 0.92em; font-size: 0.92em;
} }

View File

@@ -42,3 +42,56 @@ div.mainmenu.generic3::before {
div.mainmenu.generic4::before { div.mainmenu.generic4::before {
content: "\f249"; content: "\f249";
} }
/* Define color of some picto */
.fa-phone, .fa-mobile-alt, .fa-fax {
opacity: 0.7;
color: #440;
}
.fa-at, .fa-external-link-alt, .fa-share-alt {
opacity: 0.7;
color: #304;
}
.fa-trash {
color: #666;
}
.fa-trash:hover:before {
color: #800;
}
.fa-play {
color: #444;
}
.fa-unlink {
color: #555;
}
/* Define square Dolibarr logo in pure CSS */
.fa-dolibarr-css{
color: #235481;
background: currentColor;
height: 150px;
width: 150px;
position: relative;
}
.fa-dolibarr-css:before{
content: '';
position: absolute;
left: 19%;
top: 17%;
width: 25%;
height: 25%;
border: solid 30px white;
border-radius: 0% 200% 200% 0% / 0% 180% 180% 0%;
}
.fa-dolibarr-css:after{
content: '';
position: absolute;
left: 19%;
top: 17%;
width: 5px;
height: 25%;
border-bottom: solid 60px currentColor;
margin-left: 30px;
}