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" %}
{% load compress staticfiles hc_extras %}
{% load compress static hc_extras %}
{% block title %}Account Settings - {% site_name %}{% endblock %}

View File

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

View File

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

View File

@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load compress staticfiles hc_extras %}
{% load hc_extras %}
{% block title %}Account Settings - {% site_name %}{% endblock %}
@ -96,10 +96,3 @@
</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 %}

View File

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

View File

@ -1,5 +1,4 @@
{% load hc_extras %}
<!DOCTYPE html>
<!DOCTYPE html>{% load compress staticfiles hc_extras %}
<html lang="en">
<head>
<meta charset="utf-8">
@ -13,8 +12,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-title" 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="apple-touch-icon" sizes="180x180" href="{% static 'img/apple-touch-180.png' %}">

View File

@ -1,5 +1,4 @@
{% load hc_extras %}
<!DOCTYPE html>
<!DOCTYPE html>{% load compress static hc_extras %}
<html lang="en">
<head>
<meta charset="utf-8">
@ -7,7 +6,6 @@
<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'>
{% load compress staticfiles %}
<link rel="icon" type="image/x-icon" href="{% static 'img/favicon.ico' %}">
{% compress css %}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load compress staticfiles hc_extras %}
{% load compress static hc_extras %}
{% 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">
<tr>
<th></th>

View File

@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load compress hc_extras humanize staticfiles %}
{% load compress hc_extras humanize static %}
{% 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.">

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %}
{% load humanize static hc_extras %}
{% block title %}Add Pushbullet - {% site_name %}{% endblock %}
@ -27,11 +27,4 @@
</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" %}
{% load compress humanize staticfiles hc_extras %}
{% load humanize static hc_extras %}
{% block title %}Add Pushover - {% site_name %}{% endblock %}
@ -176,10 +176,3 @@
</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 %}

View File

@ -1,5 +1,5 @@
{% extends "base.html" %}
{% load compress humanize staticfiles hc_extras %}
{% load humanize static hc_extras %}
{% block title %}Add Slack - {% site_name %}{% endblock %}
@ -188,13 +188,4 @@
</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 %}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,4 @@
{% load hc_extras staticfiles %}
{% load hc_extras static %}
{
"name": "{% site_name %}",
"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 }}.",
{% if check.status == "up" %}

View File

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

View File

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