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