diff --git a/web/authorize.qtpl b/web/authorize.qtpl index 6bc5f72..80df168 100644 --- a/web/authorize.qtpl +++ b/web/authorize.qtpl @@ -1,15 +1,17 @@ -{% import "source.toby3d.me/toby3d/auth/internal/domain" %} +{% import ( + "source.toby3d.me/toby3d/auth/internal/domain" +) %} {% code type AuthorizePage struct { BaseOf - CSRF []byte - Providers []*domain.Provider Scope domain.Scopes + CodeChallengeMethod domain.CodeChallengeMethod + ResponseType domain.ResponseType Client *domain.Client Me *domain.Me RedirectURI *domain.URL - CodeChallengeMethod domain.CodeChallengeMethod - ResponseType domain.ResponseType + Providers []*domain.Provider + CSRF []byte CodeChallenge string State string } %} @@ -25,8 +27,7 @@ {% func (p *AuthorizePage) Body() %}
{% if p.Client.GetLogo() != nil %} - {%s p.Client.GetName() %} {% endif %} @@ -53,7 +55,7 @@
-
{% if p.CSRF != nil %} - {% endif %} @@ -75,8 +76,7 @@ "response_type": p.ResponseType.String(), "state": p.State, } %} - {% endfor %} @@ -88,8 +88,7 @@ {% for _, scope := range p.Scope %}
`) -//line web/authorize.qtpl:100 +//line web/authorize.qtpl:99 } -//line web/authorize.qtpl:100 +//line web/authorize.qtpl:99 qw422016.N().S(` `) -//line web/authorize.qtpl:102 +//line web/authorize.qtpl:101 } -//line web/authorize.qtpl:102 +//line web/authorize.qtpl:101 qw422016.N().S(` `) -//line web/authorize.qtpl:104 +//line web/authorize.qtpl:103 if p.CodeChallenge != "" { -//line web/authorize.qtpl:104 +//line web/authorize.qtpl:103 qw422016.N().S(` - - `) -//line web/authorize.qtpl:114 +//line web/authorize.qtpl:111 } -//line web/authorize.qtpl:114 +//line web/authorize.qtpl:111 qw422016.N().S(` `) -//line web/authorize.qtpl:116 +//line web/authorize.qtpl:113 if p.Me != nil { -//line web/authorize.qtpl:116 +//line web/authorize.qtpl:113 qw422016.N().S(` - `) -//line web/authorize.qtpl:121 +//line web/authorize.qtpl:117 } -//line web/authorize.qtpl:121 +//line web/authorize.qtpl:117 qw422016.N().S(` `) -//line web/authorize.qtpl:123 +//line web/authorize.qtpl:119 if len(p.Providers) > 0 { -//line web/authorize.qtpl:123 +//line web/authorize.qtpl:119 qw422016.N().S(` - `) -//line web/authorize.qtpl:138 +//line web/authorize.qtpl:132 } else { -//line web/authorize.qtpl:138 +//line web/authorize.qtpl:132 qw422016.N().S(` - + `) -//line web/authorize.qtpl:140 +//line web/authorize.qtpl:136 } -//line web/authorize.qtpl:140 +//line web/authorize.qtpl:136 qw422016.N().S(` - -
`) -//line web/authorize.qtpl:159 +//line web/authorize.qtpl:153 } -//line web/authorize.qtpl:159 +//line web/authorize.qtpl:153 func (p *AuthorizePage) WriteBody(qq422016 qtio422016.Writer) { -//line web/authorize.qtpl:159 +//line web/authorize.qtpl:153 qw422016 := qt422016.AcquireWriter(qq422016) -//line web/authorize.qtpl:159 +//line web/authorize.qtpl:153 p.StreamBody(qw422016) -//line web/authorize.qtpl:159 +//line web/authorize.qtpl:153 qt422016.ReleaseWriter(qw422016) -//line web/authorize.qtpl:159 +//line web/authorize.qtpl:153 } -//line web/authorize.qtpl:159 +//line web/authorize.qtpl:153 func (p *AuthorizePage) Body() string { -//line web/authorize.qtpl:159 +//line web/authorize.qtpl:153 qb422016 := qt422016.AcquireByteBuffer() -//line web/authorize.qtpl:159 +//line web/authorize.qtpl:153 p.WriteBody(qb422016) -//line web/authorize.qtpl:159 +//line web/authorize.qtpl:153 qs422016 := string(qb422016.B) -//line web/authorize.qtpl:159 +//line web/authorize.qtpl:153 qt422016.ReleaseByteBuffer(qb422016) -//line web/authorize.qtpl:159 +//line web/authorize.qtpl:153 return qs422016 -//line web/authorize.qtpl:159 +//line web/authorize.qtpl:153 } diff --git a/web/baseof.qtpl b/web/baseof.qtpl index 5578363..ec626d7 100644 --- a/web/baseof.qtpl +++ b/web/baseof.qtpl @@ -38,22 +38,18 @@ {% func (p *BaseOf) Head() %} {% comment %}https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs{% endcomment %} - - - - {% endfunc %} @@ -61,15 +57,12 @@ {% func Template(p Page) %} - - - + + {%= p.Head() %} diff --git a/web/baseof.qtpl.go b/web/baseof.qtpl.go index 4b22224..adf9552 100644 --- a/web/baseof.qtpl.go +++ b/web/baseof.qtpl.go @@ -153,103 +153,103 @@ func (p *BaseOf) StreamHead(qw422016 *qt422016.Writer) { qw422016.N().S(` `) //line web/baseof.qtpl:40 qw422016.N().S(` `) -//line web/baseof.qtpl:58 +//line web/baseof.qtpl:54 } -//line web/baseof.qtpl:58 +//line web/baseof.qtpl:54 func (p *BaseOf) WriteHead(qq422016 qtio422016.Writer) { -//line web/baseof.qtpl:58 +//line web/baseof.qtpl:54 qw422016 := qt422016.AcquireWriter(qq422016) -//line web/baseof.qtpl:58 +//line web/baseof.qtpl:54 p.StreamHead(qw422016) -//line web/baseof.qtpl:58 +//line web/baseof.qtpl:54 qt422016.ReleaseWriter(qw422016) -//line web/baseof.qtpl:58 +//line web/baseof.qtpl:54 } -//line web/baseof.qtpl:58 +//line web/baseof.qtpl:54 func (p *BaseOf) Head() string { -//line web/baseof.qtpl:58 +//line web/baseof.qtpl:54 qb422016 := qt422016.AcquireByteBuffer() -//line web/baseof.qtpl:58 +//line web/baseof.qtpl:54 p.WriteHead(qb422016) -//line web/baseof.qtpl:58 +//line web/baseof.qtpl:54 qs422016 := string(qb422016.B) -//line web/baseof.qtpl:58 +//line web/baseof.qtpl:54 qt422016.ReleaseByteBuffer(qb422016) -//line web/baseof.qtpl:58 +//line web/baseof.qtpl:54 return qs422016 -//line web/baseof.qtpl:58 +//line web/baseof.qtpl:54 } -//line web/baseof.qtpl:60 +//line web/baseof.qtpl:56 func (p *BaseOf) StreamBody(qw422016 *qt422016.Writer) { -//line web/baseof.qtpl:60 +//line web/baseof.qtpl:56 } -//line web/baseof.qtpl:60 +//line web/baseof.qtpl:56 func (p *BaseOf) WriteBody(qq422016 qtio422016.Writer) { -//line web/baseof.qtpl:60 +//line web/baseof.qtpl:56 qw422016 := qt422016.AcquireWriter(qq422016) -//line web/baseof.qtpl:60 +//line web/baseof.qtpl:56 p.StreamBody(qw422016) -//line web/baseof.qtpl:60 +//line web/baseof.qtpl:56 qt422016.ReleaseWriter(qw422016) -//line web/baseof.qtpl:60 +//line web/baseof.qtpl:56 } -//line web/baseof.qtpl:60 +//line web/baseof.qtpl:56 func (p *BaseOf) Body() string { -//line web/baseof.qtpl:60 +//line web/baseof.qtpl:56 qb422016 := qt422016.AcquireByteBuffer() -//line web/baseof.qtpl:60 +//line web/baseof.qtpl:56 p.WriteBody(qb422016) -//line web/baseof.qtpl:60 +//line web/baseof.qtpl:56 qs422016 := string(qb422016.B) -//line web/baseof.qtpl:60 +//line web/baseof.qtpl:56 qt422016.ReleaseByteBuffer(qb422016) -//line web/baseof.qtpl:60 +//line web/baseof.qtpl:56 return qs422016 -//line web/baseof.qtpl:60 +//line web/baseof.qtpl:56 } -//line web/baseof.qtpl:62 +//line web/baseof.qtpl:58 func StreamTemplate(qw422016 *qt422016.Writer, p Page) { -//line web/baseof.qtpl:62 +//line web/baseof.qtpl:58 qw422016.N().S(` `) -//line web/baseof.qtpl:74 +//line web/baseof.qtpl:61 + qw422016.N().S(`"> `) +//line web/baseof.qtpl:67 p.StreamHead(qw422016) -//line web/baseof.qtpl:74 +//line web/baseof.qtpl:67 qw422016.N().S(` `) -//line web/baseof.qtpl:76 +//line web/baseof.qtpl:69 p.StreamTitle(qw422016) -//line web/baseof.qtpl:76 +//line web/baseof.qtpl:69 qw422016.N().S(` `) -//line web/baseof.qtpl:79 +//line web/baseof.qtpl:72 p.StreamBody(qw422016) -//line web/baseof.qtpl:79 +//line web/baseof.qtpl:72 qw422016.N().S(` `) -//line web/baseof.qtpl:82 +//line web/baseof.qtpl:75 var path, vcsRevision string if bi, ok := debug.ReadBuildInfo(); ok { @@ -264,94 +264,94 @@ func StreamTemplate(qw422016 *qt422016.Writer, p Page) { } } -//line web/baseof.qtpl:95 +//line web/baseof.qtpl:88 qw422016.N().S(` `) -//line web/baseof.qtpl:97 +//line web/baseof.qtpl:90 if vcsRevision != "" { -//line web/baseof.qtpl:97 +//line web/baseof.qtpl:90 qw422016.N().S(` `) -//line web/baseof.qtpl:106 +//line web/baseof.qtpl:99 } -//line web/baseof.qtpl:106 +//line web/baseof.qtpl:99 qw422016.N().S(` `) -//line web/baseof.qtpl:109 +//line web/baseof.qtpl:102 } -//line web/baseof.qtpl:109 +//line web/baseof.qtpl:102 func WriteTemplate(qq422016 qtio422016.Writer, p Page) { -//line web/baseof.qtpl:109 +//line web/baseof.qtpl:102 qw422016 := qt422016.AcquireWriter(qq422016) -//line web/baseof.qtpl:109 +//line web/baseof.qtpl:102 StreamTemplate(qw422016, p) -//line web/baseof.qtpl:109 +//line web/baseof.qtpl:102 qt422016.ReleaseWriter(qw422016) -//line web/baseof.qtpl:109 +//line web/baseof.qtpl:102 } -//line web/baseof.qtpl:109 +//line web/baseof.qtpl:102 func Template(p Page) string { -//line web/baseof.qtpl:109 +//line web/baseof.qtpl:102 qb422016 := qt422016.AcquireByteBuffer() -//line web/baseof.qtpl:109 +//line web/baseof.qtpl:102 WriteTemplate(qb422016, p) -//line web/baseof.qtpl:109 +//line web/baseof.qtpl:102 qs422016 := string(qb422016.B) -//line web/baseof.qtpl:109 +//line web/baseof.qtpl:102 qt422016.ReleaseByteBuffer(qb422016) -//line web/baseof.qtpl:109 +//line web/baseof.qtpl:102 return qs422016 -//line web/baseof.qtpl:109 +//line web/baseof.qtpl:102 } -//line web/baseof.qtpl:111 +//line web/baseof.qtpl:104 func (p *BaseOf) StreamT(qw422016 *qt422016.Writer, format string, args ...interface{}) { -//line web/baseof.qtpl:111 +//line web/baseof.qtpl:104 qw422016.N().S(` `) -//line web/baseof.qtpl:112 +//line web/baseof.qtpl:105 qw422016.E().S(p.Printer.Sprintf(format, args...)) -//line web/baseof.qtpl:112 +//line web/baseof.qtpl:105 qw422016.N().S(` `) -//line web/baseof.qtpl:113 +//line web/baseof.qtpl:106 } -//line web/baseof.qtpl:113 +//line web/baseof.qtpl:106 func (p *BaseOf) WriteT(qq422016 qtio422016.Writer, format string, args ...interface{}) { -//line web/baseof.qtpl:113 +//line web/baseof.qtpl:106 qw422016 := qt422016.AcquireWriter(qq422016) -//line web/baseof.qtpl:113 +//line web/baseof.qtpl:106 p.StreamT(qw422016, format, args...) -//line web/baseof.qtpl:113 +//line web/baseof.qtpl:106 qt422016.ReleaseWriter(qw422016) -//line web/baseof.qtpl:113 +//line web/baseof.qtpl:106 } -//line web/baseof.qtpl:113 +//line web/baseof.qtpl:106 func (p *BaseOf) T(format string, args ...interface{}) string { -//line web/baseof.qtpl:113 +//line web/baseof.qtpl:106 qb422016 := qt422016.AcquireByteBuffer() -//line web/baseof.qtpl:113 +//line web/baseof.qtpl:106 p.WriteT(qb422016, format, args...) -//line web/baseof.qtpl:113 +//line web/baseof.qtpl:106 qs422016 := string(qb422016.B) -//line web/baseof.qtpl:113 +//line web/baseof.qtpl:106 qt422016.ReleaseByteBuffer(qb422016) -//line web/baseof.qtpl:113 +//line web/baseof.qtpl:106 return qs422016 -//line web/baseof.qtpl:113 +//line web/baseof.qtpl:106 } diff --git a/web/callback.qtpl b/web/callback.qtpl index 9e5fad5..0b07d99 100644 --- a/web/callback.qtpl +++ b/web/callback.qtpl @@ -1,4 +1,6 @@ -{% import "source.toby3d.me/toby3d/auth/internal/domain" %} +{% import ( + "source.toby3d.me/toby3d/auth/internal/domain" +) %} {% code type CallbackPage struct { BaseOf diff --git a/web/callback.qtpl.go b/web/callback.qtpl.go index 9480636..807b017 100644 --- a/web/callback.qtpl.go +++ b/web/callback.qtpl.go @@ -5,72 +5,74 @@ package web //line web/callback.qtpl:1 -import "source.toby3d.me/toby3d/auth/internal/domain" +import ( + "source.toby3d.me/toby3d/auth/internal/domain" +) -//line web/callback.qtpl:3 +//line web/callback.qtpl:5 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) -//line web/callback.qtpl:3 +//line web/callback.qtpl:5 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) -//line web/callback.qtpl:3 +//line web/callback.qtpl:5 type CallbackPage struct { BaseOf Token *domain.Token } -//line web/callback.qtpl:9 +//line web/callback.qtpl:11 func (p *CallbackPage) StreamBody(qw422016 *qt422016.Writer) { -//line web/callback.qtpl:9 +//line web/callback.qtpl:11 qw422016.N().S(` `) -//line web/callback.qtpl:10 +//line web/callback.qtpl:12 if p.Token != nil { -//line web/callback.qtpl:10 +//line web/callback.qtpl:12 qw422016.N().S(`

