Compare commits

..

No commits in common. "778b23ecd404808e45e5fe88c45e815c60794a5f" and "e12c3518d10b0aece7563667d7c8948da5ab9ac2" have entirely different histories.

7 changed files with 6 additions and 10449 deletions

3
.gitignore vendored
View file

@ -18,3 +18,6 @@ node_modules
/.env /.env
/_run* /_run*
*.sqlite3 *.sqlite3
# Generated assets
/ucast/static/bulma/css

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -5,5 +5,5 @@ for(let btn of confirmButtons) {
if (!result) { if (!result) {
e.preventDefault(); e.preventDefault();
} }
}); })
} }

View file

@ -1,5 +1,4 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% load static %}
{% block title %}ucast - Channels{% endblock %} {% block title %}ucast - Channels{% endblock %}
@ -55,12 +54,11 @@
</div> </div>
<div class="control is-flex-grow-1"> <div class="control is-flex-grow-1">
<input class="input" type="text" <input class="input" type="text"
id="feedurl-{{ channel.id }}"
value="{{ site_url }}/feed/{{ channel.slug }}?key={{ user.get_feed_key }}" value="{{ site_url }}/feed/{{ channel.slug }}?key={{ user.get_feed_key }}"
readonly> readonly>
</div> </div>
<div class="control"> <div class="control">
<button class="button is-primary button-clip" data-clipboard-target="#feedurl-{{ channel.id }}"> <button class="button is-primary">
<i class="fas fa-copy"></i> <i class="fas fa-copy"></i>
</button> </button>
</div> </div>
@ -69,8 +67,3 @@
</div> </div>
{% endfor %} {% endfor %}
{% endblock content %} {% endblock content %}
{% block javascript %}
<script src="{% static 'ucast/js/clipboard.min.js' %}"></script>
<script>new ClipboardJS('.button-clip');</script>
{% endblock %}