WebEditor/src/editor.html
Matthew Welch 8d43963f31 Can now save files
Added menu bar to allow opening and saving of files
Keeps track of recently opened files
2021-01-05 15:38:48 -08:00

74 lines
2.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Web Editor</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="fontawesome/css/all.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container-fluid">
<nav class="nav nav-tabs text-nowrap flex-nowrap"></nav>
<div class="row">
<div id="details" class="col-3">
<div class="mb-3">
<label class="form-label">Tab Name</label>
<input type="text" class="form-control" id="detail-tab-name">
</div>
<div class="mb-1">
<label class="form-label">Table Name</label>
<input type="text" class="form-control" id="detail-table-name">
</div>
<div class="mb-3">
<div class="form-check">
<label class="form-check-label">
<input type="checkbox" class="form-check-input" id="detail-table-hidden">
Table Hidden
</label>
</div>
</div>
<hr/>
<div class="mb-1">
<label class="form-label">Column Name</label>
<input type="text" class="form-control" id="detail-column-name">
</div>
<div class="mb-1">
<div class="form-check">
<label class="form-check-label">
<input type="checkbox" class="form-check-input" id="detail-column-selectable">
Column Selectable
</label>
</div>
</div>
<div class="mb-3">
<div class="form-check">
<label class="form-check-label">
<input type="checkbox" class="form-check-input" id="detail-column-sortable">
Column sortable
</label>
</div>
</div>
<hr/>
<div class="mb-3">
<label class="form-label">Cell Text</label>
<textarea class="form-control" id="detail-cell-text"></textarea>
</div>
</div>
<div id="tables" class="col-9 tab-content"></div>
</div>
</div>
<script>
if (typeof module === 'object') {
window.module = module;
module = undefined;
}
</script>
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/bootstrap.bundle.min.js"></script>
<script>if (window.module) module = window.module;</script>
<script src="js/editor.js"></script>
</body>
</html>