Rogier Neeleman
9 years ago
10 changed files with 189 additions and 104 deletions
@ -1,6 +1,5 @@ |
|||||||
<div class="container"> |
<div class="container"> |
||||||
<h1>Invoeren scorelijsten</h1> |
<hr> |
||||||
<p> |
Welkom bij het score systeem. Maak een keuze. |
||||||
<a href='<?php echo base_url();?>beoordelen/'><button type="button" class="btn btn-success btn-lg">Beoordelen</button></a>
|
|
||||||
</p> |
|
||||||
</div> |
</div> |
@ -1,41 +1,49 @@ |
|||||||
<div class="container"> |
<div class="container"> |
||||||
|
<hr> |
||||||
<div class="starter-template"> |
<div class='text-center'> |
||||||
<h1>Geef de score aan</h1> |
<div class="btn-group" role="group" aria-label="..."> |
||||||
|
<a href="<?php echo base_url('beoordelen/lijst'); ?>" role="button" class="btn btn-success">Beoordeling</span></a>
|
||||||
|
<a href="<?php echo base_url('beoordelen/ronde'); ?>" role="button" class="btn btn-success">Ronde</button></a>
|
||||||
|
<a href="<?php echo base_url('beoordelen/subgroep'); ?>" role="button" class="btn btn-success">Ploeg</button></a>
|
||||||
|
<button type="button" class="btn btn-warning">Score</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
<?php echo form_open(base_url().'beoordelen/score_save'); ?> |
|
||||||
<?php echo form_hidden('subgroepid', $subgroepid); ?> |
|
||||||
|
|
||||||
|
<?php echo form_open(base_url().'beoordelen/score_save'); ?> |
||||||
<?php |
<?php echo form_hidden('subgroepid', $subgroepid); ?> |
||||||
foreach ($vragen as $vraag) |
|
||||||
{ ?> |
<p> |
||||||
<div class="row"> |
<?php |
||||||
<div class="col-xs-9 col-sm-6 col-sm-offset-3"> |
foreach ($vragen as $vraag) |
||||||
<?php echo $vraag['vraag']; ?> |
{ ?> |
||||||
</div> |
<div class="row"> |
||||||
<div class="col-xs-3 col-sm-1"> |
<div class="col-xs-9 col-sm-6 col-sm-offset-3"> |
||||||
<?php if ($vraag['antwoord'] == 0) { |
<?php echo $vraag['vraag']; ?> |
||||||
echo ': '.form_checkbox($vraag['id'], '1'); |
</div> |
||||||
} else { |
<div class="col-xs-3 col-sm-1"> |
||||||
for ($i=1; $i <= $vraag['score']; $i++) { |
<?php if ($vraag['antwoord'] == 0) { |
||||||
$score[$i] = $i; |
echo ': '.form_checkbox($vraag['id'], '1'); |
||||||
} |
} else { |
||||||
echo form_dropdown($vraag['id'], $score); |
for ($i=1; $i <= $vraag['score']; $i++) { |
||||||
} ?> |
$score[$i] = $i; |
||||||
</div> |
} |
||||||
</div> |
echo form_dropdown($vraag['id'], $score); |
||||||
<?php } ?> |
} ?> |
||||||
|
</div> |
||||||
<p> |
</div> |
||||||
|
<?php } ?> |
||||||
|
</p> |
||||||
|
|
||||||
|
<p> |
||||||
|
<div class="row"> |
||||||
|
<div class="text-center"> |
||||||
|
<a href="<?php echo base_url('beoordelen/subgroep'); ?>" type="submit" class="btn btn-primary btn-lg">Vorige</button></a>
|
||||||
|
<button type="submit" class="btn btn-danger btn-lg">Opslaan</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</p> |
||||||
|
|
||||||
|
<?php echo form_close(); ?> |
||||||
|
|
||||||
<div class="row"> |
</div> |
||||||
<div class="col-xs-2 col-sm-2 col-xs-offset-4 col-sm-offset-5"> |
|
||||||
<button type="submit" class="btn btn-success btn-lg">Opslaan</button> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<?php echo form_close(); ?> |
|
||||||
|
|
||||||
|
|
||||||
</div> |
|
||||||
</div> |
|
||||||
|
@ -1,39 +1,60 @@ |
|||||||
<div class="container"> |
<div class="container"> |
||||||
|
<hr> |
||||||
<div class="starter-template"> |
<div class='text-center'> |
||||||
<h1>Kies de ploeg</h1> |
<div class="btn-group" role="group" aria-label="..."> |
||||||
|
<a href="<?php echo base_url('beoordelen/lijst'); ?>" role="button" class="btn btn-success">Beoordeling</span></a>
|
||||||
<?php if (count($subgroepen) != 0) { ?> |
<a href="<?php echo base_url('beoordelen/ronde'); ?>" role="button" class="btn btn-success">Ronde</button></a>
|
||||||
|
<?php if (count($subgroepen) == 0) { ?> |
||||||
<?php echo form_open(base_url().'beoordelen/score'); ?> |
<a href="<?php echo base_url('beoordelen/subgroep'); ?>" role="button" class="btn btn-success">Ploeg</button></a>
|
||||||
|
<button type="button" class="btn btn-success">Score</button> |
||||||
|
<?php } else { ?> |
||||||
|
<a href="<?php echo base_url('beoordelen/subgroep'); ?>" role="button" class="btn btn-warning">Ploeg</button></a>
|
||||||
|
<button type="button" class="btn btn-default">Score</button> |
||||||
|
<?php } ?> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
<div class="row"> |
<?php if (count($subgroepen) != 0) { ?> |
||||||
<div class="col-xs-2 col-sm-2 col-sm-offset-5 col-xs-offset-2"> |
|
||||||
<?php echo form_dropdown('subgroepid', $subgroepen); ?> |
<?php echo form_open(base_url().'beoordelen/score'); ?> |
||||||
</div> |
|
||||||
</div> |
<p> |
||||||
<p> |
<div class="row"> |
||||||
<div class="row"> |
<div class="text-center"> |
||||||
<div class="col-xs-2 col-sm-2 col-xs-offset-4 col-sm-offset-5"> |
<?php echo form_dropdown('subgroepid', $subgroepen); ?> |
||||||
<button type="submit" class="btn btn-primary btn-lg">Volgende</button> |
</div> |
||||||
</div> |
</div> |
||||||
</div> |
</p> |
||||||
<?php echo form_close(); ?> |
<p> |
||||||
|
<div class="row"> |
||||||
|
<div class="text-center"> |
||||||
|
<a href="<?php echo base_url('beoordelen/ronde'); ?>" type="submit" class="btn btn-primary btn-lg">Vorige</button></a>
|
||||||
|
<button type="submit" class="btn btn-primary btn-lg">Volgende</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</p> |
||||||
|
|
||||||
|
<?php echo form_close(); ?> |
||||||
|
|
||||||
<?php } else { ?> |
<?php } else { ?> |
||||||
<div class="row"> |
|
||||||
<div class="col-xs-10 col-sm-4 col-xs-offset-1 col-sm-offset-4"> |
<p> |
||||||
Er zijn geen groepen meer te beoordelen. |
<div class="row"> |
||||||
</div> |
<div class="text-center"> |
||||||
</div> |
Er zijn geen groepen meer te beoordelen. |
||||||
<div class="row"> |
</div> |
||||||
<div class="col-xs-2 col-sm-2 col-xs-offset-4 col-sm-offset-5"> |
</div> |
||||||
<button type="button" class="btn btn-success btn-lg" disabled="disabled"> |
</p> |
||||||
<span class="glyphicon glyphicon-ok"></span> |
<p> |
||||||
</button> |
<div class="row"> |
||||||
</div> |
<div class="text-center"> |
||||||
</div> |
<button type="button" class="btn btn-success btn-lg" disabled="disabled"> |
||||||
<?php } ?> |
<span class="glyphicon glyphicon-ok"></span> |
||||||
|
</button> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</p> |
||||||
|
|
||||||
|
<?php } ?> |
||||||
|
|
||||||
</div> |
</div> |
||||||
</div> |
|
Loading…
Reference in new issue