suseendhiran
This commit is contained in:
parent
5caa5e2cdf
commit
69053d6d15
@ -210,11 +210,6 @@ div {
|
||||
position: sticky;
|
||||
z-index:100
|
||||
}
|
||||
.modal-footer{
|
||||
bottom: 530px;
|
||||
position: sticky;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
.modal-body{
|
||||
color: #566787;
|
||||
font-family: 'Varela Round', sans-serif;
|
||||
@ -257,14 +252,6 @@ select , option {
|
||||
margin-left: 25px;
|
||||
}
|
||||
label{ padding-left: 25px; }
|
||||
.form-check-label{ margin-left: 30px; }
|
||||
input[type="radio"] {
|
||||
margin-top: 20px;
|
||||
margin-left: 25px;
|
||||
-ms-transform: scale(1.9); /* IE 9 */
|
||||
-webkit-transform: scale(1.9); /* Chrome, Safari, Opera */
|
||||
transform: scale(1.9);
|
||||
}
|
||||
.input{
|
||||
display: block;
|
||||
/* padding-left: 25px; */
|
||||
@ -287,25 +274,55 @@ input[type="radio"] {
|
||||
background-color: #435d7d;
|
||||
}
|
||||
p{
|
||||
padding-top: 5px;
|
||||
padding-top: 30px;
|
||||
padding-left: 30px;
|
||||
font-size: 3em;
|
||||
font-weight: 500;
|
||||
color: #ffffff;
|
||||
}
|
||||
#myInput{
|
||||
margin-top: 70px;
|
||||
margin-left: 50%;
|
||||
width: 20%;
|
||||
height: 30px;
|
||||
font-size: 25px;
|
||||
font-family: 'Varela Round', sans-serif;
|
||||
padding-left: 25px;
|
||||
}
|
||||
.dropdown-toggle{
|
||||
top: -47px;
|
||||
width: 10%;
|
||||
height: 40px;
|
||||
margin-left:71%;
|
||||
border-color: 5px solid #435d7d;
|
||||
}
|
||||
#material{
|
||||
top: 17px;
|
||||
top: 93px;
|
||||
font-size: 40px;
|
||||
border-radius: 20px;
|
||||
margin-left: 340px;
|
||||
margin-left: 335px;
|
||||
color: #ffffff;
|
||||
background-color: #435d7d;
|
||||
border-color: #435d7d;
|
||||
margin-left:82%;
|
||||
;
|
||||
/* position the two buttons next to each other */
|
||||
display:inline-block;
|
||||
position: absolute;
|
||||
}
|
||||
.input{
|
||||
display: block;
|
||||
/* padding-left: 25px; */
|
||||
width: 95%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
border: none;
|
||||
outline: none;
|
||||
border-bottom: 2px solid #435d7d;
|
||||
}
|
||||
th:nth-of-type(1) , th:nth-of-type(23) {
|
||||
display: none;
|
||||
}
|
||||
td:nth-of-type(1) , td:nth-of-type(23){
|
||||
display: none;
|
||||
}
|
||||
#emp {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
border-collapse: collapse;
|
||||
@ -392,7 +409,7 @@ element.style {
|
||||
div {
|
||||
display: block;
|
||||
}
|
||||
.modal-body , .modal-header {
|
||||
.modal-body {
|
||||
color: #566787;
|
||||
font-family: 'Varela Round', sans-serif;
|
||||
font-size: 17px;
|
||||
@ -402,31 +419,21 @@ div {
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
}
|
||||
.form-control {
|
||||
font-family: 'Varela Round', sans-serif;
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
line-height: 2.5;
|
||||
text-align: left;
|
||||
background-color: #fff;
|
||||
}
|
||||
.btn {
|
||||
font-family: 'Varela Round', sans-serif;
|
||||
font-weight: 400;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
font-size: 20px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
.close{
|
||||
font-size: 30px;
|
||||
color: #566787;
|
||||
.modal-header{
|
||||
top: 0%;
|
||||
background-color: #435d7d;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
position: sticky;
|
||||
z-index:100
|
||||
}
|
||||
.modal-title {
|
||||
color: #566787;
|
||||
font-family: 'Varela Round', sans-serif;
|
||||
font-size: 35px;
|
||||
margin-top: 10px;
|
||||
color: #FFFFF7;
|
||||
font-family: 'Varela Round', sans-serif;
|
||||
font-size: 25px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
select , option {
|
||||
height: 33px;
|
||||
@ -437,18 +444,25 @@ select , option {
|
||||
border-color: #ddd;
|
||||
color: #566787;
|
||||
}
|
||||
.view{
|
||||
color: #000;
|
||||
label{ padding-left: 20px; }
|
||||
.add{
|
||||
margin-top: 10px;
|
||||
font-size: 30px;
|
||||
float: right;
|
||||
padding-right: 25px;
|
||||
}
|
||||
.form-check-label{
|
||||
margin-left: 20px;
|
||||
.back{
|
||||
margin-top: 10px;
|
||||
font-size: 30px;
|
||||
float: left;
|
||||
padding-left: 25px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div class="header">
|
||||
<p>
|
||||
<input class="form-control" id="myInput" type="text" placeholder="Search..">
|
||||
<input class="input" id="myInput" type="text" placeholder="Search..">
|
||||
</p>
|
||||
|
||||
<div class="input-group-btn search-panel">
|
||||
@ -467,7 +481,7 @@ select , option {
|
||||
<tr>
|
||||
<th>Sl.</th>
|
||||
<th>Name</th>
|
||||
<th>Çategory</th>
|
||||
<th>Category</th>
|
||||
<th hidden>Age Category</th>
|
||||
<th>ContactNo</th>
|
||||
<th hidden>Address</th>
|
||||
@ -847,7 +861,7 @@ $(document).on("click", "#add-new", function(){
|
||||
// add data in googlesheet using ajax
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: ''+ window.location.origin +'/gsheet/api/addRow',
|
||||
url: ''+ window.location.origin +'/api/addRow',
|
||||
data: { data : newValue },
|
||||
success: function(response) {
|
||||
if (response.statusCode == 1) {
|
||||
@ -890,7 +904,7 @@ $(document).on("click", "#up", function(){
|
||||
// update data in googlesheet using ajax
|
||||
$.ajax({
|
||||
type: "post",
|
||||
url: ''+ window.location.origin +'/gsheet/api/updateRow',
|
||||
url: ''+ window.location.origin +'/api/updateRow',
|
||||
data: { Old : oldValue , New : newValue },
|
||||
success: function(response) {
|
||||
if (response.status == 200) { alert("updated") }
|
||||
|
||||
@ -11,8 +11,7 @@
|
||||
<script>
|
||||
function handleCredentialResponse(response) {
|
||||
const responsePayload = JSON.parse(atob(response.credential.split('.')[1]));
|
||||
// window.location.replace(`http://localhost:8080/api/getRow?email=${responsePayload.email}`);
|
||||
window.location = `${ window.location.origin }/gsheet/api/getRow?email=${responsePayload.email}`;
|
||||
window.location = `${ window.location.origin }/api/getRow?email=${responsePayload.email}`;
|
||||
}
|
||||
|
||||
window.onload = function () {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user