Commit a3e271d8 authored by ale's avatar ale
Browse files

Fix CSS styling for buttons

parent 3ce62572
Pipeline #432 passed with stages
in 1 minute and 21 seconds
......@@ -32,9 +32,9 @@
</table>
<p>
<button class="btn btn-default" href="/account/overview">
<a class="btn btn-default" href="/account/overview">
Back
</button>
</a>
</p>
{{end}}
......@@ -8,16 +8,20 @@
OTP is already enabled for this account.
</p>
<button class="btn btn-default"
href="/account/otp/reset">
Reset OTP
</button>
<p>
<a class="btn btn-default"
href="/account/otp/reset">
Reset OTP
</a>
</p>
{{else}}
<button class="btn btn-default"
href="/account/otp/enable">
Enable OTP
</button>
<p>
<a class="btn btn-default"
href="/account/otp/enable">
Enable OTP
</a>
</p>
{{end}}
{{end}}
......@@ -7,18 +7,14 @@
Email: <b>{{.User.Email}}</b>
</p>
<p>
<a href="/account/email_change">
<button class="btn btn-default">
Change email address
</button>
<a href="/account/email_change" class="btn btn-default">
Change email address
</a>
</p>
<p>
<a href="/account/password_change">
<button class="btn btn-default">
Change your password
</button>
<a href="/account/password_change" class="btn btn-default">
Change your password
</a>
</p>
......@@ -27,25 +23,21 @@
</p>
<p>
<a href="/account/otp">
<button class="btn btn-default">
{{if .User.OTPEnabled}}
Manage OTP
{{else}}
Enable OTP
{{end}}
</button>
<a href="/account/otp" class="btn btn-default">
{{if .User.OTPEnabled}}
Manage OTP
{{else}}
Enable OTP
{{end}}
</a>
</p>
<p>
<a href="/account/u2f">
<button class="btn btn-default">
{{if .User.U2FEnabled}}
Manage U2F
{{else}}
Enable U2F
{{end}}
</button>
<a href="/account/u2f" class="btn btn-default">
{{if .User.U2FEnabled}}
Manage U2F
{{else}}
Enable U2F
{{end}}
</a>
</p>
......
......@@ -15,16 +15,16 @@
{{end}}
<p>
<button class="btn btn-primary" id="registerBtn">
<a class="btn btn-primary" id="registerBtn">
Register new hardware token
</button>
</a>
</p>
<p id="u2fMsg"></p>
<p>
<button class="btn btn-default" href="/account/overview">
<a class="btn btn-default" href="/account/overview">
Back
</button>
</a>
</p>
{{end}}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment