This commit is contained in:
rubenwardy 2023-05-24 19:32:13 +01:00
parent bb206da804
commit 14e01c9007
7 changed files with 33 additions and 9 deletions

@ -209,3 +209,23 @@ 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=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" />
{% if noindex -%}
@ -28,7 +28,11 @@
<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" 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">
<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-thumbs-up" style="color:#6f6;"></i>
<i class="fas fa-birthday-cake" 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-thumbs-up mr-2"></i>
<i class="fas fa-birthday-cake 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-thumbs-up mr-2"></i>
<i class="fas fa-birthday-cake 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-thumbs-up" style="color:#6f6;"></i>
<i class="fas fa-birthday-cake" 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-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">
{{ _("Why or why not? Try to be constructive") }}

@ -55,7 +55,7 @@
<tr>
<th colspan="2">
{% 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 %}
<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-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 %}
<i class="fas fa-thumbs-down mr-2" style="color:#f66;"></i>
{% else %}