first init of rewrite
This commit is contained in:
@@ -16,12 +16,12 @@
|
||||
|
||||
</header>
|
||||
|
||||
<main class="container-sm bg-white rounded-3 shadow-sm my-2">
|
||||
<div class="p-2">
|
||||
<h2 class="m border-bottom">{% block page_heading %}{% endblock %}</h2>
|
||||
<h6 class="m text-muted">{% block page_subheading %}{% endblock %}</h6>
|
||||
{#<main class="container-sm bg-white rounded-3 shadow-sm my-2">#}
|
||||
<div class="container d-flex">
|
||||
{% block page_heading %}{% endblock %}
|
||||
{% block page_subheading %}{% endblock %}
|
||||
{% block header %}
|
||||
{% endblock %}
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</main>
|
||||
{#</main>#}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<script src="{% static 'js/bootstrap.bundle.js' %}" crossorigin="anonymous"></script>
|
||||
<link rel="stylesheet" href="{% static 'css/bootstrap.css' %}">
|
||||
<link rel='stylesheet' href="{% static 'css/base.css' %}">
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.2/font/bootstrap-icons.css">
|
||||
<link rel="shortcut icon" type="image/png" href="{% static 'apple-touch-icon.png' %}">
|
||||
<link rel="apple-touch-icon" href="{% static 'apple-touch-icon.png' %}">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
|
||||
@@ -1,28 +1,36 @@
|
||||
{% extends "base.html" %}{% load static %}
|
||||
|
||||
{% block title %}Bench Coach Home{% endblock %}
|
||||
{% block page_heading %}
|
||||
<div class="text-center my-2">
|
||||
<h1><img class="mx-auto" src="{% static 'benchcoach.svg' %}" style="width: 64px;" />
|
||||
<strong>Welcome to Bench Coach</strong>
|
||||
</h1>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block page_heading %}{% endblock %}
|
||||
{% block content %}
|
||||
<div class="text-center my-2">
|
||||
<div class="card">
|
||||
<div class="row">
|
||||
<div class="text-center my-2">
|
||||
<h1><img class="mx-auto" src="{% static 'benchcoach.svg' %}" style="width: 64px;"/>
|
||||
<strong>Welcome to <span class="text-nowrap">Bench Coach</span></strong>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
|
||||
<div class="col-lg-6 m-auto">
|
||||
<p class="lead mb-4">Quisque at curabitur mollis ornare, malesuada maecenas. Orci elit tristique, malesuada eu pharetra. Est praesent tortor porttitor aptent, amet quisque.</p>
|
||||
{# <div class="d-grid gap-2 d-sm-flex justify-content-sm-center mx-1">#}
|
||||
{# <button class="btn btn-primary" type="button">Login</button><button class="btn btn-outline-secondary" type="button">Sign Up</button>#}
|
||||
{# </div>#}
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="text-center my-2">
|
||||
<div class="col-lg-6 m-auto">
|
||||
<p class="lead mb-4">Quisque at curabitur mollis ornare, malesuada maecenas. Orci elit
|
||||
tristique,
|
||||
malesuada eu pharetra. Est praesent tortor porttitor aptent, amet quisque.</p>
|
||||
{# <div class="d-grid gap-2 d-sm-flex justify-content-sm-center mx-1">#}
|
||||
{# <button class="btn btn-primary" type="button">Login</button><button class="btn btn-outline-secondary" type="button">Sign Up</button>#}
|
||||
{# </div>#}
|
||||
</div>
|
||||
|
||||
<div class="container-sm">
|
||||
{# <ul class="nav nav-pills flex-column mb-auto">#}
|
||||
<div class="container-sm">
|
||||
{# <ul class="nav nav-pills flex-column mb-auto">#}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
@@ -1,5 +1,5 @@
|
||||
{% load static %}
|
||||
<nav class="navbar navbar-dark navbar-expand-lg" style="background: #323669">
|
||||
<nav class="navbar navbar-dark navbar-expand-lg mb-2" style="background: #323669">
|
||||
<a class="navbar-brand text-uppercase fw-bold mx-2 text-dark">
|
||||
<img class="d-inline-block" width="32" height="32" src="{% static 'benchcoach.svg' %}" />
|
||||
<span class="text-white">bench coach</span>
|
||||
|
||||
Reference in New Issue
Block a user