Properly indent all templates
This commit is contained in:
parent
4bd2bb2f1a
commit
ef22f9165e
|
@ -21,3 +21,4 @@ repos:
|
|||
rev: v0.13.1
|
||||
hooks:
|
||||
- id: curlylint
|
||||
files: \.(html|sls)$
|
|
@ -1,7 +1,6 @@
|
|||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<html lang="en-GB">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">s
|
||||
|
@ -10,23 +9,19 @@
|
|||
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
|
||||
<link rel="stylesheet" href="{% static 'style.css' %}" />
|
||||
<script src="https://js.stripe.com/v3/"></script>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<section class="hero is-primary is-fullheight">
|
||||
|
||||
<div class="hero-head">
|
||||
<nav class="navbar navbar-default navbar-static-top">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<a class="navbar-brand" href="{% url 'home' %}">Pathogen</a>
|
||||
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<sapn class="icon-bar"></sapn>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<ul class="nav navbar-nav navbar-right collapse navbar-collapse">
|
||||
|
@ -47,7 +42,6 @@
|
|||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="hero-body">
|
||||
<div class="container has-text-centered">
|
||||
{% block content %}
|
||||
|
|
|
@ -4,31 +4,22 @@
|
|||
<div class="product-container">
|
||||
<a href="order?product=drilldown">
|
||||
<div class="product">
|
||||
<img
|
||||
src="{{ url_for('static', filename='weekly.jpg') }}"
|
||||
alt="Data image"
|
||||
/>
|
||||
<img src="{{ url_for('static', filename='weekly.jpg') }}" alt="Data image"/>
|
||||
<div class="description">
|
||||
<h3>Drilldown</h3>
|
||||
<h5>200.00</h5>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a href="order?product=sentiment">
|
||||
<div class="product">
|
||||
<img
|
||||
src="{{ url_for('static', filename='weekly.jpg') }}"
|
||||
alt="Data image"
|
||||
/>
|
||||
<img src="{{ url_for('static', filename='weekly.jpg') }}" alt="Data image"/>
|
||||
<div class="description">
|
||||
<h3>Sentiment</h3>
|
||||
<h5>45.00</h5>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
Access denied
|
||||
</h1>
|
||||
<h2 class="subtitle">
|
||||
Sorry, you do not have the necessary permissions to view this page.
|
||||
</h2>
|
||||
<h1 class="title">Access denied</h1>
|
||||
<h2 class="subtitle">Sorry, you do not have the necessary permissions to view this page.</h2>
|
||||
<div class="col">
|
||||
{% if user.subscription_active %}
|
||||
{% include 'checkout.html' %}
|
||||
|
|
|
@ -1,12 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
Pathogen Products Panel
|
||||
</h1>
|
||||
<h2 class="subtitle">
|
||||
Billing and subscription management
|
||||
</h2>
|
||||
<h1 class="title">Pathogen Products Panel</h1>
|
||||
<h2 class="subtitle">Billing and subscription management</h2>
|
||||
<div class="col">
|
||||
{% if user.subscription_active %}
|
||||
{% include 'checkout.html' %}
|
||||
|
@ -14,5 +9,4 @@
|
|||
<h2> Please setup a payment mandate in the profile page to view products </h2>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
Welcome, {{ user.first_name }}!
|
||||
</h1>
|
||||
|
||||
<h1 class="title">Welcome, {{ user.first_name }}!</h1>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
|
@ -17,7 +14,6 @@
|
|||
<p>Creation date: {{ user.creationDate }}</p>
|
||||
<p>Paid: {{ user.paid }}</p>
|
||||
</div>
|
||||
|
||||
<div class="update-info">
|
||||
{% if user.seti %}
|
||||
{% if user.plan == None %}
|
||||
|
@ -31,7 +27,6 @@
|
|||
<button id="setup-button">Setup payment mandate</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,17 +1,13 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1 class="title">
|
||||
Welcome to search, {{ name }}!
|
||||
</h1>
|
||||
<h1 class="title">Welcome to search, {{ name }}!</h1>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="profile-info">
|
||||
<p>PROFILE INFO</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="update-info">
|
||||
{% if user.seti %}
|
||||
{% if user.plan == None %}
|
||||
|
@ -25,7 +21,6 @@
|
|||
<button id="setup-button">Setup payment mandate</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue