upd: use bootstrap class for button
authorINOPIAE <m.maengel@inopiae.de>
Mon, 15 Aug 2016 05:21:46 +0000 (07:21 +0200)
committerFelix Dörre <felix@dogcraft.de>
Tue, 16 Aug 2016 23:24:49 +0000 (01:24 +0200)
Change-Id: I3c5fbaf271efa791f16860a69c53d22496f4674a

15 files changed:
src/org/cacert/gigi/pages/account/MyOrganisationsForm.templ
src/org/cacert/gigi/pages/account/certs/CertificateIssueForm.templ
src/org/cacert/gigi/pages/account/certs/RequestCertificate.templ
src/org/cacert/gigi/pages/account/mail/MailAddForm.templ
src/org/cacert/gigi/pages/admin/TTPAdminForm.templ
src/org/cacert/gigi/pages/admin/support/FindUserByDomainForm.templ
src/org/cacert/gigi/pages/admin/support/FindUserByEmailForm.templ
src/org/cacert/gigi/pages/admin/support/SupportEnterTicketForm.templ
src/org/cacert/gigi/pages/admin/support/SupportRevokeCertificatesForm.templ
src/org/cacert/gigi/pages/admin/support/SupportUserDetailsForm.templ
src/org/cacert/gigi/pages/main/Signup.templ
src/org/cacert/gigi/pages/orga/AffiliationForm.templ
src/org/cacert/gigi/pages/wot/AssuranceForm.templ
src/org/cacert/gigi/pages/wot/AssureeSearch.templ
src/org/cacert/gigi/pages/wot/RequestTTPForm.templ

index c0eb939..96d7bbe 100644 (file)
@@ -2,9 +2,9 @@
 <h2><?=_My Organisations?></h2>
 <table class="table">
 <? foreach($orgas) { ?>
-<tr><td><?=$orgName?></td><td><?=$orgID?></td><td><input type='submit' value='<?=_switch to this organisation?>' name='org:<?=$orgID?>'/></td></tr>
+<tr><td><?=$orgName?></td><td><?=$orgID?></td><td><input class="btn btn-info" type='submit' value='<?=_switch to this organisation?>' name='org:<?=$orgID?>'/></td></tr>
 <? } ?>
 </table>
 <? if($personal) { ?>
-<input type='submit' value='<?=_switch back to personal use?>' name='org-leave'/>
+<input class="btn btn-primary" type='submit' value='<?=_switch back to personal use?>' name='org-leave'/>
 <? } ?>
index 7fd6cf2..e9947a9 100644 (file)
@@ -83,7 +83,7 @@
   </tr>
 
   <tr>
-    <td colspan="2"><input type="submit" name="process" value="<?=_Issue Certificate?>" /></td>
+    <td colspan="2"><input class="btn btn-primary" type="submit" name="process" value="<?=_Issue Certificate?>" /></td>
   </tr>
   </tbody>
 </table>
index 5139a69..9ffd5da 100644 (file)
@@ -14,7 +14,7 @@
   </tr>
   <tr>
     <td colspan="2">
-      <input type="submit" name="process" value="<?=_Next?>" />
+      <input class="btn btn-primary" type="submit" name="process" value="<?=_Next?>" />
       <input type='hidden' name='<?=$csrf_name?>' value='<?=$csrf?>'>
     </td>
   </tr>
@@ -38,7 +38,7 @@
   </tr>
   <tr>
     <td colspan="2">
-     <input type="submit" name="process" value="<?=_Next?>" />
+     <input class="btn btn-primary" type="submit" name="process" value="<?=_Next?>" />
      <input type='hidden' name='<?=$csrf_name?>' value='<?=$csrf?>'>
     </td>
   </tr>
index 3132586..c709391 100644 (file)
@@ -4,6 +4,6 @@
     <td><input class="form-control" type="text" name="newemail" value="" required></td>
   </tr>
   <tr>
-    <td colspan="2"><input type="submit" name="addmail" value="<?=_I own or am authorised to control this email address?>"></td>
+    <td colspan="2"><input class="btn btn-primary" type="submit" name="addmail" value="<?=_I own or am authorised to control this email address?>"></td>
   </tr>
 </table>
index a3fd9f2..4bf3ce7 100644 (file)
@@ -3,5 +3,5 @@
 <tr><td><?=_Name?></td><td><?=$name?></td></tr>
 <tr><td><?=_Email?></td><td><?=$email?></td></tr>
 <tr><td><?=_Date of Birth?></td><td><?=$DoB?></td></tr>
-<tr><td colspan="2"><input type="submit" name="deny" value="<?=_Deny Request?>"></td></tr>
+<tr><td colspan="2"><input class="btn btn-warning" type="submit" name="deny" value="<?=_Deny Request?>"></td></tr>
 </table>
\ No newline at end of file
index 2a5a852..6460541 100644 (file)
@@ -7,7 +7,7 @@
     <td><input class="form-control" type="text" value="" name="domain" placeholder="<?=_For search by ID use # prefix e.g. #123456?>" required></td>
   </tr>
   <tr>
-    <td colspan="2"><input type="submit" value="<?=_Next?>" name="process"></td>
+    <td colspan="2"><input class="btn btn-primary" type="submit" value="<?=_Next?>" name="process"></td>
   </tr>
 </tbody>
 </table>
