diff --git a/assets/assets.qtpl.go b/assets/assets.qtpl.go
index a0d2dc5..0c97fe2 100644
--- a/assets/assets.qtpl.go
+++ b/assets/assets.qtpl.go
@@ -322,11 +322,13 @@ caption { caption-side: top; font-size: small; }
::-webkit-file-upload-button,
.btn { line-height: normal; display: inline-block; border: 1px #999 solid; border-radius: .25rem; text-decoration: none; padding: .25rem; font-size: 1rem; margin: 0; }
+.btn_weak { border: 1px #999 dashed; }
/* Color stuff */
/* Lighter stuff #eee */
::-webkit-file-upload-button, .btn { background-color: #eee; color: black; }
.btn:visited { color: black; }
+.btn_weak { background-color: transparent; }
article code,
article .codeblock,
@@ -395,6 +397,7 @@ blockquote { border-left: 4px #ddd solid; }
.transclusion .transclusion__link { color: #ddd; }
+input[type="text"], input[type="password"],
::-webkit-file-upload-button,
.btn,
article code,
@@ -409,6 +412,9 @@ textarea,
table { border: 0; background-color: #444444; color: #ddd; }
.btn:visited { color: #ddd;}
+ .btn { border: #444 solid 1px; border-radius: .25rem; }
+ .btn_weak { background-color: transparent; }
+
.transclusion code,
.transclusion .codeblock { background-color: #454545; }
mark { background: rgba(130, 80, 30, 5); color: inherit; }
diff --git a/assets/default.css b/assets/default.css
index 344df31..c9950ea 100644
--- a/assets/default.css
+++ b/assets/default.css
@@ -207,11 +207,13 @@ caption { caption-side: top; font-size: small; }
::-webkit-file-upload-button,
.btn { line-height: normal; display: inline-block; border: 1px #999 solid; border-radius: .25rem; text-decoration: none; padding: .25rem; font-size: 1rem; margin: 0; }
+.btn_weak { border: 1px #999 dashed; }
/* Color stuff */
/* Lighter stuff #eee */
::-webkit-file-upload-button, .btn { background-color: #eee; color: black; }
.btn:visited { color: black; }
+.btn_weak { background-color: transparent; }
article code,
article .codeblock,
@@ -280,6 +282,7 @@ blockquote { border-left: 4px #ddd solid; }
.transclusion .transclusion__link { color: #ddd; }
+input[type="text"], input[type="password"],
::-webkit-file-upload-button,
.btn,
article code,
@@ -294,6 +297,9 @@ textarea,
table { border: 0; background-color: #444444; color: #ddd; }
.btn:visited { color: #ddd;}
+ .btn { border: #444 solid 1px; border-radius: .25rem; }
+ .btn_weak { background-color: transparent; }
+
.transclusion code,
.transclusion .codeblock { background-color: #454545; }
mark { background: rgba(130, 80, 30, 5); color: inherit; }
diff --git a/views/auth.qtpl b/views/auth.qtpl
index 94f67fa..6aa4e47 100644
--- a/views/auth.qtpl
+++ b/views/auth.qtpl
@@ -20,16 +20,16 @@
The server stores your password in an encrypted form; even administrators cannot read it.
By submitting this form you give this wiki a permission to store cookies in your browser. It lets the engine associate your edits with you. You will stay logged in until you log out.
-
- Cancel
+
+ Cancel
{% elseif cfg.UseFixedAuth %}
Administrators have forbidden registration for this wiki. Administrators can make an account for you by hand; contact them.
- ← Go back
+ ← Go back
{% else %}
Administrators of this wiki have not configured any authorization method. You can make edits anonymously.
- ← Go back
+ ← Go back
{% endif %}
@@ -44,7 +44,6 @@
{% else %}
diff --git a/views/auth.qtpl.go b/views/auth.qtpl.go
index 104516b..b1120cd 100644
--- a/views/auth.qtpl.go
+++ b/views/auth.qtpl.go
@@ -59,8 +59,12 @@ func StreamRegisterHTML(qw422016 *qt422016.Writer, rq *http.Request) {
The server stores your password in an encrypted form; even administrators cannot read it.
By submitting this form you give this wiki a permission to store cookies in your browser. It lets the engine associate your edits with you. You will stay logged in until you log out.
-
- Cancel
+
+ Cancel
`)
@@ -69,7 +73,7 @@ func StreamRegisterHTML(qw422016 *qt422016.Writer, rq *http.Request) {
//line views/auth.qtpl:27
qw422016.N().S(`
Administrators have forbidden registration for this wiki. Administrators can make an account for you by hand; contact them.
- Administrators of this wiki have not configured any authorization method. You can make edits anonymously.
-
- Use the data you were given by an administrator.
Username
@@ -151,182 +154,182 @@ func StreamLoginHTML(qw422016 *qt422016.Writer) {
By submitting this form you give this wiki a permission to store cookies in your browser. It lets the engine associate your edits with you. You will stay logged in until you log out.
-
- Cancel
+
+ Cancel
`)
-//line views/auth.qtpl:60
+//line views/auth.qtpl:59
} else {
-//line views/auth.qtpl:60
+//line views/auth.qtpl:59
qw422016.N().S(`
Administrators of this wiki have not configured any authorization method. You can make edits anonymously.
← Go home
`)
-//line views/auth.qtpl:63
+//line views/auth.qtpl:62
}
-//line views/auth.qtpl:63
+//line views/auth.qtpl:62
qw422016.N().S(`
`)
-//line views/auth.qtpl:67
+//line views/auth.qtpl:66
}
-//line views/auth.qtpl:67
+//line views/auth.qtpl:66
func WriteLoginHTML(qq422016 qtio422016.Writer) {
-//line views/auth.qtpl:67
+//line views/auth.qtpl:66
qw422016 := qt422016.AcquireWriter(qq422016)
-//line views/auth.qtpl:67
+//line views/auth.qtpl:66
StreamLoginHTML(qw422016)
-//line views/auth.qtpl:67
+//line views/auth.qtpl:66
qt422016.ReleaseWriter(qw422016)
-//line views/auth.qtpl:67
+//line views/auth.qtpl:66
}
-//line views/auth.qtpl:67
+//line views/auth.qtpl:66
func LoginHTML() string {
-//line views/auth.qtpl:67
+//line views/auth.qtpl:66
qb422016 := qt422016.AcquireByteBuffer()
-//line views/auth.qtpl:67
+//line views/auth.qtpl:66
WriteLoginHTML(qb422016)
-//line views/auth.qtpl:67
+//line views/auth.qtpl:66
qs422016 := string(qb422016.B)
-//line views/auth.qtpl:67
+//line views/auth.qtpl:66
qt422016.ReleaseByteBuffer(qb422016)
-//line views/auth.qtpl:67
+//line views/auth.qtpl:66
return qs422016
-//line views/auth.qtpl:67
+//line views/auth.qtpl:66
}
-//line views/auth.qtpl:69
+//line views/auth.qtpl:68
func StreamLoginErrorHTML(qw422016 *qt422016.Writer, err string) {
-//line views/auth.qtpl:69
+//line views/auth.qtpl:68
qw422016.N().S(`
`)
-//line views/auth.qtpl:73
+//line views/auth.qtpl:72
switch err {
-//line views/auth.qtpl:74
+//line views/auth.qtpl:73
case "unknown username":
-//line views/auth.qtpl:74
+//line views/auth.qtpl:73
qw422016.N().S(`
Unknown username.
`)
-//line views/auth.qtpl:76
+//line views/auth.qtpl:75
case "wrong password":
-//line views/auth.qtpl:76
+//line views/auth.qtpl:75
qw422016.N().S(`
Wrong password.
`)
-//line views/auth.qtpl:78
+//line views/auth.qtpl:77
default:
-//line views/auth.qtpl:78
+//line views/auth.qtpl:77
qw422016.N().S(`
`)
-//line views/auth.qtpl:79
+//line views/auth.qtpl:78
qw422016.E().S(err)
-//line views/auth.qtpl:79
+//line views/auth.qtpl:78
qw422016.N().S(`
`)
-//line views/auth.qtpl:80
+//line views/auth.qtpl:79
}
-//line views/auth.qtpl:80
+//line views/auth.qtpl:79
qw422016.N().S(`
← Try again
`)
-//line views/auth.qtpl:85
+//line views/auth.qtpl:84
}
-//line views/auth.qtpl:85
+//line views/auth.qtpl:84
func WriteLoginErrorHTML(qq422016 qtio422016.Writer, err string) {
-//line views/auth.qtpl:85
+//line views/auth.qtpl:84
qw422016 := qt422016.AcquireWriter(qq422016)
-//line views/auth.qtpl:85
+//line views/auth.qtpl:84
StreamLoginErrorHTML(qw422016, err)
-//line views/auth.qtpl:85
+//line views/auth.qtpl:84
qt422016.ReleaseWriter(qw422016)
-//line views/auth.qtpl:85
+//line views/auth.qtpl:84
}
-//line views/auth.qtpl:85
+//line views/auth.qtpl:84
func LoginErrorHTML(err string) string {
-//line views/auth.qtpl:85
+//line views/auth.qtpl:84
qb422016 := qt422016.AcquireByteBuffer()
-//line views/auth.qtpl:85
+//line views/auth.qtpl:84
WriteLoginErrorHTML(qb422016, err)
-//line views/auth.qtpl:85
+//line views/auth.qtpl:84
qs422016 := string(qb422016.B)
-//line views/auth.qtpl:85
+//line views/auth.qtpl:84
qt422016.ReleaseByteBuffer(qb422016)
-//line views/auth.qtpl:85
+//line views/auth.qtpl:84
return qs422016
-//line views/auth.qtpl:85
+//line views/auth.qtpl:84
}
-//line views/auth.qtpl:87
+//line views/auth.qtpl:86
func StreamLogoutHTML(qw422016 *qt422016.Writer, can bool) {
-//line views/auth.qtpl:87
+//line views/auth.qtpl:86
qw422016.N().S(`
`)
-//line views/auth.qtpl:91
+//line views/auth.qtpl:90
if can {
-//line views/auth.qtpl:91
+//line views/auth.qtpl:90
qw422016.N().S(`
Log out?
Confirm
Cancel
`)
-//line views/auth.qtpl:95
+//line views/auth.qtpl:94
} else {
-//line views/auth.qtpl:95
+//line views/auth.qtpl:94
qw422016.N().S(`
You cannot log out because you are not logged in.
Login
← Home
`)
-//line views/auth.qtpl:99
+//line views/auth.qtpl:98
}
-//line views/auth.qtpl:99
+//line views/auth.qtpl:98
qw422016.N().S(`
`)
-//line views/auth.qtpl:103
+//line views/auth.qtpl:102
}
-//line views/auth.qtpl:103
+//line views/auth.qtpl:102
func WriteLogoutHTML(qq422016 qtio422016.Writer, can bool) {
-//line views/auth.qtpl:103
+//line views/auth.qtpl:102
qw422016 := qt422016.AcquireWriter(qq422016)
-//line views/auth.qtpl:103
+//line views/auth.qtpl:102
StreamLogoutHTML(qw422016, can)
-//line views/auth.qtpl:103
+//line views/auth.qtpl:102
qt422016.ReleaseWriter(qw422016)
-//line views/auth.qtpl:103
+//line views/auth.qtpl:102
}
-//line views/auth.qtpl:103
+//line views/auth.qtpl:102
func LogoutHTML(can bool) string {
-//line views/auth.qtpl:103
+//line views/auth.qtpl:102
qb422016 := qt422016.AcquireByteBuffer()
-//line views/auth.qtpl:103
+//line views/auth.qtpl:102
WriteLogoutHTML(qb422016, can)
-//line views/auth.qtpl:103
+//line views/auth.qtpl:102
qs422016 := string(qb422016.B)
-//line views/auth.qtpl:103
+//line views/auth.qtpl:102
qt422016.ReleaseByteBuffer(qb422016)
-//line views/auth.qtpl:103
+//line views/auth.qtpl:102
return qs422016
-//line views/auth.qtpl:103
+//line views/auth.qtpl:102
}