gristlabs_grist-core/static/app.html
Alex Hall 6b372fa6cd (core) Allow configuring (mostly hiding) various little bits of UI
Summary:
Adds two new env vars GRIST_HIDE_UI_ELEMENTS and GRIST_PAGE_TITLE_SUFFIX which translate to values in GristLoadConfig that the server sends the client when loading.

For checkin task https://gristlabs.getgrist.com/doc/check-ins/p/5#a1.s9.r1882.c19

Test Plan: Tested manually

Reviewers: paulfitz

Reviewed By: paulfitz

Differential Revision: https://phab.getgrist.com/D3449
2022-05-27 14:32:05 +02:00

70 lines
2.6 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf8">
<!-- INSERT BASE -->
<link rel="icon" type="image/x-icon" href="icons/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">
<!-- INSERT CUSTOM -->
<title>Loading...<!-- INSERT TITLE SUFFIX --></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>