index 90a627e..b3c8bb9 100644 (file)
@@ -7,6 +7,6 @@
     <td><input class="form-control" name="email" value="" size="30" title="<?=_use % as wildcard?>" placeholder="<?=_use % as wildcard?>" type="text" required/></td>
   </tr>
   <tr>
-    <td colspan="2"><input name="process" value="<?=_Next?>" type="submit"/></td>
+    <td colspan="2"><input class="btn btn-primary" name="process" value="<?=_Next?>" type="submit"/></td>
   </tr>
 </tbody></table>
index 27b901b..73e9182 100644 (file)
@@ -7,11 +7,11 @@
             <td><input type="text" class="form-control" <? if($ticketNo) {?>value="<?=$ticketNo?>" <? } ?>name="ticketno" required></td>
         </tr>
         <tr>
-            <td colspan="2"><input type="submit" name="setTicket" 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 type="submit" name="deleteTicket" value="<?=_End working on ticket?>"></td>
+            <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
index db141cd..1cc4de3 100644 (file)
@@ -22,7 +22,7 @@
             <? } ?>
         <tr>
             <th colspan="6">
-                    <input name="revokeall" value="<?=_revoke certificates?>" type="submit">
+                    <input class="btn btn-danger" name="revokeall" value="<?=_revoke certificates?>" type="submit">
             </th>
         </tr>
     </tbody></table>
\ No newline at end of file
index 7a2ac5c..e259cd2 100644 (file)
         <tr>
             <td><?=_Groups?>:</td>
             <td><p><? foreach($groups) { ?><?=$group_name?>, <? } ?></p>
-            <p><?=$groupSelector?><input type='submit' value='<?=_Grant Group?>' name='grant'><input type='submit' value='<?=_Deny Group?>' name='deny'></p>
+            <p><?=$groupSelector?><input class="btn btn-info" type='submit' value='<?=_Grant Group?>' name='grant'> <input class="btn btn-info" type='submit' value='<?=_Deny Group?>' name='deny'></p>
             </td>
         </tr>
         <tr>
             <td><?=_Reset Password?>:</td>
-            <td><input type="text" name="aword"> <input type="submit" value="<?=_Reset Password?>" name="resetPass"></td>
+            <td><input type="text" name="aword"> <input class="btn btn-primary" type="submit" value="<?=_Reset Password?>" name="resetPass"></td>
         </tr>
         <tr>
             <td><?=_Delete Account?>:</td>
@@ -58,7 +58,7 @@
         <tr>
             <td colspan="2"><a href="history"><?=_Show account history?></a></td>
         </tr>
-        <tr><td colspan="2"><input name="detailupdate" type="submit" value="<?=_Update?>"/></td></tr>
+        <tr><td colspan="2"><input class="btn btn-warning" name="detailupdate" type="submit" value="<?=_Update?>"/></td></tr>
     </tbody>
 </table>
 <br/>
index f590e45..f997cc5 100644 (file)
@@ -67,7 +67,7 @@
   </tr>
 
   <tr>
-    <td colspan="3"><input type="submit" name="process" value="<?=_Next?>"></td>
+    <td colspan="3"><input class="btn btn-primary" type="submit" name="process" value="<?=_Next?>"></td>
   </tr>
   </tbody>
 </table>
index 84be5cc..b44d0bd 100644 (file)
     <td><?=$name?></td>
     <td><?=$e-mail?></td>
     <td><?=$master?></td>
-    <td><button type="submit" name="del" value="<?=$e-mail?>">X</button> </td>
+    <td><button class="btn btn-warning" type="submit" name="del" value="<?=$e-mail?>">X</button> </td>
   </tr>
 <? } ?>
   <tr>
     <td></td>
     <td><input class="form-control" type="text" name="email" required></td>
     <td><input type="checkbox" name="master" value="y"></td>
-    <td><input type="submit" name="do_affiliate" value="<?=_Add?>"></td>
+    <td><input class="btn btn-primary" type="submit" name="do_affiliate" value="<?=_Add?>"></td>
   </tr>
 </table>
index f846bc9..98479f7 100644 (file)
@@ -63,8 +63,8 @@
        </tr>
        <tr>
                <td colspan="2">
-                       <input type="submit" name="process" value="<?=_I confirm this verification?>" />
-                       <input type="submit" name="cancel" value="<?=_Cancel?>" />
+                       <input class="btn btn-primary" type="submit" name="process" value="<?=_I confirm this verification?>" />
+                       <input class="btn btn-default" type="submit" name="cancel" value="<?=_Cancel?>" />
                </td>
        </tr>
        </tbody>
index 51b3bbe..5be32b1 100644 (file)
@@ -16,7 +16,7 @@
     <td><?=$DoB?></td>
   </tr>
   <tr>
-    <td colspan="2"><input type="submit" name="search" value="<?=_Next?>"></td>
+    <td colspan="2"><input class="btn btn-primary" type="submit" name="search" value="<?=_Next?>"></td>
   </tr>
   </tbody>
 </table>
index e1e28df..85d96f9 100644 (file)
@@ -13,7 +13,7 @@
        </tr>-->
        <tr>
                <td colspan="2" >
-                       <input type="submit" name="ttp" value="<?=_I need a TTP verification?>">
+                       <input class="btn btn-primary" type="submit" name="ttp" value="<?=_I need a TTP verification?>">
                </td>
        </tr>
 </table>