|
33 | 33 | <span class="glyph_range icon-expertise">O</span>
|
34 | 34 | </div>
|
35 | 35 | <p><?= __('Request a rapid response from us now, and we\'ll contact you within 24 hours:')?></p>
|
| 36 | + <p class="rapid-contact-feedback"></p> |
36 | 37 | <div class="text-center">
|
37 |
| - <?= $this->Html->link(__('Rapid Response'), 'http://www.cakedc.com/contact', ['class' => 'btn btn-expertise mt20'])?> |
| 38 | + <?= $this->Html->link(__('Rapid Response'), 'javascript:;', [ |
| 39 | + 'class' => 'btn btn-expertise mt20', |
| 40 | + 'data-toggle' => 'modal', |
| 41 | + 'data-target' => '#rapidresponse' |
| 42 | + ])?> |
38 | 43 | </div>
|
39 | 44 | </div>
|
40 | 45 | <div class="col-md-6 col-md-offset-1">
|
|
75 | 80 | </div>
|
76 | 81 | </div>
|
77 | 82 | </section>
|
| 83 | + |
| 84 | +<div class="modal fade" tabindex="-1" role="dialog" aria-labelledby="gridSystemModalLabel" id="rapidresponse"> |
| 85 | + <div class="modal-dialog" role="document"> |
| 86 | + <div class="modal-content modal-showcase"> |
| 87 | + <?= $this->Form->create(null, ['url' => [ |
| 88 | + 'controller' => 'contacts', |
| 89 | + 'action' => 'rapid' |
| 90 | + ], 'class' => 'support-form']); ?> |
| 91 | + <div class="modal-header"> |
| 92 | + <button type="button" class="close" data-dismiss="modal" aria-label="Close"> |
| 93 | + <span aria-hidden="true">×</span> |
| 94 | + </button> |
| 95 | + </div> |
| 96 | + |
| 97 | + <div class="modal-body"> |
| 98 | + <div class="row"> |
| 99 | + <div class="col-md-12"> |
| 100 | + <div class="col-sm-4 icon-modal-show"> |
| 101 | + <span class="glyph_range">P</span> |
| 102 | + </div> |
| 103 | + <div class="col-sm-8 t-modal-show"> |
| 104 | + <h4><strong><?= __('Rapid') ?></strong></h4> |
| 105 | + <h4><?= __('Response') ?></h4> |
| 106 | + <p><?= __('Request a rapid response from us now, and we\'ll contact you within <strong>24 hours!</strong>') ?></p> |
| 107 | + </div> |
| 108 | + </div> |
| 109 | + <div class="col-md-12"> |
| 110 | + <div class="form-group"> |
| 111 | + <label class="col-sm-2 control-label-rapid"><?= __('Name') ?></label> |
| 112 | + <div class="col-sm-10"> |
| 113 | + <?= $this->Form->input('name', [ |
| 114 | + 'label' => false, |
| 115 | + 'div' => false, |
| 116 | + 'class' => 'form-control form-plugin-rapid', |
| 117 | + 'placeholder' => 'Name', |
| 118 | + 'required' => true |
| 119 | + ]) ?> |
| 120 | + </div> |
| 121 | + </div> |
| 122 | + |
| 123 | + <div class="form-group"> |
| 124 | + <label class="col-sm-2 control-label-rapid"><?= __('Email') ?></label> |
| 125 | + <div class="col-sm-10"> |
| 126 | + <?= $this->Form->input('email', [ |
| 127 | + 'label' => false, |
| 128 | + 'div' => false, |
| 129 | + 'class' => 'form-control form-plugin-rapid', |
| 130 | + 'placeholder' => 'Email', |
| 131 | + 'required' => true |
| 132 | + ]) ?> |
| 133 | + </div> |
| 134 | + </div> |
| 135 | + |
| 136 | + <div class="form-group"> |
| 137 | + <label class="col-sm-2 control-label-rapid"><?= __('Type') ?></label> |
| 138 | + <div class="col-sm-10"> |
| 139 | + <?= $this->Form->input('type', [ |
| 140 | + 'div' => false, |
| 141 | + 'label' => false, |
| 142 | + 'class' => 'form-plugin-rapid type-select', |
| 143 | + 'type' => 'select', |
| 144 | + 'options' => [ |
| 145 | + 'email' => 'Email me', |
| 146 | + 'call' => 'Call me', |
| 147 | + 'skype' => 'Skype me' |
| 148 | + ], |
| 149 | + 'templates' => [ |
| 150 | + 'inputContainer' => '{{content}}' |
| 151 | + ] |
| 152 | + ]) ?> |
| 153 | + </div> |
| 154 | + </div> |
| 155 | + |
| 156 | + <div class="form-group phone-field hidden-fields" style="display:none"> |
| 157 | + <label class="col-sm-2 control-label-rapid"><?= __('Phone') ?></label> |
| 158 | + <div class="col-sm-10"> |
| 159 | + <?= $this->Form->input('phone', [ |
| 160 | + 'div' => false, |
| 161 | + 'label' => false, |
| 162 | + 'class' => 'form-plugin-rapid form-control', |
| 163 | + 'id' => 'intl-phone-number' |
| 164 | + ]) ?> |
| 165 | + </div> |
| 166 | + </div> |
| 167 | + |
| 168 | + <div class="form-group skype-field hidden-fields" style="display:none"> |
| 169 | + <label class="col-sm-2 control-label-rapid"><?= __('Skype') ?></label> |
| 170 | + <div class="col-sm-10"> |
| 171 | + <?= $this->Form->input('skype', [ |
| 172 | + 'div' => false, |
| 173 | + 'label' => false, |
| 174 | + 'class' => 'form-plugin-rapid form-control', |
| 175 | + ]) ?> |
| 176 | + </div> |
| 177 | + </div> |
| 178 | + |
| 179 | + <div class="form-group"> |
| 180 | + <label class="col-sm-2 control-label-rapid"><?= __('Subject') ?></label> |
| 181 | + <div class="col-sm-10"> |
| 182 | + <?= $this->Form->input('subject', [ |
| 183 | + 'div' => false, |
| 184 | + 'label' => false, |
| 185 | + 'class' => 'form-plugin-rapid', |
| 186 | + 'type' => 'select', |
| 187 | + 'options' => [ |
| 188 | + 'other' => "Let's talk", |
| 189 | + 'dev' => 'Development', |
| 190 | + 'consultancy' => 'Consultancy', |
| 191 | + 'review' => 'Code Review', |
| 192 | + 'migration' => 'Migration', |
| 193 | + 'training' => 'Training' |
| 194 | + ], |
| 195 | + 'templates' => [ |
| 196 | + 'inputContainer' => '{{content}}' |
| 197 | + ] |
| 198 | + ]) ?> |
| 199 | + </div> |
| 200 | + </div> |
| 201 | + </div> |
| 202 | + </div> |
| 203 | + </div> |
| 204 | + |
| 205 | + <div class="modal-footer back-modal-footer-show"> |
| 206 | + <div class="col-xs-6 icon-dc-modal"> |
| 207 | + <span class="glyph_range">O</span> |
| 208 | + </div> |
| 209 | + <div class="col-xs-6"> |
| 210 | + <?= $this->Form->submit('Send', [ |
| 211 | + 'class' => 'btn btn-primary btn-modal-show' |
| 212 | + ]) ?> |
| 213 | + </div> |
| 214 | + </div> |
| 215 | + <?= $this->Form->end(); ?> |
| 216 | + </div> |
| 217 | + </div> |
| 218 | +</div> |
0 commit comments