Skip to content

Commit

Permalink
plane info notice done
Browse files Browse the repository at this point in the history
  • Loading branch information
ishahadathb committed Nov 19, 2018
1 parent 7cf206d commit b574afb
Show file tree
Hide file tree
Showing 8 changed files with 241 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/node_modules
/.vscode
1 change: 1 addition & 0 deletions bootstrap/bootstrap.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
@import "scss/grid";
@import "scss/buttons";
@import "scss/forms";
@import "scss/alert";
}
@import "scss/modal";
140 changes: 140 additions & 0 deletions public/assets/css/bootstrap.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/assets/css/map/bootstrap.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/assets/css/map/style.css.map

Large diffs are not rendered by default.

43 changes: 43 additions & 0 deletions public/assets/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions style/component/_add-listing.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,44 @@
#gmap{
height: 350px;
}
#hide_if_no_manual_cor{
display: flex;
flex-wrap: wrap;
width: 100%;
}
.map_wrapper{
position: relative;
#floating-panel{
position: absolute;
top: 10px;
left: 185px;
z-index: 1;
}
}
.atbd_plan_alert{
a.btn{
margin-left: 10px;
}
strong{
display: inline-block;
margin: 0 5px;
}
}

.close{
float: none;
padding: 0;
top: 50%;
transform: translateY(-50%);
right: 10px;
font-size: 20px;
&:hover{
background: none;
}
}
&.atbd_add_listing_wrapper{
.atbd_plan_alert{
margin-bottom: 30px;
}
}
}
18 changes: 13 additions & 5 deletions templates/front-end/add-listing.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
/* @todo: Shahadat -> this page heavily modified, please test it better */
?>

<div id="directorist" class="directorist atbd_wrapper single_area">
<div id="directorist" class="directorist atbd_wrapper atbd_add_listing_wrapper">
<div class="<?php echo is_directoria_active() ? 'container': ' container-fluid'; ?>">
<form action="<?= esc_url($_SERVER['REQUEST_URI']); ?>" method="post">
<?php
Expand Down Expand Up @@ -442,7 +442,17 @@

?>
</div>
</div>
</div><!-- end .atbd_general_information_module -->

<div class="atbd_content_module atbd_location_map_setting">
<div class="atbd_content_module__tittle_area">
<div class="atbd_area_title">
<h4><?php esc_html_e('Location (Map)', ATBDP_TEXTDOMAIN) ?></h4>
</div>
</div>

<div class="atbdb_content_module_contents">
<div class="cor-wrap form-group">
<?php $map_guide = sprintf("<span class='color:#c71585;'>%s</span>", __('SET 0 to LAT & LONG Field to HIDE MAP FOR THIS LISTING', ATBDP_TEXTDOMAIN)); ?>
<label for="manual_coordinate"><input type="checkbox" name="manual_coordinate" value="1" id="manual_coordinate" <?= (!empty($manual_coordinate)) ? 'checked' : ''; ?> > <?php
Expand Down Expand Up @@ -499,15 +509,13 @@ class="form-control directory_field"

<?php } ?>
</div>
</div><!-- end .atbd_custom_fields_contents -->
</div> <!--./end atbd_location_map_setting-->
</div><!--ends contact information-->
<?php } ?>

<div class="directorist-contact-fields atbdp_info_module">

<div class="atbd_content_module atbd_general_information_module">
<div class="atbd_content_module__tittle_area">
<div class="atbd_area_title">


<div class="atbdp_info_module">
<?php
Expand Down

0 comments on commit b574afb

Please sign in to comment.