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.
20 lines
No EOL
554 B
PHP
20 lines
No EOL
554 B
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Daily Goals - Texts</title>
|
|
<link rel="stylesheet" href="/css/app.css">
|
|
</head>
|
|
<body>
|
|
<h1>Texts</h1>
|
|
<a href="/admin" id="back">Back to Admin</a>
|
|
<ul id="texts-list">
|
|
</ul>
|
|
<form id="texts-form" action="/api/texts" method="POST">
|
|
<input id="newTextName" name="name"/>
|
|
<button id="submit">submit</button>
|
|
</form>
|
|
<script src="/js/texts.js"></script>
|
|
</body>
|
|
</html> |