Commit 048e0033f2898787c9e568b7532247c9da045f0c
1 parent
69ddbf8f
links menu
Showing
3 changed files
with
18 additions
and
46 deletions
Show diff stats
frontend/views/layouts/main.php
| ... | ... | @@ -117,45 +117,13 @@ |
| 117 | 117 | </div> |
| 118 | 118 | |
| 119 | 119 | <div class="navbar-collapse collapse" id="navigation"> |
| 120 | - <?php | |
| 121 | - $items = []; | |
| 122 | - $items[] = [ | |
| 123 | - 'label' => \Yii::t('app', 'Мероприятие'), | |
| 124 | - 'url' => [ '#' ], | |
| 125 | - ]; | |
| 126 | - $items[] = [ | |
| 127 | - 'label' => \Yii::t('app', 'Где и когда'), | |
| 128 | - 'url' => [ '#' ], | |
| 129 | - ]; | |
| 130 | - $items[] = [ | |
| 131 | - 'label' => \Yii::t('app', 'Что в программе'), | |
| 132 | - 'url' => [ '#' ], | |
| 133 | - ]; | |
| 134 | - $items[] = [ | |
| 135 | - 'label' => \Yii::t('app', 'Предыдущее мероприятие'), | |
| 136 | - 'url' => [ '#' ], | |
| 137 | - ]; | |
| 138 | - $items[] = [ | |
| 139 | - 'label' => \Yii::t('app', 'Кому будет интересно'), | |
| 140 | - 'url' => [ '#' ], | |
| 141 | - ]; | |
| 142 | - $items[] = [ | |
| 143 | - 'label' => \Yii::t('app', 'Наши спикеры'), | |
| 144 | - 'url' => [ '#' ], | |
| 145 | - ]; | |
| 146 | - $items[] = [ | |
| 147 | - 'label' => \Yii::t('app', 'Как добраться'), | |
| 148 | - 'url' => [ '#' ], | |
| 149 | - ]; | |
| 150 | - echo Nav::widget( | |
| 151 | - [ | |
| 152 | - 'items' => $items, | |
| 153 | - 'options' => [ | |
| 154 | - 'class' => 'nav navbar-nav navbar-right', | |
| 155 | - ], | |
| 156 | - ] | |
| 157 | - ); | |
| 158 | - ?> | |
| 120 | + <ul id="w0" class="nav navbar-nav navbar-right"><li><a href="#sect1" style="line-height:40px;">Мероприятие</a></li> | |
| 121 | + <li><a href="#sect2">Где и <br/>когда</a></li> | |
| 122 | + <li><a href="#sect3">Что в <br/>программе</a></li> | |
| 123 | + <li><a href="#sect4">Предыдущее <br/>мероприятие</a></li> | |
| 124 | + <li><a href="#sect5">Кому будет <br/>интересно</a></li> | |
| 125 | + <li><a href="#sect6">Наши <br/>спикеры</a></li> | |
| 126 | + <li><a href="#sect7">Как <br/>добраться</a></li></ul> | |
| 159 | 127 | </div> |
| 160 | 128 | |
| 161 | 129 | ... | ... |
frontend/views/site/index.php
| ... | ... | @@ -6,7 +6,7 @@ $this->title = 'My Yii Application'; |
| 6 | 6 | ?> |
| 7 | 7 | |
| 8 | 8 | |
| 9 | -<section class="no-mb main"> | |
| 9 | +<section class="no-mb main" id="sect1"> | |
| 10 | 10 | <!-- *** JUMBOTRON *** |
| 11 | 11 | _________________________________________________________ --> |
| 12 | 12 | |
| ... | ... | @@ -38,7 +38,7 @@ _________________________________________________________ --> |
| 38 | 38 | <!-- *** JUMBOTRON END *** --> |
| 39 | 39 | </section> |
| 40 | 40 | |
| 41 | -<section class="bar background-white"> | |
| 41 | +<section class="bar background-white" id="sect2"> | |
| 42 | 42 | <div class="container"> |
| 43 | 43 | <div class="col-md-12"> |
| 44 | 44 | <div class="heading text-center"> |
| ... | ... | @@ -90,7 +90,7 @@ _________________________________________________________ --> |
| 90 | 90 | </div> |
| 91 | 91 | </section> |
| 92 | 92 | |
| 93 | -<section class="bar background-gray no-mb"> | |
| 93 | +<section class="bar background-gray no-mb" id="sect3"> | |
| 94 | 94 | <div class="container"> |
| 95 | 95 | <div class="heading text-center"> |
| 96 | 96 | <h2>Что в программе?</h2> |
| ... | ... | @@ -144,7 +144,7 @@ _________________________________________________________ --> |
| 144 | 144 | </section> |
| 145 | 145 | <!-- /.bar --> |
| 146 | 146 | |
| 147 | -<section class="bar background-white no-mb"> | |
| 147 | +<section class="bar background-white no-mb" id="sect4"> | |
| 148 | 148 | <div class="container"> |
| 149 | 149 | <div class="row"> |
| 150 | 150 | <div class="col-md-12"> |
| ... | ... | @@ -275,7 +275,7 @@ _________________________________________________________ --> |
| 275 | 275 | </div> |
| 276 | 276 | </section> |
| 277 | 277 | |
| 278 | -<section class="bar background-pentagon no-mb"> | |
| 278 | +<section class="bar background-pentagon no-mb" id="sect5"> | |
| 279 | 279 | <div class="container"> |
| 280 | 280 | <div class="row"> |
| 281 | 281 | <div class="col-md-12"> |
| ... | ... | @@ -327,7 +327,7 @@ _________________________________________________________ --> |
| 327 | 327 | </div> |
| 328 | 328 | </section> |
| 329 | 329 | |
| 330 | -<section class="bar background-white no-mb"> | |
| 330 | +<section class="bar background-white no-mb" id="sect6"> | |
| 331 | 331 | <div class="container"> |
| 332 | 332 | <div class="row"> |
| 333 | 333 | <div class="col-md-12"> |
| ... | ... | @@ -380,7 +380,7 @@ _________________________________________________________ --> |
| 380 | 380 | </div> |
| 381 | 381 | </section> |
| 382 | 382 | |
| 383 | -<section class="bar background-gray no-mb maps-header"> | |
| 383 | +<section class="bar background-gray no-mb maps-header" id="sect7"> | |
| 384 | 384 | <div class="container"> |
| 385 | 385 | <div class="row"> |
| 386 | 386 | <div class="col-md-12"> | ... | ... |
frontend/web/css/custom.css
| ... | ... | @@ -212,4 +212,8 @@ img.img-responsive.img-circle { |
| 212 | 212 | padding-top: 0; |
| 213 | 213 | line-height: 25px; |
| 214 | 214 | margin-bottom: 8px; |
| 215 | +} | |
| 216 | +@media(max-width:991px){ | |
| 217 | + .navbar-collapse.collapse ul li br{display:none;} | |
| 218 | + .navbar-collapse.collapse ul li a{line-height:20px!important;} | |
| 215 | 219 | } |
| 216 | 220 | \ No newline at end of file | ... | ... |