mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-24 20:17:03 +01:00
c1fe6fbcc3
make preventDuplicates default to true, users get a clear UI feedback and know that "a new message appears". Fixes: https://github.com/go-gitea/gitea/issues/26651 --------- Co-authored-by: silverwind <me@silverwind.io>
16 lines
848 B
Handlebars
16 lines
848 B
Handlebars
{{template "base/head" .}}
|
|
|
|
<div>
|
|
<h1>Toast</h1>
|
|
<div>
|
|
<button class="ui button toast-test-button" data-toast-level="info" data-toast-message="test info">Show Info Toast</button>
|
|
<button class="ui button toast-test-button" data-toast-level="warning" data-toast-message="test warning">Show Warning Toast</button>
|
|
<button class="ui button toast-test-button" data-toast-level="error" data-toast-message="test error">Show Error Toast</button>
|
|
<button class="ui button toast-test-button" data-toast-level="error" data-toast-message="very looooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong message">Show Error Toast (long)</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="{{AssetUrlPrefix}}/js/devtest.js?v={{AssetVersion}}"></script>
|
|
|
|
{{template "base/footer" .}}
|