forked from rDrama/rDrama
remove catalog feature no one uses
parent
cb3d92c479
commit
ddbe3de33b
|
@ -1,70 +0,0 @@
|
||||||
#posts {
|
|
||||||
display: grid;
|
|
||||||
grid-template: auto / auto auto auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1668px) {
|
|
||||||
#frontpage .post-img {
|
|
||||||
height:105px;
|
|
||||||
width:150px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#frontpage .post-title {
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#frontpage .post-meta, .post-actions button, .post-actions a {
|
|
||||||
font-size:14px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 960px) {
|
|
||||||
#posts {
|
|
||||||
display: grid;
|
|
||||||
grid-template: auto / auto auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
|
||||||
#posts {
|
|
||||||
display: grid;
|
|
||||||
grid-template: auto / auto;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#frontpage .sidebar {
|
|
||||||
display:none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#frontpage .container {
|
|
||||||
max-width: 1750px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#frontpage .voting.d-md-flex {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#frontpage .voting.d-md-none {
|
|
||||||
display: block !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#frontpage .card-footer {
|
|
||||||
display: block !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#frontpage .post-actions.d-md-block {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#fronpage.card {
|
|
||||||
padding: 0.5rem !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#frontpage .modal.d-md-none.show {
|
|
||||||
display: inline-block !important;
|
|
||||||
max-width: 30rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
#frontpage .fa-expand-alt {
|
|
||||||
display:none;
|
|
||||||
}
|
|
|
@ -3276,13 +3276,6 @@ small, .small {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.catalog .voting .arrow-up,
|
|
||||||
.catalog .voting .arrow-down
|
|
||||||
{
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.box-shadow-bottom {
|
.box-shadow-bottom {
|
||||||
box-shadow: inset 0 -0.1px 0 var(--gray-400);
|
box-shadow: inset 0 -0.1px 0 var(--gray-400);
|
||||||
}
|
}
|
||||||
|
|
|
@ -120,11 +120,6 @@
|
||||||
<lastmod>2022-06-10T23:42:26+00:00</lastmod>
|
<lastmod>2022-06-10T23:42:26+00:00</lastmod>
|
||||||
<priority>0.80</priority>
|
<priority>0.80</priority>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
|
||||||
<loc>https://rdrama.net/logged_out/catalog?sort=hot&t=day&ccmode=false</loc>
|
|
||||||
<lastmod>2022-06-10T23:42:26+00:00</lastmod>
|
|
||||||
<priority>0.80</priority>
|
|
||||||
</url>
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://rdrama.net/logged_out?sort=hot&t=hour&ccmode=false</loc>
|
<loc>https://rdrama.net/logged_out?sort=hot&t=hour&ccmode=false</loc>
|
||||||
<lastmod>2022-06-10T23:42:26+00:00</lastmod>
|
<lastmod>2022-06-10T23:42:26+00:00</lastmod>
|
||||||
|
|
|
@ -7,11 +7,9 @@ from files.classes.submission import Submission
|
||||||
from files.helpers.awards import award_timers
|
from files.helpers.awards import award_timers
|
||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
@app.get("/catalog")
|
|
||||||
@app.get("/h/<sub>")
|
@app.get("/h/<sub>")
|
||||||
@app.get("/s/<sub>")
|
@app.get("/s/<sub>")
|
||||||
@app.get("/logged_out")
|
@app.get("/logged_out")
|
||||||
@app.get("/logged_out/catalog")
|
|
||||||
@app.get("/logged_out/h/<sub>")
|
@app.get("/logged_out/h/<sub>")
|
||||||
@app.get("/logged_out/s/<sub>")
|
@app.get("/logged_out/s/<sub>")
|
||||||
@limiter.limit("3/second;30/minute;5000/hour;10000/day")
|
@limiter.limit("3/second;30/minute;5000/hour;10000/day")
|
||||||
|
|
|
@ -66,12 +66,6 @@
|
||||||
|
|
||||||
{% block navbar %}
|
{% block navbar %}
|
||||||
<div class="d-flex align-items-center">
|
<div class="d-flex align-items-center">
|
||||||
{% if request.path=='/catalog' %}
|
|
||||||
<a class="btn btn-primary text-primary mx-2 d-mob-none" href="/?sort={{sort}}&t={{t}}"><i class="fas fa-columns-3 mr-2 "></i>Catalog</a>
|
|
||||||
{% else %}
|
|
||||||
<a class="btn btn-secondary mx-2 d-mob-none" href="/catalog?sort={{sort}}&t={{t}}"><i class="fas fa-columns-3 mr-2 "></i>Catalog</a>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if pins %}
|
{% if pins %}
|
||||||
{% set pcolor = "primary" %}
|
{% set pcolor = "primary" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -148,13 +142,9 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class="row no-gutters {% if listing %}mt-md-3{% elif not listing %}my-md-3{% endif %}">
|
<div class="row no-gutters {% if listing %}mt-md-3{% elif not listing %}my-md-3{% endif %}">
|
||||||
|
<div class="col-12">
|
||||||
<div class="col-12 {% if request.path=='/catalog' %}catalog{% endif %}">
|
|
||||||
|
|
||||||
<div class="posts" id="posts">
|
<div class="posts" id="posts">
|
||||||
|
|
||||||
{% include "submission_listing.html" %}
|
{% include "submission_listing.html" %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -112,10 +112,6 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<link rel="stylesheet" href="{{'css/awards.css' | asset}}">
|
<link rel="stylesheet" href="{{'css/awards.css' | asset}}">
|
||||||
|
|
||||||
{% if request.path.endswith('/catalog') %}
|
|
||||||
<link rel="stylesheet" href="{{'css/catalog.css' | asset}}">
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if sub and sub.css and not request.path.endswith('settings') and not request.values.get('nocss') %}
|
{% if sub and sub.css and not request.path.endswith('settings') and not request.values.get('nocss') %}
|
||||||
<link rel="stylesheet" href="/h/{{sub}}/css" type="text/css">
|
<link rel="stylesheet" href="/h/{{sub}}/css" type="text/css">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue