bach 10 months ago
parent
commit
d4b48b53cc
2 changed files with 24 additions and 9 deletions
  1. 13 1
      assets/css/app.scss
  2. 11 8
      src/pages/Bibliographie.vue

+ 13 - 1
assets/css/app.scss

@@ -428,6 +428,11 @@ section[role="main-content"]{
   .index-item{
     header{
       h1{
+        @include title1blue;
+        line-height: $base-line * 1.2;
+        // margin:0 0 0.3em;
+      }
+      h2{
         @include title1black;
         margin:0 0 0.3em;
       }
@@ -436,13 +441,15 @@ section[role="main-content"]{
         
         h3{
           @include title2black;
-          margin:0;
+          margin:0 0 0.3em;
           font-weight: 600;
         }
 
       }
+
       p{
         margin: 0 0 0.5em 0;
+        span.label{ font-weight: 600; }
       }
       .authors{
         a{
@@ -1164,6 +1171,11 @@ section[role="main-content"]{
       h2{
         color: $bleuroi;
       }
+      p{
+        span.label{
+          font-weight: 600;
+        }
+      }
     }
     ul.item-list{
       margin:0;

+ 11 - 8
src/pages/Bibliographie.vue

@@ -85,16 +85,16 @@
       </ul>
     </template>
     <!-- or expression / manifestation item -->
-    <template v-else>
+    <template v-if="uuid">
       <div class="biblio-item">
         <h2>{{ item.type }}</h2>
         <h2 v-html="item.tei" />
-        <p class="author">Auteur: {{ item.authors }}</p>
-        <p v-if="item.dates" class="date">Dates : {{ item.dates }}</p>
-        <p v-if="item.edition" class="date">Édition : {{ item.edition }}</p>
-        <p v-if="item.editeur" class="date" v-html="'Éditeur : ' + item.editeur" />
-        <p v-if="item.lieu" class="date">Lieu de publication : {{ item.lieu }}</p>
-        <p v-if="item.extent" class="date">Format : {{ item.extent }}</p>
+        <p class="author"><span class="label">Auteur :</span> {{ item.authors }}</p>
+        <p v-if="item.dates" class="date"><span class="label">Dates :</span> {{ item.dates }}</p>
+        <p v-if="item.edition" class="edition"><span class="label">Édition :</span> {{ item.edition }}</p>
+        <p v-if="item.editeur" class="editeur" v-html="editeur" />
+        <p v-if="item.lieu" class="lieu"><span class="label">Lieu de publication :</span> {{ item.lieu }}</p>
+        <p v-if="item.extent" class="extent"><span class="label">Format :</span> {{ item.extent }}</p>
         <!-- manifestation -->
         <h3 v-if="item.manifestations && item.manifestations.length">Liste des manifestations :</h3>
         <ul v-if="item.manifestations && item.manifestations.length" class="item-list">
@@ -110,7 +110,7 @@
         <h3 v-if="item.notes && item.notes.length">Note :</h3>
         <ul v-if="item.notes && item.notes.length" class="notes-list">
           <li v-for="note in item.notes" :key="note.uuid">
-            <p v-html="note.tei" />
+            <p v-html="note" />
           </li>
         </ul>
         <!-- BNF -->
@@ -186,6 +186,9 @@ export default {
     apipath () {
       return window.apipath
     },
+    editeur () {
+      return '<span class="label">Éditeur : </span>' + this.item.editeur
+    },
     noticesbnf (item) {
       let n = []
       if (this.item && this.item.idno && this.item.idno.length) {