mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 14:02:24 +01:00
parent
a7364990bd
commit
824d349c30
@ -53,7 +53,7 @@
|
||||
text = text.substr(0, idx);
|
||||
}
|
||||
|
||||
$('<span class="badge roaded-pill bg-primary"/>')
|
||||
$('<span class="badge rounded-pill bg-primary"/>')
|
||||
.text(text + ' ')
|
||||
.data("id", id)
|
||||
.append('<a>x</a>')
|
||||
|
@ -13,7 +13,7 @@ Licenses
|
||||
{% for l in licenses %}
|
||||
<a class="list-group-item list-group-item-action"
|
||||
href="{{ url_for('admin.create_edit_license', name=l.name) }}">
|
||||
<span class="float-end badge {% if l.is_foss %}bg-primary{% else %}bg-warning{% endif %} roaded-pill">
|
||||
<span class="float-end badge {% if l.is_foss %}bg-primary{% else %}bg-warning{% endif %} rounded-pill">
|
||||
{{ l.is_foss and "Free" or "Non-free"}}
|
||||
</span>
|
||||
{{ l.name }}
|
||||
|
@ -75,7 +75,7 @@
|
||||
title="{{ _('Work Queue') }}">
|
||||
{% if todo_list_count > 0 %}
|
||||
<i class="fas fa-inbox"></i>
|
||||
<span class="badge roaded-pill badge-notify">{{ todo_list_count }}</span>
|
||||
<span class="badge rounded-pill badge-notify">{{ todo_list_count }}</span>
|
||||
{% else %}
|
||||
<i class="fas fa-inbox" ></i>
|
||||
{% endif %}
|
||||
@ -99,11 +99,11 @@
|
||||
<i class="fas fa-bell"></i>
|
||||
{% set num_notifs = current_user.notifications | length %}
|
||||
{% if num_notifs > 60 %}
|
||||
<span class="badge roaded-pill badge-notify badge-emoji">
|
||||
<span class="badge rounded-pill badge-notify badge-emoji">
|
||||
😢
|
||||
</span>
|
||||
{% else %}
|
||||
<span class="badge roaded-pill badge-notify">
|
||||
<span class="badge rounded-pill badge-notify">
|
||||
{{ num_notifs }}
|
||||
</span>
|
||||
{% endif %}
|
||||
|
@ -169,7 +169,7 @@
|
||||
title="{{ tag.description or '' }}"
|
||||
href="{{ url_for('packages.list_all', tag=tag.name) }}">
|
||||
{{ tag.title }}
|
||||
<span class="badge roaded-pill bg-light text-dark ms-1">{{ count }}</span>
|
||||
<span class="badge rounded-pill bg-light text-dark ms-1">{{ count }}</span>
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
||||
|
@ -34,14 +34,14 @@
|
||||
title="{{ tag.description or '' }}"
|
||||
href="{{ url_set_query(page=1, _remove={ 'tag': tag.name }) }}">
|
||||
{{ tag.title }}
|
||||
<span class="badge roaded-pill bg-light text-dark ms-1">{{ count }}</span>
|
||||
<span class="badge rounded-pill bg-light text-dark ms-1">{{ count }}</span>
|
||||
</a>
|
||||
{% else %}
|
||||
<a class="btn btn-sm btn-secondary m-1" rel="nofollow"
|
||||
title="{{ tag.description or '' }}"
|
||||
href="{{ url_set_query(page=1, _add={ 'tag': tag.name }) }}">
|
||||
{{ tag.title }}
|
||||
<span class="badge roaded-pill bg-light text-dark ms-1">{{ count }}</span>
|
||||
<span class="badge rounded-pill bg-light text-dark ms-1">{{ count }}</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
@ -23,7 +23,7 @@ Create Account from Forums User
|
||||
<div class="col-sm-6">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<span class="badge roaded-pill bg-dark me-2">{{ _("Option 1") }}</span>
|
||||
<span class="badge rounded-pill bg-dark me-2">{{ _("Option 1") }}</span>
|
||||
{{ _("Use GitHub field in forum profile") }}
|
||||
</div>
|
||||
|
||||
@ -52,7 +52,7 @@ Create Account from Forums User
|
||||
<div class="col-sm-6">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<span class="badge roaded-pill bg-dark me-2">{{ _("Option 2") }}</span>
|
||||
<span class="badge rounded-pill bg-dark me-2">{{ _("Option 2") }}</span>
|
||||
{{ _("Verification token") }}
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user