Change design of right side panel.
authorAlexandre Segura <mex.zktk@gmail.com>
Wed, 22 Feb 2017 18:32:39 +0100
changeset 351 2d5557c01f95
parent 350 7c0b98b10e00
child 352 4f0ede751fcf
Change design of right side panel.
src_js/iconolab-bundle/src/components/editor/AnnotationForm.vue
src_js/iconolab-bundle/src/components/editor/CommentList.vue
--- a/src_js/iconolab-bundle/src/components/editor/AnnotationForm.vue	Wed Feb 22 18:31:58 2017 +0100
+++ b/src_js/iconolab-bundle/src/components/editor/AnnotationForm.vue	Wed Feb 22 18:32:39 2017 +0100
@@ -17,17 +17,17 @@
             </slot>
             <input type="hidden" name="fragment" v-model="fragment">
             <div v-if="annotation" class="form-group form-group-sm">
-                <label class="control-label">Titre</label>
+                <label class="small text-muted">Titre</label>
                 <input type="text" class="form-control" name="title" v-model="title" v-if="!readonly">
-                <p v-if="readonly" class="small" v-bind:class="{ 'text-muted': !title }">{{ title || 'Pas de titre' }}</p>
+                <p v-if="readonly" v-bind:class="{ 'text-muted': !title }">{{ title || 'Pas de titre' }}</p>
             </div>
             <div v-if="annotation" class="form-group form-group-sm">
-                <label class="control-label">Description</label>
+                <label class="small text-muted">Description</label>
                 <textarea class="form-control" name="description" v-model="description" v-if="!readonly" placeholder="Décrivez ce que vous voyez"></textarea>
-                <p v-if="readonly" class="small" v-bind:class="{ 'text-muted': !description }">{{ description || 'Pas de description' }}</p>
+                <p v-if="readonly" v-bind:class="{ 'text-muted': !description }">{{ description || 'Pas de description' }}</p>
             </div>
             <div v-if="annotation" class="form-group form-group-sm">
-                <label class="control-label">Mots-clé</label>
+                <label class="small text-muted">Mots-clé</label>
                 <tag-list ref="taglist"
                     v-bind:original-tags="annotation.tags"
                     v-bind:readonly="readonly"
--- a/src_js/iconolab-bundle/src/components/editor/CommentList.vue	Wed Feb 22 18:31:58 2017 +0100
+++ b/src_js/iconolab-bundle/src/components/editor/CommentList.vue	Wed Feb 22 18:32:39 2017 +0100
@@ -1,6 +1,6 @@
 <template>
     <div v-show="annotation">
-        <label class="form-label">Commentaires</label>
+        <label class="small text-muted">Commentaires</label>
         <div v-show="comments.length === 0" class="alert alert-info">Pas de commentaire pour le moment.</div>
         <comment
             v-for="comment in comments"