added css classes to labels and imputs, more semantic codign
This commit is contained in:
parent
667b66dffc
commit
d4ee1882cd
|
@ -27,17 +27,17 @@ function dades_obres_autor() {
|
|||
|
||||
//here we construct the fields for the backend user interface
|
||||
?>
|
||||
<label class="dd">Cognoms, nom de l'artista:</label>
|
||||
<input class="dd" name="autor_obra" value="<?php if(!empty($autor_obra)) echo $autor_obra; ?>"></input>
|
||||
<label class="dd artista">Cognoms, nom de l'artista:</label>
|
||||
<input class="dd artista" name="autor_obra" value="<?php if(!empty($autor_obra)) echo $autor_obra; ?>"></input>
|
||||
<br />
|
||||
<label class="dd">Data obra:</label>
|
||||
<input class="dd" name="data_obra" value="<?php if(!empty($data_obra)) echo $data_obra; ?>"></input>
|
||||
<label class="dd data-obra">Data obra:</label>
|
||||
<input class="dd data-obra" name="data_obra" value="<?php if(!empty($data_obra)) echo $data_obra; ?>"></input>
|
||||
<br />
|
||||
<label class="dd">Tipo de residència:</label>
|
||||
<input class="dd" id="autor_tipo_resid" name="autor_tipo_resid" value="<?php if(!empty($autor_tipo_resid)) echo $autor_tipo_resid; ?>"></input>
|
||||
<label class="dd tipo-residencia">Tipo de residència:</label>
|
||||
<input class="dd tipo-residencia" id="autor_tipo_resid" name="autor_tipo_resid" value="<?php if(!empty($autor_tipo_resid)) echo $autor_tipo_resid; ?>"></input>
|
||||
<br />
|
||||
<label class="dd">Periode de residència:</label>
|
||||
<input class="dd" id="autor_data_resid" name="autor_data_resid" value="<?php if(!empty($autor_data_resid)) echo $autor_data_resid; ?>"></input>
|
||||
<label class="dd periode-residencia">Periode de residència:</label>
|
||||
<input class="dd periode-residencia" id="autor_data_resid" name="autor_data_resid" value="<?php if(!empty($autor_data_resid)) echo $autor_data_resid; ?>"></input>
|
||||
<?php
|
||||
}
|
||||
|
||||
|
@ -53,17 +53,17 @@ function dades_cal_activitats() {
|
|||
|
||||
//here we construct the fields for the backend user interface
|
||||
?>
|
||||
<label class="lateral">Lloc activitat:</label>
|
||||
<input class="lateral" name="lloc_activitat" value="<?php if(!empty($lloc_activitat)) echo $lloc_activitat; ?>"></input>
|
||||
<label class="lateral">Data activitat:</label>
|
||||
<input class="lateral" name="data_activitat" value="<?php if(!empty($data_activitat)) echo $data_activitat; ?>"></input>
|
||||
<label class="lateral">Fecha actividad:</label>
|
||||
<input class="lateral" name="data_activitatES" value="<?php if(!empty($data_activitatES)) echo $data_activitatES; ?>"></input>
|
||||
<label class="lateral">Activity date:</label>
|
||||
<input class="lateral" name="data_activitatEN" value="<?php if(!empty($data_activitatEN)) echo $data_activitatEN; ?>"></input>
|
||||
<label class="lateral activitat-lloc">Lloc activitat:</label>
|
||||
<input class="lateral activitat-lloc" name="lloc_activitat" value="<?php if(!empty($lloc_activitat)) echo $lloc_activitat; ?>"></input>
|
||||
<label class="lateral activitat-data-ca">Data activitat:</label>
|
||||
<input class="lateral activitat-data-ca" name="data_activitat" value="<?php if(!empty($data_activitat)) echo $data_activitat; ?>"></input>
|
||||
<label class="lateral activitat-data-es">Fecha actividad:</label>
|
||||
<input class="lateral activitat-data-es" name="data_activitatES" value="<?php if(!empty($data_activitatES)) echo $data_activitatES; ?>"></input>
|
||||
<label class="lateral activitat-data-en">Activity date:</label>
|
||||
<input class="lateral activitat-data-en" name="data_activitatEN" value="<?php if(!empty($data_activitatEN)) echo $data_activitatEN; ?>"></input>
|
||||
<br/>
|
||||
<label class="lateral">Horari activitat:</label>
|
||||
<input class="lateral" name="horari_activitat" value="<?php if(!empty($horari_activitat)) echo $horari_activitat; ?>"></input>
|
||||
<label class="lateral activitat-horari">Horari activitat:</label>
|
||||
<input class="lateral activitat-horari" name="horari_activitat" value="<?php if(!empty($horari_activitat)) echo $horari_activitat; ?>"></input>
|
||||
<?php
|
||||
}
|
||||
|
||||
|
@ -78,17 +78,17 @@ function afegir_dades_personals() {
|
|||
|
||||
//here we construct the fields for the backend user interface
|
||||
?>
|
||||
<label class="lateral">Càrrec:</label>
|
||||
<input class="lateral" name="carrec" value="<?php if(!empty($carrec)) echo $carrec; ?>"></input>
|
||||
<label class="lateral">Cargo:</label>
|
||||
<input class="lateral" name="carrecES" value="<?php if(!empty($carrecES)) echo $carrecES; ?>"></input>
|
||||
<label class="lateral">Job:</label>
|
||||
<input class="lateral" name="carrecEN" value="<?php if(!empty($carrecEN)) echo $carrecEN; ?>"></input>
|
||||
<label class="lateral carrec-ca">Càrrec:</label>
|
||||
<input class="lateral carrec-ca" name="carrec" value="<?php if(!empty($carrec)) echo $carrec; ?>"></input>
|
||||
<label class="lateral carrec-es">Cargo:</label>
|
||||
<input class="lateral carrec-es" name="carrecES" value="<?php if(!empty($carrecES)) echo $carrecES; ?>"></input>
|
||||
<label class="lateral carrec-en">Job:</label>
|
||||
<input class="lateral carrec-en" name="carrecEN" value="<?php if(!empty($carrecEN)) echo $carrecEN; ?>"></input>
|
||||
<br />
|
||||
<label class="lateral">Email:</label>
|
||||
<input class="lateral" name="email" value="<?php if(!empty($email)) echo $email; ?>"></input>
|
||||
<label class="lateral">Telèfon:</label>
|
||||
<input class="lateral" name="telefon" value="<?php if(!empty($telefon)) echo $telefon; ?>"></input>
|
||||
<label class="lateral email">Email:</label>
|
||||
<input class="lateral email" name="email" value="<?php if(!empty($email)) echo $email; ?>"></input>
|
||||
<label class="lateral telefon">Telèfon:</label>
|
||||
<input class="lateral telefon" name="telefon" value="<?php if(!empty($telefon)) echo $telefon; ?>"></input>
|
||||
<?php
|
||||
}
|
||||
function incloure_at_home() {
|
||||
|
@ -98,10 +98,10 @@ function incloure_at_home() {
|
|||
$Ordre_inici = $custom['Ordre_inici'][0];
|
||||
//here we construct the fields for the backend user interface
|
||||
?>
|
||||
<label class="lateral petit">Inici? </label>
|
||||
<input class="lateral chk" type="checkbox" name="Inici" value="1" <?php checked( $Inici, 1 ) ;?> />
|
||||
<label class="lateral petit">Ordre:</label>
|
||||
<input class="lateral petit" name="Ordre_inici" value="<?php if(!empty($Ordre_inici)) echo $Ordre_inici; ?>"></input>
|
||||
<label class="lateral inici-option">Inici? </label>
|
||||
<input class="lateral inici-option" type="checkbox" name="Inici" value="1" <?php checked( $Inici, 1 ) ;?> />
|
||||
<label class="lateral inici-order">Ordre:</label>
|
||||
<input class="lateral inici-order" name="Ordre_inici" value="<?php if(!empty($Ordre_inici)) echo $Ordre_inici; ?>"></input>
|
||||
<?php
|
||||
}
|
||||
// here we save the data in database
|
||||
|
|
Loading…
Reference in New Issue