]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/admin/support/SupportEnterTicketForm.templ
upd: use bootstrap class for button
[gigi.git] / src / org / cacert / gigi / pages / admin / support / SupportEnterTicketForm.templ
index 5a268dc8ec456224f40f45a762d9a7445cb04625..73e918278bc1621d3475564c41f86a8be103cdfc 100644 (file)
@@ -1,12 +1,17 @@
-<table class="wrapper dataTable centertext">
+<table class="table">
 <tr>
             <th colspan="2"><?=_Ticket handling?></th>
         </tr>
         <tr>
             <td><?=_Ticket no?>:</td>
-            <td><input type="text" name="ticketno"></td>
+            <td><input type="text" class="form-control" <? if($ticketNo) {?>value="<?=$ticketNo?>" <? } ?>name="ticketno" required></td>
         </tr>
         <tr>
-            <td colspan="2"><input type="submit" value="<?=_Set ticket number?>"></td>
+            <td colspan="2"><input class="btn btn-primary" type="submit" name="setTicket" value="<?=_Set ticket number?>"></td>
         </tr>
+<? if($ticketNo) {?>
+        <tr>
+            <td colspan="2"><input class="btn btn-warning" type="submit" name="deleteTicket" value="<?=_End working on ticket?>"></td>
+        </tr>
+<? } ?>
 </table>
\ No newline at end of file