Corrent indentation for views

Tabs. No Spaces!
This commit is contained in:
Karsten Heiken
2011-08-08 15:53:08 +02:00
parent 521c3a08c5
commit d957306756

View File

@@ -2,80 +2,91 @@
<div id="content"> <div id="content">
<div class="title"> <div class="title">
<h2>Projektinformationen</h2> <h2>Projektinformationen</h2>
</div> </div>
<div class="box"> <div class="box">
<h3>Beschreibung</h3> <h3>Beschreibung</h3>
<div class="editInPlace"><?=nl2br($project['description']);?></div> <div class="editInPlace"><?=nl2br($project['description']);?></div>
<p></p> <p></p>
<h3>Versuche</h3>
<table class="tableList">
<thead>
<tr>
<th scope="col">Versuch</th>
<th scope="col">Berechnungen</th>
<th scope="col">Aktionen</th>
</tr>
</thead>
<tbody>
<?php if (count($trials) > 0):?>
<?php foreach($trials as $trial):?>
<tr>
<td><a href="<?=site_url('trials/'.$trial['id'])?>"title="Versuch &quot;<?=$trial['name']?>&quot; anzeigen"><?=$trial['name']?></a></td>
<td><span class="active">Erfolgreich abgeschlossen</span></td>
<td>
<a href="<?=site_url('trials/results/'.$trial['id'])?>" title="Ergebnisse zum Versuch &quot;<?=$trial['name']?>&quot; anzeigen">Ergebnisse anzeigen</a> |
<a href="<?=site_url('trials/edit/'.$trial['id'])?>" title="Versuch &quot;<?=$trial['name']?>&quot; bearbeiten">Bearbeiten</a> |
<a href="<?=site_url('trials/delete/'.$trial['id'])?>" title="Versuch &quot;<?=$trial['name']?>&quot; entfernen">Entfernen</a>
</td>
</tr>
<?php endforeach;?>
<?php else:?>
<tr>
<td colspan="3">Keine Versuche vorhanden.</td>
</tr>
<?php endif;?>
</tbody>
</table>
<p><a class="button add" href="<?=site_url('trials/create/'.$project['id'])?>">Neuen Versuch erstellen</a></p> <h3>Versuche</h3>
</div> <table class="tableList">
<thead>
<tr>
<th scope="col">Versuch</th>
<th scope="col">Berechnungen</th>
<th scope="col">Aktionen</th>
</tr>
</thead>
<tbody>
<?
if(count($trials) > 0):
foreach($trials as $trial):
?>
<tr>
<td><a href="<?=site_url('trials/'.$trial['id'])?>"title="Versuch &quot;<?=$trial['name']?>&quot; anzeigen"><?=$trial['name']?></a></td>
<td><span class="active">Erfolgreich abgeschlossen</span></td>
<td>
<a href="<?=site_url('trials/results/'.$trial['id'])?>" title="Ergebnisse zum Versuch &quot;<?=$trial['name']?>&quot; anzeigen">Ergebnisse anzeigen</a> |
<a href="<?=site_url('trials/edit/'.$trial['id'])?>" title="Versuch &quot;<?=$trial['name']?>&quot; bearbeiten">Bearbeiten</a> |
<a href="<?=site_url('trials/delete/'.$trial['id'])?>" title="Versuch &quot;<?=$trial['name']?>&quot; entfernen">Entfernen</a></td>
</tr>
<?
endforeach;
else:
?>
<tr>
<td colspan="3">Keine Versuche vorhanden.</td>
</tr>
<?
endif;
?>
</tbody>
</table>
<div class="title"> <p><a class="button add" href="<?=site_url('trials/create/'.$project['id'])?>">Neuen Versuch erstellen</a>
<h2>Letzte Berechnungen</h2> </div>
</div>
<div class="box"> <div class="title">
<table class="tableList"> <h2>Letzte Berechnungen</h2>
<thead> </div>
<tr>
<th scope="col">Versuch</th> <div class="box">
<th scope="col">Fertiggestellt</th> <table class="tableList">
<th scope="col">Aktionen</th> <thead>
</tr> <tr>
</thead> <th scope="col">Versuch</th>
<tbody> <th scope="col">Fertiggestellt</th>
<?php if(count($jobsDone) > 0):?> <th scope="col">Aktionen</th>
<?php foreach($jobsDone as $job):?> </tr>
<tr> </thead>
<td>Versuchsname</td> <tbody>
<td>Heute, 09:32</td> <?
<td> if(count($jobsDone) > 0):
<a href="<?=site_url('trials/results/'.$trial['id'])?>" title="Ergebnisse zum Versuch &quot;<?=$trial['name']?>&quot; anzeigen">Ergebnisse anzeigen</a> | foreach($jobsDone as $job):
<a href="<?=site_url('trials/edit/'.$trial['id'])?>" title="Versuch &quot;<?=$trial['name']?>&quot; bearbeiten">Bearbeiten</a> ?>
</td> <tr>
</tr> <td>Versuchsname</td>
<?php endforeach;?> <td>Heute, 09:32</td>
<?php else:?> <td>
<tr> <a href="<?=site_url('trials/results/'.$trial['id'])?>" title="Ergebnisse zum Versuch &quot;<?=$trial['name']?>&quot; anzeigen">Ergebnisse anzeigen</a> |
<td colspan="3">Es wurden noch keine Berechnungen durchgeführt.</td> <a href="<?=site_url('trials/edit/'.$trial['id'])?>" title="Versuch &quot;<?=$trial['name']?>&quot; bearbeiten">Bearbeiten</a></td>
</tr> </tr>
<?php endif;?> <?
</tbody> endforeach;
</table> else:
</div> ?>
<tr>
<td colspan="3">Es wurden noch keine Berechnungen durchgeführt.</td>
</tr>
<?
endif;
?>
</tbody>
</table>
</div>
</div> </div>