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
Branches
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 { ...@@ -136,10 +136,6 @@ table.admin tbody td:hover, table.admin tbody th:hover {
width: 100%; width: 100%;
} }
#logoSettings .ui-inline-help {
width: 550px;
}
/* other styles */ /* other styles */
.form-description { .form-description {
color: #666666; color: #666666;
......
...@@ -189,9 +189,9 @@ ...@@ -189,9 +189,9 @@
<h2>{{ 'CoreAdminHome_BrandingSettings'|translate }}</h2> <h2>{{ 'CoreAdminHome_BrandingSettings'|translate }}</h2>
<div id='brandSettings'> <div id='brandSettings'>
{{ 'CoreAdminHome_CustomLogoHelpText'|translate }} {{ 'CoreAdminHome_CustomLogoHelpText'|translate }}
<table class="adminTable" style="width:600px;"> <table class="adminTable" style="width:900px;">
<tr> <tr>
<td>{{ 'CoreAdminHome_UseCustomLogo'|translate }}</td> <td style="width:200px;">{{ 'CoreAdminHome_UseCustomLogo'|translate }}</td>
<td style="width:200px;"> <td style="width:200px;">
<label> <label>
<input type="radio" name="useCustomLogo" value="1" {% if branding.use_custom_logo == 1 %} checked {% endif %}/> <input type="radio" name="useCustomLogo" value="1" {% if branding.use_custom_logo == 1 %} checked {% endif %}/>
...@@ -202,15 +202,17 @@ ...@@ -202,15 +202,17 @@
{{ 'General_No'|translate }} {{ 'General_No'|translate }}
</label> </label>
</td> </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> </tr>
</table> </table>
</div> </div>
<div id='logoSettings'> <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"> <form id="logoUploadForm" method="post" enctype="multipart/form-data" action="index.php?module=CoreAdminHome&format=json&action=uploadCustomLogo">
<table class="adminTable" style='width:550px;'> <table class="adminTable" style='width:550px;'>
<tr> <tr>
......
...@@ -146,8 +146,7 @@ ...@@ -146,8 +146,7 @@
<td class="columnHelp"> <td class="columnHelp">
{% if setting.inlineHelp %} {% if setting.inlineHelp %}
<div class="ui-widget"> <div class="ui-widget">
<div class="ui-inline-help ui-state-highlight ui-corner-all"> <div class="ui-inline-help">
<span class="ui-icon ui-icon-info" style="float:left;margin-right:.3em;"></span>
{{ setting.inlineHelp }} {{ setting.inlineHelp }}
</div> </div>
</div> </div>
......
...@@ -25,7 +25,9 @@ ...@@ -25,7 +25,9 @@
<input type="hidden" name="pluginName" value="{{ anonymizeIP.name }}"/> <input type="hidden" name="pluginName" value="{{ anonymizeIP.name }}"/>
</td> </td>
<td width="200"> <td width="200">
{{ piwik.inlineHelp('AnonymizeIP_PluginDescription'|translate) }} <div style="width:180px">
{{ piwik.inlineHelp('AnonymizeIP_PluginDescription'|translate) }}
</div>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -45,7 +47,9 @@ ...@@ -45,7 +47,9 @@
checked {% endif %}/> {{ 'PrivacyManager_AnonymizeIpMaskLength'|translate("3","192.xxx.xxx.xxx") }}</label> checked {% endif %}/> {{ 'PrivacyManager_AnonymizeIpMaskLength'|translate("3","192.xxx.xxx.xxx") }}</label>
</td> </td>
<td width="200"> <td width="200">
{{ piwik.inlineHelp('PrivacyManager_GeolocationAnonymizeIpNote'|translate) }} <div style="width:180px">
{{ piwik.inlineHelp('PrivacyManager_GeolocationAnonymizeIpNote'|translate) }}
</div>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -66,7 +70,9 @@ ...@@ -66,7 +70,9 @@
</label> </label>
</td> </td>
<td width="200"> <td width="200">
{{ piwik.inlineHelp('PrivacyManager_UseAnonymizedIpForVisitEnrichmentNote'|translate) }} <div style="width:180px">
{{ piwik.inlineHelp('PrivacyManager_UseAnonymizedIpForVisitEnrichmentNote'|translate) }}
</div>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -211,7 +217,7 @@ ...@@ -211,7 +217,7 @@
<td width="200"> <td width="200">
{% if deleteData.config.enable_auto_database_size_estimate == '0' %} {% if deleteData.config.enable_auto_database_size_estimate == '0' %}
{% set manualEstimate %} {% 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 %} {% endset %}
{{ piwik.inlineHelp(manualEstimate) }} {{ piwik.inlineHelp(manualEstimate) }}
{% endif %} {% endif %}
......
...@@ -51,11 +51,17 @@ ...@@ -51,11 +51,17 @@
} }
.ui-inline-help { .ui-inline-help {
padding: 0.7em; display: inline-block;
width: 170px; background-color: #f4f8fa;
margin-top: 20px; margin: 0px;
font-size: 8pt; font-size: 12px;
line-height: 140%; 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 { div.ui-state-highlight {
......
...@@ -17,10 +17,7 @@ ...@@ -17,10 +17,7 @@
{% endmacro %} {% endmacro %}
{% macro inlineHelp(text) %} {% macro inlineHelp(text) %}
<div class="ui-widget"> <div class="ui-inline-help" >
<div class="ui-inline-help ui-state-highlight ui-corner-all"> {{ text|raw }}
<span class="ui-icon ui-icon-info" style="float:left;margin-right:.3em;"></span>
{{ text|raw }}
</div>
</div> </div>
{% endmacro %} {% 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.
Veuillez vous inscrire ou vous pour commenter