summaryrefslogtreecommitdiff
path: root/app/lttr/templates
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf>2021-01-29 21:42:52 -0500
committerluxagraf <sng@luxagraf>2021-01-29 21:42:52 -0500
commitdc6802d6e94f7ec9e9924072cc48714b4cb25f18 (patch)
treef2073c2e6fffcefee421a5179c04577166e1e3fa /app/lttr/templates
parent5c159510ed40aab22be00343ddd04d0395b2f395 (diff)
lttr: fixed CSS file and added range subscribe
Diffstat (limited to 'app/lttr/templates')
-rw-r--r--app/lttr/templates/lttr/friends_subscribe.html2
-rw-r--r--app/lttr/templates/lttr/range_subscribe.html23
2 files changed, 24 insertions, 1 deletions
diff --git a/app/lttr/templates/lttr/friends_subscribe.html b/app/lttr/templates/lttr/friends_subscribe.html
index 9c6c31e..e73ca73 100644
--- a/app/lttr/templates/lttr/friends_subscribe.html
+++ b/app/lttr/templates/lttr/friends_subscribe.html
@@ -5,7 +5,7 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
- href="/media/screenv9.css"
+ href="/media/screenv10.css"
media="screen">
</head>
<body>
diff --git a/app/lttr/templates/lttr/range_subscribe.html b/app/lttr/templates/lttr/range_subscribe.html
new file mode 100644
index 0000000..e73ca73
--- /dev/null
+++ b/app/lttr/templates/lttr/range_subscribe.html
@@ -0,0 +1,23 @@
+{% load typogrify_tags %}
+<html style="border:none !important;" dir="ltr" lang="en-US">
+<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="stylesheet"
+ href="/media/screenv10.css"
+ media="screen">
+</head>
+<body>
+ <form action="" method="post" target='_parent' class="generic-form flex newsletter-subscribe">{% csrf_token %}
+ {% for field in form %}
+ <fieldset>
+ {{field.label_tag}}
+ {{field}}
+ </fieldset>
+ {% if forloop.last %}<input type="submit" name="post" class="btn" value="Subscribe" />{%endif%}
+ </form>
+ <small class="alert">{% if field.errors %}{{field.errors}}{% endif %}</small>
+ {%endfor%}
+</body>
+</html>