From 5192859730cc548e33975eef0f890e1ed484c259 Mon Sep 17 00:00:00 2001 From: Le Libre Au Quotidien Date: Sun, 3 May 2020 19:04:25 +0200 Subject: [PATCH] Update templates --- src/components/ChoiceBox.vue | 0 src/components/SoftBox.vue | 23 ++++++++++++++++------- src/components/home.vue | 29 ++++++++++++++--------------- 3 files changed, 30 insertions(+), 22 deletions(-) mode change 100644 => 100755 src/components/ChoiceBox.vue mode change 100644 => 100755 src/components/home.vue diff --git a/src/components/ChoiceBox.vue b/src/components/ChoiceBox.vue old mode 100644 new mode 100755 diff --git a/src/components/SoftBox.vue b/src/components/SoftBox.vue index 79505d2..33443f6 100755 --- a/src/components/SoftBox.vue +++ b/src/components/SoftBox.vue @@ -3,7 +3,9 @@

{{name}}

{{desc}}

- Aller +
+ +
{{licence}} @@ -11,6 +13,9 @@ export default { + created: function(){ + this.split(); + }, props: { img:String, @@ -19,17 +24,15 @@ export default { href:String, licence:String, pubkey:String, - buttonType:String, - buttonValue:String, }, methods: { getImgUrl(pic) { return require('../assets/'+pic) }, - - - +split: function(){ + this.href_array = this.href.split(","); +} } } @@ -43,5 +46,11 @@ getImgUrl(pic) { .licence{ margin-top:10px; } - +.btn-container-softbox{ + display:grid; + grid-template-columns: repeat(2, 50%); +} +.buttons{ + margin-right:10px; +} diff --git a/src/components/home.vue b/src/components/home.vue old mode 100644 new mode 100755 index 0a9d432..f077592 --- a/src/components/home.vue +++ b/src/components/home.vue @@ -5,7 +5,6 @@ xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" - xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="210mm" height="297mm" @@ -26,80 +25,80 @@ - - - - - - - - - - - - - + - +