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">
 | 
			
		||||
            <!-- table of all runs of this dog-->
 | 
			
		||||
            <div class="card p-2">
 | 
			
		||||
                <h4>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>  
 | 
			
		||||
                <h4>Alle Ergebnisse</h4>
 | 
			
		||||
                <div class="table-responsive">
 | 
			
		||||
                <table class="table">
 | 
			
		||||
                    <thead>
 | 
			
		||||
                        <tr>
 | 
			
		||||
                            <th>Turnier</th>
 | 
			
		||||
                            <th>Lauf</th>
 | 
			
		||||
                            <th>Platz</th>
 | 
			
		||||
                            <th>Disqualifiziert</th>
 | 
			
		||||
                            <th>Verweigerungen</th>
 | 
			
		||||
@@ -50,7 +49,17 @@
 | 
			
		||||
                    </thead>
 | 
			
		||||
                    <tbody>
 | 
			
		||||
                        <?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>
 | 
			
		||||
                            <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><?= $result['disqualified']?'Ja':'Nein'; ?></td>
 | 
			
		||||
                            <td><?= escape($result['refusals']); ?></td>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user