Browse Source

Opmaak

master
Rogier Neeleman 8 years ago
parent
commit
2393c47cc7
  1. 2
      application/views/edit_lijst.php
  2. 4
      application/views/edit_score.php
  3. 19
      application/views/footer.php
  4. 2
      application/views/header.php

2
application/views/edit_lijst.php

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
Met deze pagina kun je lijsten actief of inactief maken tbv. de beoordeling.
Tevens kunnen de ingevulde scores per ronde aangepast worden.
</p>
<table class="table table-hover" id="maintable">
<table class="table table-hover">
<thead>
<tr>
<th>Naam</th>

4
application/views/edit_score.php

@ -11,6 +11,7 @@ @@ -11,6 +11,7 @@
<table class="table table-hover" id="maintable">
<thead>
<tr>
<th>#</th>
<th>Naam</th>
<?php foreach ($vragen as $vraag) { ?>
<th><?php echo $vraag['vraag']; ?></th>
@ -21,7 +22,8 @@ @@ -21,7 +22,8 @@
<tbody>
<?php foreach ($subgroepen as $subgroep) {?>
<tr>
<td><?php echo '('.$subgroep['nummer'].') '.$subgroep['themanaam']; ?></td>
<td><?php echo $subgroep['nummer']; ?></td>
<td><?php echo $subgroep['themanaam']; ?></td>
<?php foreach ($vragen as $vraag) { ?>
<td>

19
application/views/footer.php

@ -13,8 +13,9 @@ @@ -13,8 +13,9 @@
<script src="<?php echo base_url('bootstrap/js/bootstrap.min.js'); ?>"></script>
<?php if (isset($page) && $page == 'uitslag') { ?>
<link href="https://cdn.datatables.net/1.10.11/css/jquery.dataTables.min.css" rel="stylesheet">
<script type="text/javascript" src="//cdn.datatables.net/1.10.11/js/jquery.dataTables.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/t/bs-3.3.6/dt-1.10.11,af-2.1.1,fc-3.2.1/datatables.min.css"/>
<script type="text/javascript" src="https://cdn.datatables.net/t/bs-3.3.6/dt-1.10.11,af-2.1.1,fc-3.2.1/datatables.min.js"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('#maintable').dataTable( {
@ -29,6 +30,20 @@ @@ -29,6 +30,20 @@
} );
} );
</script>
<?php } elseif (isset($page) && $page == 'edit') { ?>
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/t/bs-3.3.6/dt-1.10.11,af-2.1.1,fc-3.2.1/datatables.min.css"/>
<script type="text/javascript" src="https://cdn.datatables.net/t/bs-3.3.6/dt-1.10.11,af-2.1.1,fc-3.2.1/datatables.min.js"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('#maintable').dataTable( {
"paging": false,
"ordering": false,
"info": false,
"searching": true,
} );
} );
</script>
<?php } ?>
</body>

2
application/views/header.php

@ -29,7 +29,7 @@ @@ -29,7 +29,7 @@
<li role="presentation" <?php if ($page == 'beoordelen') {?> class="active" <?php } ?> ><a href="<?php echo base_url('beoordelen/');?>">Beoordelen</a></li>
<?php if ($this->session->admin == '1' OR $this->session->superadmin == '1') { ?>
<li role="presentation" <?php if ($page == 'uitslag') {?> class="active" <?php } ?> ><a href="<?php echo base_url('uitslag/');?>">Uitslag</a></li>
<li role="presentation" <?php if ($page == 'edit') {?> class="active" <?php } ?> ><a href="<?php echo base_url('edit/');?>">Aanpassen</a></li>
<li role="presentation" <?php if ($page == 'edit') {?> class="active" <?php } ?> ><a href="<?php echo base_url('edit/');?>">Bewerken</a></li>
<?php }; ?>
<li role="presentation" <?php if ($page == 'info') {?> class="active" <?php } ?> ><a href="<?php echo base_url('info/');?>">Informatie</a></li>
<?php if ($this->session->admin == '1' OR $this->session->superadmin == '1') { ?>

Loading…
Cancel
Save