-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 12 additions & 17 deletions
29
pretalx_media_ccc_de/templates/pretalx_media_ccc_de/settings.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,40 @@ | ||
{% extends "orga/base.html" %} | ||
{% load bootstrap4 %} | ||
{% load i18n %} | ||
|
||
{% block content %} | ||
|
||
<h2>{% trans "Set up media.ccc.de sync" %}</h2> | ||
<form method="post"> | ||
{% csrf_token %} | ||
{% bootstrap_form form layout='event' %} | ||
<div class="submit-group panel"> | ||
<span></span> | ||
<span class="d-flex flex-row-reverse"> | ||
<button | ||
type="submit" class="btn btn-success btn-lg" | ||
name="action" value="save" | ||
> | ||
<button type="submit" | ||
class="btn btn-success btn-lg" | ||
name="action" | ||
value="save"> | ||
<i class="fa fa-check"></i> | ||
{% trans "Save" %} | ||
</button> | ||
<button | ||
name="action" value="regenerate" | ||
type="submit" class="btn btn-info btn-lg mr-2" | ||
> | ||
<button name="action" | ||
value="regenerate" | ||
type="submit" | ||
class="btn btn-info btn-lg mr-2"> | ||
<i class="fa fa-refresh"></i> | ||
{% trans "Check for new talks" %} | ||
</button> | ||
</span> | ||
</div> | ||
</form> | ||
|
||
{% if url_form %} | ||
<h3>{% trans "Change URLs" %}</h3> | ||
|
||
<form method="post"> | ||
{% csrf_token %} | ||
{% bootstrap_form url_form layout='event' %} | ||
|
||
<button type="submit" name="action" value="urls" class="btn btn-success btn-lg float-right"> | ||
{% trans "Save" %} | ||
</button> | ||
<button type="submit" | ||
name="action" | ||
value="urls" | ||
class="btn btn-success btn-lg float-right">{% trans "Save" %}</button> | ||
</form> | ||
{% endif %} | ||
|
||
{% endblock %} |