forked from rDrama/rDrama
fix
parent
358e0fde83
commit
7ee9273b2c
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
{% block subHeader %}
|
{% block subHeader %}
|
||||||
<div class="relative max-w-screen-2xl mx-auto px-4 py-4 grid grid-cols-12 rounded-t">
|
<div class="relative max-w-screen-2xl mx-auto px-4 py-4 grid grid-cols-12 rounded-t">
|
||||||
<div class="absolute top-0 left-0 w-full h-full bg-gradient-to-t from-gray-300 to-gray-200 rounded-t sub-header-shadow"></div>
|
<div class="absolute top-0 left-0 w-full h-full bg-gradient-to-t from-gray-300 to-gray-200 dark:bg-none dark:bg-gray-800 rounded-t sub-header-shadow dark:border-b dark:border-gray-700"></div>
|
||||||
<div class="relative col-span-full flex items-center">
|
<div class="relative col-span-full flex items-center">
|
||||||
<div>
|
<div>
|
||||||
<h1 class="font-bold text-xl font-heading leading-normal mb-0">
|
<h1 class="font-bold text-xl font-heading leading-normal mb-0">
|
||||||
Create post
|
Create post
|
||||||
</h1>
|
</h1>
|
||||||
<small class="block text-gray-700">
|
<small class="block text-gray-700 dark:text-gray-400">
|
||||||
Share drama with the community.
|
Share drama with the community.
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
|
@ -29,14 +29,14 @@
|
||||||
|
|
||||||
<div class="flex items-center mb-4">
|
<div class="flex items-center mb-4">
|
||||||
<img src="{{ v.profile_url }}" class="w-8 h-8 object-cover rounded" alt="My avatar"/>
|
<img src="{{ v.profile_url }}" class="w-8 h-8 object-cover rounded" alt="My avatar"/>
|
||||||
<div class="text-lg text-black font-bold pl-2">{{ v.username }}</div>
|
<div class="text-lg font-bold pl-2">{{ v.username }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<form id="submitform" action="/submit" method="post" enctype="multipart/form-data" class="flex flex-col space-y-6">
|
<form id="submitform" action="/submit" method="post" enctype="multipart/form-data" class="flex flex-col space-y-6">
|
||||||
|
|
||||||
<!-- Post title field section -->
|
<!-- Post title field section -->
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<label for="post-title" class="label text-black">Title</label>
|
<label for="post-title" class="label text-black dark:text-gray-200">Title</label>
|
||||||
<div>
|
<div>
|
||||||
<!-- Input field -->
|
<!-- Input field -->
|
||||||
<input class="form-input" id="post-title" aria-describedby="titleHelpRegister" type="text" name="title" placeholder="rdrama.net is one of the most malevolent, cruel, coldhearted online communities you'll ever find" value="{{title}}" minlength="1" maxlength="500" required oninput="checkForRequired()">
|
<input class="form-input" id="post-title" aria-describedby="titleHelpRegister" type="text" name="title" placeholder="rdrama.net is one of the most malevolent, cruel, coldhearted online communities you'll ever find" value="{{title}}" minlength="1" maxlength="500" required oninput="checkForRequired()">
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
<!-- Link field section -->
|
<!-- Link field section -->
|
||||||
<div id="urlblock" class="flex flex-col">
|
<div id="urlblock" class="flex flex-col">
|
||||||
<label for="url" class="label text-black">
|
<label for="url" class="label text-black dark:text-gray-200">
|
||||||
Link
|
Link
|
||||||
<span class="italic text-sm font-normal text-gray-500">(optional if you have text)</span>
|
<span class="italic text-sm font-normal text-gray-500">(optional if you have text)</span>
|
||||||
</label>
|
</label>
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
|
|
||||||
<!-- Attachment field section -->
|
<!-- Attachment field section -->
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<label for="file" class="label text-black">
|
<label for="file" class="label text-black dark:text-gray-200">
|
||||||
Image or Video
|
Image or Video
|
||||||
<span class="italic text-sm font-normal text-gray-500">(optional)</span>
|
<span class="italic text-sm font-normal text-gray-500">(optional)</span>
|
||||||
</label>
|
</label>
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
|
|
||||||
<!-- Link field section -->
|
<!-- Link field section -->
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<label for="body" class="label text-black">
|
<label for="body" class="label text-black dark:text-gray-200">
|
||||||
Post
|
Post
|
||||||
<span class="italic text-sm font-normal text-gray-500">(optional if you have a link)</span>
|
<span class="italic text-sm font-normal text-gray-500">(optional if you have a link)</span>
|
||||||
</label>
|
</label>
|
||||||
|
|
Loading…
Reference in New Issue