CAMP part 1, registration, apply, new login screen, wide layout

This commit is contained in:
Ricsi
2017-06-08 18:35:09 +02:00
parent 7bd93e1730
commit f17adf4850
58 changed files with 4469 additions and 57 deletions

View File

@@ -0,0 +1,63 @@
<div class="form_wrapper">
<form method="post">
<input type="hidden" name="action" value="camp_create">
<div>
<label class="desc" for="camp_city">Helyszín:</label>
<div><input type="text" name="camp_city" id="camp_city" required></div>
</div>
<div>
<label class="desc" for="camp_from">Tábor kezdete:</label>
<div><input type="text" name="camp_from" id="camp_from" required></div>
</div>
<div>
<label class="desc" for="camp_to">Tábor vége:</label>
<div><input type="text" name="camp_to" id="camp_to" required></div>
</div>
<div>
<label class="desc" for="camp_is_open">Lehet jelentkezni:</label>
<div><input type="checkbox" name="camp_is_open" id="camp_is_open" value="1" checked></div>
</div>
<div>
<label class="desc" for="camp_camp_type_ct_id">Típus:</label>
<div>
<select name="camp_camp_type_ct_id" id="camp_camp_type_ct_id">
{foreach $camp_type_array as $camp_type}
<option value="{$camp_type->get_ct_id()}">
{$camp_type->get_ct_name()}
</option>
{/foreach}
</select>
</div>
</div>
<div>
<label class="desc" for="shuttles">Labda típus:</label>
<table>
{foreach $shuttle_array as $shuttle}
<tr>
<td><input type="checkbox" name="shuttles[]" value="{$shuttle->get_cst_id()}" class="coach_type"></td>
<td class="coach">{$shuttle->get_cst_name()}</td>
</tr>
{/foreach}
</table>
</div>
<div>
<label class="desc" for="shuttles">Bejárás típusa:</label>
<table>
{foreach $accomodation_array as $accomodation}
<tr>
<td><input type="checkbox" name="accomodations[]" value="{$accomodation->get_cat_id()}" class="coach_type"></td>
<td class="coach">{$accomodation->get_cat_name()}</td>
</tr>
{/foreach}
</table>
</div>
<div>
<div>
<input class="button black" type="submit" value="Létrehozás">
</div>
</div>
</form>
</div>