Finish with form, adjusting select2 sizes and recatcha scaling to fit in

width.
This commit is contained in:
German Correa 2017-12-01 12:45:43 -03:00
parent ea7b21c2ab
commit 518bd7d957
2 changed files with 15 additions and 5 deletions

View File

@ -5,8 +5,9 @@ $().ready(function(){
$("#txtbda,#txteda").datepicker({
minDate:new Date(2018,7,23),
maxDate:new Date(2018,7,27)
dateFormat: "dd/mm/yy",
minDate:new Date(2018,6,23),
maxDate:new Date(2018,6,27)
});
$("#pais").select2({
@ -20,6 +21,7 @@ $().ready(function(){
placeholder: "Select Rooming Preference",
width:"100%",
minimumResultsForSearch: -1,
dropdownCssClass: "bigdrop",
});

View File

@ -1,5 +1,14 @@
<?php include_once 'header.php'; ?>
<style>
.select2-selection, .select2-selection__rendered, .select2-selection__arrow{
height:34px!important;
line-height: 34px!important;
}
.g-recaptcha {
transform:scale(0.87);
transform-origin:0 0;
}
</style>
<script src="js/data.js"></script>
<script src="js/registerform.js"></script>
<div class="row">
@ -163,7 +172,7 @@
<!--Captcha -->
<div class="row">
<div class="form-group col-xs-12">
<div class="g-recaptcha" data-sitekey="6LeLxy4UAAAAALcrNXxcOiW1B3QgcfgZ6u4l52kZ" data-callback="onReturnCallback"></div>
<div class="g-recaptcha" data-sitekey="6LesRDsUAAAAAJvyoODvjiza9u75qEGJmbKHEV6s"></div>
</div>
</div>
@ -173,7 +182,6 @@
<button type="submit" class="btn-lg btn btn-primary">Register</button>
</div>
</div>
</form>
<div id="statusmsg" class="alert alert-success">