Skip to content

Commit

Permalink
chg: [templates] Improved feed edition page.
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricbonhomme committed Dec 27, 2024
1 parent ab8eb0a commit 6648b08
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions newspipe/templates/edit_feed.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h3>{{ action }}</h3>
<form action="" method="POST" name="save">
{{ form.hidden_tag() }}
<p>Enter the URL of the website or the URL of the feed (RSS/ATOM).</p>
<div class="row row-cols-md-auto g-2 align-items-center">
<div class="row">
<div class="col-md-6">
<label for="{{ form.site_link.id }}" class="col-sm-3 control-label">{{ form.site_link.label }}</label>
{{ form.site_link(class_="form-control", size="100%") }}
Expand All @@ -16,14 +16,14 @@ <h3>{{ action }}</h3>
{{ form.link(class_="form-control", size="100%") }}
{% for error in form.link.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
</div>
<div class="col-md-12">
<div class="col pt-2">
{{ form.submit(class_="btn btn-primary") }}
</div>
</div>

<hr />

<div class="row row-cols-md-auto g-2 align-items-center">
<div class="row">
<div class="col-md-6">
<label for="{{ form.title.id }}" class="col control-label">{{ form.title.label }}</label>
{{ form.title(class_="form-control", size="100%", placeholder=_('Will be retrieved automatically but you can specify a custom title.')) }}
Expand All @@ -39,8 +39,8 @@ <h3>{{ action }}</h3>
</div>
</div>

<div class="row row-cols-md-auto g-2 align-items-center">
<div class="col">
<div class="row pt-2">
<div class="col-md-6">
<label for="{{ form.description.id }}" class="col control-label">{{ form.description.label }}</label>
{{ form.description(class_="form-control", size="100%", placeholder=_('Description of the feed.')) }}
{% for error in form.description.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %}
Expand All @@ -49,7 +49,7 @@ <h3>{{ action }}</h3>

<br />

<div class="row row-cols-md-auto g-2 align-items-center">
<div class="row">
<div class="col-md-6">
<label for="{{ form.enabled.id }}" class="form-check-label">{{ form.enabled.label }}</label>
{{ form.enabled(class_="form-check-input", style="margin-left: 0px;") }}
Expand Down

0 comments on commit 6648b08

Please sign in to comment.