aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-10-05 16:59:10 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-10-05 16:59:10 +0200
commit836c0cc75c2f28cccff5892c1357873c1a29945a (patch)
tree61e49efa105044863008a3599216f2be4d559c4f
parent6e5062488fc3ecbf37c11e7d111bfe6ea3b5284d (diff)
downloadcerrado-0.0.15.tar.gz
cerrado-0.0.15.tar.bz2
cerrado-0.0.15.zip
ref: Make the warning less disruptivev0.0.15
Now the project is getting into a better shape I made the warning a less disruptive.
-rw-r--r--templates/base.qtpl3
-rw-r--r--templates/base.qtpl.go41
-rw-r--r--templates/gitlist.qtpl3
-rw-r--r--templates/gitlist.qtpl.go59
4 files changed, 53 insertions, 53 deletions
diff --git a/templates/base.qtpl b/templates/base.qtpl
index 9e2e6ac..7063829 100644
--- a/templates/base.qtpl
+++ b/templates/base.qtpl
@@ -48,9 +48,6 @@ Page prints a page implementing Page interface.
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
- <div class="alert alert-warning text-center" role="alert">
- This project is under development, things may be broken or incomplete.
- </div>
{%= p.Navbar() %}
<div class="container">
{%= p.Content() %}
diff --git a/templates/base.qtpl.go b/templates/base.qtpl.go
index 51b2b8b..f8ff91f 100644
--- a/templates/base.qtpl.go
+++ b/templates/base.qtpl.go
@@ -101,54 +101,51 @@ func StreamPageTemplate(qw422016 *qt422016.Writer, p Page) {
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
- <div class="alert alert-warning text-center" role="alert">
- This project is under development, things may be broken or incomplete.
- </div>
`)
-//line templates/base.qtpl:54
+//line templates/base.qtpl:51
p.StreamNavbar(qw422016)
-//line templates/base.qtpl:54
+//line templates/base.qtpl:51
qw422016.N().S(`
<div class="container">
`)
-//line templates/base.qtpl:56
+//line templates/base.qtpl:53
p.StreamContent(qw422016)
-//line templates/base.qtpl:56
+//line templates/base.qtpl:53
qw422016.N().S(`
</div>
</body>
`)
-//line templates/base.qtpl:59
+//line templates/base.qtpl:56
p.StreamScript(qw422016)
-//line templates/base.qtpl:59
+//line templates/base.qtpl:56
qw422016.N().S(`
</html>
`)
-//line templates/base.qtpl:61
+//line templates/base.qtpl:58
}
-//line templates/base.qtpl:61
+//line templates/base.qtpl:58
func WritePageTemplate(qq422016 qtio422016.Writer, p Page) {
-//line templates/base.qtpl:61
+//line templates/base.qtpl:58
qw422016 := qt422016.AcquireWriter(qq422016)
-//line templates/base.qtpl:61
+//line templates/base.qtpl:58
StreamPageTemplate(qw422016, p)
-//line templates/base.qtpl:61
+//line templates/base.qtpl:58
qt422016.ReleaseWriter(qw422016)
-//line templates/base.qtpl:61
+//line templates/base.qtpl:58
}
-//line templates/base.qtpl:61
+//line templates/base.qtpl:58
func PageTemplate(p Page) string {
-//line templates/base.qtpl:61
+//line templates/base.qtpl:58
qb422016 := qt422016.AcquireByteBuffer()
-//line templates/base.qtpl:61
+//line templates/base.qtpl:58
WritePageTemplate(qb422016, p)
-//line templates/base.qtpl:61
+//line templates/base.qtpl:58
qs422016 := string(qb422016.B)
-//line templates/base.qtpl:61
+//line templates/base.qtpl:58
qt422016.ReleaseByteBuffer(qb422016)
-//line templates/base.qtpl:61
+//line templates/base.qtpl:58
return qs422016
-//line templates/base.qtpl:61
+//line templates/base.qtpl:58
}
diff --git a/templates/gitlist.qtpl b/templates/gitlist.qtpl
index ff2eca9..7c104ca 100644
--- a/templates/gitlist.qtpl
+++ b/templates/gitlist.qtpl
@@ -33,6 +33,9 @@ type GitListPage struct {
</div>
<div id="about" class="col-md-4 order-first order-md-last">
{%z= p.About %}
+ <div class="alert alert-warning text-center" role="alert">
+ This project is under development, things may be broken or incomplete.
+ </div>
</div>
</div>
{% endfunc %}
diff --git a/templates/gitlist.qtpl.go b/templates/gitlist.qtpl.go
index e2644d0..29adbc6 100644
--- a/templates/gitlist.qtpl.go
+++ b/templates/gitlist.qtpl.go
@@ -161,68 +161,71 @@ func (p *GitListPage) StreamContent(qw422016 *qt422016.Writer) {
qw422016.N().Z(p.About)
//line templates/gitlist.qtpl:35
qw422016.N().S(`
+ <div class="alert alert-warning text-center" role="alert">
+ This project is under development, things may be broken or incomplete.
+ </div>
</div>
</div>
`)
-//line templates/gitlist.qtpl:38
+//line templates/gitlist.qtpl:41
}
-//line templates/gitlist.qtpl:38
+//line templates/gitlist.qtpl:41
func (p *GitListPage) WriteContent(qq422016 qtio422016.Writer) {
-//line templates/gitlist.qtpl:38
+//line templates/gitlist.qtpl:41
qw422016 := qt422016.AcquireWriter(qq422016)
-//line templates/gitlist.qtpl:38
+//line templates/gitlist.qtpl:41
p.StreamContent(qw422016)
-//line templates/gitlist.qtpl:38
+//line templates/gitlist.qtpl:41
qt422016.ReleaseWriter(qw422016)
-//line templates/gitlist.qtpl:38
+//line templates/gitlist.qtpl:41
}
-//line templates/gitlist.qtpl:38
+//line templates/gitlist.qtpl:41
func (p *GitListPage) Content() string {
-//line templates/gitlist.qtpl:38
+//line templates/gitlist.qtpl:41
qb422016 := qt422016.AcquireByteBuffer()
-//line templates/gitlist.qtpl:38
+//line templates/gitlist.qtpl:41
p.WriteContent(qb422016)
-//line templates/gitlist.qtpl:38
+//line templates/gitlist.qtpl:41
qs422016 := string(qb422016.B)
-//line templates/gitlist.qtpl:38
+//line templates/gitlist.qtpl:41
qt422016.ReleaseByteBuffer(qb422016)
-//line templates/gitlist.qtpl:38
+//line templates/gitlist.qtpl:41
return qs422016
-//line templates/gitlist.qtpl:38
+//line templates/gitlist.qtpl:41
}
-//line templates/gitlist.qtpl:40
+//line templates/gitlist.qtpl:43
func (p *GitListPage) StreamScript(qw422016 *qt422016.Writer) {
-//line templates/gitlist.qtpl:40
+//line templates/gitlist.qtpl:43
qw422016.N().S(`
`)
-//line templates/gitlist.qtpl:41
+//line templates/gitlist.qtpl:44
}
-//line templates/gitlist.qtpl:41
+//line templates/gitlist.qtpl:44
func (p *GitListPage) WriteScript(qq422016 qtio422016.Writer) {
-//line templates/gitlist.qtpl:41
+//line templates/gitlist.qtpl:44
qw422016 := qt422016.AcquireWriter(qq422016)
-//line templates/gitlist.qtpl:41
+//line templates/gitlist.qtpl:44
p.StreamScript(qw422016)
-//line templates/gitlist.qtpl:41
+//line templates/gitlist.qtpl:44
qt422016.ReleaseWriter(qw422016)
-//line templates/gitlist.qtpl:41
+//line templates/gitlist.qtpl:44
}
-//line templates/gitlist.qtpl:41
+//line templates/gitlist.qtpl:44
func (p *GitListPage) Script() string {
-//line templates/gitlist.qtpl:41
+//line templates/gitlist.qtpl:44
qb422016 := qt422016.AcquireByteBuffer()
-//line templates/gitlist.qtpl:41
+//line templates/gitlist.qtpl:44
p.WriteScript(qb422016)
-//line templates/gitlist.qtpl:41
+//line templates/gitlist.qtpl:44
qs422016 := string(qb422016.B)
-//line templates/gitlist.qtpl:41
+//line templates/gitlist.qtpl:44
qt422016.ReleaseByteBuffer(qb422016)
-//line templates/gitlist.qtpl:41
+//line templates/gitlist.qtpl:44
return qs422016
-//line templates/gitlist.qtpl:41
+//line templates/gitlist.qtpl:44
}