Newer
Older
Copyright 2022-2025 ETSI SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{% extends 'base.html' %}
{% block content %}
<div class="col-sm-12 d-flex flex-column">
<h1>Update Device {{ device.opticalconfig_id.opticalconfig_uuid }}</h1>
<h2> interface :{{interface_name}}</h2>
</div>
<br />
<form id="update_device" method="POST">
{{ form.hidden_tag() }}
<fieldset>
<div class="row mb-3 ">
<div class="col-12">
{{ form.ip.label(class="col-sm-2 col-form-label") }}
<div class="col-sm-10">
{% if form.ip.errors %}
{{ form.ip(class="form-control is-invalid") }}
<div class="invalid-feedback">
{% for error in form.ip.errors %}
<span>{{ error }}</span>
{% endfor %}
</div>
{% else %}
{{ form.ip(class="col-sm-7 form-control") }}
{% endif %}
</div>
</div>
<div class="col-12 ">
{{ form.prefix_length.label(class="col-sm-2 col-form-label") }}
<div class="col-sm-10">
{% if form.prefix_length.errors %}
{{ form.prefix_length(class="form-control is-invalid") }}
<div class="invalid-feedback">
{% for error in form.prefix_length.errors %}
<span>{{ error }}</span>
{% endfor %}
</div>
{% else %}
{{ form.prefix_length(class="col-sm-7 form-control") }}
{% endif %}
</div>
</div>
</div>
<div class="col-sm-12">
<div class="row">
<div class="col-sm-3">
<button type="submit" class="btn btn-primary">
<i class="bi bi-plus-circle-fill"></i>
update interface
</button>
</div>
<div class="col-sm-3 mx-1">
<button type="button" class="btn btn-block btn-secondary" onclick="javascript: history.back()">
<i class="bi bi-box-arrow-in-left"></i>
Cancel
</button>
</div>
</div>
</div>
</div>
</fieldset>
</form>