mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-10 23:17:37 +01:00
Birthday
This commit is contained in:
parent
bb206da804
commit
14e01c9007
@ -209,3 +209,23 @@ pre {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@import "dracula.scss";
|
@import "dracula.scss";
|
||||||
|
|
||||||
|
body > nav.navbar.bg-primary {
|
||||||
|
background: linear-gradient(to top, #600060, #a000a0);
|
||||||
|
|
||||||
|
.navbar-nav .nav-link {
|
||||||
|
color: rgba(255,255,255,0.8);
|
||||||
|
&:hover {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-secondary {
|
||||||
|
background: #a000a0;
|
||||||
|
border-color: #a000a0;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type='text'] {
|
||||||
|
border-color: #a000a0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="/static/libs/bootstrap.min.css">
|
<link rel="stylesheet" type="text/css" href="/static/libs/bootstrap.min.css">
|
||||||
<link rel="stylesheet" type="text/css" href="/static/custom.css?v=38">
|
<link rel="stylesheet" type="text/css" href="/static/custom.css?v=39">
|
||||||
<link rel="search" type="application/opensearchdescription+xml" href="/static/opensearch.xml" title="ContentDB" />
|
<link rel="search" type="application/opensearchdescription+xml" href="/static/opensearch.xml" title="ContentDB" />
|
||||||
|
|
||||||
{% if noindex -%}
|
{% if noindex -%}
|
||||||
@ -28,7 +28,11 @@
|
|||||||
<body>
|
<body>
|
||||||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
|
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a class="navbar-brand" href="/">{{ config.USER_APP_NAME }}</a>
|
<a class="navbar-brand" href="/">
|
||||||
|
<i class="fas fa-cake-candles mr-1"></i>
|
||||||
|
<span class="mr-1">🎂</span>
|
||||||
|
{{ config.USER_APP_NAME }}
|
||||||
|
</a>
|
||||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor01" aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarColor01" aria-controls="navbarColor01" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
<span class="navbar-toggler-icon"></span>
|
<span class="navbar-toggler-icon"></span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-auto pl-1 pr-3 pt-2 text-center" style=" font-size: 200%;">
|
<div class="col-md-auto pl-1 pr-3 pt-2 text-center" style=" font-size: 200%;">
|
||||||
{% if review.rating > 3 %}
|
{% if review.rating > 3 %}
|
||||||
<i class="fas fa-thumbs-up" style="color:#6f6;"></i>
|
<i class="fas fa-birthday-cake" style="color:#6f6;"></i>
|
||||||
{% elif review.rating < 3 %}
|
{% elif review.rating < 3 %}
|
||||||
<i class="fas fa-thumbs-down" style="color:#f66;"></i>
|
<i class="fas fa-thumbs-down" style="color:#f66;"></i>
|
||||||
{% else %}
|
{% else %}
|
||||||
@ -113,7 +113,7 @@
|
|||||||
|
|
||||||
<div class="btn-group btn-group-toggle" data-toggle="buttons">
|
<div class="btn-group btn-group-toggle" data-toggle="buttons">
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-primary">
|
||||||
<i class="fas fa-thumbs-up mr-2"></i>
|
<i class="fas fa-birthday-cake mr-2"></i>
|
||||||
<input type="radio" name="rating" value="5" autocomplete="off"> {{ _("Yes") }}
|
<input type="radio" name="rating" value="5" autocomplete="off"> {{ _("Yes") }}
|
||||||
</label>
|
</label>
|
||||||
<label class="btn btn-primary">
|
<label class="btn btn-primary">
|
||||||
@ -156,7 +156,7 @@
|
|||||||
|
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button class="btn btn-primary" name="rating" value="5">
|
<button class="btn btn-primary" name="rating" value="5">
|
||||||
<i class="fas fa-thumbs-up mr-2"></i>
|
<i class="fas fa-birthday-cake mr-2"></i>
|
||||||
{{ _("Yes") }}
|
{{ _("Yes") }}
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn-primary" name="rating" value="3">
|
<button class="btn btn-primary" name="rating" value="3">
|
||||||
|
@ -225,7 +225,7 @@
|
|||||||
{% elif not t.review %}
|
{% elif not t.review %}
|
||||||
<i class="fas fa-comment-alt" style="color:#666;"></i>
|
<i class="fas fa-comment-alt" style="color:#666;"></i>
|
||||||
{% elif t.review.rating > 3 %}
|
{% elif t.review.rating > 3 %}
|
||||||
<i class="fas fa-thumbs-up" style="color:#6f6;"></i>
|
<i class="fas fa-birthday-cake" style="color:#6f6;"></i>
|
||||||
{% elif t.review.rating < 3 %}
|
{% elif t.review.rating < 3 %}
|
||||||
<i class="fas fa-thumbs-down" style="color:#f66;"></i>
|
<i class="fas fa-thumbs-down" style="color:#f66;"></i>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
<p>
|
<p>
|
||||||
{{ _("Do you recommend this %(type)s?", type=package.type.text | lower) }}
|
{{ _("Do you recommend this %(type)s?", type=package.type.text | lower) }}
|
||||||
</p>
|
</p>
|
||||||
{{ render_toggle_field(form.rating, icons={"5":"fa-thumbs-up", "3": "fa-minus", "1":"fa-thumbs-down"}) }}
|
{{ render_toggle_field(form.rating, icons={"5":"fa-birthday-cake", "3": "fa-minus", "1":"fa-thumbs-down"}) }}
|
||||||
|
|
||||||
<p class="mt-4 mb-3">
|
<p class="mt-4 mb-3">
|
||||||
{{ _("Why or why not? Try to be constructive") }}
|
{{ _("Why or why not? Try to be constructive") }}
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th colspan="2">
|
<th colspan="2">
|
||||||
{% if review.rating > 3 %}
|
{% if review.rating > 3 %}
|
||||||
<i class="fas fa-thumbs-up text-success mr-2"></i>
|
<i class="fas fa-birthday-cake text-success mr-2"></i>
|
||||||
{% elif review.rating < 3 %}
|
{% elif review.rating < 3 %}
|
||||||
<i class="fas fa-thumbs-down text-danger mr-2"></i>
|
<i class="fas fa-thumbs-down text-danger mr-2"></i>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -73,7 +73,7 @@
|
|||||||
<h1>
|
<h1>
|
||||||
{% if thread.review %}
|
{% if thread.review %}
|
||||||
{% if thread.review.rating > 3 %}
|
{% if thread.review.rating > 3 %}
|
||||||
<i class="fas fa-thumbs-up mr-2" style="color:#6f6;"></i>
|
<i class="fas fa-birthday-cake mr-2" style="color:#6f6;"></i>
|
||||||
{% elif thread.review.rating < 3 %}
|
{% elif thread.review.rating < 3 %}
|
||||||
<i class="fas fa-thumbs-down mr-2" style="color:#f66;"></i>
|
<i class="fas fa-thumbs-down mr-2" style="color:#f66;"></i>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user