mirror of
https://github.com/tchapi/davis.git
synced 2025-04-14 09:31:53 +02:00
Add new app.js file
This commit is contained in:
parent
60d492c9b9
commit
b2e5de15e2
@ -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
6
public/js/app.js
Normal file
@ -0,0 +1,6 @@
|
||||
'use strict'
|
||||
|
||||
$(document).ready(function() {
|
||||
console.log('start')
|
||||
$('.toast').toast('show');
|
||||
})
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user