staticfiles -> static, and some cleanup

This commit is contained in:
Pēteris Caune 2018-08-04 19:43:00 +03:00
parent d661839e32
commit 5ffc3088f3
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2
35 changed files with 35 additions and 71 deletions

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress staticfiles hc_extras %} {% load compress static hc_extras %}
{% block title %}Account Settings - {% site_name %}{% endblock %} {% block title %}Account Settings - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress staticfiles hc_extras %} {% load compress static hc_extras %}
{% block title %}Account Settings - {% site_name %}{% endblock %} {% block title %}Account Settings - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress hc_extras staticfiles %} {% load compress hc_extras static %}
{% block content %} {% block content %}
<div class="row"> <div class="row">

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress staticfiles hc_extras %} {% load hc_extras %}
{% block title %}Account Settings - {% site_name %}{% endblock %} {% block title %}Account Settings - {% site_name %}{% endblock %}
@ -96,10 +96,3 @@
</div> </div>
</div> </div>
{% endblock %} {% endblock %}
{% block scripts %}
{% compress js %}
<script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>
{% endcompress %}
{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress staticfiles hc_extras %} {% load compress static hc_extras %}
{% block title %}Account Settings - {% site_name %}{% endblock %} {% block title %}Account Settings - {% site_name %}{% endblock %}

View File

@ -1,5 +1,4 @@
{% load hc_extras %} <!DOCTYPE html>{% load compress staticfiles hc_extras %}
<!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
@ -13,8 +12,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-title" content="{% site_name %}"> <meta name="apple-mobile-web-app-title" content="{% site_name %}">
<meta name="application-name" content="{% site_name %}"> <meta name="application-name" content="{% site_name %}">
{% load compress staticfiles %}
<link rel="icon" type="image/x-icon" href="{% static 'img/favicon.ico' %}"> <link rel="icon" type="image/x-icon" href="{% static 'img/favicon.ico' %}">
<link rel="apple-touch-icon" sizes="180x180" href="{% static 'img/apple-touch-180.png' %}"> <link rel="apple-touch-icon" sizes="180x180" href="{% static 'img/apple-touch-180.png' %}">

View File

@ -1,5 +1,4 @@
{% load hc_extras %} <!DOCTYPE html>{% load compress static hc_extras %}
<!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
@ -7,7 +6,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,300,600' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Open+Sans:400,300,600' rel='stylesheet' type='text/css'>
{% load compress staticfiles %}
<link rel="icon" type="image/x-icon" href="{% static 'img/favicon.ico' %}"> <link rel="icon" type="image/x-icon" href="{% static 'img/favicon.ico' %}">
{% compress css %} {% compress css %}

View File

@ -1,5 +1,4 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load staticfiles %}
{% block content %} {% block content %}
<div class="row"> <div class="row">

View File

@ -1,4 +1,4 @@
{% load compress humanize staticfiles hc_extras %} {% load humanize hc_extras %}
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load compress humanize static hc_extras %}
{% block title %}Integrations - {% site_name %}{% endblock %} {% block title %}Integrations - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "front/base_docs.html" %} {% extends "front/base_docs.html" %}
{% load compress staticfiles hc_extras %} {% load compress static hc_extras %}
{% block title %}Documentation - {% site_name %}{% endblock %} {% block title %}Documentation - {% site_name %}{% endblock %}
{% block description %} {% block description %}

View File

@ -1,5 +1,5 @@
{% extends "front/base_docs.html" %} {% extends "front/base_docs.html" %}
{% load compress staticfiles hc_extras %} {% load compress static hc_extras %}
{% block title %}REST API - {% site_name %}{% endblock %} {% block title %}REST API - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "front/base_docs.html" %} {% extends "front/base_docs.html" %}
{% load compress staticfiles hc_extras %} {% load hc_extras %}
{% block title %}Cron Syntax Cheatsheet - {% site_name %}{% endblock %} {% block title %}Cron Syntax Cheatsheet - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load compress humanize static hc_extras %}
{% block title %}My Checks - {% site_name %}{% endblock %} {% block title %}My Checks - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress staticfiles hc_extras %} {% load compress static hc_extras %}
{% block title %}{{ num_down|num_down_title }}{% endblock %} {% block title %}{{ num_down|num_down_title }}{% endblock %}

View File

