Skip to content

Commit

Permalink
Add filter JS file, expose it only to the dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxcrawford committed Jul 6, 2021
1 parent e1a3ca1 commit ccf0362
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions privaterelay/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
{% endblock %}

{% include "includes/footer.html" %}

{% block javascript %}
{% endblock %}

<script type="text/javascript" src="{% static 'js/clipboard.min.js' %}" charset="utf-8"></script>
<script src="{% static 'js/fx-bento.js' %}"></script>
<script src="{% static 'js/app.js' %}"></script>
Expand Down
5 changes: 5 additions & 0 deletions privaterelay/templates/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
{% load ftl %}
{% ftlconf bundle='privaterelay.ftl_bundles.main' %}

{% block javascript %}
<script src="{% static 'js/filter.js' %}"></script>
{% endblock %}


{% block content %}

{% get_social_accounts request.user as accounts %}
Expand Down
7 changes: 7 additions & 0 deletions static/js/filter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(function() {
"use strict";




})();

0 comments on commit ccf0362

Please sign in to comment.