add app/static and app/media
This commit is contained in:
26
app/sync/templates/sync/source-add.html
Normal file
26
app/sync/templates/sync/source-add.html
Normal file
@@ -0,0 +1,26 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block headtitle %}Add a new source{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row no-margin-bottom">
|
||||
<div class="col s12">
|
||||
<h1>Add a source</h1>
|
||||
<p>
|
||||
You can use this form to add a new source. A source is what's polled on regular
|
||||
basis to find new media to download, such as a channel or playlist.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<form method="post" action="{% url 'sync:add-source' %}" class="col s12 simpleform">
|
||||
{% csrf_token %}
|
||||
{% include 'simpleform.html' with form=form %}
|
||||
<div class="row no-margin-bottom padding-top">
|
||||
<div class="col s12">
|
||||
<button class="btn" type="submit" name="action">Add source <i class="fas fa-fw fa-plus"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@@ -1,11 +1,11 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block headtitle %}Source - Add{% endblock %}
|
||||
{% block headtitle %}Validate a {{ help_item }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row no-margin-bottom">
|
||||
<div class="col s12">
|
||||
<h1>Add a {{ help_item }}</h1>
|
||||
<h1>Validate a {{ help_item }}</h1>
|
||||
<p>{{ help_text|safe }}</p>
|
||||
<p>Example: <strong>{{ help_example }}</strong></p>
|
||||
</div>
|
||||
@@ -16,7 +16,7 @@
|
||||
{% include 'simpleform.html' with form=form %}
|
||||
<div class="row no-margin-bottom padding-top">
|
||||
<div class="col s12">
|
||||
<button class="btn" type="submit" name="action">Add {{ help_item }} <i class="fas fa-fw fa-plus"></i></button>
|
||||
<button class="btn" type="submit" name="action">Validate {{ help_item }} <i class="fas fa-check"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user