From 97658ea72623d8299becbdab29c8270a8ec9de0a Mon Sep 17 00:00:00 2001 From: Adrien Abraham Date: Thu, 14 Sep 2023 22:34:18 +0200 Subject: [PATCH] releases: handle bandcamp page --- .gitignore | 6 ++--- idre/static/css/base.css | 17 ++++++++++++++ .../img/bandcamp-button-square-aqua-128.png | Bin 0 -> 2896 bytes idre/static/img/bandcamp_logo.png | Bin 9458 -> 0 bytes idre/static/img/soundcloud_logo.png | Bin 1799 -> 0 bytes label/migrations/0007_auto_20230914_2147.py | 22 ++++++++++++++++++ label/models.py | 3 ++- label/templates/label/releases.html | 8 +++++++ label/views.py | 1 + 9 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 idre/static/img/bandcamp-button-square-aqua-128.png delete mode 100644 idre/static/img/bandcamp_logo.png delete mode 100644 idre/static/img/soundcloud_logo.png create mode 100644 label/migrations/0007_auto_20230914_2147.py diff --git a/.gitignore b/.gitignore index 4ca0ce7..3240ecc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ __pycache__/ -idre/settings.py -static/ -media/ +/idre/settings.py +/static/ +/media/ diff --git a/idre/static/css/base.css b/idre/static/css/base.css index 3fc6e9a..09d3080 100644 --- a/idre/static/css/base.css +++ b/idre/static/css/base.css @@ -72,6 +72,7 @@ body { .release-infos .title { margin: 0; font-size: 1.5em; + line-height: 1.1em; } .release-infos .contributors, @@ -109,6 +110,22 @@ body { .release-infos .extras { font-size: 1.4em; } + + .release-links { + position: absolute; + bottom: -1.5em; + height: 3em; + width: 100%; + display: flex; + justify-content: center; + gap: 0.5em; + } + + .release-link img { + max-width: 3em; + border: 2px solid white; + border-radius: 0.5em; + } } @keyframes fadeColor { diff --git a/idre/static/img/bandcamp-button-square-aqua-128.png b/idre/static/img/bandcamp-button-square-aqua-128.png new file mode 100644 index 0000000000000000000000000000000000000000..cec2a475d9b90fa4bded1299ddd8d205901ab5e3 GIT binary patch literal 2896 zcmdUx`9IT-1IORyzR$=t5m7{u*cfx=9;GOoA(W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C+O$j4&wNc=z;^NiE-8Ke}6wW2OnQ|DgXcg07*qoM6N<$ Eg60zRp#T5? diff --git a/idre/static/img/soundcloud_logo.png b/idre/static/img/soundcloud_logo.png deleted file mode 100644 index 81a3a4468e532c9c6d02fcca8f68d37d4bd68cc1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1799 zcmW+%YgAKL7Cy<%3%JA}5^i{u&;arXdLc|z&?Z3)p#`MWvEaDi8Zau;RsjowLT(Tu zh>N#v5E)*+N*M-xqExvU6y#AD+G$Z&1vIt322uwkO30l{f9$i@I_rFU@AIv1?_ClX z8)PK?lCeh~BL|?f?8xFL z)ys$!Wqb?(x!wTaM*(Hs$3Yu8l46vlauBwd0)1^H|9AbYx)k*80m!ODW6|| zXrFq^XDppmDqqtabwCn~2BCvA$h^pYp1k_-kTyJh`6;mL5mi^XK!*PQ#<9jP&PX~@ z)W$yuMgO-0@A@-VgEX4d9HEc*Xq)~hzski@Rc7+{Fvu_}y)9g`T%3uV?IGdh$zaQ# z-?W$^Yi*H07~D7V^R0-t1Sg9544Qi>_I3`mUw+I{@Mh8~kBhu=B zFlDEB8#ImA8{3Xm+2uoy(;mf}C~8J@GWPfRoS%GIC8C4^dZ@0l*8Q0%hUJq8DJz1Z zqxD7hEBi^$BD?KGz+Iv(b;R^{GL@zHps_z;JyFIkGLl>WMPwB$*Hx-g=rqYv32L=y zmC?e_prgm5;vuAu2!F8__0n56nSe2DP`;l@b-U{Yolk)V`fvveS`LJW*fbG_#Hp**Th`7{ZH&W+e|1 zz4TTJwvx9SGfqLF4CAL+N-j7LWfjkAUy;PBk-lF0bfjtg-B6e=xm!&Mj(NG(zA}@_ z?m&kt;>-&#HW+%c|ArtNas)^YLwk#T7UCYbO>>TD+zUFJJ~0d!Rt$R|$0E^-=>_gg zzp_LkS8gFal7lSQyN*py{#eJmWPN|-GKWJnuk-XvuGMHq&8I)5m@|KOL**_KOI}8` zcG}>o3^y8S{59oT??yMYa6(``{oo$a_Qf5O2l727))efq<1Xy$zwR+F&VA59yko#o zHY`OtR`w2R{X_4NC3jzLjr%;?{H3Cr*-$PVJ?=6U();w(fN9}P4)!JW`DoXjdduM@ z#%WeU$Ug9 z_<&w)^Bx_wl-EvA);Ysu(uXSZBJWwIg0Gv5yhgWoVw92(x{ptfo~)L=T@8~Tf+zC> zKG+2l^pcHf8Lbt!z{{EjsUY8Dk}KY76yzs|+CC+3W;5G#w3oFa-k-QG{7>+ORm_uBLJuqJY9PLk zzSB^U0V~}zRJ&D&`mfEkqZH?ko+9;#U78n44_soN)sV;7NY})Yy`L4SU61=MuJDQ{ zE%M88SZ;5cJbl>KZ~qw8iM_5~33ai)A)=YPymnign6(+{cR0TR22bpaj^F(F&neRD zX4((jz(?6IH3UivmSp}F?Qh6k>sie-I)_jHi_E!}mN<@7Zdsaf;7Fk=_vI-o?^eUV z;FVL{&-FFnA;Kpviv|hV{6SjVb88Rt=dgZ3f^`9ZS0t2EJI3wV%mx`w16d^!$W;+? QlUiCJYD;WHdpK6`f7{mbUjP6A diff --git a/label/migrations/0007_auto_20230914_2147.py b/label/migrations/0007_auto_20230914_2147.py new file mode 100644 index 0000000..94b6519 --- /dev/null +++ b/label/migrations/0007_auto_20230914_2147.py @@ -0,0 +1,22 @@ +# Generated by Django 3.2.21 on 2023-09-14 19:47 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('label', '0006_auto_20220117_1636'), + ] + + operations = [ + migrations.RemoveField( + model_name='release', + name='embed', + ), + migrations.AddField( + model_name='release', + name='url_bandcamp', + field=models.URLField(blank=True), + ), + ] diff --git a/label/models.py b/label/models.py index 02e8ab0..083ba8d 100644 --- a/label/models.py +++ b/label/models.py @@ -46,6 +46,7 @@ class Release(models.Model): year: year of release cover: image file associated to this release released: show this release publicly + url_bandcamp: link to the release """ TYPE_HINT = 'full-length (0), EP (1), Split (2), Démo (3)' @@ -57,9 +58,9 @@ class Release(models.Model): release_type = models.IntegerField(default=0, help_text=TYPE_HINT) cover = models.ImageField(upload_to='releases') year = models.IntegerField() - embed = models.TextField(blank=True, help_text=EMBED_HINT) description = models.TextField(blank=True) released = models.BooleanField(default=False) + url_bandcamp = models.URLField(blank=True) def __str__(self): return self.title diff --git a/label/templates/label/releases.html b/label/templates/label/releases.html index 42a22cc..689ee13 100644 --- a/label/templates/label/releases.html +++ b/label/templates/label/releases.html @@ -27,6 +27,14 @@ {{ release.tag }} — {{ release.year }}

+ + diff --git a/label/views.py b/label/views.py index c7e0c63..950be44 100644 --- a/label/views.py +++ b/label/views.py @@ -42,6 +42,7 @@ def releases_view(request): 'contribs': get_contribs(release.contributors.all()), 'year': release.year, 'cover': release.cover, + 'url_bandcamp': release.url_bandcamp, }) context = {'releases': releases_and_infos}