xxxxxxxxxx
1
<div class="z-depth-1 m-2" style="background-color: #000000">
2
<div class="p-4">
3
<ul class="stepper parallel" id="stepper-navigation">
4
<h3 class="white-text text-center">peerings pipeline</h3>
5
6
<li class="step">
7
<div class="step-title waves-effect waves-dark white-text">AsPathGroupIx</div>
8
<div class="step-new-content white-text">
9
<p class="text-monospace"><small>helps you rollout a configlet about multiple as-path regexp</small></p>
10
11
<div id="divinputAsPathGroupIx" name="divinputAsPathGroupIx">
12
<form name="inputAsPathGroupIx" class="inputAsPathGroupIx">
13
<div class="row">
14
15
<div class="col-12">
16
<select name="unit" class="mdb-select md-form colorful-select dropdown-primary">
17
<option value="" disabled selected>unit</option>
18
<option value="attributes" data-secondary-text="">attributes</option>
19
</select>
20
<label class="mdb-main-label">unit</label>
21
</div>
22
23
<div class="col-12">
24
<select name="spec" class="mdb-select md-form colorful-select dropdown-primary">
25
<option value="" disabled selected>spec</option>
26
<option value="replace" data-secondary-text="">replace</option>
27
<option value="delete" data-secondary-text="">delete</option>
28
</select>
29
<label class="mdb-main-label">spec</label>
30
</div>
31
32
<div class="col-12">
33
<select name="groups" class="mdb-select md-form colorful-select dropdown-primary" multiple>
34
<option value="" disabled selected>groups</option>
35
<option value="BOGON_ASNS_IN">BOGON_ASNS_IN</option>
36
<option value="BOGON_ASNS_OUT">BOGON_ASNS_OUT</option>
37
</select>
38
<label class="mdb-main-label">groups</label>
39
</div>
40
41
42
</div>
43
<br><br><br>
44
</form>
45
46
<div class="step-actions">
47
<button class="waves-effect waves-dark btn btn-sm btn-block btn-primary next-step" data-validator="validateAsPathGroupIx" data-feedback="triggerActions"><i class="fas fa-rocket left"></i>APPROVE</button>
48
</div>
49
50
</div>
51
52
</div>
53
</li>
54
55
56
</ul>
57
</div>
58
</div>
59
1
1
xxxxxxxxxx
1
$('.mdb-select').materialSelect({ visibleOptions: 15 });
2
$('.stepper').mdbStepper();
3
4
function validateAsPathGroupIx() {
5
console.log(document.forms['inputAsPathGroupIx']);
6
return true;
7
}
Console errors: 0