`) -//line web/callback.qtpl:11 +//line web/callback.qtpl:13 qw422016.E().S(p.Token.Me.String()) -//line web/callback.qtpl:11 +//line web/callback.qtpl:13 qw422016.N().S(`

`) -//line web/callback.qtpl:12 +//line web/callback.qtpl:14 qw422016.E().S(p.Token.AccessToken) -//line web/callback.qtpl:12 +//line web/callback.qtpl:14 qw422016.N().S(` `) -//line web/callback.qtpl:13 +//line web/callback.qtpl:15 } -//line web/callback.qtpl:13 +//line web/callback.qtpl:15 qw422016.N().S(` `) -//line web/callback.qtpl:14 +//line web/callback.qtpl:16 } -//line web/callback.qtpl:14 +//line web/callback.qtpl:16 func (p *CallbackPage) WriteBody(qq422016 qtio422016.Writer) { -//line web/callback.qtpl:14 +//line web/callback.qtpl:16 qw422016 := qt422016.AcquireWriter(qq422016) -//line web/callback.qtpl:14 +//line web/callback.qtpl:16 p.StreamBody(qw422016) -//line web/callback.qtpl:14 +//line web/callback.qtpl:16 qt422016.ReleaseWriter(qw422016) -//line web/callback.qtpl:14 +//line web/callback.qtpl:16 } -//line web/callback.qtpl:14 +//line web/callback.qtpl:16 func (p *CallbackPage) Body() string { -//line web/callback.qtpl:14 +//line web/callback.qtpl:16 qb422016 := qt422016.AcquireByteBuffer() -//line web/callback.qtpl:14 +//line web/callback.qtpl:16 p.WriteBody(qb422016) -//line web/callback.qtpl:14 +//line web/callback.qtpl:16 qs422016 := string(qb422016.B) -//line web/callback.qtpl:14 +//line web/callback.qtpl:16 qt422016.ReleaseByteBuffer(qb422016) -//line web/callback.qtpl:14 +//line web/callback.qtpl:16 return qs422016 -//line web/callback.qtpl:14 +//line web/callback.qtpl:16 } diff --git a/web/error.qtpl b/web/error.qtpl index da9de03..026da32 100644 --- a/web/error.qtpl +++ b/web/error.qtpl @@ -25,8 +25,7 @@ {% endif %} {% if err.URI != "" %} - diff --git a/web/error.qtpl.go b/web/error.qtpl.go index ba08b29..9d0a741 100644 --- a/web/error.qtpl.go +++ b/web/error.qtpl.go @@ -100,59 +100,59 @@ func (p *ErrorPage) StreamBody(qw422016 *qt422016.Writer) { if err.URI != "" { //line web/error.qtpl:27 qw422016.N().S(` `) -//line web/error.qtpl:33 +//line web/error.qtpl:32 qw422016.E().S(p.T("How do I fix it?")) -//line web/error.qtpl:33 +//line web/error.qtpl:32 qw422016.N().S(` `) -//line web/error.qtpl:35 +//line web/error.qtpl:34 } -//line web/error.qtpl:35 +//line web/error.qtpl:34 qw422016.N().S(` `) -//line web/error.qtpl:36 +//line web/error.qtpl:35 } else { -//line web/error.qtpl:36 +//line web/error.qtpl:35 qw422016.N().S(`

