diff --git a/idre/urls.py b/idre/urls.py index 31860db..4671e56 100644 --- a/idre/urls.py +++ b/idre/urls.py @@ -5,7 +5,6 @@ from django.urls import path from idre.views import about_view import label.urls -import news.urls admin.autodiscover() @@ -14,15 +13,9 @@ admin.autodiscover() urlpatterns = [ path("about/", about_view, name="about"), path("admin/", admin.site.urls), - *news.urls.urlpatterns, *label.urls.urlpatterns, ] - # [ url(r"^about/$", idre.views.about_view, name="about") ] + - # label.urls.urlpatterns + - # news.urls.urlpatterns + - # [ url(r"^admin/", include(admin.site.urls)) ] - if settings.DEBUG: urlpatterns += static( diff --git a/label/static/label/css/artist.css b/label/static/label/css/artist.css deleted file mode 100644 index 5dc6b2b..0000000 --- a/label/static/label/css/artist.css +++ /dev/null @@ -1,56 +0,0 @@ -#content { - text-align: center; -} - - - -.logo { - max-width: 300px; - max-height: 300px; - border-radius: 5px; - background-color: white; -} - -.minilogo { - width: 16px; - height: 16px; -} - - -#infos { - margin: auto; -} - -#infos #left, #infos #right { - width: 50%; - padding: 10px; - vertical-align: top; -} - -#infos #left { - text-align: right; -} - -#infos #right { - text-align: left; -} - - - -#releases { - /*margin: auto;*/ -} - -#releases td { - padding-left: 10px; - padding-right: 10px; -} - -.release { - /*-o-transition: .5s;*/ - /*-ms-transition: .5s;*/ - /*-moz-transition: .5s;*/ - /*-webkit-transition: .5s;*/ - /*transition: .5s;*/ -} - diff --git a/label/static/label/css/artists.css b/label/static/label/css/artists.css deleted file mode 100644 index 9e456a3..0000000 --- a/label/static/label/css/artists.css +++ /dev/null @@ -1,73 +0,0 @@ -#content { - text-align: center; -} - -#content > h1 { - margin-bottom: 0; -} - -#content > p { - margin-top: 0; -} - -.artists { - width: 700px; - margin: auto; -} - -.artists .artist { - width: 160px; - position: relative; - margin: 5px; - display: inline-block; - line-height: 1.5em; -} - -.artists .artist a { - color: #929292; - text-decoration: none; - transition: 0.3s; -} - -@keyframes logoslide { - 0% { background-position: 0%; } - 33% { background-position: 100%; } - 66% { background-position: 100%; } - 100% { background-position: 0%; } -} - -.artists .artist .logo { - height: 160px; - width: 160px; - background-color: white; - background-size: auto 100%; - background-position: 0%; - border: none; - border-radius: 5px; -} - -.artists .artist-genre { - display: flex; - align-items: end; - position: absolute; - top: 0px; - left: 0px; - height: 150px; - width: 150px; - padding: 5px; - justify-content: center; - background-image: linear-gradient(rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.6)); - border-radius: 5px; - color: white; - opacity: 0; - transition: 0.3s; - pointer-events: none; -} - -.artists .artist .logo:hover { - animation: logoslide 3s; -} - -.artists .artist .logo:hover ~ .artist-genre { - opacity: 1; -} diff --git a/label/static/label/css/release.css b/label/static/label/css/release.css deleted file mode 100644 index d9e4fe1..0000000 --- a/label/static/label/css/release.css +++ /dev/null @@ -1,35 +0,0 @@ -#content { - text-align: center; -} - - -.logo { - max-width: 300px; - max-height: 300px; - border-radius: 5px; -} - -.minilogo { - width: 16px; - height: 16px; -} - - -#infos { - margin: auto; -} - -#infos #left, -#infos #right { - width: 50%; - padding: 10px; - vertical-align: top; -} - -#infos #left { - text-align: right; -} - -#infos #right { - text-align: left; -} \ No newline at end of file diff --git a/label/static/label/css/releases.css b/label/static/label/css/releases.css deleted file mode 100644 index c4021b2..0000000 --- a/label/static/label/css/releases.css +++ /dev/null @@ -1,39 +0,0 @@ -#content { - display: flex; - flex-direction: column; - width: 100%; -} - -.release { - display: flex; - align-items: top; - margin-bottom: 20px; - height: 120px; - transition: height .5s ease-in-out; -} - -.release:hover { - height: 300px; -} - -.release .cover { - flex-shrink: 0; - width: 300px; - background-size: cover; - cursor: pointer; -} - -.release .infos { - margin-top: 10px; - margin-left: 10px; -} - -.release .infos p { - margin: 0; -} - -.release .infos .title { - width: 100%; - font-weight: bold; - font-size: 1.4em; -} diff --git a/label/static/label/css/videos.css b/label/static/label/css/videos.css deleted file mode 100644 index c1eced8..0000000 --- a/label/static/label/css/videos.css +++ /dev/null @@ -1,11 +0,0 @@ -#content { - text-align: center; -} - -.video h2 { - margin-bottom: 0; -} - -.video .embed { - margin: 1em; -} diff --git a/label/templates/label/artist.html b/label/templates/label/artist.html deleted file mode 100644 index 15ee629..0000000 --- a/label/templates/label/artist.html +++ /dev/null @@ -1,84 +0,0 @@ -{% extends "base.html" %} -{% load static %} - - -{% block stylesheets %} - -{% endblock %} - - -{% block content %} - -
-
- - - - - |
-
-
-
- {% if artist.url_bandcamp or artist.url_soundcloud %}
-
- {% if artist.url_bandcamp %}
-
-
- bandcamp
-
- {{ artist.name }} plays {{ artist.genre }}. - {% endif %} - - - {% if artist.description %} - {% autoescape off %} - {{ artist.description }} - {% endautoescape %} - {% endif %} - - - {% if releases %} -
|
-
-
Side projects, one-off collabs, acts of the past, shameless shitposting
- -
-
- {% if release.embed %}
- {% autoescape off %}
- {{ release.embed }}
- {% endautoescape %}
- {% else %}
- - - - {% endif %} - - |
-
- - - {% if release.description %} - {% autoescape off %} - {{ release.description }} - {% endautoescape %} - {% endif %} - - | - -
- -
- {% endif %} - -{% endif %} - -{% endblock %} diff --git a/label/templates/label/videos.html b/label/templates/label/videos.html deleted file mode 100644 index 10f48a9..0000000 --- a/label/templates/label/videos.html +++ /dev/null @@ -1,25 +0,0 @@ -{% extends "base.html" %} -{% load static %} - - -{% block stylesheets %} - -{% endblock %} - - -{% block content %} -{% for video in videos %} -