corrected some errors and fmtd
This commit is contained in:
parent
d1b9a48626
commit
ffc10a7059
|
@ -4,3 +4,4 @@ rsync -rv webpage django:/home/django/personalWebpage/
|
|||
ssh django "bash -s" <<EOF
|
||||
cd /home/django/personalWebpage/
|
||||
python3 manage.py collectstatic --noinput
|
||||
EOF
|
||||
|
|
|
@ -7,9 +7,3 @@ class Booksigner(models.Model):
|
|||
email = models.EmailField(blank=True, )
|
||||
comment = models.CharField(blank=True, max_length=500)
|
||||
hosting = models.CharField(max_length=10)
|
||||
""" def __str__(self) -> str:
|
||||
return self.name """
|
||||
""" if(strpos($_SERVER["HTTP_HOST"], ".onion")){ $hosting = "tor!";}
|
||||
elseif(strpos($_SERVER["HTTP_HOST"], ".i2p")){ $hosting = "i2p!";}
|
||||
elseif(strpos($_SERVER["HTTP_HOST"], ".fai")){ $hosting = "fai!";}
|
||||
else{$hosting = "???!";} """
|
|
@ -79,12 +79,13 @@
|
|||
What i am
|
||||
</h2>
|
||||
<p>
|
||||
A silly colection of bytes
|
||||
</p>
|
||||
<h2 id="where">
|
||||
Where to contact me
|
||||
</h2>
|
||||
<div class="centerade">
|
||||
<a href="xmpp:bizcochito@fai.st">
|
||||
{# djlint: ignore D018 #}<a href="xmpp:bizcochito@fai.st">
|
||||
<img style="border: 0px;
|
||||
height: 36px;
|
||||
width: auto"
|
||||
|
@ -107,7 +108,7 @@
|
|||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<a href="/">IDK return back</a>
|
||||
<a href="{% url "webpage:index" %}">IDK return back</a>
|
||||
</div>
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
</h2>
|
||||
<ul class="disclosure-closed">
|
||||
<li>
|
||||
<a href="signbook/">Signbook</a>
|
||||
<a href=" {% url 'webpage:signbook' %} ">Signbook</a>
|
||||
</li>
|
||||
</ul>
|
||||
<h2>
|
||||
|
@ -22,7 +22,7 @@
|
|||
</h2>
|
||||
<div class="img">
|
||||
{% for gif in banger_list %}
|
||||
<img style="max-height: 50px; width: auto" src="{% static "icons/banner/" %}{{ gif.name }}" alt="{{ gif.url }}" />
|
||||
<img style="max-height:50px;width:auto" src="{% static "icons/banner/" %}{{ gif.name }}" alt="{{ gif.url }}" />
|
||||
{% endfor %}
|
||||
</div>
|
||||
<h2>
|
||||
|
@ -30,7 +30,7 @@
|
|||
</h2>
|
||||
<div class="img">
|
||||
{% for gif in gif_list %}
|
||||
<img style="max-height: 50px; width: auto" src="{% static "icons/gif/" %}{{ gif.name }}" alt="{{ gif.url }}" />
|
||||
<img style="max-height:50px;width:auto" src="{% static "icons/gif/" %}{{ gif.name }}" alt="{{ gif.url }}" />
|
||||
{% endfor %}
|
||||
</div>
|
||||
<h2>
|
||||
|
@ -39,7 +39,7 @@
|
|||
<div class="img">
|
||||
{% for banner in banner_list %}
|
||||
<a href="https://{{ banner.url }}">
|
||||
<img style="height: 31px; width: auto" src="{% static "icons/88x31/" %}{{ banner.name }}" alt="{{ banner.url }}" />
|
||||
<img style="height:31px; width:81px" src="{% static "icons/88x31/" %}{{ banner.name }}" alt="{{ banner.url }}" />
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
@ -48,7 +48,10 @@
|
|||
</h2>
|
||||
<div class="img">
|
||||
<a href="">
|
||||
<img src="{% static 'icons/coconut.png' %}" alt="cronut.cafe/~bizcochito" />
|
||||
<img style="height:33px;
|
||||
width:81px"
|
||||
src="{% static 'icons/coconut.png' %}"
|
||||
alt="cronut.cafe/~bizcochito" />
|
||||
</a>
|
||||
</div>
|
||||
<h2>
|
||||
|
@ -56,13 +59,16 @@
|
|||
</h2>
|
||||
<div class="img">
|
||||
<a href="https://yari.fai.st">
|
||||
<img src="{% static 'icons/bizcochito.gif' %}" alt="yari.fai.st" />
|
||||
<img style="height:33px;
|
||||
width:81px"
|
||||
src="{% static 'icons/bizcochito.gif' %}"
|
||||
alt="yari.fai.st" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="centerade">
|
||||
<a>
|
||||
<img src="{% static "ads/hor/" %}{{ ad }}" />
|
||||
<img src="{% static "ads/hor/" %}{{ ad }}" alt="ad" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
import os
|
||||
import random
|
||||
|
||||
from django.forms import ValidationError
|
||||
from django.http import HttpResponseNotFound, HttpResponseRedirect
|
||||
from django.http import HttpResponseNotFound
|
||||
from django.shortcuts import render
|
||||
import os, random
|
||||
|
||||
from .models import Booksigner
|
||||
from .forms import SignbookForm
|
||||
|
|
Loading…
Reference in New Issue