Commit 0494569b6f15bac3a49eb17608abf67b31143c6e
1 parent
ddc91e83
button get it
Showing
3 changed files
with
21 additions
and
0 deletions
Show diff stats
frontend/views/page/view.php
@@ -86,3 +86,15 @@ | @@ -86,3 +86,15 @@ | ||
86 | <!-- /.container --> | 86 | <!-- /.container --> |
87 | </div> | 87 | </div> |
88 | <!-- /#content --> | 88 | <!-- /#content --> |
89 | +<style> | ||
90 | + .pages#get-it { | ||
91 | + padding: 20px 0 20px; | ||
92 | + } | ||
93 | +</style> | ||
94 | +<div id="get-it" class="pages"> | ||
95 | + <div class="container"> | ||
96 | + <div class="col-md-12 col-sm-12" style="text-align: center;"> | ||
97 | + <a href="#" class="btn btn-template-transparent-primary do-order-but but-writeus" data-toggle="modal" data-target="#feedback-modal" data-modalname="Заказать. <?=$seo->title?>">Заказать</a> | ||
98 | + </div> | ||
99 | + </div> | ||
100 | +</div> | ||
89 | \ No newline at end of file | 101 | \ No newline at end of file |
frontend/web/css/custom.css
@@ -172,4 +172,7 @@ span.panel-title{ | @@ -172,4 +172,7 @@ span.panel-title{ | ||
172 | font-weight: bold; | 172 | font-weight: bold; |
173 | color: #333333; | 173 | color: #333333; |
174 | margin-top: 20px; | 174 | margin-top: 20px; |
175 | +} | ||
176 | +.pages#get-it { | ||
177 | + padding: 20px 0 20px; | ||
175 | } | 178 | } |
176 | \ No newline at end of file | 179 | \ No newline at end of file |
frontend/web/js/script.js
@@ -127,5 +127,11 @@ $( | @@ -127,5 +127,11 @@ $( | ||
127 | $(".btn-second-send").show(); | 127 | $(".btn-second-send").show(); |
128 | } | 128 | } |
129 | ); | 129 | ); |
130 | + | ||
131 | + $(".modal-link") | ||
132 | + .on('click', function(){ | ||
133 | + var modaltitle = $(this).data('modalname'); | ||
134 | + $(".modal-title").html(modaltitle); | ||
135 | + }); | ||
130 | } | 136 | } |
131 | ); | 137 | ); |
132 | \ No newline at end of file | 138 | \ No newline at end of file |