Commit d5c6be95e54d1655f0ba1e92deed66cd5e892517

Authored by Eugeny Galkovskiy
1 parent 426c805b

Страница Цены

frontend/controllers/SiteController.php
... ... @@ -148,4 +148,8 @@
148 148 public function actionAppment(){
149 149 return $this->render('appment');
150 150 }
  151 +
  152 + public function actionPrice(){
  153 + return $this->render('price');
  154 + }
151 155 }
... ...
frontend/views/site/price.php 0 → 100644
  1 +<?php
  2 +use artbox\core\components\SeoComponent;
  3 +use artbox\core\models\Image;
  4 +use artbox\core\models\Page;
  5 +use yii\helpers\Html;
  6 +use yii\web\View;
  7 +
  8 +/**
  9 + * @var View $this
  10 + * @var Page $model
  11 + * @var Page[] $pages
  12 + * @var SeoComponent $seo
  13 + * @var Image[] $images
  14 + * @var string $lefts
  15 + * @var string $body
  16 + */
  17 +$seo = \Yii::$app->get('seo');
  18 +$this->title = \Yii::t('app', 'Цены');
  19 +$this->params[ 'breadcrumbs' ][] = $this->title;
  20 +?>
  21 +
  22 +<div id="content">
  23 + <div class="container price-page">
  24 +
  25 + <div class="heading text-center">
  26 + <h2><?=$this->title?></h2>
  27 + </div>
  28 + <div class="row">
  29 + <div class="col-md-8 col-md-offset-2">
  30 + <div class="tabs">
  31 + <ul class="nav nav-tabs nav-justified">
  32 + <li class="active">
  33 + <a href="#tab1" data-toggle="tab" aria-expanded="true">Стоматология</a>
  34 + </li>
  35 + <li class=""><a href="#tab2" data-toggle="tab" aria-expanded="false">Косметология</a>
  36 + </li>
  37 + </ul>
  38 + <div class="tab-content">
  39 + <div class="tab-pane active" id="tab1">
  40 + <div class="row">
  41 + Стоматология
  42 + </div>
  43 + </div>
  44 + <div class="tab-pane" id="tab2">
  45 + <div class="row">
  46 + Косметология
  47 + </div>
  48 + </div>
  49 + </div>
  50 + <!-- /.tab-content -->
  51 + </div>
  52 + </div>
  53 + </div>
  54 + <!-- /.row -->
  55 +
  56 + </div>
  57 + <!-- /.container -->
  58 +</div>
  59 +<!-- /#content -->
  60 +
  61 +
  62 +<div id="get-it" class="pages">
  63 + <div class="container">
  64 + <div class="col-md-12 col-sm-12" style="text-align: center;">
  65 + <a href="#" class="btn bnm btn-template-transparent-primary modal-link" data-form="appointment-modal" data-modalname="Записаться на приём">Записаться на прием</a>
  66 + </div>
  67 + </div>
  68 +</div>
0 69 \ No newline at end of file
... ...
frontend/web/css/custom.css
... ... @@ -211,4 +211,7 @@
211 211 }
212 212 .pages#get-it{
213 213 padding: 20px 0 20px;
  214 +}
  215 +.price-page{
  216 + margin-bottom: 50px;
214 217 }
215 218 \ No newline at end of file
... ...