Przeglądaj źródła

EAN Feld wiederhergetsellt

erdo 1 miesiąc temu
rodzic
commit
d347351a45
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      admin.php

+ 2 - 1
admin.php

@@ -155,7 +155,7 @@ $spiele  = $pdo->query("SELECT s.*, r.name as r_name, p.titel as parent_titel
 </div>
 
 <div id="t-spiele" class="tab active">
-    <form method="POST" style="display:grid; grid-template-columns: 1fr 1.5fr 1fr 1fr 1fr 1fr auto; gap:8px; margin-bottom:20px; background:#f9f9f9; padding:15px; border-radius:8px; border:1px solid #eee;">
+    <form method="POST" style="display:grid; grid-template-columns: 1fr 1.5fr 1fr 1fr 1fr 0.8fr 1fr auto; gap:8px; margin-bottom:20px; background:#f9f9f9; padding:15px; border-radius:8px; border:1px solid #eee;">
         <select name="game_reihe_id" id="r_new" onchange="filter('new')" required>
             <option value="">Reihe wählen...</option>
             <?php foreach($reihen as $r): ?><option value="<?=$r['id']?>"><?=$r['name']?></option><?php endforeach; ?>
@@ -169,6 +169,7 @@ $spiele  = $pdo->query("SELECT s.*, r.name as r_name, p.titel as parent_titel
         </select>
         <select name="game_typ_id" id="t_new"><option value="0" data-p="0">Typ...</option><?php foreach($typen as $t): ?><option data-p="<?=$t['game_reihe_id']?>" value="<?=$t['id']?>"><?=$t['bezeichnung']?></option><?php endforeach; ?></select>
         <select name="game_level_id" id="l_new"><option value="0" data-p="0">Level...</option><?php foreach($levels as $l): ?><option data-p="<?=$l['game_reihe_id']?>" value="<?=$l['id']?>"><?=$l['bezeichnung']?></option><?php endforeach; ?></select>
+        <input type="text" name="ean" placeholder="EAN">
         <input type="text" name="url" placeholder="Bild-URL">
         <button type="submit" name="save_game" class="btn btn-a">Hinzufügen</button>
     </form>