github.com/zppinho/prow@v0.0.0-20240510014325-1738badeb017/pkg/spyglass/lenses/html/template.html (about) 1 {{define "header"}} 2 <link rel="stylesheet" type="text/css" href="html.css"> 3 <script type="text/javascript" src="script_bundle.min.js"></script> 4 {{end}} 5 6 {{define "body"}} 7 <table class="mdl-data-table mdl-js-data-table mdl-shadow--2dp"> 8 {{ range $documents:= . }} 9 <tr class="header section-expander"> 10 <td class="mdl-data-table__cell--non-numeric expander failed" colspan="1"><h6>{{.Title}}</h6></td> 11 <td class="mdl-data-table__cell--non-numeric expander"><i class="icon-button material-icons arrow-icon noselect">expand_less</i></td> 12 </tr> 13 {{/* Do _not_ hide this by default, that will break inner javascript that dynamically resizes. Hiding post-render is ok, so we hide on first resize request */}} 14 <tr class="initial" id="{{.ID}}-tr"> 15 <td colspan="2" style="border: 0px; padding: 0px;"> 16 <iframe srcdoc="{{.Content}}" title="{{.Filename}}" sandbox="allow-scripts allow-popups allow-same-origin" id="{{.ID}}" width="100%" scrolling="no"></iframe> 17 </td> 18 </tr> 19 {{end}} 20 </table> 21 {{end}}