contentdb/app/templates/packages/release_bulk_change.html

47 lines
1.3 KiB
HTML
Raw Normal View History

2019-01-28 22:49:29 +01:00
{% extends "base.html" %}
{% block title %}
2022-01-08 00:27:00 +01:00
{{ _("Bulk Change Releases") }} - {{ package.title }}
2019-01-28 22:49:29 +01:00
{% endblock %}
{% block content %}
2022-01-08 00:27:00 +01:00
<h1>{{ self.title() }}</h1>
2019-01-28 22:49:29 +01:00
<p class="mb-5">
2022-01-08 00:27:00 +01:00
{{ _("Use this page to set the min and max of all releases for your package.") }}
2019-01-28 22:49:29 +01:00
</p>
{% from "macros/forms.html" import render_field, render_submit_field, render_checkbox_field %}
<form method="POST" action="">
{{ form.hidden_tag() }}
<div class="row">
{{ render_checkbox_field(form.set_min, class_="col-sm-2") }}
{{ render_field(form.min_rel, class_="col-sm-10") }}
</div>
<div class="row">
{{ render_checkbox_field(form.set_max, class_="col-sm-2") }}
{{ render_field(form.max_rel, class_="col-sm-10") }}
</div>
{{ render_checkbox_field(form.only_change_none) }}
2019-01-28 22:49:29 +01:00
<p id="minmax_warning" style="color:#f00; display: none;">
2022-01-08 00:27:00 +01:00
{{ _("Maximum must be greater than or equal to the minimum!") }}
</p>
<p class="mt-3">
2022-01-08 00:27:00 +01:00
{{ _("Note: Min and max versions will be used to hide the package on
platforms not within the range.") }}
<br />
{{ _("Leave both as None if in doubt.") }}
</p>
2019-01-28 22:49:29 +01:00
{{ render_submit_field(form.submit) }}
</form>
{% endblock %}
{% block scriptextra %}
2023-08-26 14:08:11 +02:00
<script src="/static/js/release_minmax.js"></script>
<script src="/static/js/release_bulk_change.js"></script>
{% endblock %}