new /texts page lets a user manage their own texts (list +
create form linking to /texts/{id}); /texts/{id} reuses
text.js for the node tree, with a back link to /texts. home
gains a 'My texts' link in the header. the admin texts page
now sources its cross-user list from /api/texts/all.
22 lines
628 B
PHP
22 lines
628 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="/texts" id="back">
|
|
Back to My 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>
|