mirror of https://git.48k.eu/ogcp
templates: improve client report in image create view
Remove the line reporting the IP of the selected client. No other view does that and that information is already available in the client pills. Add client pills widget.master
parent
696a81fd11
commit
65d2d75ddb
|
@ -10,9 +10,7 @@
|
|||
|
||||
<h2 class="mx-5 subhead-heading">{{_('Create a partition image')}}</h2>
|
||||
|
||||
<h2 class="mx-5">
|
||||
{{ _('Selected client') }}: {{ form.ip.data }}
|
||||
</h1>
|
||||
{{ macros.cmd_selected_clients(selected_clients) }}
|
||||
|
||||
{{ wtf.quick_form(form,
|
||||
action=url_for('action_image_create'),
|
||||
|
|
|
@ -2574,8 +2574,11 @@ def action_image_create():
|
|||
form.repository.render_kw = {'readonly': True}
|
||||
|
||||
scopes, clients = get_scopes(set(ips))
|
||||
selected_clients = list(get_selected_clients(scopes['scope']).items())
|
||||
|
||||
return render_template('actions/image_create.html', form=form,
|
||||
scopes=scopes)
|
||||
scopes=scopes,
|
||||
selected_clients=selected_clients)
|
||||
|
||||
|
||||
@app.route('/action/image/update', methods=['GET', 'POST'])
|
||||
|
|
Loading…
Reference in New Issue