mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-03-05 13:30:32 -05:00
- trash icon added to bootstrap-icons.svg
- made delete link a separate button - unit tests updated
This commit is contained in:
@@ -400,12 +400,17 @@ if ($HTTPWARNING) :
|
||||
endif;
|
||||
?>
|
||||
<div id="pastesuccess" class="hidden">
|
||||
<button id="copyLink" type="button" class="btn btn-secondary flex-fill mb-2">
|
||||
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#copy" /></svg> <?php echo I18n::_('Copy link') ?>
|
||||
</button>
|
||||
<div class="nav justify-content-between mb-2">
|
||||
<button id="copyLink" type="button" class="btn btn-secondary">
|
||||
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#copy" /></svg> <?php echo I18n::_('Copy link') ?>
|
||||
</button>
|
||||
<a href="#" id="deletelink" class="btn btn-secondary">
|
||||
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#trash" /></svg>
|
||||
<span></span>
|
||||
</a>
|
||||
</div>
|
||||
<div role="alert" class="alert alert-success">
|
||||
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#check" /></svg>
|
||||
<div id="deletelink"></div>
|
||||
<div id="pastelink"></div>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user