Skip to content
Extraits de code Groupes Projets
Valider e0cfa4ec rédigé par sonika-k's avatar sonika-k Validation de Matthieu Aubry
Parcourir les fichiers

Improved the appearance of 'SEO Rankings' widget (#11234)

* Improved the appearance of 'SEO Rankings' widget

Improved the design by increasing the SEO logos, increasing the size and line spacing of the font used for the SEO sites and adding  grey lines to the table rows.

*  More spacing and bigger logos andfonts
parent 15a32db2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -8,14 +8,14 @@ ...@@ -8,14 +8,14 @@
<input type="text" id="seoUrl" size="15" value="{{ urlToRank }}" class="textbox "/> <input type="text" id="seoUrl" size="15" value="{{ urlToRank }}" class="textbox "/>
</div> </div>
<div class="col s4"> <div class="col s4">
<input type="submit" class="btn btn-small" id="rankbutton" value="{{ 'SEO_Rank'|translate }}"/> <input type="submit" class="btn btn-small" style='margin-top: 2em' id="rankbutton" value="{{ 'SEO_Rank'|translate }}"/>
</div> </div>
</div> </div>
{% import "ajaxMacros.twig" as ajax %} {% import "ajaxMacros.twig" as ajax %}
{{ ajax.LoadingDiv('ajaxLoadingSEO') }} {{ ajax.LoadingDiv('ajaxLoadingSEO') }}
<div id="rankStats" align="left" style="margin-top:10px;margin-left: 5px;"> <div id="rankStats" align="left" style="margin-top:10px;margin-left: 5px;font-size:14px;">
{% if ranks is empty %} {% if ranks is empty %}
{{ 'General_Error'|translate }} {{ 'General_Error'|translate }}
{% else %} {% else %}
...@@ -23,23 +23,23 @@ ...@@ -23,23 +23,23 @@
<a href="http://{{ urlToRank }}" rel="noreferrer" target="_blank">{{ urlToRank }}</a> <a href="http://{{ urlToRank }}" rel="noreferrer" target="_blank">{{ urlToRank }}</a>
{% endset %} {% endset %}
{{ 'SEO_SEORankingsFor'|translate(cleanUrl)|raw }} {{ 'SEO_SEORankingsFor'|translate(cleanUrl)|raw }}
<table cellspacing="2" style="margin:auto;line-height:1.5em;padding-top:10px;"> <table cellspacing="2" style="margin:auto;line-height:3.5em !important;margin-top:20px;">
{% for rank in ranks %} {% for rank in ranks %}
<tr> <tr>
{% set seoLink %}{% if rank.logo_link is not empty %}<a class="linkContent" href="?module=Proxy&action=redirect&url={{ rank.logo_link|url_encode }}" {% set seoLink %}{% if rank.logo_link is not empty %}<a class="linkContent" href="?module=Proxy&action=redirect&url={{ rank.logo_link|url_encode }}"
target="_blank" target="_blank"
{% if rank.logo_tooltip is not empty %}title="{{ rank.logo_tooltip }}"{% endif %}>{% endif %}{% endset %} {% if rank.logo_tooltip is not empty %}title="{{ rank.logo_tooltip }}"{% endif %}>{% endif %}{% endset %}
<td>{% if rank.logo_link is not empty %}{{ seoLink|raw }}{% endif %}<img width="16px" height="16px" <td>{% if rank.logo_link is not empty %}{{ seoLink|raw }}{% endif %}<img width="24px" height="24px"
style='vertical-align:middle;margin-right:6px;' src='{{ rank.logo }}' border='0' style='vertical-align:middle;margin-right:6px;' src='{{ rank.logo }}' border='0'
alt="{{ rank.label }}">{% if rank.logo_link is not empty %}</a>{% endif %} {{ rank.label|raw }} alt="{{ rank.label }}">{% if rank.logo_link is not empty %}</a>{% endif %} {{ rank.label|raw }}
</td> </td>
<td> <td>
<div style="margin-left:15px;"> <div style="margin-left:15px;">
{% if rank.logo_link is not empty %}{{ seoLink|raw }}{% endif %} {% if rank.logo_link is not empty %}{{ seoLink|raw }}{% endif %}
{% if rank.rank %}{{ rank.rank|raw }}{% else %}-{% endif %} {% if rank.rank %}{{ rank.rank|raw }}{% else %}-{% endif %}
{{ rank.rank_suffix }} {{ rank.rank_suffix }}
{% if rank.logo_link is not empty %}</a>{% endif %} {% if rank.logo_link is not empty %}</a>{% endif %}
</div> </div>
</td> </td>
</tr> </tr>
......
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