Skip to content

Commit

Permalink
Merge pull request #214 from DasunThathsara/dasun
Browse files Browse the repository at this point in the history
fix: land update toggle button
  • Loading branch information
DasunThathsara authored Dec 24, 2023
2 parents e50ac22 + 260ee48 commit 7765c9b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/views/parkingOwner/land.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
</div>

<!-- Toggle Button -->
<div class="toggle-title">
Availability
</div>

<label class="switch">
<?php if($data['availability'] == 1){?>
<input type="checkbox" id="toggleButton" checked>
Expand Down
6 changes: 5 additions & 1 deletion public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -464,13 +464,17 @@ a{


/* -------------------------------- Toggle button styles -------------------------------- */
.toggle-title{
transform: translate(10px, 70px);
}

.switch {
position: relative;
display: inline-block;
width: 60px;
height: 35px;
scale: 0.9;
transform: translate(200px, -5px);
transform: translate(120px, 50px);
}

.switch input {
Expand Down

0 comments on commit 7765c9b

Please sign in to comment.