mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-22 16:51:09 -05:00
151 lines
8.8 KiB
HTML
151 lines
8.8 KiB
HTML
<div class="grid grid-cols-1 gap-6 md:grid-cols-2">
|
|
<!-- Left Column -->
|
|
<div class="space-y-6">
|
|
<div>
|
|
<label for="id_height_ft" class="block mb-1 text-sm font-medium text-gray-700 dark:text-gray-300">
|
|
Height (ft)
|
|
</label>
|
|
<input type="number"
|
|
name="stats.height_ft"
|
|
id="id_height_ft"
|
|
class="w-full border-gray-300 rounded-lg form-input dark:border-gray-600 dark:bg-gray-700 dark:text-white"
|
|
placeholder="Total height of the coaster in feet"
|
|
min="0"
|
|
value="{{ stats.height_ft }}">
|
|
</div>
|
|
<div>
|
|
<label for="id_length_ft" class="block mb-1 text-sm font-medium text-gray-700 dark:text-gray-300">
|
|
Length (ft)
|
|
</label>
|
|
<input type="number"
|
|
name="stats.length_ft"
|
|
id="id_length_ft"
|
|
class="w-full border-gray-300 rounded-lg form-input dark:border-gray-600 dark:bg-gray-700 dark:text-white"
|
|
placeholder="Total track length in feet"
|
|
min="0"
|
|
value="{{ stats.length_ft }}">
|
|
</div>
|
|
<div>
|
|
<label for="id_speed_mph" class="block mb-1 text-sm font-medium text-gray-700 dark:text-gray-300">
|
|
Speed (mph)
|
|
</label>
|
|
<input type="number"
|
|
name="stats.speed_mph"
|
|
id="id_speed_mph"
|
|
class="w-full border-gray-300 rounded-lg form-input dark:border-gray-600 dark:bg-gray-700 dark:text-white"
|
|
placeholder="Maximum speed in miles per hour"
|
|
min="0"
|
|
value="{{ stats.speed_mph }}">
|
|
</div>
|
|
<div>
|
|
<label for="id_inversions" class="block mb-1 text-sm font-medium text-gray-700 dark:text-gray-300">
|
|
Inversions
|
|
</label>
|
|
<input type="number"
|
|
name="stats.inversions"
|
|
id="id_inversions"
|
|
class="w-full border-gray-300 rounded-lg form-input dark:border-gray-600 dark:bg-gray-700 dark:text-white"
|
|
placeholder="Number of inversions"
|
|
min="0"
|
|
value="{{ stats.inversions }}">
|
|
</div>
|
|
<div>
|
|
<label for="id_trains_count" class="block mb-1 text-sm font-medium text-gray-700 dark:text-gray-300">
|
|
Number of Trains
|
|
</label>
|
|
<input type="number"
|
|
name="stats.trains_count"
|
|
id="id_trains_count"
|
|
class="w-full border-gray-300 rounded-lg form-input dark:border-gray-600 dark:bg-gray-700 dark:text-white"
|
|
placeholder="Number of trains"
|
|
min="0"
|
|
value="{{ stats.trains_count }}">
|
|
</div>
|
|
<div>
|
|
<label for="id_cars_per_train" class="block mb-1 text-sm font-medium text-gray-700 dark:text-gray-300">
|
|
Cars per Train
|
|
</label>
|
|
<input type="number"
|
|
name="stats.cars_per_train"
|
|
id="id_cars_per_train"
|
|
class="w-full border-gray-300 rounded-lg form-input dark:border-gray-600 dark:bg-gray-700 dark:text-white"
|
|
placeholder="Number of cars per train"
|
|
min="0"
|
|
value="{{ stats.cars_per_train }}">
|
|
</div>
|
|
<div>
|
|
<label for="id_seats_per_car" class="block mb-1 text-sm font-medium text-gray-700 dark:text-gray-300">
|
|
Seats per Car
|
|
</label>
|
|
<input type="number"
|
|
name="stats.seats_per_car"
|
|
id="id_seats_per_car"
|
|
class="w-full border-gray-300 rounded-lg form-input dark:border-gray-600 dark:bg-gray-700 dark:text-white"
|
|
placeholder="Number of seats per car"
|
|
min="0"
|
|
value="{{ stats.seats_per_car }}">
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Right Column -->
|
|
<div class="space-y-6">
|
|
<div>
|
|
<label for="id_track_material" class="block mb-1 text-sm font-medium text-gray-700 dark:text-gray-300">
|
|
Track Material
|
|
</label>
|
|
<select name="stats.track_material"
|
|
id="id_track_material"
|
|
class="w-full border-gray-300 rounded-lg form-select dark:border-gray-600 dark:bg-gray-700 dark:text-white">
|
|
<option value="">Select track material...</option>
|
|
<option value="STEEL" {% if stats.track_material == 'STEEL' %}selected{% endif %}>Steel</option>
|
|
<option value="WOOD" {% if stats.track_material == 'WOOD' %}selected{% endif %}>Wood</option>
|
|
<option value="HYBRID" {% if stats.track_material == 'HYBRID' %}selected{% endif %}>Hybrid</option>
|
|
<option value="OTHER" {% if stats.track_material == 'OTHER' %}selected{% endif %}>Other</option>
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<label for="id_roller_coaster_type" class="block mb-1 text-sm font-medium text-gray-700 dark:text-gray-300">
|
|
Coaster Type
|
|
</label>
|
|
<select name="stats.roller_coaster_type"
|
|
id="id_roller_coaster_type"
|
|
class="w-full border-gray-300 rounded-lg form-select dark:border-gray-600 dark:bg-gray-700 dark:text-white">
|
|
<option value="">Select coaster type...</option>
|
|
<option value="SITDOWN" {% if stats.roller_coaster_type == 'SITDOWN' %}selected{% endif %}>Sit-Down</option>
|
|
<option value="INVERTED" {% if stats.roller_coaster_type == 'INVERTED' %}selected{% endif %}>Inverted</option>
|
|
<option value="FLYING" {% if stats.roller_coaster_type == 'FLYING' %}selected{% endif %}>Flying</option>
|
|
<option value="STANDUP" {% if stats.roller_coaster_type == 'STANDUP' %}selected{% endif %}>Stand-Up</option>
|
|
<option value="WING" {% if stats.roller_coaster_type == 'WING' %}selected{% endif %}>Wing</option>
|
|
<option value="SUSPENDED" {% if stats.roller_coaster_type == 'SUSPENDED' %}selected{% endif %}>Suspended</option>
|
|
<option value="BOBSLED" {% if stats.roller_coaster_type == 'BOBSLED' %}selected{% endif %}>Bobsled</option>
|
|
<option value="PIPELINE" {% if stats.roller_coaster_type == 'PIPELINE' %}selected{% endif %}>Pipeline</option>
|
|
<option value="MOTORBIKE" {% if stats.roller_coaster_type == 'MOTORBIKE' %}selected{% endif %}>Motorbike</option>
|
|
<option value="FLOORLESS" {% if stats.roller_coaster_type == 'FLOORLESS' %}selected{% endif %}>Floorless</option>
|
|
<option value="DIVE" {% if stats.roller_coaster_type == 'DIVE' %}selected{% endif %}>Dive</option>
|
|
<option value="FAMILY" {% if stats.roller_coaster_type == 'FAMILY' %}selected{% endif %}>Family</option>
|
|
<option value="WILD_MOUSE" {% if stats.roller_coaster_type == 'WILD_MOUSE' %}selected{% endif %}>Wild Mouse</option>
|
|
<option value="SPINNING" {% if stats.roller_coaster_type == 'SPINNING' %}selected{% endif %}>Spinning</option>
|
|
<option value="FOURTH_DIMENSION" {% if stats.roller_coaster_type == 'FOURTH_DIMENSION' %}selected{% endif %}>4th Dimension</option>
|
|
<option value="OTHER" {% if stats.roller_coaster_type == 'OTHER' %}selected{% endif %}>Other</option>
|
|
</select>
|
|
</div>
|
|
<div>
|
|
<label for="id_launch_type" class="block mb-1 text-sm font-medium text-gray-700 dark:text-gray-300">
|
|
Launch Type
|
|
</label>
|
|
<select name="stats.launch_type"
|
|
id="id_launch_type"
|
|
class="w-full border-gray-300 rounded-lg form-select dark:border-gray-600 dark:bg-gray-700 dark:text-white">
|
|
<option value="">Select launch type...</option>
|
|
<option value="CHAIN" {% if stats.launch_type == 'CHAIN' %}selected{% endif %}>Chain Lift</option>
|
|
<option value="CABLE" {% if stats.launch_type == 'CABLE' %}selected{% endif %}>Cable Launch</option>
|
|
<option value="HYDRAULIC" {% if stats.launch_type == 'HYDRAULIC' %}selected{% endif %}>Hydraulic Launch</option>
|
|
<option value="LSM" {% if stats.launch_type == 'LSM' %}selected{% endif %}>Linear Synchronous Motor</option>
|
|
<option value="LIM" {% if stats.launch_type == 'LIM' %}selected{% endif %}>Linear Induction Motor</option>
|
|
<option value="GRAVITY" {% if stats.launch_type == 'GRAVITY' %}selected{% endif %}>Gravity</option>
|
|
<option value="OTHER" {% if stats.launch_type == 'OTHER' %}selected{% endif %}>Other</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|