remove catalog feature no one uses

master
justcool393 2022-11-07 18:59:28 -06:00
parent cb3d92c479
commit ddbe3de33b
6 changed files with 1 additions and 99 deletions

View File

@ -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;
}

View File

@ -3276,13 +3276,6 @@ small, .small {
display: block;
}
.catalog .voting .arrow-up,
.catalog .voting .arrow-down
{
display: inline-block;
}
.box-shadow-bottom {
box-shadow: inset 0 -0.1px 0 var(--gray-400);
}

View File

@ -120,11 +120,6 @@
<lastmod>2022-06-10T23:42:26+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://rdrama.net/logged_out/catalog?sort=hot&amp;t=day&amp;ccmode=false</loc>
<lastmod>2022-06-10T23:42:26+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://rdrama.net/logged_out?sort=hot&amp;t=hour&amp;ccmode=false</loc>
<lastmod>2022-06-10T23:42:26+00:00</lastmod>

View File

@ -7,11 +7,9 @@ from files.classes.submission import Submission
from files.helpers.awards import award_timers
@app.get("/")
@app.get("/catalog")
@app.get("/h/<sub>")
@app.get("/s/<sub>")
@app.get("/logged_out")
@app.get("/logged_out/catalog")
@app.get("/logged_out/h/<sub>")
@app.get("/logged_out/s/<sub>")
@limiter.limit("3/second;30/minute;5000/hour;10000/day")

View File

@ -66,12 +66,6 @@
{% block navbar %}
<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 %}
{% set pcolor = "primary" %}
{% else %}
@ -148,13 +142,9 @@
{% block content %}
<div class="row no-gutters {% if listing %}mt-md-3{% elif not listing %}my-md-3{% endif %}">
<div class="col-12 {% if request.path=='/catalog' %}catalog{% endif %}">
<div class="col-12">
<div class="posts" id="posts">
{% include "submission_listing.html" %}
</div>
</div>
</div>

View File

@ -112,10 +112,6 @@
{% endif %}
<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') %}
<link rel="stylesheet" href="/h/{{sub}}/css" type="text/css">
{% endif %}