|
18 | 18 | required |
19 | 19 | type="text" |
20 | 20 | 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"> |
22 | 22 | </div> |
23 | 23 | <div class="flex flex-col gap-1"> |
24 | 24 | <label for="description" class="font-bold">Project description</label> |
|
79 | 79 | type="text" |
80 | 80 | placeholder="https://github.com/username/project" |
81 | 81 | 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"> |
83 | 83 | </div> |
84 | 84 | <div class="flex flex-col gap-1"> |
85 | 85 | <label for="playable_url" class="font-bold">Playable URL</label> |
|
88 | 88 | type="text" |
89 | 89 | placeholder="{% if project.project_type == 'hardware' %}https://youtube.com/watch?v=abcdef{% else %}https://myapp.website.com{% endif %}" |
90 | 90 | 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"> |
92 | 92 | </div> |
93 | 93 | <div class="flex flex-col gap-1"> |
94 | 94 | <label for="screenshot" class="font-bold">Screenshot</label> |
95 | 95 | {% if project.screenshot_url %} |
96 | 96 | <img id="screenshot_preview" |
97 | 97 | src="{{ project.screenshot_url }}" |
98 | 98 | 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"> |
100 | 100 | {% else %} |
101 | 101 | <img id="screenshot_preview" |
102 | 102 | src="data:image/gif;base64,R0lGODlhAQABAIAAAOXl5eXl5SH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" |
103 | 103 | 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"> |
105 | 105 | {% endif %} |
106 | 106 | <input id="screenshot" |
107 | 107 | type="file" |
108 | 108 | 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"> |
110 | 110 | <span class="text-xs text-muted-foreground">or paste an image anywhere on this page</span> |
111 | 111 | <span id="screenshot_status" class="text-xs text-muted-foreground"></span> |
112 | 112 | <input id="screenshot_url" |
113 | 113 | name="screenshot_url" |
114 | 114 | type="hidden" |
115 | | - value="{{ project.screenshot_url }}" /> |
| 115 | + value="{{ project.screenshot_url }}"> |
116 | 116 | </div> |
117 | 117 | <div class="pt-2"> |
118 | 118 | <button type="submit" |
|
0 commit comments