Commit 0cdef40b by Satyendra Singh

modified

parent a900902b
......@@ -16,7 +16,7 @@
}
.main_uploads_container .main_content {
border: solid 2px #dfdfdf;
border: solid 1px #dfdfdf;
margin: 20px;
padding: 15px;
}
......@@ -52,140 +52,87 @@
font-style: normal;
}
.main_uploads_container .f_c .file-upload {
display: block;
text-align: center;
font-family: Helvetica, Arial, sans-serif;
font-size: 12px;
}
.main_uploads_container .f_c .file-upload .file-select {
display: block;
color: #34495e;
cursor: pointer;
height: 40px;
line-height: 40px;
text-align: left;
overflow: hidden;
position: relative;
.main_uploads_container .f_c .dropdown {
width: 100%;
-webkit-box-shadow: inset 0 0 2px #ccc;
box-shadow: inset 0 0 2px #ccc;
height: 44px;
padding: 6px 12px;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
}
.main_uploads_container .f_c .file-upload .file-select .file-select-button {
background: #dce4ec;
padding: 0 10px;
display: inline-block;
height: 40px;
line-height: 40px;
}
.main_uploads_container .f_c .file-upload .file-select .file-select-name {
line-height: 40px;
display: inline-block;
padding: 0 10px;
}
.main_uploads_container .f_c .file-upload .file-select:hover {
border-color: #34495e;
transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-webkit-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
}
.main_uploads_container .f_c .file-upload .file-select:hover .file-select-button {
background: #34495e;
color: #FFFFFF;
transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-webkit-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
}
.main_uploads_container .f_c .file-upload.active .file-select {
border-color: #3fa46a;
transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-webkit-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
.main_uploads_container .m-b {
margin-bottom: 15px;
}
.main_uploads_container .f_c .file-upload.active .file-select .file-select-button {
background: #3fa46a;
color: #FFFFFF;
transition: all .2s ease-in-out;
-moz-transition: all .2s ease-in-out;
-webkit-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
.main_uploads_container .btn-primary {
background-color: #04c55b;
color: #fff;
border: solid 1px #999797;
outline: none;
height: 42px;
}
.main_uploads_container .f_c .file-upload .file-select input[type=file] {
cursor: pointer;
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
opacity: 0;
filter: alpha(opacity=0);
.main_uploads_container .btn-primary:focus {
background-color: #04c55b !important;
outline: none;
border: none;
}
.main_uploads_container .f_c .file-upload .file-select.file-select-disabled {
opacity: 0.65;
.main_uploads_container .btn-secondary {
height: 42px;
}
.main_uploads_container .f_c .file-upload .file-select.file-select-disabled:hover {
cursor: default;
display: block;
border: 2px solid #dce4ec;
color: #34495e;
cursor: pointer;
height: 40px;
line-height: 40px;
margin-top: 5px;
text-align: left;
background: #FFFFFF;
overflow: hidden;
position: relative;
.main_uploads_container .btn-danger {
height: 42px;
}
.main_uploads_container .f_c .file-upload .file-select.file-select-disabled:hover .file-select-button {
background: #dce4ec;
color: #666666;
padding: 0 10px;
display: inline-block;
height: 40px;
line-height: 40px;
.main_uploads_container .c_text {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin-bottom: 30px;
margin-top: 25px;
}
.main_uploads_container .f_c .file-upload .file-select.file-select-disabled:hover .file-select-name {
line-height: 40px;
display: inline-block;
padding: 0 10px;
.main_uploads_container .c_text p {
font-size: 12px;
font-style: normal;
margin-left: 5px;
}
.main_uploads_container .f_c .dropdown {
width: 100%;
-webkit-box-shadow: inset 0 0 2px #ccc;
box-shadow: inset 0 0 2px #ccc;
height: 44px;
padding: 6px 12px;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
.main_uploads_container .c_text input[type="checkbox"] {
margin: 0px;
}
.main_uploads_container .m-b {
margin-bottom: 15px;
.main_uploads_container .btn_strip {
text-align: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.main_uploads_container .btn-primary {
background-color: #04c55b;
.main_uploads_container .u_l_b {
font-size: 20px;
text-align: center;
background-color: #6bc660;
color: #fff;
border: solid 1px #999797;
outline: none;
border-radius: 17px;
max-width: 250px;
width: 100%;
height: 50px;
margin-top: 50px;
margin-bottom: 30px;
border: none;
}
.main_uploads_container .upload-card {
......@@ -193,13 +140,10 @@
}
.main_uploads_container .imagePreview {
width: 38px;
height: 38px;
border-radius: 4px;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
margin-right: 15px;
}
.main_uploads_container .file-upload {
......@@ -214,6 +158,10 @@
border-radius: 4px;
background-color: #fff;
border: 1px solid #ccc;
height: 44px;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
.main_uploads_container .file-select {
......@@ -225,13 +173,14 @@
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
width: 80%;
}
.main_uploads_container .file-select-name {
margin-left: 15px;
}
.main_uploads_container .file-select input[type=file] {
.main_uploads_container .file-select input[type="file"] {
position: absolute;
left: 0;
top: 0;
......@@ -243,52 +192,16 @@
.main_uploads_container .file-remove {
margin-left: 15px;
position: absolute;
right: 6px;
top: 3px;
}
.main_uploads_container .c_text {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin-bottom: 30px;
margin-top: 25px;
right: 0px;
top: 0px;
}
.main_uploads_container .c_text p {
font-size: 12px;
font-style: normal;
margin-left: 5px;
.main_uploads_container .error {
display: none;
color: red;
}
.main_uploads_container .c_text input[type=checkbox] {
margin: 0px;
}
.main_uploads_container .btn_strip {
text-align: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.main_uploads_container .u_l_b {
font-size: 20px;
text-align: center;
background-color: #6BC660;
color: #fff;
border-radius: 17px;
max-width: 250px;
width: 100%;
height: 50px;
margin-top: 50px;
margin-bottom: 30px;
border: none;
.main_uploads_container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data">
<div class="f_c">
<div class="row m-b">
<div class="col-lg-3 col-sm-4 col-xs-12"><label>User Photo </label><p>Upload valid passport size photo</p></div>
<div class="col-lg-3 col-sm-4 col-xs-12">
<label>User Photo </label>
<p>Upload valid passport size photo</p>
</div>
<div class="col-lg-7 col-sm-8 col-xs-12">
<div class="upload-card" id="upload-card0">
<div class="file-upload">
<div class="file-select">
<div class="file-select-button" id="fileName">Choose File</div>
<div class="file-select-name" id="noFile">No file chosen...</div>
<input type="file" name="chooseFile" id="chooseFile">
<div class="imagePreview"></div>
<button class="btn btn-secondary">Choose Files</button>
<div class="file-select-name">No File Chosen</div>
<input type="file" name="files[]" class="profileimg" id="image">
</div>
</div>
<p class="error" id="error-file-too-large">Sorry, this file is too large! Maximum file size is <strong>5 MB</strong>.</p>
<p class="error" id="error-invalid-type">Sorry, this file type is not supported. Please choose a JPEG, GIF, or PNG image.</p>
</div>
</div>
</div>
<div class="row m-b">
<div class="col-lg-3 col-sm-4 col-xs-12"><label>Identity Proof </label><p>Upload valid Idendity proof </p></div>
<div class="col-lg-3 col-sm-4 col-xs-12">
<label>Identity Proof </label>
<p>Upload valid Idendity proof </p>
</div>
<div class="col-lg-7 col-sm-8 col-xs-12">
<select id="state" class="dropdown" name="user_state">
<option value="" disabled="disabled" selected="selected">Choose ID Type</option>
......@@ -410,23 +423,28 @@
<option>Bank Passbook</option>
<option>Voter Id</option>
</select>
</div>
</div>
<div class="row">
<div class="col-lg-3 col-sm-4 col-xs-12"></div>
<div class="col-lg-7 col-sm-8 col-xs-12">
<div class="upload-card" id="upload-card1">
<div class="text-right">
<button class="btn btn-primary m-b file-add" id="add1">+Add More File</button>
</div>
<div class="file-upload">
<div class="file-upload" id="file1">
<div class="file-select">
<div class="file-select-button" id="fileName2">Choose File</div>
<div class="file-select-name" id="noFile1">No file chosen...</div>
<input type="file" name="chooseFile1" id="chooseFile1">
<div class="imagePreview"></div>
<button class="btn btn-secondary">Choose File2</button>
<div class="file-select-name">No File Chosen</div>
<input type="file" name="files[]" class="profileimg" id="image">
</div>
<!-- <p class="error" id="error-file-too-large">Sorry, this file is too large! Maximum file size is <strong>5 MB</strong>.</p>
<p class="error" id="error-invalid-type">Sorry, this file type is not supported. Please choose a JPEG, GIF, or PNG image.</p> -->
<div class="text-right">
<button class="btn btn-primary mb-3 file-add">Add More </button>
</div>
</div>
</div>
</div>
</div>
......@@ -438,9 +456,11 @@
</div>
</div>
</div>
<div class="row m-b">
<div class="col-lg-3 col-sm-4 col-xs-12"><label>Address Proof </label><p>Upload Valid Address proof with the document having validation for customer Address </p></div>
<div class="col-lg-3 col-sm-4 col-xs-12">
<label>Address Proof </label>
<p>Upload Valid Address proof with the document having validation for customer Address </p>
</div>
<div class="col-lg-7 col-sm-8 col-xs-12">
<select id="state" class="dropdown" name="user_state">
<option value="" disabled="disabled" selected="selected">Choose Document Type</option>
......@@ -454,42 +474,36 @@
<option>Voter Id</option>
<option>Ration Card</option>
</select>
</div>
</div>
<div class="row">
<div class="col-lg-3 col-sm-4 col-xs-12"></div>
<div class="col-lg-7 col-sm-8 col-xs-12">
<div class="upload-card" id="upload-card2">
<div class="text-right">
<button class="btn btn-primary m-b file-add" id="add2">+Add More File</button>
</div>
<div class="file-upload">
<div class="file-select">
<div class="file-select-button" id="fileName2">Choose File</div>
<div class="file-select-name" id="noFile1">No file chosen...</div>
<input type="file" name="chooseFile1" id="chooseFile1">
<div class="imagePreview"></div>
<button class="btn btn-secondary">Choose File</button>
<div class="file-select-name">No File Chosen</div>
<input type="file" name="files[]" class="profileimg">
</div>
<div class="text-right">
<button class="btn btn-primary mb-3 file-add1">Add More </button>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="btn_strip"><input type="submit" value="Confirm Uploads" class="u_l_b"></div></div>
<div class="btn_strip">
<input type="submit" value="Confirm Uploads" class="u_l_b">
</div>
</div>
</div>
</div>
</form>
</div>
</div>
......
......@@ -58,7 +58,7 @@ function customInput(el) {
}
}
})
});
......@@ -74,8 +74,7 @@ function customInput(el) {
// $("#noFile").text(filename.replace("C:\\fakepath\\", ""));
// }
// });
// satyendra js
$(document).ready(function() {
$(document).on('change', '.file-upload input[type="file"]', function() {
var filename = $(this).val();
......@@ -99,15 +98,14 @@ $(document).ready(function() {
}
}
});
$(document).on('click', '.file-remove', function(e) {
e.preventDefault();
$(this).closest('.file-upload').remove();
return false;
});
$(document).on('click', '#add1', function(e) {
$(document).on('click', '.file-add', function(e) {
e.preventDefault();
$("#upload-card1").append('<div class="file-upload">' +
$("#upload-card1").prepend('<div class="file-upload">' +
'<div class="file-select">' +
'<div class="imagePreview"></div>' +
'<button class="btn btn-secondary">Choose File</button>' +
......@@ -119,17 +117,10 @@ $(document).ready(function() {
return false;
});
});
$(document).on('click', '.file-remove', function(e) {
e.preventDefault();
$(this).closest('.file-upload').remove();
return false;
});
$(document).on('click', '#add2', function(e) {
$(document).on('click', '.file-add1', function(e) {
e.preventDefault();
$("#upload-card2").append('<div class="file-upload">' +
$("#upload-card2").prepend('<div class="file-upload" id="file2">' +
'<div class="file-select">' +
'<div class="imagePreview"></div>' +
'<button class="btn btn-secondary">Choose File</button>' +
......@@ -144,6 +135,54 @@ $(document).on('click', '#add2', function(e) {
});
var MAX_SIZE = 1024 * 1024 * 5; // 5 MB
var VALID_TYPES = ['image/jpg', 'image/jpeg', 'image/png', 'image/gif'];
function validateFile() {
if (this.files && this.files.length) {
var file = this.files[0];
//console.log(file);
var type = file.type;
var size = file.size;
var fileNameSplit = file.name.split('.');
var extension = fileNameSplit[fileNameSplit.length - 1];
//console.log(type);
//console.log(extension);
//console.log(size);
if (size > MAX_SIZE) {
$('#error-file-too-large').addClass('state-visible');
} else {
$('#error-file-too-large').removeClass('state-visible');
}
if (VALID_TYPES.indexOf(type) < 0) {
$('#error-invalid-type').addClass('state-visible');
} else {
$('#error-invalid-type').removeClass('state-visible');
}
}
}
$(document).ready(function() {
$('#image').on('change', validateFile);
});
......
.main_uploads_container{border: solid 1px #dfdfdf;border-top-left-radius: 5px; border-top-right-radius: 5px; margin-bottom: 20px;
.title{font-size: 22px; text-align: center; background-color:#0063aa; color: #fff; border-top-left-radius: 5px; border-top-right-radius: 5px; padding: 16px;}
.main_content{border: solid 2px #dfdfdf; margin:20px; padding: 15px; h2{font-size: 20px;}
p{font-size: 12px; font-style: italic;}
.uplaod_strip{background-color: #d2e9fb; padding: 10px; border-radius: 5px; :nth-child(1) {color: #5679de;}
:nth-child(2) {color: #5da5dc;}
.main_uploads_container {
border: solid 1px #dfdfdf;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
margin-bottom: 20px;
.title {
font-size: 22px;
text-align: center;
background-color: #0063aa;
color: #fff;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
padding: 16px;
}
.main_content {
border: solid 1px #dfdfdf;
margin: 20px;
padding: 15px;
h2 {
font-size: 20px;
}
p {
font-size: 12px;
font-style: italic;
}
.uplaod_strip {
background-color: #d2e9fb;
padding: 10px;
border-radius: 5px;
:nth-child(1) {
color: #5679de;
}
:nth-child(2) {
color: #5da5dc;
}
}
}
.f_c {
margin-top: 20px;
p {
font-style: normal;
}
}
}
.f_c{margin-top: 20px;
p{font-style: normal;}
.file-upload{display:block;text-align:center;font-family: Helvetica, Arial, sans-serif;font-size: 12px;}
.file-upload .file-select{display:block;color: #34495e;cursor:pointer;height:40px;line-height:40px;text-align:left;overflow:hidden;position:relative;box-shadow: inset 0 0 2px #ccc;}
.file-upload .file-select .file-select-button{background:#dce4ec;padding:0 10px;display:inline-block;height:40px;line-height:40px;}
.file-upload .file-select .file-select-name{line-height:40px;display:inline-block;padding:0 10px;}
.file-upload .file-select:hover{border-color:#34495e;transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;}
.file-upload .file-select:hover .file-select-button{background:#34495e;color:#FFFFFF;transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;}
.file-upload.active .file-select{border-color:#3fa46a;transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;}
.file-upload.active .file-select .file-select-button{background:#3fa46a;color:#FFFFFF;transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;}
.file-upload .file-select input[type=file]{cursor:pointer;position:absolute;height:100%;width:100%;top:0;left:0;opacity:0;filter:alpha(opacity=0);}
.file-upload .file-select.file-select-disabled{opacity:0.65;}
.file-upload .file-select.file-select-disabled:hover{cursor:default;display:block;border: 2px solid #dce4ec;color: #34495e;cursor:pointer;height:40px;line-height:40px;margin-top:5px;text-align:left;background:#FFFFFF;overflow:hidden;position:relative;}
.file-upload .file-select.file-select-disabled:hover .file-select-button{background:#dce4ec;color:#666666;padding:0 10px;display:inline-block;height:40px;line-height:40px;}
.file-upload .file-select.file-select-disabled:hover .file-select-name{line-height:40px;display:inline-block;padding:0 10px;}
.dropdown{width: 100%;box-shadow: inset 0 0 2px #ccc;
height: 44px;padding: 6px 12px;
.dropdown {
width: 100%;
box-shadow: inset 0 0 2px #ccc;
height: 44px;
padding: 6px 12px;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;}
}
.m-b{margin-bottom: 15px;}
.btn-primary{background-color: rgb(4, 197, 91); color: #fff; border: solid 1px rgb(153, 151, 151); outline: none;}
border-radius: 4px;
}
}
.m-b {
margin-bottom: 15px;
}
.btn-primary {
background-color: rgb(4, 197, 91);
color: #fff;
border: solid 1px rgb(153, 151, 151);
outline: none;
height: 42px;
.upload-card{
}
.btn-primary:focus{background-color: #04c55b !important; outline: none; border: none;}
.btn-secondary{height: 42px;}
.btn-danger{height: 42px;}
.c_text {
display: flex;
align-items: center;
margin-bottom: 30px;
margin-top: 25px;
p {
font-size: 12px;
font-style: normal;
margin-left: 5px;
}
input[type="checkbox"] {
margin: 0px;
}
}
.btn_strip {
text-align: center;
display: flex;
justify-content: center;
}
.u_l_b {
font-size: 20px;
text-align: center;
background-color: #6bc660;
color: #fff;
border-radius: 17px;
max-width: 250px;
width: 100%;
height: 50px;
margin-top: 50px;
margin-bottom: 30px;
border: none;
}
.upload-card {
margin: 0 auto;
}
.imagePreview{
width: 38px;
height: 38px;
}
.imagePreview {
// width: 38px;
// height: 38px;
border-radius: 4px;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
margin-right: 15px;
}
.file-upload{
// margin-right: 15px;
}
.file-upload {
display: flex;
align-items: center;
margin-bottom: 15px;
......@@ -57,40 +120,45 @@
border-radius: 4px;
background-color: #fff;
border: 1px solid #ccc;
}
.file-select {
height: 44px;
justify-content: space-between;
}
.file-select {
position: relative;
overflow: hidden;
display: flex;
align-items: center;
}
width: 80%;
}
.file-select-name{
.file-select-name {
margin-left: 15px;
}
}
.file-select input[type=file] {
.file-select input[type="file"] {
position: absolute;
left: 0;
top: 0;
opacity: 0;
width: 100%;
height: 100%;
}
}
.file-remove{
.file-remove {
margin-left: 15px;
position: absolute;
right: 6px;
top: 3px;
}
right: 0px;
top: 0px;
}
.error {
display: none;
color: red;
&.state-visible {
display: block;
}
}
}
.c_text{ display: flex; align-items: center;margin-bottom: 30px;margin-top:25px; p{font-size: 12px; font-style: normal; margin-left: 5px;}
input[type=checkbox]{margin: 0px;}
\ No newline at end of file
}
.btn_strip{text-align: center; display: flex; justify-content: center;}
.u_l_b{font-size: 20px; text-align: center; background-color: #6BC660; color: #fff; border-radius: 17px;
max-width: 250px; width: 100%; height: 50px; margin-top: 50px; margin-bottom: 30px; border: none;}
}
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