mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-22 07:30:25 +00:00
events page: fix dismissable alert
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
c50d2c15e8
commit
a4009c8894
1 changed files with 7 additions and 2 deletions
|
@ -28,12 +28,17 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{define "page_body"}}
|
{{define "page_body"}}
|
||||||
<div id="errorMsg" class="alert alert-warning alert-dismissible fade show" style="display: none;" role="alert">
|
<div id="errorMsg" class="alert alert-warning fade show" style="display: none;" role="alert">
|
||||||
<span id="errorTxt"></span>
|
<span id="errorTxt"></span>
|
||||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
<button type="button" class="close" aria-label="Close" onclick="dismissErrorMsg();">
|
||||||
<span aria-hidden="true">×</span>
|
<span aria-hidden="true">×</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function dismissErrorMsg(){
|
||||||
|
$('#errorMsg').hide();
|
||||||
|
}
|
||||||
|
</script>
|
||||||
<div class="card shadow mb-4">
|
<div class="card shadow mb-4">
|
||||||
<div class="card-header py-3">
|
<div class="card-header py-3">
|
||||||
<h6 class="m-0 font-weight-bold text-primary">Search logs</h6>
|
<h6 class="m-0 font-weight-bold text-primary">Search logs</h6>
|
||||||
|
|
Loading…
Reference in a new issue