mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-01-23 02:35:23 +00:00
- trash icon added to bootstrap-icons.svg
- made delete link a separate button - unit tests updated
This commit is contained in:
parent
52cd7b3590
commit
7b57d7b289
6 changed files with 24 additions and 14 deletions
|
|
@ -535,12 +535,17 @@ if ($HTTPWARNING) :
|
|||
endif;
|
||||
?>
|
||||
<div id="pastesuccess" class="hidden">
|
||||
<button id="copyLink" type="button" class="btn btn-<?php echo $isDark ? 'warning' : 'default'; ?> navbar-btn">
|
||||
<span class="glyphicon glyphicon-duplicate" aria-hidden="true"></span> <?php echo I18n::_('Copy link') ?>
|
||||
</button>
|
||||
<div class="nav nav-justified">
|
||||
<button id="copyLink" type="button" class="btn btn-<?php echo $isDark ? 'warning' : 'default'; ?> navbar-btn">
|
||||
<span class="glyphicon glyphicon-duplicate" aria-hidden="true"></span> <?php echo I18n::_('Copy link') ?>
|
||||
</button>
|
||||
<a href="#" id="deletelink" class="btn btn-<?php echo $isDark ? 'warning' : 'default'; ?> navbar-btn">
|
||||
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
|
||||
<span></span>
|
||||
</a>
|
||||
</div>
|
||||
<div role="alert" class="alert alert-success">
|
||||
<span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
|
||||
<div id="deletelink"></div>
|
||||
<div id="pastelink"></div>
|
||||
</div>
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue