Skip to content

Commit ef7d483

Browse files
committed
Remove self-closing endings from void tags
1 parent b65fe6a commit ef7d483

8 files changed

Lines changed: 22 additions & 22 deletions

File tree

twisted/common/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
{% tailwind_css %}
66
{% block head %}
77
{% endblock head %}
8-
<link rel="icon" href="{% static 'favicon.png' %}" />
8+
<link rel="icon" href="{% static 'favicon.png' %}">
99
<title>Twisted</title>
1010
</head>
1111
<body class="font-vintage os">

twisted/twisted_site/templates/client/dashboard.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<main class="h-full w-full bg-gradbg text-foreground overflow-clip">
55
<img src="{% static 'images/twisted_logo.png' %}"
66
alt=""
7-
class="fixed inset-0 z-0 bg-[url('static/images/twisted_logo.png')] pointer-events-none select-none my-auto justify-self-center opacity-60 bg-contain bg-scale scale-95 drop-shadow-lg shadow-primary" />
7+
class="fixed inset-0 z-0 bg-[url('static/images/twisted_logo.png')] pointer-events-none select-none my-auto justify-self-center opacity-60 bg-contain bg-scale scale-95 drop-shadow-lg shadow-primary">
88
<div class="relative z-10">
99
<div class="flex flex-col flex-wrap content-start gap-3 w-full h-full overflow-y-hidden p-5">
1010
{% if user.profile.is_staff %}
@@ -67,7 +67,7 @@
6767
<div class="text-center mb-3 rounded-lg">
6868
<img src="{{ user.profile.slack_pfp_url }}"
6969
alt=""
70-
class="w-16 h-16 rounded-lg object-cover mx-auto mb-1 -mt-12 border-2 border-border shadow-lg" />
70+
class="w-16 h-16 rounded-lg object-cover mx-auto mb-1 -mt-12 border-2 border-border shadow-lg">
7171
<div class="text-absolute-white font-bold text-sm font-vintage">
7272
{{ profile.slack_username|default:user.username }}
7373
</div>
@@ -185,7 +185,7 @@
185185
</div>
186186
</template>
187187
<audio id="bg-music" loop>
188-
<source src="{% static 'audio/bg.mp3' %}" type="audio/mpeg" />
188+
<source src="{% static 'audio/bg.mp3' %}" type="audio/mpeg">
189189
</audio>
190190
<template id="taskbutton-template">
191191
<button type="button"

twisted/twisted_site/templates/client/osbase.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<html lang="en" class="os w-full h-full bg-[#1E072F]">
44
<head>
55
{% tailwind_css %}
6-
<link rel="icon" href="{% static 'favicon.png' %}" />
6+
<link rel="icon" href="{% static 'favicon.png' %}">
77
<link rel="stylesheet"
88
href="/twisted/tailwindcsstheme/static/css/dist/styles.css">
99
<title>Twisted</title>

twisted/twisted_site/templates/client/projects/detail.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{% load static time_filters humanize %}
33
{% block body %}
44
<div class="flex h-full w-full flex-col bg-surface font-vintage text-foreground">
5-
<input type="hidden" value="{{ project.project_name }}" id="project-title" />
5+
<input type="hidden" value="{{ project.project_name }}" id="project-title">
66
<div class="shrink-0 border-b border-border bg-card p-3">
77
<div class="flex flex-wrap items-start gap-3">
88
<div class="min-w-0 flex-1">
@@ -177,7 +177,7 @@ <h1 class="wrap-break-word text-xl font-bold">{{ project.project_name }}</h1>
177177
<img draggable="false"
178178
class="image-render-pixelated h-full w-full"
179179
src="{% static 'icons/delete.png' %}"
180-
alt="Delete" />
180+
alt="Delete">
181181
</button>
182182
{% endif %}
183183
<button type="button"
@@ -186,7 +186,7 @@ <h1 class="wrap-break-word text-xl font-bold">{{ project.project_name }}</h1>
186186
<img draggable="false"
187187
class="image-render-pixelated h-full w-full"
188188
src="{% static 'icons/edit.png' %}"
189-
alt="Edit" />
189+
alt="Edit">
190190
</button>
191191
</div>
192192
{% endif %}

twisted/twisted_site/templates/client/projects/journal/new_untracked.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
min="0"
1818
max="{{ max_mins }}"
1919
class="no-spinner! text-right border border-border p-1"
20-
oninput="if(Number(this.value) > {{ max_mins }}) this.value = {{ max_mins }};" />
20+
oninput="if(Number(this.value) > {{ max_mins }}) this.value = {{ max_mins }};">
2121
minutes
2222
</div>
2323
{% endblock preform %}