`) -//line web/error.qtpl:37 +//line web/error.qtpl:36 qw422016.E().S(p.T("Error")) -//line web/error.qtpl:37 +//line web/error.qtpl:36 qw422016.N().S(`

`) -//line web/error.qtpl:38 +//line web/error.qtpl:37 qw422016.E().S(p.Error.Error()) -//line web/error.qtpl:38 +//line web/error.qtpl:37 qw422016.N().S(`

`) -//line web/error.qtpl:39 +//line web/error.qtpl:38 } -//line web/error.qtpl:39 +//line web/error.qtpl:38 qw422016.N().S(` `) -//line web/error.qtpl:41 +//line web/error.qtpl:40 } -//line web/error.qtpl:41 +//line web/error.qtpl:40 func (p *ErrorPage) WriteBody(qq422016 qtio422016.Writer) { -//line web/error.qtpl:41 +//line web/error.qtpl:40 qw422016 := qt422016.AcquireWriter(qq422016) -//line web/error.qtpl:41 +//line web/error.qtpl:40 p.StreamBody(qw422016) -//line web/error.qtpl:41 +//line web/error.qtpl:40 qt422016.ReleaseWriter(qw422016) -//line web/error.qtpl:41 +//line web/error.qtpl:40 } -//line web/error.qtpl:41 +//line web/error.qtpl:40 func (p *ErrorPage) Body() string { -//line web/error.qtpl:41 +//line web/error.qtpl:40 qb422016 := qt422016.AcquireByteBuffer() -//line web/error.qtpl:41 +//line web/error.qtpl:40 p.WriteBody(qb422016) -//line web/error.qtpl:41 +//line web/error.qtpl:40 qs422016 := string(qb422016.B) -//line web/error.qtpl:41 +//line web/error.qtpl:40 qt422016.ReleaseByteBuffer(qb422016) -//line web/error.qtpl:41 +//line web/error.qtpl:40 return qs422016 -//line web/error.qtpl:41 +//line web/error.qtpl:40 } diff --git a/web/home.qtpl b/web/home.qtpl index 9d7da85..5904e8b 100644 --- a/web/home.qtpl +++ b/web/home.qtpl @@ -1,4 +1,6 @@ -{% import "source.toby3d.me/toby3d/auth/internal/domain" %} +{% import ( + "source.toby3d.me/toby3d/auth/internal/domain" +) %} {% code type HomePage struct { BaseOf @@ -16,8 +18,7 @@ {% func (p *HomePage) Body() %}
-

- {%s p.Client.GetName() %} @@ -38,37 +38,34 @@

-
- {% for name, value := range map[string]string { + {% for name, value := range map[string]string{ "client_id": p.Client.ID.String(), "redirect_uri": p.Client.RedirectURI[0].String(), "response_type": domain.ResponseTypeCode.String(), "state": p.State, } %} - {% endfor %} - {% for _, scope := domain.Scopes{ - domain.ScopeProfile, + {% for _, scope := range []domain.Scope{ domain.ScopeEmail, + domain.ScopeProfile, } %} - {% endfor %} - `) -//line web/home.qtpl:14 +//line web/home.qtpl:16 } -//line web/home.qtpl:14 +//line web/home.qtpl:16 qw422016.N().S(` `) -//line web/home.qtpl:15 +//line web/home.qtpl:17 } -//line web/home.qtpl:15 +//line web/home.qtpl:17 func (p *HomePage) WriteHead(qq422016 qtio422016.Writer) { -//line web/home.qtpl:15 +//line web/home.qtpl:17 qw422016 := qt422016.AcquireWriter(qq422016) -//line web/home.qtpl:15 +//line web/home.qtpl:17 p.StreamHead(qw422016) -//line web/home.qtpl:15 +//line web/home.qtpl:17 qt422016.ReleaseWriter(qw422016) -//line web/home.qtpl:15 +//line web/home.qtpl:17 } -//line web/home.qtpl:15 +//line web/home.qtpl:17 func (p *HomePage) Head() string { -//line web/home.qtpl:15 +//line web/home.qtpl:17 qb422016 := qt422016.AcquireByteBuffer() -//line web/home.qtpl:15 +//line web/home.qtpl:17 p.WriteHead(qb422016) -//line web/home.qtpl:15 +//line web/home.qtpl:17 qs422016 := string(qb422016.B) -//line web/home.qtpl:15 +//line web/home.qtpl:17 qt422016.ReleaseByteBuffer(qb422016) -//line web/home.qtpl:15 +//line web/home.qtpl:17 return qs422016 -//line web/home.qtpl:15 +//line web/home.qtpl:17 } -//line web/home.qtpl:17 +//line web/home.qtpl:19 func (p *HomePage) StreamBody(qw422016 *qt422016.Writer) { -//line web/home.qtpl:17 +//line web/home.qtpl:19 qw422016.N().S(`

