1
0
Fork 0
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:
Knut Ahlers 2016-07-07 01:33:24 +02:00
parent 88dc545477
commit 9f2d00806c
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
2 changed files with 7 additions and 3 deletions

View file

@ -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