started lyric app (in earnest this time); added bootstrap-classed navbar w. login form to base.html; tweaked apps.dashboard.tests.test_views to accomodate multiple forms on same page
This commit is contained in:
@@ -6,16 +6,35 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="author" content="Disco DeDisco">
|
||||
<meta name="robots" content="noindex, nofollow">
|
||||
<title>Dashboard | {% block title_text %}{% endblock title_text %}</title>
|
||||
<title>Earthman RPG | {% block title_text %}{% endblock title_text %}</title>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.8/css/bootstrap.min.css"/>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="navbar">
|
||||
<div class="container-fluid">
|
||||
<a href="/" class="navbar-brand">Welcome, Earthman</a>
|
||||
<form method="POST" action="/apps/lyric/send_login_email">
|
||||
<div class="input-group">
|
||||
<label for="id_email_input" class="navbar-text me-2">
|
||||
enter your email to log in
|
||||
</label>
|
||||
<input
|
||||
id="id_email_input"
|
||||
class="form-control"
|
||||
name="email"
|
||||
placeholder="your@email.here"
|
||||
>
|
||||
{% csrf_token %}
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row justify-content-center p-5 bg-body-tertiary rounded-3">
|
||||
<div class="col-lg-6 text-center">
|
||||
<h1 class="display-1 mb-4">Dashboard</h1>
|
||||
<h2 class="display-2 mb-2">{% block header_text %}{% endblock header_text %}</h2>
|
||||
<h2 class="display-1 mb-4">{% block header_text %}{% endblock header_text %}</h2>
|
||||
|
||||
<form method="POST" action="{% block form_action %}{% endblock form_action %}">
|
||||
{% csrf_token %}
|
||||
|
||||
Reference in New Issue
Block a user