mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
7a6d726daa
Summary: - Rather than translate from moment format to that of bootstrap-datepicker, use the customization methods to format datepicker dates using moment directly. - Fix issue with parseDate() when format includes tokens like Mo or Do - Fix issue in parseDateTime() that could produce an off-by-one error in date depending on local timezone. - When opening DateEditor, show AltText value if present. - Add crossorigin=anonymous to scripts that were missing it (including bootstrap-datepicker), to ensure that errors from them are reported properly rather than as 'Script error.' Test Plan: Added test cases to parseDate() test for low-level fixes; added a browser test for the fixed DateEditor behavior. Reviewers: alexmojaki Reviewed By: alexmojaki Differential Revision: https://phab.getgrist.com/D3169
69 lines
2.5 KiB
HTML
69 lines
2.5 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf8">
|
|
|
|
<!-- INSERT BASE -->
|
|
|
|
<link rel="icon" type="image/x-icon" href="favicon.png" />
|
|
|
|
<link rel="stylesheet" href="jqueryui/themes/smoothness/jquery-ui.css">
|
|
<link rel="stylesheet" href="bootstrap/dist/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="hljs.default.css">
|
|
<link rel="stylesheet" href="bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css">
|
|
<link rel="stylesheet" href="bundle.css">
|
|
<link rel="stylesheet" href="icons/icons.css">
|
|
|
|
<title>Grist</title>
|
|
</head>
|
|
<body>
|
|
<!-- INSERT WARNING -->
|
|
<div id='grist-logo-wrapper'>
|
|
<div class='grist-logo'>
|
|
<div class='grist-logo-head'>
|
|
<div class='grist-logo-grain grain-empty'></div>
|
|
<div class='grist-logo-grain grain-col grain-flip grain-2'></div>
|
|
<div class='grist-logo-grain grain-col grain-3'></div>
|
|
</div>
|
|
<div class='grist-logo-row'>
|
|
<div class='grist-logo-grain grain-row grain-flip grain-4'></div>
|
|
<div class='grist-logo-grain grain-cell grain-flip grain-5'></div>
|
|
<div class='grist-logo-grain grain-cell grain-6'></div>
|
|
</div>
|
|
<div class='grist-logo-row'>
|
|
<div class='grist-logo-grain grain-row grain-flip grain-7'></div>
|
|
<div class='grist-logo-grain grain-cell grain-flip grain-8'></div>
|
|
<div class='grist-logo-grain grain-cell grain-9'></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="browser-check-problem" style="display: none;">
|
|
<table class="browser-check-wrapper"><tr>
|
|
<td class="browser-check-message">
|
|
<span class="browser-check-desktop">
|
|
Grist works best on modern Firefox or Chrome.
|
|
</span>
|
|
<span class="browser-check-mobile">
|
|
Grist mobile support is a work in progress.
|
|
</span>
|
|
<a href="https://support.getgrist.com/browser-support" target="_blank">Learn more</a>
|
|
</td>
|
|
<td>
|
|
<div class="browser-check-close" id="browser-check-problem-dismiss">Dismiss</div>
|
|
</td>
|
|
</tr></table>
|
|
</div>
|
|
|
|
<!-- INSERT CONFIG -->
|
|
|
|
<script src="jquery/dist/jquery.min.js" crossorigin="anonymous"></script>
|
|
<script src="jqueryui/jquery-ui.min.js" crossorigin="anonymous"></script>
|
|
<script src="bootstrap/dist/js/bootstrap.min.js" crossorigin="anonymous"></script>
|
|
<script src="bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js" crossorigin="anonymous"></script>
|
|
<script src="main.bundle.js" crossorigin="anonymous"></script>
|
|
<script type="application/javascript" src="browser-check.js" crossorigin="anonymous"></script>
|
|
|
|
</body>
|
|
</html>
|