CSS
This commit is contained in:
parent
3a5f130ed5
commit
4a22c8e87e
@ -141,7 +141,7 @@ $urlwithroot = $urlwithouturlroot.DOL_URL_ROOT; // This is to use external domai
|
||||
$message = '';
|
||||
$url = $urlwithroot.'/api/index.php/login?login=<strong>auserlogin</strong>&password=<strong>thepassword</strong>[&reset=1]';
|
||||
$message .= '<span class="opacitymedium">'.$langs->trans("UrlToGetKeyToUseAPIs").':</span><br>';
|
||||
$message .= img_picto('', 'globe').' '.$url;
|
||||
$message .= '<div class="urllink">'.img_picto('', 'globe').' '.$url.'</div>';
|
||||
print $message;
|
||||
print '<br>';
|
||||
print '<br>';
|
||||
@ -150,10 +150,10 @@ print '<br>';
|
||||
print '<u>'.$langs->trans("ApiExporerIs").':</u><br>';
|
||||
if (dol_is_dir(DOL_DOCUMENT_ROOT.'/includes/restler/framework/Luracast/Restler/explorer')) {
|
||||
$url = DOL_MAIN_URL_ROOT.'/api/index.php/explorer';
|
||||
print img_picto('', 'globe').' <a href="'.$url.'" target="_blank">'.$url."</a><br>\n";
|
||||
print '<div class="urllink">'.img_picto('', 'globe').' <a href="'.$url.'" target="_blank">'.$url."</a></div><br>\n";
|
||||
print '<div class="opacitymediumxxx"><br><u>'.$langs->trans("SwaggerDescriptionFile").':</u><br>';
|
||||
$urlswagger = DOL_MAIN_URL_ROOT.'/api/index.php/explorer/swagger.json?DOLAPIKEY=youruserapikey';
|
||||
print img_picto('', 'globe').' <a href="'.$urlswagger.'" target="_blank">'.$urlswagger."</a><br>\n";
|
||||
print '<div class="urllink">'.img_picto('', 'globe').' <a href="'.$urlswagger.'" target="_blank">'.$urlswagger."</a></div><br>\n";
|
||||
print '</div>';
|
||||
} else {
|
||||
$langs->load("errors");
|
||||
|
||||
@ -767,6 +767,19 @@ textarea.centpercent {
|
||||
max-width: 100%;
|
||||
overflow-y: auto;
|
||||
}
|
||||
div.urllink {
|
||||
padding: 10px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
//border: 1px solid #ccc;
|
||||
border-radius: 5px;
|
||||
width: fit-content;
|
||||
background-color: #eee;
|
||||
opacity: 0.8;
|
||||
}
|
||||
div.urllink, div.urllink a {
|
||||
color: #339 !important;
|
||||
}
|
||||
|
||||
i.fa-mars::before, i.fa-venus::before, i.fa-genderless::before {
|
||||
color: #888 !important;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user