Skip to content
Snippets Groups Projects
Commit f584ef94 authored by Ulf Seltmann's avatar Ulf Seltmann
Browse files

refs #11173:

* Fixes missing padding on input fields
* Fixes reset password form and input[type='email'] fields
parent 464120ed
No related merge requests found
...@@ -84,6 +84,10 @@ $border-color: $iron !default; ...@@ -84,6 +84,10 @@ $border-color: $iron !default;
////// Note that the nav-tabs have a different border color, use the following variable in your SCSS to change it ////// Note that the nav-tabs have a different border color, use the following variable in your SCSS to change it
// $nav-tabs-border-color: $gainsboro !default; // defined in BS _variables.scss // $nav-tabs-border-color: $gainsboro !default; // defined in BS _variables.scss
// Default border styles
$border-default-styles: 1px solid $border-color !default;
//// PAGER //// PAGER
$pagination-disabled-color: $gainsboro !default; $pagination-disabled-color: $gainsboro !default;
......
...@@ -238,6 +238,15 @@ legend { ...@@ -238,6 +238,15 @@ legend {
//// label {} //// label {}
//// input {} //// input {}
input[type='email'] {
border: $border-default-styles;
padding: $grid-gutter-width / 4;
}
input[type='text'] {
border: $border-default-styles;
padding: $grid-gutter-width / 4;
}
//// Select - for limit and sort-select widths see above //// Select - for limit and sort-select widths see above
////// remove browser styles on select boxes and add custom styles (below) ////// remove browser styles on select boxes and add custom styles (below)
......
<!-- finc: auth - abstractbase - RESETPASSWORD (custom finc template)--> <!-- finc - auth - abstractbase - RESETPASSWORD (custom finc template)-->
<? <?
// Set page title. // Set page title.
$this->headTitle($this->translate('Reset Password')); $this->headTitle($this->translate('Reset Password'));
?> ?>
<h2><?=$this->transEsc('Reset Password') ?></h2> <h2><?=$this->transEsc('Reset Password') ?></h2>
<form method="post" name="resetPasswordForm" action="<?=$this->url('myresearch-resetpassword')?>"> <form method="post" name="resetPasswordForm" class="form-horizontal" action="<?=$this->url('myresearch-resetpassword')?>">
<?=$this->flashmessages()?> <?=$this->flashmessages()?>
<p> <p>
<?=$this->translate('reset_password_text')?> <?=$this->translate('reset_password_text')?>
</p> </p>
<div class="row"> <div class="form-group">
<label class="col-xs-5 col-sm-2"><?=$this->transEsc('First Name') ?>:</label> <label class="col-xs-5 col-sm-4"><?=$this->transEsc('First Name') ?>:</label>
<div class="col-xs-7 col-sm-4"> <div class="col-xs-7 col-sm-4">
<input type="text" name="firstname" <?=isset($firstname) ? 'value="'.$firstname.'" ' : ''?>required /> <input type="text" name="firstname" <?=isset($firstname) ? 'value="'.$firstname.'" ' : ''?>required />
</div> </div>
</div> </div>
<div class="row"> <div class="form-group">
<label class="col-xs-5 col-sm-2"><?=$this->transEsc('Last Name') ?>:</label> <label class="col-xs-5 col-sm-4"><?=$this->transEsc('Last Name') ?>:</label>
<div class="col-xs-7 col-sm-4"> <div class="col-xs-7 col-sm-4">
<input type="text" name="lastname" <?=isset($lastname) ? 'value="'.$lastname.'" ' : ''?>required/> <input type="text" name="lastname" <?=isset($lastname) ? 'value="'.$lastname.'" ' : ''?>required/>
</div> </div>
</div> </div>
<div class="row"> <div class="form-group">
<label class="col-xs-5 col-sm-2"><?=$this->transEsc('Username') ?>:</label> <label class="col-xs-5 col-sm-4"><?=$this->transEsc('Username') ?>:</label>
<div class="col-xs-7 col-sm-4"> <div class="col-xs-7 col-sm-4">
<input type="text" name="username" <?=isset($username) ? 'value="'.$username.'" ' : ''?>required/> <input type="text" name="username" <?=isset($username) ? 'value="'.$username.'" ' : ''?>required/>
</div> </div>
</div> </div>
<div class="row"> <div class="form-group">
<label class="col-xs-5 col-sm-2"><?=$this->transEsc('Email') ?>:</label> <label class="col-xs-5 col-sm-4"><?=$this->transEsc('Email') ?>:</label>
<div class="col-xs-7 col-sm-4"> <div class="col-xs-7 col-sm-4">
<input type="email" name="email" <?=isset($email) ? 'value="'.$email.'" ' : ''?>required/> <input type="email" name="email" <?=isset($email) ? 'value="'.$email.'" ' : ''?>required/>
</div> </div>
</div> </div>
<?=$this->recaptcha()->html($this->useRecaptcha) ?> <?=$this->recaptcha()->html($this->useRecaptcha) ?>
<div class="row"> <div class="form-group">
<div class="col-sm-10 offset-sm-2"> <div class="col-sm-10 offset-sm-2">
<input class="btn btn-transparent" name="submit" type="submit" aria-label="submit form" value="<?=$this->transEsc('recovery_title') ?>"/> <input class="btn btn-transparent" name="submit" type="submit" aria-label="submit form" value="<?=$this->transEsc('recovery_title') ?>"/>
</div> </div>
</div> </div>
</form> </form>
<!-- finc: auth - abstractbase - RESETPASSWORD (custom finc template) - END --> <!-- finc - auth - abstractbase - RESETPASSWORD - END -->
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