github.com/kyleu/dbaudit@v0.0.2-0.20240321155047-ff2f2c940496/views/About.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/app/util" 6 "github.com/kyleu/dbaudit/views/components" 7 "github.com/kyleu/dbaudit/views/components/view" 8 "github.com/kyleu/dbaudit/views/layout" 9 ) %} 10 11 {% code type About struct { layout.Basic } %} 12 13 {% func (p *About) Body(as *app.State, ps *cutil.PageState) %} 14 <div class="card"> 15 <h3>{%= components.SVGRefIcon(`app`, ps) %}{%s util.AppName %}</h3> 16 <em>v{%s as.BuildInfo.Version %}, started {%= view.TimestampRelative(&as.Started, false) %}</em> 17 </div> 18 <div class="card"> 19 <h3>About</h3> 20 {%- comment %}$PF_SECTION_START(about)${% endcomment -%} 21 <p>Coming soon...</p> 22 {%- comment %}$PF_SECTION_END(about)${% endcomment -%} 23 </div> 24 {%= SourceCode() %} 25 {%= Feedback() %} 26 {% endfunc %} 27 28 {% func SourceCode() %} 29 <div class="card"> 30 <h3>Source Code</h3> 31 <p>The project is available on <a href="https://github.com/kyleu/dbaudit" target="_blank" rel="noopener noreferrer">GitHub</a></p> 32 </div> 33 {% endfunc %} 34 35 {% func Feedback() %} 36 <div class="card"> 37 <h3>Feedback</h3> 38 <p>For now, email <a href="mailto:kyle@kyleu.com">Kyle U</a></p> 39 </div> 40 {% endfunc %}