Преглед изворни кода

layout adjust - template order in header

tags/0.9.0
Alej пре 4 година
родитељ
комит
2fc8c36099
1 измењених фајлова са 19 додато и 15 уклоњено
  1. 19
    15
      vue-theme/src/pages/list.vue

+ 19
- 15
vue-theme/src/pages/list.vue Прегледај датотеку

@@ -1,10 +1,13 @@
1 1
 <template lang="pug">
2 2
 .page--list.f-col.between
3 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 11
             .title.f-row
9 12
                 h3 {{ type }} list
10 13
                 span(v-if="sortBy")
@@ -21,17 +24,17 @@
21 24
             p {{ `${type} count: ${Object.values(posts).length}` }}
22 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 39
 </template>
37 40
 
@@ -146,7 +149,8 @@ export default {
146 149
     /* background-color: white */
147 150
     article
148 151
         > header
149
-            padding: 1em 0 1em 0
152
+            /* padding: 1em 0 1em 0 */
153
+            padding: 1em
150 154
             > h1
151 155
                 margin: 0
152 156
             > .content

Loading…
Откажи
Сачувај