github.com/kyleu/dbaudit@v0.0.2-0.20240321155047-ff2f2c940496/views/verror/NotFound.html (about)

     1  <!-- Content managed by Project Forge, see [projectforge.md] for details. -->
     2  {% import (
     3    "github.com/kyleu/dbaudit/app"
     4    "github.com/kyleu/dbaudit/app/controller/cutil"
     5    "github.com/kyleu/dbaudit/views/layout"
     6  ) %}
     7  
     8  {% code type NotFound struct {
     9    layout.Basic
    10    Path string
    11  } %}
    12  
    13  {% func (p *NotFound) Body(as *app.State, ps *cutil.PageState) %}
    14    <div class="card">
    15      <h3>404</h3>
    16      <em>Page not found</em>
    17      <p>We can't find anything at <code>{%s p.Path %}</code></p>
    18      <p>Sorry about that, maybe try the <a href="/">home page</a>?</p>
    19    </div>
    20  {% endfunc %}