add a stylesheet link and the standard responsive viewport meta tag to every page template. purely additive - no markup or selector changes - so existing cypress assertions and page js id hooks remain intact. with this commit every page picks up the base styling from app.css.
32 lines
929 B
PHP
32 lines
929 B
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Daily Goals - Home</title>
|
|
<link rel="stylesheet" href="/css/app.css">
|
|
</head>
|
|
<body>
|
|
<h1>Home</h1>
|
|
<button id="logout">Logout</button>
|
|
<a href="/today">Today's schedule</a>
|
|
<ul id="texts-list">
|
|
</ul>
|
|
<div id="create-plan-modal" hidden>
|
|
<h2>Create plan</h2>
|
|
<label>Name
|
|
<input class="plan-name" type="text" />
|
|
</label>
|
|
<label>Start date
|
|
<input class="plan-date-start" type="date" />
|
|
</label>
|
|
<label>End date
|
|
<input class="plan-date-end" type="date" />
|
|
</label>
|
|
<button class="save-plan">Save</button>
|
|
<button class="cancel-plan">Cancel</button>
|
|
</div>
|
|
<script src="/js/auth.js"></script>
|
|
<script src="/js/home.js"></script>
|
|
</body>
|
|
</html>
|