Fix user input being too wide on certain forms (#748)
Cette révision appartient à :
Parent
2773fe200d
révision
3e2466dd47
3 fichiers modifiés avec 10 ajouts et 0 suppressions
|
@ -411,6 +411,7 @@ td.tr-le { color: #E84C4C; }
|
|||
|
||||
.up-input {
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.input-label {
|
||||
font-size: large;
|
||||
|
@ -609,3 +610,8 @@ td.tr-le { color: #E84C4C; }
|
|||
flex-direction: column;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.user-form {
|
||||
margin-right: 30%;
|
||||
margin-left: 30%;
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
{{define "content"}}
|
||||
{{ with .Form }}
|
||||
<div class="box">
|
||||
<div class="user-form">
|
||||
<form role="form" method="POST">
|
||||
<h2>{{call $.T "sign_in_box_title"}}</h2>
|
||||
{{ range (index $.FormErrors "errors")}}
|
||||
|
@ -24,6 +25,7 @@
|
|||
<input type="submit" class="form-input" value="{{ call $.T "signin"}}">
|
||||
<a href="{{ genRoute "user_register" }}" class="btn btn-lg btn-primary btn-block">{{ call $.T "register"}}</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
<br />
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
{{define "content"}}
|
||||
{{ with .Form }}
|
||||
<div class="box">
|
||||
<div class="user-form">
|
||||
<form role="form" method="POST">
|
||||
<h2>{{call $.T "signup_box_title" }}</h2>
|
||||
{{ range (index $.FormErrors "errors")}}
|
||||
|
@ -37,6 +38,7 @@
|
|||
<input type="submit" value="{{call $.T "register" }}" class="form-input"></input>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript" charset="utf-8">function terms() {alert("just don't be a dick thx");}</script>
|
||||
|
||||
{{end}}
|
||||
|
|
Référencer dans un nouveau ticket