Skip to content
Extraits de code Groupes Projets
Valider 6061acc1 rédigé par Thomas Steur's avatar Thomas Steur
Parcourir les fichiers

refs #4256 updated inline help layout to be consistent with notifications

parent 288e5dbf
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -136,10 +136,6 @@ table.admin tbody td:hover, table.admin tbody th:hover {
width: 100%;
}
#logoSettings .ui-inline-help {
width: 550px;
}
/* other styles */
.form-description {
color: #666666;
......
......@@ -189,9 +189,9 @@
<h2>{{ 'CoreAdminHome_BrandingSettings'|translate }}</h2>
<div id='brandSettings'>
{{ 'CoreAdminHome_CustomLogoHelpText'|translate }}
<table class="adminTable" style="width:600px;">
<table class="adminTable" style="width:900px;">
<tr>
<td>{{ 'CoreAdminHome_UseCustomLogo'|translate }}</td>
<td style="width:200px;">{{ 'CoreAdminHome_UseCustomLogo'|translate }}</td>
<td style="width:200px;">
<label>
<input type="radio" name="useCustomLogo" value="1" {% if branding.use_custom_logo == 1 %} checked {% endif %}/>
......@@ -202,15 +202,17 @@
{{ 'General_No'|translate }}
</label>
</td>
<td>
{% set giveUsFeedbackText %}"{{ 'General_GiveUsYourFeedback'|translate }}"{% endset %}
{% set customLogoHelp %}
{{ 'CoreAdminHome_CustomLogoFeedbackInfo'|translate(giveUsFeedbackText,"<a href='?module=CorePluginsAdmin&action=plugins' target='_blank'>","</a>")|raw }}
{% endset %}
{{ piwik.inlineHelp(customLogoHelp) }}
</td>
</tr>
</table>
</div>
<div id='logoSettings'>
{% set giveUsFeedbackText %}"{{ 'General_GiveUsYourFeedback'|translate }}"{% endset %}
{% set customLogoHelp %}
{{ 'CoreAdminHome_CustomLogoFeedbackInfo'|translate(giveUsFeedbackText,"<a href='?module=CorePluginsAdmin&action=plugins' target='_blank'>","</a>")|raw }}
{% endset %}
{{ piwik.inlineHelp(customLogoHelp) }}
<form id="logoUploadForm" method="post" enctype="multipart/form-data" action="index.php?module=CoreAdminHome&format=json&action=uploadCustomLogo">
<table class="adminTable" style='width:550px;'>
<tr>
......
......@@ -146,8 +146,7 @@
<td class="columnHelp">
{% if setting.inlineHelp %}
<div class="ui-widget">
<div class="ui-inline-help ui-state-highlight ui-corner-all">
<span class="ui-icon ui-icon-info" style="float:left;margin-right:.3em;"></span>
<div class="ui-inline-help">
{{ setting.inlineHelp }}
</div>
</div>
......
......@@ -25,7 +25,9 @@
<input type="hidden" name="pluginName" value="{{ anonymizeIP.name }}"/>
</td>
<td width="200">
{{ piwik.inlineHelp('AnonymizeIP_PluginDescription'|translate) }}
<div style="width:180px">
{{ piwik.inlineHelp('AnonymizeIP_PluginDescription'|translate) }}
</div>
</td>
</tr>
</table>
......@@ -45,7 +47,9 @@
checked {% endif %}/> {{ 'PrivacyManager_AnonymizeIpMaskLength'|translate("3","192.xxx.xxx.xxx") }}</label>
</td>
<td width="200">
{{ piwik.inlineHelp('PrivacyManager_GeolocationAnonymizeIpNote'|translate) }}
<div style="width:180px">
{{ piwik.inlineHelp('PrivacyManager_GeolocationAnonymizeIpNote'|translate) }}
</div>
</td>
</tr>
<tr>
......@@ -66,7 +70,9 @@
</label>
</td>
<td width="200">
{{ piwik.inlineHelp('PrivacyManager_UseAnonymizedIpForVisitEnrichmentNote'|translate) }}
<div style="width:180px">
{{ piwik.inlineHelp('PrivacyManager_UseAnonymizedIpForVisitEnrichmentNote'|translate) }}
</div>
</td>
</tr>
</table>
......@@ -211,7 +217,7 @@
<td width="200">
{% if deleteData.config.enable_auto_database_size_estimate == '0' %}
{% set manualEstimate %}
<em><a id="getPurgeEstimateLink" class="ui-inline-help" href="#">{{ 'PrivacyManager_GetPurgeEstimate'|translate }}</a></em>
<em><a id="getPurgeEstimateLink" style="width:280px" class="ui-inline-help" href="#">{{ 'PrivacyManager_GetPurgeEstimate'|translate }}</a></em>
{% endset %}
{{ piwik.inlineHelp(manualEstimate) }}
{% endif %}
......
......@@ -51,11 +51,17 @@
}
.ui-inline-help {
padding: 0.7em;
width: 170px;
margin-top: 20px;
font-size: 8pt;
line-height: 140%;
display: inline-block;
background-color: #f4f8fa;
margin: 0px;
font-size: 12px;
padding: 20px;
color: #3a87ad;
opacity: 1.0;
border-left: 1px solid #bce8f1;
text-align: justify;
line-height: 1.3em;
max-width: 550px;
}
div.ui-state-highlight {
......
......@@ -17,10 +17,7 @@
{% endmacro %}
{% macro inlineHelp(text) %}
<div class="ui-widget">
<div class="ui-inline-help ui-state-highlight ui-corner-all">
<span class="ui-icon ui-icon-info" style="float:left;margin-right:.3em;"></span>
{{ text|raw }}
</div>
<div class="ui-inline-help" >
{{ text|raw }}
</div>
{% endmacro %}
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter