Add new app.js file

This commit is contained in:
Cyril 2019-10-30 12:17:26 +01:00
parent 60d492c9b9
commit b2e5de15e2
3 changed files with 22 additions and 1 deletions

View File

@ -6,4 +6,19 @@ body {
.display-4 {
font-size: 3rem;
border-bottom: 1px solid #CCC;
}
.flashes {
position: fixed;
top: 20px;
right: 0;
z-index: 1050;
}
.flashes .inner {
position: absolute;
top: 0;
right: 20px;
}
.flashes .toast {
min-width: 270px;
}

6
public/js/app.js Normal file
View File

@ -0,0 +1,6 @@
'use strict'
$(document).ready(function() {
console.log('start')
$('.toast').toast('show');
})

View File

@ -33,6 +33,6 @@
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
<script type="text/javascript" src="/js/bootstrap.bundle.min.js"></script>
<script type="text/javascript" src="/js/app.js"></script>
</body>
</html>