add class btn-danger for removal buttons

This commit is contained in:
Uwe Steinmann 2020-10-08 09:17:23 +02:00
parent a72e974db2
commit 31e55a500e
3 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ class SeedDMS_View_RemoveWorkflow extends SeedDMS_Bootstrap_Style {
<form method="post" action="../op/op.RemoveWorkflow.php" name="form1"> <form method="post" action="../op/op.RemoveWorkflow.php" name="form1">
<?php echo createHiddenFieldWithKey('removeworkflow'); ?> <?php echo createHiddenFieldWithKey('removeworkflow'); ?>
<input type='hidden' name='workflowid' value='<?php echo $workflow->getId(); ?>'/> <input type='hidden' name='workflowid' value='<?php echo $workflow->getId(); ?>'/>
<button type='submit' class="btn"><i class="fa fa-remove"></i> <?php printMLText("rm_workflow"); ?></button> <button type='submit' class="btn btn-danger"><i class="fa fa-remove"></i> <?php printMLText("rm_workflow"); ?></button>
</form> </form>
<?php <?php
$this->columnEnd(); $this->columnEnd();

View File

@ -139,7 +139,7 @@ $(document).ready(function() {
<?php echo createHiddenFieldWithKey('removecategory'); ?> <?php echo createHiddenFieldWithKey('removecategory'); ?>
<input type="hidden" name="action" value="removecategory"> <input type="hidden" name="action" value="removecategory">
<input type="hidden" name="categoryid" value="<?php echo $category->getID()?>"> <input type="hidden" name="categoryid" value="<?php echo $category->getID()?>">
<button type="submit" class="btn" title="<?php echo getMLText("delete")?>"><i class="fa fa-remove"></i> <?php printMLText("rm_default_keyword_category");?></button> <button type="submit" class="btn btn-danger" title="<?php echo getMLText("delete")?>"><i class="fa fa-remove"></i> <?php printMLText("rm_default_keyword_category");?></button>
</form> </form>
</div> </div>
@ -177,7 +177,7 @@ $(document).ready(function() {
<input type="hidden" name="categoryid" value="<?php echo $category->getID()?>"> <input type="hidden" name="categoryid" value="<?php echo $category->getID()?>">
<input type="hidden" name="keywordsid" value="<?php echo $list["id"]?>"> <input type="hidden" name="keywordsid" value="<?php echo $list["id"]?>">
<input type="hidden" name="action" value="removekeywords"> <input type="hidden" name="action" value="removekeywords">
<button type="submit" class="btn"><i class="fa fa-remove"></i> <?php printMLText("delete")?></button> <button type="submit" class="btn btn-danger"><i class="fa fa-remove"></i> <?php printMLText("delete")?></button>
</form> </form>
<br> <br>
<?php } ?> <?php } ?>

View File

@ -247,7 +247,7 @@ $(document).ready(function() {
<?php echo createHiddenFieldWithKey('removetransitionfromworkflow'); ?> <?php echo createHiddenFieldWithKey('removetransitionfromworkflow'); ?>
<input type="hidden" name="workflow" value="<?php print $workflow->getID();?>"> <input type="hidden" name="workflow" value="<?php print $workflow->getID();?>">
<input type="hidden" name="transition" value="<?php print $transition->getID(); ?>"> <input type="hidden" name="transition" value="<?php print $transition->getID(); ?>">
<button type="submit" class="btn"><i class="fa fa-remove"></i> <?php printMLText("delete");?></button> <button type="submit" class="btn btn-danger"><i class="fa fa-remove"></i> <?php printMLText("delete");?></button>
</form> </form>
<?php <?php
echo "</td>"; echo "</td>";