Commit de0f55abfa68329beccad2501e00705b6651dd67

Authored by Alexey Boroda
1 parent 00b29a46

-Last

frontend/views/cabinet/notifications.php
... ... @@ -30,7 +30,7 @@
30 30 ?>
31 31 <tr>
32 32 <td><?=$i?></td>
33   - <td><span class="name-songs"><?=$row->title?></span></td>
  33 + <td><span class="name-songs"><?=$row->intellectualProperty->title?></span></td>
34 34 <td><?=$row->artist?></td>
35 35 <td>-</td>
36 36 <td>-</td>
... ...
frontend/views/layouts/cabinet.php
... ... @@ -27,18 +27,18 @@
27 27 ]
28 28 )
29 29 ?>
30   - <div class="cabinet_header-title"><span>Система обліку використання інтелектуальної власності</span></div>
31   -
32   - <div class="checkbox-header-cabinet">
33   - <form action="">
34   - <div class="custom-buttons-slide">
35   - <a href="#">Автор</a>
36   - <input type="checkbox" class="custom-check-slide" name="q2">
37   - <a href="#">Видавець</a>
38   - </div>
39   - </form>
40   - <?php
41   - $js = <<<EOT
  30 + <div class="cabinet_header-title"><span>Система обліку використання інтелектуальної власності</span></div>
  31 +
  32 + <div class="checkbox-header-cabinet">
  33 + <form action="">
  34 + <div class="custom-buttons-slide">
  35 + <a href="#">Автор</a>
  36 + <input type="checkbox" class="custom-check-slide" name="q2">
  37 + <a href="#">Видавець</a>
  38 + </div>
  39 + </form>
  40 + <?php
  41 + $js = <<<EOT
42 42 var widthCheckSlider = ($('.checkbox-header-cabinet')
43 43 .width()) / 2
44 44 $('.checkbox-header-cabinet')
... ... @@ -63,197 +63,301 @@ var widthCheckSlider = ($(&#39;.checkbox-header-cabinet&#39;)
63 63 }
64 64 );
65 65 EOT;
66   - $this->registerJs($js);
67   - ?>
68   - </div>
69   -
70   - <div class="head-wr-login">
71   - <a href="#" class="btn_mails"><span>23</span></a>
72   -
73   - <div class="name-wrapp-login">
74   - <span class="name_" style="background: url('/images/cabinet/ico/ico-5.png')0 50% no-repeat">Дмитро (фізична особа)</span>
75   - <div id="hidden_list_head" class="_off">
76   - <ul>
77   - <li><span class="s_">Киев</span></li>
78   - </ul>
79   - </div>
80   - </div>
  66 + $this->registerJs($js);
  67 + ?>
  68 + </div>
  69 +
  70 + <div class="head-wr-login">
  71 + <a href="#" class="btn_mails"><span>23</span></a>
  72 +
  73 + <div class="name-wrapp-login">
  74 + <span class="name_" style="background: url('/images/cabinet/ico/ico-5.png')0 50% no-repeat">Дмитро (фізична особа)</span>
  75 + <div id="hidden_list_head" class="_off">
  76 + <ul>
  77 + <li><span class="s_">Киев</span></li>
  78 + </ul>
  79 + </div>
81 80 </div>
  81 + </div>
