dog overview
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build and push / Pulling repo on server (push) Successful in 3s
				
					
					
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build and push / Pulling repo on server (push) Successful in 3s
				This commit is contained in:
		| @@ -28,14 +28,13 @@ | |||||||
|         <div class="col-9" id="sitemain"> |         <div class="col-9" id="sitemain"> | ||||||
|             <!-- table of all runs of this dog--> |             <!-- table of all runs of this dog--> | ||||||
|             <div class="card p-2"> |             <div class="card p-2"> | ||||||
|                 <h4>Ergebnisse</h4> |                 <h4>Alle Ergebnisse</h4> | ||||||
|                 <p class="card-text"> |  | ||||||
|                     <button hx-get="/dogs/addresult/<?= $dogid; ?>" hx-push-url="/dogs/addresult/<?= $dogid; ?>" hx-target="#main" class="btn btn-primary"><i class="fas fa-plus-circle"></i> Ergebnis Eintragen</button> |  | ||||||
|                 </p>   |  | ||||||
|                 <div class="table-responsive"> |                 <div class="table-responsive"> | ||||||
|                 <table class="table"> |                 <table class="table"> | ||||||
|                     <thead> |                     <thead> | ||||||
|                         <tr> |                         <tr> | ||||||
|  |                             <th>Turnier</th> | ||||||
|  |                             <th>Lauf</th> | ||||||
|                             <th>Platz</th> |                             <th>Platz</th> | ||||||
|                             <th>Disqualifiziert</th> |                             <th>Disqualifiziert</th> | ||||||
|                             <th>Verweigerungen</th> |                             <th>Verweigerungen</th> | ||||||
| @@ -50,7 +49,17 @@ | |||||||
|                     </thead> |                     </thead> | ||||||
|                     <tbody> |                     <tbody> | ||||||
|                         <?php foreach($results as $result) : ?> |                         <?php foreach($results as $result) : ?> | ||||||
|  |                         <?php   | ||||||
|  |                         $t = new Tournament(); | ||||||
|  |                         $run = new Run(); | ||||||
|  |  | ||||||
|  |                         $tname = $t->getField('name',$result['tournament']); | ||||||
|  |                         $rname = $run->getField('name',$result['run']); | ||||||
|  |  | ||||||
|  |                         ?> | ||||||
|                         <tr> |                         <tr> | ||||||
|  |                             <td><a href="/tournaments/event/<?= $result['tournament']; ?>"><?= $tname; ?></a></td> | ||||||
|  |                             <td><a href="/runs/overview/<?= $result['run']; ?>"><?= $rname; ?></a></td> | ||||||
|                             <td><?= escape($result['ranking']); ?></td> |                             <td><?= escape($result['ranking']); ?></td> | ||||||
|                             <td><?= $result['disqualified']?'Ja':'Nein'; ?></td> |                             <td><?= $result['disqualified']?'Ja':'Nein'; ?></td> | ||||||
|                             <td><?= escape($result['refusals']); ?></td> |                             <td><?= escape($result['refusals']); ?></td> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user