@ -1,4 +1,4 @@
{% load hc_extras staticfiles %} {% load hc_extras %}
<table id="checks-table" class="table"> <table id="checks-table" class="table">
<tr> <tr>
<th></th> <th></th>

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress hc_extras humanize staticfiles %} {% load compress hc_extras humanize static %}
{% block description %} {% block description %}
<meta name="description" content="Cron Monitoring. Monitor nightly backups, weekly reports, cron jobs and background tasks. Receive alerts when your tasks don't run on time."> <meta name="description" content="Cron Monitoring. Monitor nightly backups, weekly reports, cron jobs and background tasks. Receive alerts when your tasks don't run on time.">

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load humanize static hc_extras %}
{% block title %}Add Discord - {% site_name %}{% endblock %} {% block title %}Add Discord - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load humanize static hc_extras %}
{% block title %}Notification Channels - {% site_name %}{% endblock %} {% block title %}Notification Channels - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load humanize static hc_extras %}
{% block title %}Notification Channels - {% site_name %}{% endblock %} {% block title %}Notification Channels - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load humanize static hc_extras %}
{% block title %}Add OpsGenie - {% site_name %}{% endblock %} {% block title %}Add OpsGenie - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load humanize static hc_extras %}
{% block title %}Add PagerTree - {% site_name %}{% endblock %} {% block title %}Add PagerTree - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load humanize static hc_extras %}
{% block title %}Add PagerDuty - {% site_name %}{% endblock %} {% block title %}Add PagerDuty - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load humanize static hc_extras %}
{% block title %}Add Pushbullet - {% site_name %}{% endblock %} {% block title %}Add Pushbullet - {% site_name %}{% endblock %}
@ -28,10 +28,3 @@
</div> </div>
</div> </div>
{% endblock %} {% endblock %}
{% block scripts %}
{% compress js %}
<script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>
{% endcompress %}
{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load humanize static hc_extras %}
{% block title %}Add Pushover - {% site_name %}{% endblock %} {% block title %}Add Pushover - {% site_name %}{% endblock %}
@ -176,10 +176,3 @@
</div> </div>
</div> </div>
{% endblock %} {% endblock %}
{% block scripts %}
{% compress js %}
<script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>
{% endcompress %}
{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load humanize static hc_extras %}
{% block title %}Add Slack - {% site_name %}{% endblock %} {% block title %}Add Slack - {% site_name %}{% endblock %}
@ -188,13 +188,4 @@
</div> </div>
</div> </div>
{% endblock %}
{% block scripts %}
{% compress js %}
<script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>
{% endcompress %}
{% endblock %} {% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load humanize static hc_extras %}
{% block title %}Notification Channels - {% site_name %}{% endblock %} {% block title %}Notification Channels - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load humanize static hc_extras %}
{% block title %}Notification Channels - {% site_name %}{% endblock %} {% block title %}Notification Channels - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load humanize static hc_extras %}
{% block title %}Add VictorOps - {% site_name %}{% endblock %} {% block title %}Add VictorOps - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load compress humanize static hc_extras %}
{% block title %}Add Webhook - {% site_name %}{% endblock %} {% block title %}Add Webhook - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %} {% load humanize static hc_extras %}
{% block title %}Add Zendesk - {% site_name %}{% endblock %} {% block title %}Add Zendesk - {% site_name %}{% endblock %}

View File

@ -1,4 +1,4 @@
{% load hc_extras staticfiles %} {% load hc_extras static %}
{ {
"name": "{% site_name %}", "name": "{% site_name %}",
"description": "Get Notified When Your Cron Jobs Fail", "description": "Get Notified When Your Cron Jobs Fail",

View File

@ -1,4 +1,4 @@
{% load hc_extras humanize staticfiles %} {% load hc_extras humanize static %}
{ {
"message": "“{{ check.name_then_code|escapejs }}” is {{ check.status|upper }}.", "message": "“{{ check.name_then_code|escapejs }}” is {{ check.status|upper }}.",
{% if check.status == "up" %} {% if check.status == "up" %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load staticfiles compress hc_extras %} {% load static compress hc_extras %}
{% block title %}Pricing - It's Free! - {% site_name %}{% endblock %} {% block title %}Pricing - It's Free! - {% site_name %}{% endblock %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load staticfiles compress hc_extras %} {% load hc_extras %}
{% block title %}Pricing - {% site_name %}{% endblock %} {% block title %}Pricing - {% site_name %}{% endblock %}