/
myTemplate.html
32 lines (31 loc) · 939 Bytes
/
myTemplate.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<head>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
<!-- Google Fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap">
<!-- Bootstrap core CSS -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css" rel="stylesheet">
<!-- Material Design Bootstrap -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.19.1/css/mdb.min.css" rel="stylesheet">
</head>
<div class="container-lg">
<h1>yangpath paths exported from <code>{{.Vars.fname}}</code></h1>
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>Path</th>
<th>Type</th>
</tr>
</thead>
<tbody>
{{range $i, $p := .Paths}}
<tr>
<td>{{$i}}</td>
<td>{{$p.XPath}}</td>
<td>{{$p.Type.Name}}</td>
</tr>
{{end}}
</tbody>
</table>
</div>