apply the page shell to the text detail page and add a scoped .node-tree style block to app.css. the tree dom rendered by text.js must keep ul/li with buttons and inputs as direct children of each li (cypress relies on > selectors), so styling is applied entirely via descendant selectors without wrapping the rendered nodes.
22 lines
631 B
PHP
22 lines
631 B
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Daily Goals - Text</title>
|
|
<link rel="stylesheet" href="/css/app.css">
|
|
</head>
|
|
<body>
|
|
<header class="site-header">
|
|
<div class="site-header-inner">
|
|
<a class="btn btn-secondary" href="/admin/texts" id="back">
|
|
Back to Texts
|
|
</a>
|
|
</div>
|
|
</header>
|
|
<main class="container container-wide stack">
|
|
<div id="text-detail" class="node-tree stack"></div>
|
|
</main>
|
|
<script src="/js/text.js"></script>
|
|
</body>
|
|
</html>
|