twisted/twisted_site/templates/client/projects/settings.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
required
1919
type="text"
2020
value="{{ project.project_name }}"
21-
class="w-full bg-card text-card-foreground border border-border px-2 py-1 focus:outline-none focus:ring-1 focus:ring-ring" />
21+
class="w-full bg-card text-card-foreground border border-border px-2 py-1 focus:outline-none focus:ring-1 focus:ring-ring">
2222
</div>
2323
<div class="flex flex-col gap-1">
2424
<label for="description" class="font-bold">Project description</label>
@@ -79,7 +79,7 @@
7979
type="text"
8080
placeholder="https://github.com/username/project"
8181
value="{{ project.repo_url }}"
82-
class="w-full bg-card text-card-foreground border border-border px-2 py-1 focus:outline-none focus:ring-1 focus:ring-ring" />
82+
class="w-full bg-card text-card-foreground border border-border px-2 py-1 focus:outline-none focus:ring-1 focus:ring-ring">
8383
</div>
8484
<div class="flex flex-col gap-1">
8585
<label for="playable_url" class="font-bold">Playable URL</label>
@@ -88,31 +88,31 @@
8888
type="text"
8989
placeholder="{% if project.project_type == 'hardware' %}https://youtube.com/watch?v=abcdef{% else %}https://myapp.website.com{% endif %}"
9090
value="{{ project.playable_url }}"
91-
class="w-full bg-card text-card-foreground border border-border px-2 py-1 focus:outline-none focus:ring-1 focus:ring-ring" />
91+
class="w-full bg-card text-card-foreground border border-border px-2 py-1 focus:outline-none focus:ring-1 focus:ring-ring">
9292
</div>
9393
<div class="flex flex-col gap-1">
9494
<label for="screenshot" class="font-bold">Screenshot</label>
9595
{% if project.screenshot_url %}
9696
<img id="screenshot_preview"
9797
src="{{ project.screenshot_url }}"
9898
alt="Project screenshot"
99-
class="max-h-48 w-auto border border-border object-contain bg-card" />
99+
class="max-h-48 w-auto border border-border object-contain bg-card">
100100
{% else %}
101101
<img id="screenshot_preview"
102102
src="data:image/gif;base64,R0lGODlhAQABAIAAAOXl5eXl5SH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
103103
alt=""
104-
class="hidden max-h-48 w-auto border border-border object-contain bg-card" />
104+
class="hidden max-h-48 w-auto border border-border object-contain bg-card">
105105
{% endif %}
106106
<input id="screenshot"
107107
type="file"
108108
accept="image/*"
109-
class="w-full bg-card text-card-foreground border border-border px-2 py-1 focus:outline-none focus:ring-1 focus:ring-ring" />
109+
class="w-full bg-card text-card-foreground border border-border px-2 py-1 focus:outline-none focus:ring-1 focus:ring-ring">
110110
<span class="text-xs text-muted-foreground">or paste an image anywhere on this page</span>
111111
<span id="screenshot_status" class="text-xs text-muted-foreground"></span>
112112
<input id="screenshot_url"
113113
name="screenshot_url"
114114
type="hidden"
115-
value="{{ project.screenshot_url }}" />
115+
value="{{ project.screenshot_url }}">
116116
</div>
117117
<div class="pt-2">
118118
<button type="submit"

twisted/twisted_site/templates/cotton/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
crossorigin="anonymous"></script>
1111
{% tailwind_css %}
1212
<title>Admin - Twisted</title>
13-
<link rel="icon" href="{% static 'favicon.png' %}" />
13+
<link rel="icon" href="{% static 'favicon.png' %}">
1414
{{ head }}
1515
</head>
1616
<body class="dark bg-[#09090B] text-white font-latin"

twisted/twisted_site/templates/cotton/sidebar/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div>
77
<img src="{% static 'favicon.png' %}"
88
class="size-10 rounded-xl my-auto"
9-
alt="Twisted logo" />
9+
alt="Twisted logo">
1010
</div>
1111
<label class="text-lg my-auto">
1212
Twisted
@@ -19,7 +19,7 @@
1919
<c-ui.button size="xs" variant="ghost" @click="drawerOpen = true">
2020
<img src="https://icons.hackclub.com/api/icons/white/align-left"
2121
class="size-10"
22-
alt="Open menu" />
22+
alt="Open menu">
2323
</c-ui.button>
2424
</div>
2525
<c-slot name="content">
@@ -29,7 +29,7 @@
2929
<div class="flex p-2">
3030
<img class="size-8 rounded-full"
3131
src="{{ request.user.profile.slack_pfp_url }}"
32-
alt="" />
32+
alt="">
3333
<label class="my-auto ml-2">@{{ request.user.profile.slack_username }}</label>
3434
</div>
3535
</c-slot>
@@ -39,7 +39,7 @@
3939
<div>
4040
<img src="{% static 'favicon.png' %}"
4141
class="size-10 rounded-xl my-auto"
42-
alt="Twisted logo" />
42+
alt="Twisted logo">
4343
</div>
4444
<div class="flex flex-col my-auto">
4545
<label class="text-lg">Twisted</label>
@@ -54,7 +54,7 @@
5454
<div class="flex p-2">
5555
<img class="size-8 rounded-full"
5656
src="{{ request.user.profile.slack_pfp_url }}"
57-
alt="" />
57+
alt="">
5858
<label class="my-auto ml-2">@{{ request.user.profile.slack_username }}</label>
5959
</div>
6060
</div>

0 commit comments

Comments
 (0)