Responsive design;
New menus (members); Improved interface for parent editing;
This commit is contained in:
@@ -1,86 +1,91 @@
|
||||
<div class="form_wrapper">
|
||||
<form method="post">
|
||||
<input type="hidden" name="action" id="action" value="user_data_create">
|
||||
<table>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_name">Név:</label>
|
||||
<div><input type="text" name="uk_name" id="uk_name" size="8" class="field text fn" required></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_is_active">Aktív:</label>
|
||||
<div><input type="checkbox" name="uk_is_active" id="uk_is_active" value="1" checked></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_last_modified">Utolsó módosítás dátuma:</label>
|
||||
<div><input type="text" name="uk_last_modified" id="uk_last_modified" value="{$today}"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_password">Jelszó:</label>
|
||||
<div><input type="text" name="uk_password" id="uk_password"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<legend class="desc" id="title1" for="uk_gender">Nem: </legend>
|
||||
<div>
|
||||
<input id="r_01" type="radio" name="uk_gender" value="1" checked>
|
||||
<label class="choice" for="r_01">Fiú</label>
|
||||
</div>
|
||||
<div>
|
||||
<input id="r_02" type="radio" name="uk_gender" value="2">
|
||||
<label class="choice" for="r_02">Lány</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_birth_date">Születési dátum:</label>
|
||||
<div><input type="text" name="uk_birth_date" id="uk_birth_date"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Név: </td>
|
||||
<td><input type="text" name="uk_name" id="uk_name"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_birth_year">Születési év:</label>
|
||||
<div><input type="text" name="uk_birth_year" id="uk_birth_year"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Aktív: </td>
|
||||
<td><input type="checkbox" name="uk_is_active" id="uk_is_active" value="1" checked></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_address">Lakcím:</label>
|
||||
<div><input type="text" name="uk_address" id="uk_address"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Utolsó módosítás dátuma: </td>
|
||||
<td><input type="text" name="uk_last_modified" id="uk_last_modified" value="{$today}"></td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_first_training">Első edzés dátuma:</label>
|
||||
<div><input type="text" name="uk_first_training" id="uk_first_training"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Jelszó: </td>
|
||||
<td><input type="text" name="uk_password" id="uk_password"></td>
|
||||
</tr>
|
||||
|
||||
<div>
|
||||
<legend class="desc" id="title1" for="uk_hand">Kéz: </legend>
|
||||
<div>
|
||||
<input id="r_03" type="radio" name="uk_hand" value="1">
|
||||
<label class="choice" for="r_03">Bal</label>
|
||||
</div>
|
||||
<div>
|
||||
<input id="r_04" type="radio" name="uk_hand" value="2" checked>
|
||||
<label class="choice" for="r_04">Jobb</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_email">Email cím:</label>
|
||||
<div><input type="email" name="uk_email" id="uk_email"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Nem: </td>
|
||||
<td>
|
||||
<input type="radio" name="uk_gender" value="1" checked>Fiú
|
||||
|
||||
<input type="radio" name="uk_gender" value="2">Lány
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_phone">Telefonszám:</label>
|
||||
<div><input type="text" name="uk_phone" id="uk_phone"></div>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_facebook">Facebook:</label>
|
||||
<div><input type="text" name="uk_facebook" id="uk_facebook"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Születési dátum: </td>
|
||||
<td><input type="text" name="uk_birth_date" id="uk_birth_date"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Születési év: </td>
|
||||
<td><input type="text" name="uk_birth_year" id="uk_birth_year"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Lakcím: </td>
|
||||
<td><input type="text" name="uk_address" id="uk_address"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Első edzés dátuma: </td>
|
||||
<td><input type="text" name="uk_first_training" id="uk_first_training"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Kéz: </td>
|
||||
<td>
|
||||
<input type="radio" name="uk_hand" value="1" checked>Balkezes
|
||||
|
||||
<input type="radio" name="uk_hand" value="2">Jobbkezes
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Email cím: </td>
|
||||
<td><input type="text" name="uk_email" id="uk_email"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Telefonszám: </td>
|
||||
<td><input type="text" name="uk_phone" id="uk_phone"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Facebook: </td>
|
||||
<td><input type="text" name="uk_facebook" id="uk_facebook"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Iskola neve: </td>
|
||||
<td>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_school_sc_id">Iskola neve:</label>
|
||||
<div>
|
||||
<select name="uk_school_sc_id" id="uk_school_sc_id">
|
||||
<option value="null"> - </option>
|
||||
{foreach $school_assoc_array as $school_array}
|
||||
@@ -89,13 +94,12 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<input type="text" name="add_school" id="add_school">
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Iskola települése: </td>
|
||||
<td>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_school_city_scc_id">Iskola települése:</label>
|
||||
<div>
|
||||
<select name="uk_school_city_scc_id" id="uk_school_city_scc_id">
|
||||
<option value="null"> - </option>
|
||||
{foreach $school_city_assoc_array as $school_city_array}
|
||||
@@ -104,17 +108,22 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Iskola kerülete: </td>
|
||||
<td><input type="text" name="uk_school_district" id="uk_school_district" value="0"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Pólóméret: </td>
|
||||
<td>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_school_district">Iskola kerülete:</label>
|
||||
<div><input type="text" name="uk_school_district" id="uk_school_district" value="0"></div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="add_school">Új iskola felvétele:</label>
|
||||
<div><input type="text" name="add_school" id="add_school"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_shirt_size_ss_id">Pólóméret:</label>
|
||||
<div>
|
||||
<select name="uk_shirt_size_ss_id" id="uk_shirt_size_ss_id">
|
||||
<option value="null"> - </option>
|
||||
{foreach $shirt_size_assoc_array as $shirt_size_array}
|
||||
@@ -123,12 +132,12 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Szülő1: </td>
|
||||
<td>
|
||||
<div>
|
||||
<label class="desc" id="title1" for="uk_parent_1">Szülő1:</label>
|
||||
<div>
|
||||
<select name="uk_parent_1" id="uk_parent_1">
|
||||
<option value="null"> - </option>
|
||||
{foreach $parent_assoc_array as $parent_array}
|
||||
@@ -137,28 +146,32 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<input type="text" name="add_parent_1" id="add_parent_1">
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Szülő1 email cím: </td>
|
||||
<td><input type="text" name="parent_1_email" id="parent_1_email"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Szülő1 facebook: </td>
|
||||
<td><input type="text" name="parent_1_facebook" id="parent_1_facebook"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Szülő1 telefonszám: </td>
|
||||
<td><input type="text" name="parent_1_phone" id="parent_1_phone"></td>
|
||||
</tr>
|
||||
<div class="add_parent_1_block">
|
||||
<label class="desc" id="title1" for="add_parent_1">Új szülő neve:</label>
|
||||
<div><input type="text" name="add_parent_1" id="add_parent_1"></div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_1_block">
|
||||
<label class="desc" id="title1" for="parent_1_email">Email címe:</label>
|
||||
<div><input type="text" name="parent_1_email" id="parent_1_email"></div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_1_block">
|
||||
<label class="desc" id="title1" for="parent_1_facebook">Facebook:</label>
|
||||
<div><input type="text" name="parent_1_facebook" id="parent_1_facebook"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Szülő2: </td>
|
||||
<td>
|
||||
<div class="add_parent_1_block">
|
||||
<label class="desc" id="title1" for="parent_1_phone">Telefonszám:</label>
|
||||
<div><input type="text" name="parent_1_phone" id="parent_1_phone"></div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label class="desc" id="title2" for="uk_parent_2">Szülő2:</label>
|
||||
<div>
|
||||
<select name="uk_parent_2" id="uk_parent_2">
|
||||
<option value="null"> - </option>
|
||||
{foreach $parent_assoc_array as $parent_array}
|
||||
@@ -167,26 +180,50 @@
|
||||
</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<input type="text" name="add_parent_2" id="add_parent_2">
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td>Szülő2 email cím: </td>
|
||||
<td><input type="text" name="parent_2_email" id="parent_2_email"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Szülő2 facebook: </td>
|
||||
<td><input type="text" name="parent_2_facebook" id="parent_2_facebook"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Szülő2 telefonszám: </td>
|
||||
<td><input type="text" name="parent_2_phone" id="parent_2_phone"></td>
|
||||
</tr>
|
||||
<div class="add_parent_2_block">
|
||||
<label class="desc" id="title2" for="add_parent_2">Új szülő neve:</label>
|
||||
<div><input type="text" name="add_parent_2" id="add_parent_2"></div>
|
||||
</div>
|
||||
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="Létrehozás"></td>
|
||||
</tr>
|
||||
<div class="add_parent_2_block">
|
||||
<label class="desc" id="title2" for="parent_2_email">Email címe:</label>
|
||||
<div><input type="text" name="parent_2_email" id="parent_2_email"></div>
|
||||
</div>
|
||||
|
||||
</table>
|
||||
</form>
|
||||
<div class="add_parent_2_block">
|
||||
<label class="desc" id="title2" for="parent_2_facebook">Facebook:</label>
|
||||
<div><input type="text" name="parent_2_facebook" id="parent_2_facebook"></div>
|
||||
</div>
|
||||
|
||||
<div class="add_parent_2_block">
|
||||
<label class="desc" id="title2" for="parent_2_phone">Telefonszám:</label>
|
||||
<div><input type="text" name="parent_2_phone" id="parent_2_phone"></div>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
|
||||
|
||||
<div>
|
||||
<div>
|
||||
<input class="button black" type="submit" value="Létrehozás">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
$('#uk_parent_1').change(function() {
|
||||
$(".add_parent_1_block").toggle(this.value == 'null');
|
||||
});
|
||||
|
||||
$('#uk_parent_2').change(function() {
|
||||
$(".add_parent_2_block").toggle(this.value == 'null');
|
||||
});
|
||||
|
||||
</script>
|
||||
Reference in New Issue
Block a user