Optimized scripts execution
This commit is contained in:
parent
0309cd9d87
commit
7265165167
@ -4,5 +4,15 @@
|
||||
<div class="footer-text"><a href="https://divlo.fr/" target="_blank">Divlo</a> | Tous droits réservés</div>
|
||||
</footer>
|
||||
|
||||
<!-- Scripts JS -->
|
||||
<script defer src="/scripts/libs/jquery-min.js"></script>
|
||||
<script defer src="/scripts/libs/bootstrap-min.js"></script>
|
||||
<script defer src="/scripts/libs/moment.js"></script>
|
||||
<script defer src="/scripts/libs/jquery-ui-min.js"></script>
|
||||
<script defer src="/scripts/libs/bootstrap-datepicker-min.js"></script>
|
||||
<script defer src="/scripts/variables.js"></script>
|
||||
<script defer src="/scripts/fonctions_annexes.js"></script>
|
||||
<script defer src="/scripts/fonctions_principales.js"></script>
|
||||
<script defer src="/scripts/main.js"></script>
|
||||
</body>
|
||||
</html>
|
@ -30,22 +30,12 @@
|
||||
<meta name="twitter:image:src" content="<?php echo $image?>">
|
||||
<meta name="twitter:creator" content="@Divlo_FR">
|
||||
|
||||
<!-- Frameworks and Tools -->
|
||||
<script src="/scripts/libs/jquery-min.js"></script>
|
||||
<!-- Styles CSS -->
|
||||
<link rel="stylesheet" href="/css/libs/bootstrap-min.css">
|
||||
<script src="/scripts/libs/bootstrap-min.js"></script>
|
||||
<script src="/scripts/libs/moment.js"></script>
|
||||
<link rel="stylesheet" href="/css/libs/bootstrap-datepicker3.css"/>
|
||||
<script src="/scripts/libs/jquery-ui-min.js"></script>
|
||||
<script src="/scripts/libs/bootstrap-datepicker-min.js"></script>
|
||||
<link href="/css/libs/fonts.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/css/libs/fontawesome/css/all.css"/>
|
||||
|
||||
<script src="/scripts/variables.js"></script>
|
||||
<script src="/scripts/fonctions_annexes.js"></script>
|
||||
<script src="/scripts/fonctions_principales.js"></script>
|
||||
<script src="/scripts/main.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||
<link rel="stylesheet" href="/css/libs/bootstrap-datepicker3.css">
|
||||
<link rel="stylesheet" href="/css/libs/fonts.css">
|
||||
<link rel="stylesheet" href="/css/libs/fontawesome/css/all.css">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -115,7 +115,7 @@ function isValidDate(s) {
|
||||
let msToVerifyDate = Date.parse(splitedToVerifyDate);
|
||||
|
||||
// Date courante
|
||||
let currentDate = dateTimeUTC(0);
|
||||
let currentDate = dateTimeUTC('0');
|
||||
currentDate = currentDate.substr(0,10);
|
||||
let currentDateSplited = currentDate.split('/');
|
||||
let currentDateFormat = currentDateSplited[2] + '-' + currentDateSplited[1] + '-' + currentDateSplited[0];
|
||||
|
Reference in New Issue
Block a user