Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Linus
apb
Commits
0956b439
Commit
0956b439
authored
Oct 14, 2018
by
Linus
🤔
Browse files
1.0 Version!
parent
fd5ba19f
Pipeline
#78429
passed with stages
in 24 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
functions.go
View file @
0956b439
...
...
@@ -76,7 +76,8 @@ func data(w http.ResponseWriter, r *http.Request) error {
func
info
(
w
http
.
ResponseWriter
,
r
*
http
.
Request
)
error
{
args
:=
map
[
string
]
interface
{}{
"Title"
:
"Info"
,
"Title"
:
"Info"
,
"VersionNumber"
:
version
,
}
return
render
(
"templates/info.html"
,
args
,
w
,
r
)
}
main.go
View file @
0956b439
...
...
@@ -9,6 +9,8 @@ import (
"time"
)
var
version
=
"1.0"
var
listingsFile
string
var
swapListingsFile
string
...
...
templates/info.html
View file @
0956b439
{{ define "content" }}
apb ist freie Software unter der MIT-Lizenz.
<br>
<br>
Version {{ .VersionNumber }}
<br>
apb ist freie Software unter der MIT-Lizenz.
<br>
<a
href=
"https://git.rwth-aachen.de/h/apb"
>
Repo
</a>
{{ end }}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment