gitshow

Log | Files | Refs

wrap.html (517B)


      1 {{define "header"}}
      2 <html>
      3   <head>
      4     <link rel="stylesheet" href="/static/style.css">
      5     <script src="https://unpkg.com/htmx.org@1.9.11" integrity="sha384-0gxUXCCR8yv9FM2b+U3FDbsKthCI66oH5IA9fHppQq9DDMHuMauqq1ZHBpJxQ0J0" crossorigin="anonymous"></script>
      6   </head>
      7 
      8   <body>
      9   <h1 id="reponame" hx-push-url="true" hx-get="/repos/{{.Name}}" hx-swap="innerHTML" hx-target="#tabs">{{.Name}}</h1>
     10 
     11   <div id="tabs" hx-target="#tabs" hx-swap="innerHTML">
     12 {{end}}
     13 {{define "footer"}}
     14   </div>
     15   </body>
     16 </html>
     17 {{end}}