mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-08 22:17:34 +01:00
Revert "Birthday" and "Add birthday number and link to forum topic"
This reverts commit 224fef683db7a76bea5acae55d71bce5644dd9e4. This reverts commit 14e01c9007a91bfb9890570dfe24d3c08adeb39a.
This commit is contained in:
parent
224fef683d
commit
e5f669ccb6
@ -209,23 +209,3 @@ pre {
|
||||
}
|
||||
|
||||
@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 %}
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/static/libs/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/static/custom.css?v=39">
|
||||
<link rel="stylesheet" type="text/css" href="/static/custom.css?v=38">
|
||||
<link rel="search" type="application/opensearchdescription+xml" href="/static/opensearch.xml" title="ContentDB" />
|
||||
|
||||
{% if noindex -%}
|
||||
@ -28,12 +28,7 @@
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="/">
|
||||
{{ config.USER_APP_NAME }}
|
||||
</a>
|
||||
<a class="navbar-brand ml-2" href="https://forum.minetest.net/viewtopic.php?f=18&t=29510">
|
||||
🎂 5
|
||||
</a>
|
||||
<a class="navbar-brand" href="/">{{ 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">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
@ -32,7 +32,7 @@
|
||||
</div>
|
||||
<div class="col-md-auto pl-1 pr-3 pt-2 text-center" style=" font-size: 200%;">
|
||||
{% if review.rating > 3 %}
|
||||
<i class="fas fa-birthday-cake" style="color:#6f6;"></i>
|
||||
<i class="fas fa-thumbs-up" style="color:#6f6;"></i>
|
||||
{% elif review.rating < 3 %}
|
||||
<i class="fas fa-thumbs-down" style="color:#f66;"></i>
|
||||
{% else %}
|
||||
@ -113,7 +113,7 @@
|
||||
|
||||
<div class="btn-group btn-group-toggle" data-toggle="buttons">
|
||||
<label class="btn btn-primary">
|
||||
<i class="fas fa-birthday-cake mr-2"></i>
|
||||
<i class="fas fa-thumbs-up mr-2"></i>
|
||||
<input type="radio" name="rating" value="5" autocomplete="off"> {{ _("Yes") }}
|
||||
</label>
|
||||
<label class="btn btn-primary">
|
||||
@ -156,7 +156,7 @@
|
||||
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-primary" name="rating" value="5">
|
||||
<i class="fas fa-birthday-cake mr-2"></i>
|
||||
<i class="fas fa-thumbs-up mr-2"></i>
|
||||
{{ _("Yes") }}
|
||||
</button>
|
||||
<button class="btn btn-primary" name="rating" value="3">
|
||||
|
@ -225,7 +225,7 @@
|
||||
{% elif not t.review %}
|
||||
<i class="fas fa-comment-alt" style="color:#666;"></i>
|
||||
{% elif t.review.rating > 3 %}
|
||||
<i class="fas fa-birthday-cake" style="color:#6f6;"></i>
|
||||
<i class="fas fa-thumbs-up" style="color:#6f6;"></i>
|
||||
{% elif t.review.rating < 3 %}
|
||||
<i class="fas fa-thumbs-down" style="color:#f66;"></i>
|
||||
{% else %}
|
||||
|
@ -34,7 +34,7 @@
|
||||
<p>
|
||||
{{ _("Do you recommend this %(type)s?", type=package.type.text | lower) }}
|
||||
</p>
|
||||
{{ render_toggle_field(form.rating, icons={"5":"fa-birthday-cake", "3": "fa-minus", "1":"fa-thumbs-down"}) }}
|
||||
{{ render_toggle_field(form.rating, icons={"5":"fa-thumbs-up", "3": "fa-minus", "1":"fa-thumbs-down"}) }}
|
||||
|
||||
<p class="mt-4 mb-3">
|
||||
{{ _("Why or why not? Try to be constructive") }}
|
||||
|
@ -55,7 +55,7 @@
|
||||
<tr>
|
||||
<th colspan="2">
|
||||
{% if review.rating > 3 %}
|
||||
<i class="fas fa-birthday-cake text-success mr-2"></i>
|
||||
<i class="fas fa-thumbs-up text-success mr-2"></i>
|
||||
{% elif review.rating < 3 %}
|
||||
<i class="fas fa-thumbs-down text-danger mr-2"></i>
|
||||
{% else %}
|
||||
|
@ -73,7 +73,7 @@
|
||||
<h1>
|
||||
{% if thread.review %}
|
||||
{% if thread.review.rating > 3 %}
|
||||
<i class="fas fa-birthday-cake mr-2" style="color:#6f6;"></i>
|
||||
<i class="fas fa-thumbs-up mr-2" style="color:#6f6;"></i>
|
||||
{% elif thread.review.rating < 3 %}
|
||||
<i class="fas fa-thumbs-down mr-2" style="color:#f66;"></i>
|
||||
{% else %}
|
||||
|
Loading…
Reference in New Issue
Block a user