Add a space between text and glyphicons

Where we use glyphicons to mark items in a list, ensure there is a space
between the item and the icon to make things look a bit neater.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2019-10-02 14:02:48 +13:00
parent 003c816417
commit fb322c963b
3 changed files with 3 additions and 3 deletions

View File

@ -242,7 +242,7 @@
<tbody> <tbody>
{% for recipe in layerbranch.sorted_recipes %} {% for recipe in layerbranch.sorted_recipes %}
<tr> <tr>
<td><a href="{% url 'recipe' recipe.id %}">{{ recipe.name }}</a>{% if 'image' in recipe.inherits.split %}<i class="glyphicon glyphicon-hdd"></i>{% endif %}{% if recipe.blacklisted %}<span class="label label-inverse" title="{{ recipe.blacklisted }}">blacklisted</span>{% endif %}</td> <td><a href="{% url 'recipe' recipe.id %}">{{ recipe.name }}</a>{% if 'image' in recipe.inherits.split %} <i class="glyphicon glyphicon-hdd"></i>{% endif %}{% if recipe.blacklisted %}<span class="label label-inverse" title="{{ recipe.blacklisted }}">blacklisted</span>{% endif %}</td>
<td>{{ recipe.pv }}</td> <td>{{ recipe.pv }}</td>
<td class="col-md-8">{{ recipe.short_desc }}</td> <td class="col-md-8">{{ recipe.short_desc }}</td>
</tr> </tr>

View File

@ -135,7 +135,7 @@
<ul class="list-unstyled"> <ul class="list-unstyled">
{% for pc in packageconfigs %} {% for pc in packageconfigs %}
{% for dep in pc.dynamicbuilddep_set.all %} {% for dep in pc.dynamicbuilddep_set.all %}
<li> {{dep.name}}<i class="glyphicon glyphicon-cog" data-toggle="tooltip" title="If &quot;{{pc.feature}}&quot; is set in PACKAGECONFIG" aria-hidden="true"></i></li> <li> {{dep.name}} <i class="glyphicon glyphicon-cog" data-toggle="tooltip" title="If &quot;{{pc.feature}}&quot; is set in PACKAGECONFIG" aria-hidden="true"></i></li>
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
</ul> </ul>

View File

@ -61,7 +61,7 @@
<tbody> <tbody>
{% for recipe in recipe_list %} {% for recipe in recipe_list %}
<tr {% if recipe.preferred_count > 0 %}class="text-muted"{% endif %}> <tr {% if recipe.preferred_count > 0 %}class="text-muted"{% endif %}>
<td><a href="{% url 'recipe' recipe.id %}">{{ recipe.name }}</a>{% if 'image' in recipe.inherits.split %}<i class="glyphicon glyphicon-hdd" aria-hidden="true"></i>{% endif %}{% if recipe.blacklisted %}<span class="label label-inverse" title="{{ recipe.blacklisted }}">blacklisted</span>{% endif %}</td> <td><a href="{% url 'recipe' recipe.id %}">{{ recipe.name }}</a>{% if 'image' in recipe.inherits.split %} <i class="glyphicon glyphicon-hdd" aria-hidden="true"></i>{% endif %}{% if recipe.blacklisted %}<span class="label label-inverse" title="{{ recipe.blacklisted }}">blacklisted</span>{% endif %}</td>
<td>{{ recipe.pv }}</td> <td>{{ recipe.pv }}</td>
<td>{{ recipe.short_desc }}</td> <td>{{ recipe.short_desc }}</td>
<td><a href="{% url 'layer_item' url_branch recipe.layerbranch.layer.name %}">{{ recipe.layerbranch.layer.name }}</a></td> <td><a href="{% url 'layer_item' url_branch recipe.layerbranch.layer.name %}">{{ recipe.layerbranch.layer.name }}</a></td>