82 82 </div>
83 83 <div class="section-box-content">
84   - <div class="sidebar-cab">
85   - <?php
86   - echo Menu::widget(
87   - [
88   - 'options' => [
89   - 'class' => 'list-cab',
90   - ],
91   - 'encodeLabels' => false,
92   - 'activeCssClass' => 'active-li',
93   - 'items' => [
94   - [
95   - 'label' => Html::tag('span', '', [
96   - 'style' => "background: url('/images/cabinet/icon-menu/ico-1.png') 50% 50% no-repeat",
97   - ]).Html::tag('span', '', [
98   - 'class' => 'act_bg',
99   - 'style' => "background: url('/images/cabinet/icon-menu/ico-1-act.png') 50% 50% no-repeat",
100   - ]).'Особисті дані',
101   - 'url' => ['cabinet/index'],
102   - ],
103   - [
104   - 'label' => Html::tag('span', '', [
105   - 'style' => "background: url('/images/cabinet/icon-menu/ico-2.png') 50% 50% no-repeat",
106   - ]).Html::tag('span', '', [
107   - 'class' => 'act_bg',
108   - 'style' => "background: url('/images/cabinet/icon-menu/ico-2-act.png') 50% 50% no-repeat",
109   - ]).'Мої соавтори',
110   - 'url' => ['cabinet/authors'],
111   - 'options' => [
112   - 'class' => 'disabled',
113   - ],
114   - ],
115   - [
116   - 'label' => Html::tag('span', '', [
117   - 'style' => "background: url('/images/cabinet/icon-menu/ico-3.png') 50% 50% no-repeat",
118   - ]).Html::tag('span', '', [
119   - 'class' => 'act_bg',
120   - 'style' => "background: url('/images/cabinet/icon-menu/ico-3-act.png') 50% 50% no-repeat",
121   - ]).'Рахунки',
122   - 'url' => ['cabinet/bills'],
123   - 'options' => [
124   - 'class' => 'disabled',
125   - ],
126   - ],
127   - [
128   - 'label' => Html::tag('span', '', [
129   - 'style' => "background: url('/images/cabinet/icon-menu/ico-4.png') 50% 50% no-repeat",
130   - ]).Html::tag('span', '', [
131   - 'class' => 'act_bg',
132   - 'style' => "background: url('/images/cabinet/icon-menu/ico-4-act.png') 50% 50% no-repeat",
133   - ]).'Адреси',
134   - 'url' => ['cabinet/addresses'],
135   - 'options' => [
136   - 'class' => 'disabled',
137   - ],
138   - ],
139   - [
140   - 'label' => Html::tag('span', '', [
141   - 'style' => "background: url('/images/cabinet/icon-menu/ico-5.png') 50% 50% no-repeat",
142   - ]).Html::tag('span', '', [
143   - 'class' => 'act_bg',
144   - 'style' => "background: url('/images/cabinet/icon-menu/ico-5-act.png') 50% 50% no-repeat",
145   - ]).'Додадково',
146   - 'url' => ['cabinet/additional'],
147   - 'options' => [
148   - 'class' => 'disabled',
149   - ],
150   - ],
151   - [
152   - 'label' => Html::tag('span', '', [
153   - 'style' => "background: url('/images/cabinet/icon-menu/ico-6.png') 50% 50% no-repeat",
154   - ]).Html::tag('span', '', [
155   - 'class' => 'act_bg',
156   - 'style' => "background: url('/images/cabinet/icon-menu/ico-6-act.png') 50% 50% no-repeat",
157   - ]).'Каталог ОІВ',
158   - 'url' => ['cabinet/properties'],
159   - 'items' => [
160   - [
161   - 'label' => Html::tag('span', '', [
162   - 'style' => "background: url('/images/cabinet/icon-menu/ico-6-1.png') 50% 50% no-repeat",
163   - ]).Html::tag('span', '', [
164   - 'class' => 'act_bg',
165   - 'style' => "background: url('/images/cabinet/icon-menu/ico-6-1-act.png') 50% 50% no-repeat",
166   - ]).'продаж ОІВ',
167   - 'url' => ['cabinet/sales'],
168   - 'options' => [
169   - 'class' => 'second-list',
170   - ],
171   - ],
172   - [
173   - 'label' => Html::tag('span', '', [
174   - 'style' => "background: url('/images/cabinet/icon-menu/ico-6-2.png') 50% 50% no-repeat",
175   - ]).Html::tag('span', '', [
176   - 'class' => 'act_bg',
177   - 'style' => "background: url('/images/cabinet/icon-menu/ico-6-2-act.png') 50% 50% no-repeat",
178   - ]).'список ОІВ',
179   - 'url' => ['cabinet/list'],
180   - 'options' => [
181   - 'class' => 'second-list',
182   - ],
183   - ]
184   - ]
185   - ],
186   - [
187   - 'label' => Html::tag('span', '', [
188   - 'style' => "background: url('/images/cabinet/icon-menu/ico-7.png') 50% 50% no-repeat",
189   - ]).Html::tag('span', '', [
190   - 'class' => 'act_bg',
191   - 'style' => "background: url('/images/cabinet/icon-menu/ico-7-act.png') 50% 50% no-repeat",
192   - ]).'Мої надходження',
193   - 'url' => ['cabinet/arrivals'],
194   - ],
195   - [
196   - 'label' => Html::tag('span', '', [
197   - 'style' => "background: url('/images/cabinet/icon-menu/ico-8.png') 50% 50% no-repeat",
198   - ]).Html::tag('span', '', [
199   - 'class' => 'act_bg',
200   - 'style' => "background: url('/images/cabinet/icon-menu/ico-8-act.png') 50% 50% no-repeat",
201   - ]).'Звіти',
202   - 'url' => ['cabinet/reports'],
203   - 'items' => [
204   - [
205   - 'label' => Html::tag('span', '', [
206   - 'style' => "background: url('/images/cabinet/icon-menu/ico-8-1.png') 50% 50% no-repeat",
207   - ]).Html::tag('span', '', [
208   - 'class' => 'act_bg',
209   - 'style' => "background: url('/images/cabinet/icon-menu/ico-8-1-act.png') 50% 50% no-repeat",
210   - ]).'звіт з кількістью сповіщень',
211   - 'url' => ['cabinet/notifications'],
212   - 'options' => [
213   - 'class' => 'second-list',
214   - ],
215   - ],
216   - [
217   - 'label' => Html::tag('span', '', [
218   - 'style' => "background: url('/images/cabinet/icon-menu/ico-8-2.png') 50% 50% no-repeat",
219   - ]).Html::tag('span', '', [
220   - 'class' => 'act_bg',
221   - 'style' => "background: url('/images/cabinet/icon-menu/ico-8-2-act.png') 50% 50% no-repeat",
222   - ]).'звіт у розрізі користувачів',
223   - 'url' => ['cabinet/users'],
224   - 'options' => [
225   - 'class' => 'second-list',
226   - ],
227   - ]
228   - ]
229   - ],
230   - [
231   - 'label' => Html::tag('span', '', [
232   - 'style' => "background: url('/images/cabinet/icon-menu/ico-9.png') 50% 50% no-repeat",
233   - ]).Html::tag('span', '', [
234   - 'class' => 'act_bg',
235   - 'style' => "background: url('/images/cabinet/icon-menu/ico-9-act.png') 50% 50% no-repeat",
236   - ]).'допомога',
237   - 'url' => ['cabinet/help'],
238   - 'options' => [
239   - 'class' => 'disabled',
240   - ],
241   - ],
242   - ],
243   - ]
244   - );
245   - ?>
246   - </div>
247   -
248   - <div class="content-forms">
249   - <?php
250   - echo $content;
251   - ?>
252   - </div>
  84 + <div class="sidebar-cab">
  85 + <?php
  86 + echo Menu::widget(
  87 + [
  88 + 'options' => [
  89 + 'class' => 'list-cab',
  90 + ],
  91 + 'encodeLabels' => false,
  92 + 'activeCssClass' => 'active-li',
  93 + 'items' => [
  94 + [
  95 + 'label' => Html::tag(
  96 + 'span',
  97 + '',
  98 + [
  99 + 'style' => "background: url('/images/cabinet/icon-menu/ico-1.png') 50% 50% no-repeat",
  100 + ]
  101 + ) . Html::tag(
  102 + 'span',
  103 + '',
  104 + [
  105 + 'class' => 'act_bg',
  106 + 'style' => "background: url('/images/cabinet/icon-menu/ico-1-act.png') 50% 50% no-repeat",
  107 + ]
  108 + ) . 'Особисті дані',
  109 + 'url' => [ 'cabinet/index' ],
  110 + ],
  111 + [
  112 + 'label' => Html::tag(
  113 + 'span',
  114 + '',
  115 + [
  116 + 'style' => "background: url('/images/cabinet/icon-menu/ico-2.png') 50% 50% no-repeat",
  117 + ]
  118 + ) . Html::tag(
  119 + 'span',
  120 + '',
  121 + [
  122 + 'class' => 'act_bg',
  123 + 'style' => "background: url('/images/cabinet/icon-menu/ico-2-act.png') 50% 50% no-repeat",
  124 + ]
  125 + ) . 'Мої соавтори',
  126 + 'url' => [ 'cabinet/authors' ],
  127 + 'options' => [
  128 + 'class' => 'disabled',
  129 + ],
  130 + ],
  131 + [
  132 + 'label' => Html::tag(
  133 + 'span',
  134 + '',
  135 + [
  136 + 'style' => "background: url('/images/cabinet/icon-menu/ico-3.png') 50% 50% no-repeat",
  137 + ]
  138 + ) . Html::tag(
  139 + 'span',
  140 + '',
  141 + [
  142 + 'class' => 'act_bg',
  143 + 'style' => "background: url('/images/cabinet/icon-menu/ico-3-act.png') 50% 50% no-repeat",
  144 + ]
  145 + ) . 'Рахунки',
  146 + 'url' => [ 'cabinet/bills' ],
  147 + 'options' => [
  148 + 'class' => 'disabled',
  149 + ],
  150 + ],
  151 + [
  152 + 'label' => Html::tag(
  153 + 'span',
  154 + '',
  155 + [
  156 + 'style' => "background: url('/images/cabinet/icon-menu/ico-4.png') 50% 50% no-repeat",
  157 + ]
  158 + ) . Html::tag(
  159 + 'span',
  160 + '',
  161 + [
  162 + 'class' => 'act_bg',
  163 + 'style' => "background: url('/images/cabinet/icon-menu/ico-4-act.png') 50% 50% no-repeat",
  164 + ]
  165 + ) . 'Адреси',
  166 + 'url' => [ 'cabinet/addresses' ],
  167 + 'options' => [
  168 + 'class' => 'disabled',
  169 + ],
  170 + ],
  171 + [
  172 + 'label' => Html::tag(
  173 + 'span',
  174 + '',
  175 + [
  176 + 'style' => "background: url('/images/cabinet/icon-menu/ico-5.png') 50% 50% no-repeat",
  177 + ]
  178 + ) . Html::tag(
  179 + 'span',
  180 + '',
  181 + [
  182 + 'class' => 'act_bg',
  183 + 'style' => "background: url('/images/cabinet/icon-menu/ico-5-act.png') 50% 50% no-repeat",
  184 + ]
  185 + ) . 'Додадково',
  186 + 'url' => [ 'cabinet/additional' ],
  187 + 'options' => [
  188 + 'class' => 'disabled',
  189 + ],
  190 + ],
  191 + [
  192 + 'label' => Html::tag(
  193 + 'span',
  194 + '',
  195 + [
  196 + 'style' => "background: url('/images/cabinet/icon-menu/ico-6.png') 50% 50% no-repeat",
  197 + ]
  198 + ) . Html::tag(
  199 + 'span',
  200 + '',
  201 + [
  202 + 'class' => 'act_bg',
  203 + 'style' => "background: url('/images/cabinet/icon-menu/ico-6-act.png') 50% 50% no-repeat",
  204 + ]
  205 + ) . 'Каталог ОІВ',
  206 + 'url' => [ 'cabinet/properties' ],
  207 + 'items' => [
  208 + [
  209 + 'label' => Html::tag(
  210 + 'span',
  211 + '',
  212 + [
  213 + 'style' => "background: url('/images/cabinet/icon-menu/ico-6-1.png') 50% 50% no-repeat",
  214 + ]
  215 + ) . Html::tag(
  216 + 'span',
  217 + '',
  218 + [
  219 + 'class' => 'act_bg',
  220 + 'style' => "background: url('/images/cabinet/icon-menu/ico-6-1-act.png') 50% 50% no-repeat",
  221 + ]
  222 + ) . 'продаж ОІВ',
  223 + 'url' => [ 'cabinet/sales' ],
  224 + 'options' => [
  225 + 'class' => 'second-list',
  226 + ],
  227 + ],
  228 + [
  229 + 'label' => Html::tag(
  230 + 'span',
  231 + '',
  232 + [
  233 + 'style' => "background: url('/images/cabinet/icon-menu/ico-6-2.png') 50% 50% no-repeat",
  234 + ]
  235 + ) . Html::tag(
  236 + 'span',
  237 + '',
  238 + [
  239 + 'class' => 'act_bg',
  240 + 'style' => "background: url('/images/cabinet/icon-menu/ico-6-2-act.png') 50% 50% no-repeat",
  241 + ]
  242 + ) . 'список ОІВ',
  243 + 'url' => [ 'cabinet/list' ],
  244 + 'options' => [
  245 + 'class' => 'second-list',
  246 + ],
  247 + ],
  248 + ],
  249 + ],
  250 + [
  251 + 'label' => Html::tag(
  252 + 'span',
  253 + '',
  254 + [
  255 + 'style' => "background: url('/images/cabinet/icon-menu/ico-7.png') 50% 50% no-repeat",
  256 + ]
  257 + ) . Html::tag(
  258 + 'span',
  259 + '',
  260 + [
  261 + 'class' => 'act_bg',
  262 + 'style' => "background: url('/images/cabinet/icon-menu/ico-7-act.png') 50% 50% no-repeat",
  263 + ]
  264 + ) . 'Мої надходження',
  265 + 'url' => [ 'cabinet/arrivals' ],
  266 + ],
  267 + [
  268 + 'label' => Html::tag(
  269 + 'span',
  270 + '',
  271 + [
  272 + 'style' => "background: url('/images/cabinet/icon-menu/ico-8.png') 50% 50% no-repeat",
  273 + ]
  274 + ) . Html::tag(
  275 + 'span',
  276 + '',
  277 + [
  278 + 'class' => 'act_bg',
  279 + 'style' => "background: url('/images/cabinet/icon-menu/ico-8-act.png') 50% 50% no-repeat",
  280 + ]
  281 + ) . 'Звіти',
  282 + 'url' => [ 'cabinet/reports' ],
  283 + 'items' => [
  284 + [
  285 + 'label' => Html::tag(
  286 + 'span',
  287 + '',
  288 + [
  289 + 'style' => "background: url('/images/cabinet/icon-menu/ico-8-2.png') 50% 50% no-repeat",
  290 + ]
  291 + ) . Html::tag(
  292 + 'span',
  293 + '',
  294 + [
  295 + 'class' => 'act_bg',
  296 + 'style' => "background: url('/images/cabinet/icon-menu/ico-8-2-act.png') 50% 50% no-repeat",
  297 + ]
  298 + ) . 'звіт у розрізі користувачів',
  299 + 'url' => [ 'cabinet/users' ],
  300 + 'options' => [
  301 + 'class' => 'second-list',
  302 + ],
  303 + ],
  304 + [
  305 + 'label' => Html::tag(
  306 + 'span',
  307 + '',
  308 + [
  309 + 'style' => "background: url('/images/cabinet/icon-menu/ico-8-1.png') 50% 50% no-repeat",
  310 + ]
  311 + ) . Html::tag(
  312 + 'span',
  313 + '',
  314 + [
  315 + 'class' => 'act_bg',
  316 + 'style' => "background: url('/images/cabinet/icon-menu/ico-8-1-act.png') 50% 50% no-repeat",
  317 + ]
  318 + ) . 'звіт з кількістью сповіщень',
  319 + 'url' => [ 'cabinet/notifications' ],
  320 + 'options' => [
  321 + 'class' => 'second-list',
  322 + ],
  323 + ],
  324 + ],
  325 + ],
  326 + [
  327 + 'label' => Html::tag(
  328 + 'span',
  329 + '',
  330 + [
  331 + 'style' => "background: url('/images/cabinet/icon-menu/ico-9.png') 50% 50% no-repeat",
  332 + ]
  333 + ) . Html::tag(
  334 + 'span',
  335 + '',
  336 + [
  337 + 'class' => 'act_bg',
  338 + 'style' => "background: url('/images/cabinet/icon-menu/ico-9-act.png') 50% 50% no-repeat",
  339 + ]
  340 + ) . 'допомога',
  341 + 'url' => [ 'cabinet/help' ],
  342 + 'options' => [
  343 + 'class' => 'disabled',
  344 + ],
  345 + ],
  346 + ],
  347 + ]
  348 + );
  349 + ?>
  350 + </div>
  351 +
  352 + <div class="content-forms">
  353 + <?php
  354 + echo $content;
  355 + ?>
  356 + </div>
253 357 </div>
254 358 <div class="section-box-footer">
255   - <a class="btn_create_footer" href="#">Створити</a>
256   - <a class="btn_remove_footer" href="#">Видалити</a>
  359 + <a class="btn_create_footer" href="#">Створити</a>
  360 + <a class="btn_remove_footer" href="#">Видалити</a>
257 361 </div>
258 362 <?php
259 363 $this->endContent();
... ...