`) + qw422016.N().S(`

`) //line web/home.qtpl:48 for name, value := range map[string]string{ "client_id": p.Client.ID.String(), "redirect_uri": p.Client.RedirectURI[0].String(), "response_type": domain.ResponseTypeCode.String(), "state": p.State, - "scope": domain.Scopes{domain.ScopeProfile, domain.ScopeEmail}.String(), } { -//line web/home.qtpl:54 +//line web/home.qtpl:53 qw422016.N().S(` `) -//line web/home.qtpl:59 +//line web/home.qtpl:57 } +//line web/home.qtpl:57 + qw422016.N().S(` `) //line web/home.qtpl:59 + for _, scope := range []domain.Scope{ + domain.ScopeEmail, + domain.ScopeProfile, + } { +//line web/home.qtpl:62 + qw422016.N().S(` `) +//line web/home.qtpl:66 + } +//line web/home.qtpl:66 qw422016.N().S(`
`) -//line web/home.qtpl:72 +//line web/home.qtpl:78 } -//line web/home.qtpl:72 +//line web/home.qtpl:78 func (p *HomePage) WriteBody(qq422016 qtio422016.Writer) { -//line web/home.qtpl:72 +//line web/home.qtpl:78 qw422016 := qt422016.AcquireWriter(qq422016) -//line web/home.qtpl:72 +//line web/home.qtpl:78 p.StreamBody(qw422016) -//line web/home.qtpl:72 +//line web/home.qtpl:78 qt422016.ReleaseWriter(qw422016) -//line web/home.qtpl:72 +//line web/home.qtpl:78 } -//line web/home.qtpl:72 +//line web/home.qtpl:78 func (p *HomePage) Body() string { -//line web/home.qtpl:72 +//line web/home.qtpl:78 qb422016 := qt422016.AcquireByteBuffer() -//line web/home.qtpl:72 +//line web/home.qtpl:78 p.WriteBody(qb422016) -//line web/home.qtpl:72 +//line web/home.qtpl:78 qs422016 := string(qb422016.B) -//line web/home.qtpl:72 +//line web/home.qtpl:78 qt422016.ReleaseByteBuffer(qb422016) -//line web/home.qtpl:72 +//line web/home.qtpl:78 return qs422016 -//line web/home.qtpl:72 +//line web/home.qtpl:78 } diff --git a/web/ticket.qtpl b/web/ticket.qtpl index 452926d..7f2cab1 100644 --- a/web/ticket.qtpl +++ b/web/ticket.qtpl @@ -10,7 +10,7 @@
-
{% if p.CSRF != nil %} - {% endif %}
- -
`) + qw422016.N().S(`
`) //line web/ticket.qtpl:21 if p.CSRF != nil { //line web/ticket.qtpl:21 qw422016.N().S(` `) -//line web/ticket.qtpl:26 +//line web/ticket.qtpl:25 } -//line web/ticket.qtpl:26 +//line web/ticket.qtpl:25 qw422016.N().S(`
`) -//line web/ticket.qtpl:53 +//line web/ticket.qtpl:50 } -//line web/ticket.qtpl:53 +//line web/ticket.qtpl:50 func (p *TicketPage) WriteBody(qq422016 qtio422016.Writer) { -//line web/ticket.qtpl:53 +//line web/ticket.qtpl:50 qw422016 := qt422016.AcquireWriter(qq422016) -//line web/ticket.qtpl:53 +//line web/ticket.qtpl:50 p.StreamBody(qw422016) -//line web/ticket.qtpl:53 +//line web/ticket.qtpl:50 qt422016.ReleaseWriter(qw422016) -//line web/ticket.qtpl:53 +//line web/ticket.qtpl:50 } -//line web/ticket.qtpl:53 +//line web/ticket.qtpl:50 func (p *TicketPage) Body() string { -//line web/ticket.qtpl:53 +//line web/ticket.qtpl:50 qb422016 := qt422016.AcquireByteBuffer() -//line web/ticket.qtpl:53 +//line web/ticket.qtpl:50 p.WriteBody(qb422016) -//line web/ticket.qtpl:53 +//line web/ticket.qtpl:50 qs422016 := string(qb422016.B) -//line web/ticket.qtpl:53 +//line web/ticket.qtpl:50 qt422016.ReleaseByteBuffer(qb422016) -//line web/ticket.qtpl:53 +//line web/ticket.qtpl:50 return qs422016 -//line web/ticket.qtpl:53 +//line web/ticket.qtpl:50 }