github.com/segakazzz/buffalo@v0.16.22-0.20210119082501-1f52048d3feb/genny/build/_fixtures/coke/templates/index.html (about) 1 <header> 2 <div class="container"> 3 <div class="row"> 4 <div class="col-md-1 col-sm-2 col-xs-2 logo"> 5 <a href="<%= rootPath() %>"><img src="<%= rootPath() %>assets/images/logo.svg" alt=""></a> 6 </div> 7 <div class="col-md-9 col-sm-9 col-xs-10 titles"> 8 <h1><%= t("welcome_greeting") %></h1> 9 <h2> 10 <a href="https://github.com/gobuffalo/buffalo"><i class="fa fa-github" aria-hidden="true"></i> https://github.com/gobuffalo/buffalo</a> 11 </h2> 12 <h2 class="documentation"> 13 <a href="http://gobuffalo.io/"><i class="fa fa-book" aria-hidden="true"></i> Documentation</a> 14 </h2> 15 </div> 16 </div> 17 </div> 18 19 </header> 20 21 <div class="row"> 22 <div class="col-md-12"> 23 <div class="subtitle"> 24 <div class="container"> 25 <h3>Defined Routes</h3> 26 </div> 27 </div> 28 <div class="table-responsive"> 29 <table class="table table-striped"> 30 <thead> 31 <tr text-align="left"> 32 <th class="centered">METHOD</th> 33 <th>PATH</th> 34 <th>NAME</th> 35 <th>HANDLER</th> 36 </tr> 37 </thead> 38 <tbody> 39 40 <%= for (r) in routes { %> 41 <tr> 42 <td class="centered"> 43 <%= r.Method %> 44 </td> 45 <td> 46 <%= if (r.Method != "GET" || r.Path ~= "{") { %> 47 <%= r.Path %> 48 <% } else { %> 49 <a href="<%= r.Path %>"><%= r.Path %></a> 50 <% } %> 51 </td> 52 <td> 53 <%= r.PathName %> 54 </td> 55 <td><code><%= r.HandlerName %></code></td> 56 </tr> 57 <% } %> 58 59 </tbody> 60 </table> 61 </div> 62 </div> 63 </div> 64 <div class="foot"> <span> Powered by <a href="http://gobuffalo.io/">gobuffalo.io</a></span> </div>