mirror of
https://github.com/Luzifer/badge-gen.git
synced 2024-12-20 16:41:16 +00:00
display example path on hover
This commit is contained in:
parent
88dc545477
commit
9f2d00806c
2 changed files with 7 additions and 3 deletions
|
@ -58,7 +58,11 @@
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<tr><th>Service</th><th>Example</th><th>Path Format</th></tr>
|
<tr><th>Service</th><th>Example</th><th>Path Format</th></tr>
|
||||||
{{ range .Examples }}
|
{{ range .Examples }}
|
||||||
<tr><th>{{ .ServiceName }}</th><td><img src="{{ .DemoPath }}"></td><td><code>{{ .DocFormat | html }}</code></td></tr>
|
<tr>
|
||||||
|
<th>{{ .ServiceName }}</th>
|
||||||
|
<td><img src="{{ .DemoPath }}" title="{{ .DemoPath }}"></td>
|
||||||
|
<td><code>{{ .DocFormat | html }}</code></td>
|
||||||
|
</tr>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue