Просмотр исходного кода

layout adjust - template order in header

tags/0.9.0
Alej 4 лет назад
Родитель
Сommit
2fc8c36099
1 измененных файлов: 19 добавлений и 15 удалений
  1. 19
    15
      vue-theme/src/pages/list.vue

+ 19
- 15
vue-theme/src/pages/list.vue Просмотреть файл

1
 <template lang="pug">
1
 <template lang="pug">
2
 .page--list.f-col.between
2
 .page--list.f-col.between
3
     article.f-grow
3
     article.f-grow
4
-        //- breadcrumb links here at top of page probably not needed for list page as its obvious - delete probably       
5
-        h5.t-up {{ type }}
6
 
4
 
7
-        header.f-col.center.t-up
5
+        header.center.t-up
6
+            //- breadcrumb links here at top of page probably not needed for list page as its obvious - delete probably       
7
+            breadcrumb.f-row.start
8
+                router-link(:to="`/${type}`")
9
+                    h5.t-up {{ type }}
10
+
8
             .title.f-row
11
             .title.f-row
9
                 h3 {{ type }} list
12
                 h3 {{ type }} list
10
                 span(v-if="sortBy")
13
                 span(v-if="sortBy")
21
             p {{ `${type} count: ${Object.values(posts).length}` }}
24
             p {{ `${type} count: ${Object.values(posts).length}` }}
22
             p {{ `show sidebar: ${sidebar}` }}
25
             p {{ `show sidebar: ${sidebar}` }}
23
         
26
         
24
-    sidebar(v-if="sidebar" :type="`${type}`")
25
-        .shadow.t-up
26
-            h3 Upcoming {{ type }}
27
-            div
28
-                p upcoming title
29
-                p date-from: date-to: 
30
-                p location
31
-                br
32
-                p upcoming title
33
-                p date-from: date-to: 
34
-                p location
27
+    sidebar(v-if="sidebar" :type="`${type}`" layout="list")
28
+        //- .shadow.t-up
29
+        //-     h3 Upcoming {{ type }}
30
+        //-     div
31
+        //-         p upcoming title
32
+        //-         p date-from: date-to: 
33
+        //-         p location
34
+        //-         br
35
+        //-         p upcoming title
36
+        //-         p date-from: date-to: 
37
+        //-         p location
35
 
38
 
36
 </template>
39
 </template>
37
 
40
 
146
     /* background-color: white */
149
     /* background-color: white */
147
     article
150
     article
148
         > header
151
         > header
149
-            padding: 1em 0 1em 0
152
+            /* padding: 1em 0 1em 0 */
153
+            padding: 1em
150
             > h1
154
             > h1
151
                 margin: 0
155
                 margin: 0
152
             > .content
156
             > .content

Загрузка…
Отмена
Сохранить