Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ indent_style = space
indent_size = 2
quote_type = single

[*.html]
max_line_length = 120

[*.{html,sass,js,jsx,scss,css,php,svg}]
charset = utf-8
indent_style = tab
Expand Down
Binary file removed securedrop/static/favicon/favicon.png
Binary file not shown.
1 change: 1 addition & 0 deletions securedrop/static/favicon/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added securedrop/static/icons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions securedrop/templates/super.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
{% load i18n %}
{% load static wagtailmetadata_tags wagtailsettings_tags common_tags %}
{% load render_bundle from webpack_loader %}
{% get_current_language as LANGUAGE_CODE %}

<!DOCTYPE html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8"><![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9"><![endif]-->
<!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]-->
<!doctype html>
<html lang="{{ LANGUAGE_CODE }}">
<head>
{% if request.in_preview_panel %}
<base target="_blank">
{% endif %}
{% block head %}
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/png" href="{% static 'favicon/favicon.png' %}">
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" href="{% static 'favicon/favicon.svg' %}" type="image/svg+xml" />
<link rel="apple-touch-icon" href="{% static 'icons/apple-touch-icon.png' %}" />

{% block css %}
{% render_bundle 'common' 'css' %}
Expand Down Expand Up @@ -45,6 +42,9 @@
{% endwith %}
{% endblock %}
{% endblock %}
{% if request.in_preview_panel %}
<base target="_blank">
{% endif %}
</head>

<body class="{% block body_class %}{% endblock %}">
Expand Down