Commit 3c7af0dd authored by  JosephK's avatar JosephK
Browse files

Update from VueFS

parent 3d2f91de
node_modules/
public/
.zanata-cache/etag-cache.xml
npm-debug.log
......@@ -35,6 +35,7 @@ trads:
image: framasoft/push-trad:latest
script:
- sed -e "s@<project-version>.*</project-version>@<project-version>$CI_COMMIT_REF_SLUG</project-version>@" -i zanata.xml
- sed -e "s@<project>.*</project>@<project>$CI_PROJECT_NAME</project>@" -i zanata.xml
- if [ ! -z ${ZANATA_CONFIG_FRAMABOT+x} ]; then mkdir -p ${HOME}/.config; echo -e "${ZANATA_CONFIG_FRAMABOT}" > ${HOME}/.config/zanata.ini; fi
- if [ ! -z ${ZANATA_CONFIG_FRAMABOT+x} ]; then make push-locales; fi
only:
......
locales:
yaml2po -P --progress=none -i app/locales/en.yml -o po/accueil.pot
scripts/locales.sh
push-locales: locales
zanata-cli -q -B push
pull-locales:
zanata-cli -q -B pull --min-doc-percent 75
./.po2yml.sh
./scripts/po2yml.sh
preview:
npm run preview
......
<template>
<div id="app">
<vue-headful
:title="$t('msg.meta.title')"
:description="$t('msg.meta.desc')"
:keywords="$t('msg.meta.keywords')"
:title="$t('meta.title')"
:description="$t('meta.desc')"
:keywords="$t('meta.keywords')"
:head="{
'meta[name=author]': {content: $t('msg.data.meta.name') },
'meta[name^=DC][name$=title]': {content: $t('msg.meta.title') },
'meta[name^=DC][name$=publisher]': {content: $t('msg.data.meta.name') },
'meta[name^=DC][name$=contributor]': {content: $t('msg.data.meta.name') },
'meta[name=author]': {content: $t('data.meta.name') },
'meta[name^=DC][name$=title]': {content: $t('meta.title') },
'meta[name^=DC][name$=publisher]': {content: $t('data.meta.name') },
'meta[name^=DC][name$=contributor]': {content: $t('data.meta.name') },
'meta[name^=DC][name$=language]': {content: $t('lang') },
'meta[name^=DC][name$=subject]': {content: $t('msg.meta.keywords') },
'meta[name^=DC][name$=rights]': {content: $t('msg.meta.license') },
'meta[name^=DC][name$=description]': {content: $t('msg.meta.desc') },
'meta[name^=DC][name$=subject]': {content: $t('meta.keywords') },
'meta[name^=DC][name$=rights]': {content: $t('meta.license') },
'meta[name^=DC][name$=description]': {content: $t('meta.desc') },
}"
/>
<router-view></router-view>
......
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
// Core variables and mixins
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins";
// Reset and dependencies
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/normalize";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/print";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/glyphicons";
// Core CSS
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/scaffolding";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/type";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/code";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/grid";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/tables";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/forms";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/buttons";
// Components
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/component-animations";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/dropdowns";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/button-groups";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/input-groups";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/navs";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/navbar";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/breadcrumbs";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/pagination";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/pager";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/labels";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/badges";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/jumbotron";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/thumbnails";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/alerts";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/progress-bars";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/media";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/list-group";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/panels";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/responsive-embed";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/wells";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/close";
// Components w/ JavaScript
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/modals";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/tooltip";
// @import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/popovers";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/carousel";
// Utility classes
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/utilities";
@import "../../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/responsive-utilities";
/* a11y (https://github.com/paypal/bootstrap-accessibility-plugin) */
.btn:focus,
.btn.active:focus {
outline: dotted 1px black;
}
.btn-primary:focus,
.btn-primary.active:focus,
.btn-success:focus,
.btn-success.active:focus,
.btn-info:focus,
.btn-info.active:focus,
.btn-warning:focus,
.btn-warning.active:focus,
.btn-danger:focus,
.btn-danger.active:focus,
.btn-soutenir:focus,
.btn-soutenir.active:focus {
outline: dotted 1px white;
}
a:focus {
outline: dotted 1px black;
}
.bg-primary a:focus,
a.bg-primary:focus {
outline: dotted 1px white;
}
.close:hover, .close:focus {
outline: dotted 1px black;
}
.nav > li > a:focus {
outline: dotted 1px black;
}
cite {
font-style:italic;
}
.alert-success a:not(.btn),
.alert-success a:hover:not(.btn),
.alert-success {
color: #304219;
background:#E3EBC7;
border-color: #C0D481;
}
.alert-info a:not(.btn),
.alert-info a:hover:not(.btn),
.alert-info {
color: #0C5B7A;
background-color: #E1F8FC;
border-color: #B2D5DB;
}
.alert-warning a:not(.btn),
.alert-danger a:hover:not(.btn),
.alert-warning {
color: #A15014 !important;
background-color: #FFEBB5;
border-color: #FFCF4F;
}
.alert-danger a:not(.btn),
.alert-danger a:hover:not(.btn),
.alert-danger {
color: #AB2909 !important;
background-color: #fde0dc;
border-color: #E0B3A8;
}
.bg-primary,
.bg-primary a:not(.btn),
a.bg-primary:focus:not(.btn),
a.bg-primary:hover:not(.btn) {
color: #fff;
background-color: #6A5687;
}
.bg-success, a.bg-success:hover:not(.btn) {
background-color: #E3EBC7;
}
.bg-info, a.bg-info:hover:not(.btn) {
background-color: #E1F8FC;
}
.bg-warning, a.bg-warning:hover:not(.btn) {
background-color: #FFEBB5;
}
.bg-danger,a.bg-danger:hover:not(.btn) {
background-color: #fde0dc;
}
.btn-default {
color: #333;
background-color: #fff;
border-color: #bdbdbd;
}
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
color: #333;
background-color: #e0e0e0;
border-color: #949494;
}
.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
background-color: #fff;
border-color: #bdbdbd;
}
.btn-default .badge {
color: #fff;
background-color: #757575;
}
.btn-primary {
color: #fff;
text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
background-color: #6A5687;
border-color: #6A5687;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
color: #fff;
background-color: #635182;
border-color: #635182;
}
.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
background-color: #6A5687;
border-color: #6A5687;
}
.btn-primary .badge {
color: #6A5687;
text-shadow: none;
background-color: #fff;
}
.btn-success {
color: #fff;
text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
background-color: #677835;
border-color: #677835;
}
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
color: #fff;
background-color: #52632A;
border-color: #52632A;
}
.btn-success.disabled,
.btn-success[disabled],
fieldset[disabled] .btn-success,
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled:active,
.btn-success[disabled]:active,
fieldset[disabled] .btn-success:active,
.btn-success.disabled.active,
.btn-success[disabled].active,
fieldset[disabled] .btn-success.active {
background-color: #677835;
border-color: #677835;
}
.btn-success .badge {
color: #677835;
text-shadow: none;
background-color: #fff;
}
.btn-info {
color: #fff;
text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
background-color: #11809E;
border-color: #11809E;
}
.btn-info:hover,
.btn-info:focus,
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
color: #fff;
background-color: #0C5B7A;
border-color: #0C5B7A;
}
.btn-info.disabled,
.btn-info[disabled],
fieldset[disabled] .btn-info,
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled:active,
.btn-info[disabled]:active,
fieldset[disabled] .btn-info:active,
.btn-info.disabled.active,
.btn-info[disabled].active,
fieldset[disabled] .btn-info.active {
background-color: #11809E;
border-color: #11809E;
}
.btn-info .badge {
color: #0C5B7A;
text-shadow: none;
background-color: #fff;
}
.btn-warning {
color: #fff;
text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
background-color: #EB7239;
border-color: #EB7239;
}
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
color: #fff;
background-color: #DE6933;
border-color: #DE6933;
}
.btn-warning.disabled,
.btn-warning[disabled],
fieldset[disabled] .btn-warning,
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled:active,
.btn-warning[disabled]:active,
fieldset[disabled] .btn-warning:active,
.btn-warning.disabled.active,
.btn-warning[disabled].active,
fieldset[disabled] .btn-warning.active {
background-color: #EB7239;
border-color: #EB7239;
}
.btn-warning .badge {
color: #C05827;
text-shadow: none;
background-color: #fff;
}
.btn-danger {
color: #fff;
text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
background-color: #CC2D18;
border-color: #CC2D18;
}
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
color: #fff;
background-color: #B82E12;
border-color: #B82E12;
}
.btn-danger.disabled,
.btn-danger[disabled],
fieldset[disabled] .btn-danger,
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled:active,
.btn-danger[disabled]:active,
fieldset[disabled] .btn-danger:active,
.btn-danger.disabled.active,
.btn-danger[disabled].active,
fieldset[disabled] .btn-danger.active {
background-color: #CC2D18;
border-color: #CC2D18;
}
.btn-danger .badge {
color: #C42D16;
text-shadow: none;
background-color: #fff;
}
.navbar-default .navbar-nav > li > a.btn-soutenir,
.btn-soutenir {
color: #fff !important;
text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
background-color: #DBA306;
border-color: #DBA306;
}
.navbar-default .navbar-nav > li > a.btn-soutenir:hover,
.navbar-default .navbar-nav > li > a.btn-soutenir:focus,
.navbar-default .navbar-nav > li > a.btn-soutenir:active,
.btn-soutenir:hover,
.btn-soutenir:focus,
.btn-soutenir:active,
.btn-soutenir.active,
.open > .dropdown-toggle.btn-soutenir {
color: #fff;
background-color: #C48a1b;
border-color: #C48a1b;
}
.btn-link {
font-weight: normal;
color: #0C5B7A;
cursor: pointer;
border-radius: 0;
}
.btn-link,
.btn-link:active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
background-color: transparent;
-webkit-box-shadow: none;
box-shadow: none;
}
.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
border-color: transparent;
}
.btn-link:hover,
.btn-link:focus {
color: #635182;
text-decoration: underline;
background-color: transparent;
}
.btn-link[disabled]:hover,
fieldset[disabled] .btn-link:hover,
.btn-link[disabled]:focus,
fieldset[disabled] .btn-link:focus {
color: #757575;
text-decoration: none;
}
.btn-link .badge {
color: #fff;
text-shadow: none;
background-color: #757575;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
.breadcrumb a,
a.btn,
a.label,
.nav-pills a,
.nav-container a,
.dropdown-menu a,
.nav a,
menu a { text-decoration:none !important;}
#mypads .container.ombre {
margin-top:0;
margin-bottom:0;
}
.modal-open .modal-backdrop {
z-index: 9 !important;
}
/* Anciennes classes *
* Couleur des Framatitre */
.violet, .frama { color: #6A5687; }
.orange, .soft { color: #EB7239; }
.bleu, .logiciel { color: #0C5B7A; }
.rouge, .culture { color: #CC2D18; }
.vert, .services { color: #8E9C48; }
.jaune, .vrac { color: #C48A1B; }
/* Classes pour utiliser la couleur de titre en arrière plan */
.fond-frama { background-color: #6A5687; }
.fond-soft { background-color: #EB7239; }
.fond-logiciel { background-color: #0C5B7A; }
.fond-culture { background-color: #CC2D18; }
.fond-services { background-color: #8E9C48; }
.fond-vrac { background-color: #C48A1B; }
/* Nouvelles classes *
* f = frama violet ; v = vert ; b = bleu ; j = jaune ; r = rouge ; o = orange ; m = marron ; g = gris
* fb_ = background ; fc_ = color */
/* Ref #6A5687 = RGB(106,86,135) = HSV(264,36,53) */
.fb_f0 { background-color: #EDE6F5;}
.fb_f1 { background-color: #D3C5E8;}
.fb_f2 { background-color: #B49CD9;}
.fb_f3 { background-color: #9876CC;}
.fb_f4 { background-color: #8157C2;}
.fb_f5 { background-color: #6A5687;} /* btn-primary */
.fb_f6 { background-color: #635182;}
.fb_f7 { background-color: #574778;}
.fb_f8 { background-color: #4E4070;}
.fb_f9 { background-color: #3E3363;}
.fc_f0 { color: #EDE6F5;}
.fc_f1 { color: #D3C5E8;}
.fc_f2 { color: #B49CD9;}
.fc_f3 { color: #9876CC;}
.fc_f4 { color: #8157C2;}
.fc_f5 { color: #6A5687;} /* .frama */
.fc_f6 { color: #635182;} /* a:hover */
.fc_f7 { color: #574778;}
.fc_f8 { color: #4E4070;}
.fc_f9 { color: #3E3363;}
/* Ref #8E9C48 = RGB(142,156,72) = HSV(70,54,61) */
.fb_v0 { background-color: #F4F7E9;}
.fb_v1 { background-color: #E3EBC7;}
.fb_v2 { background-color: #D2E0A6;}
.fb_v3 { background-color: #C0D481;}
.fb_v4 { background-color: #B3CC66;}
.fb_v5 { background-color: #8E9C48;} /* btn-success */
.fb_v6 { background-color: #7D8C3F;}
.fb_v7 { background-color: #677835;}
.fb_v8 { background-color: #52632A;}
.fb_v9 { background-color: #304219;}
.fc_v0 { color: #F4F7E9;}
.fc_v1 { color: #E3EBC7;}
.fc_v2 { color: #D2E0A6;}
.fc_v3 { color: #C0D481;}
.fc_v4 { color: #B3CC66;}
.fc_v5 { color: #8E9C48;} /* .services */
.fc_v6 { color: #7D8C3F;}
.fc_v7 { color: #677835;}
.fc_v8 { color: #52632A;}
.fc_v9 { color: #304219;}
/* Ref #0C5B7A = RGB(12,91,122) = HSV(197,90,48) */
.fb_b0 { background-color: #E1F8FC;}
.fb_b1 { background-color: #B2D5DB;}
.fb_b2 { background-color: #83C9D6;}
.fb_b3 { background-color: #58C3D6;}
.fb_b4 { background-color: #38BED6;}
.fb_b5 { background-color: #18B7D4;}
.fb_b6 { background-color: #16A7C4;}
.fb_b7 { background-color: #1290B0;}
.fb_b8 { background-color: #11809E;} /* btn-info */
.fb_b9 { background-color: #0C5B7A;}
.fc_b0 { color: #E1F8FC;}
.fc_b1 { color: #B2D5DB;}
.fc_b2 { color: #83C9D6;}
.fc_b3 { color: #58C3D6;}
.fc_b4 { color: #38BED6;}
.fc_b5 { color: #18B7D4;}
.fc_b6 { color: #16A7C4;}
.fc_b7 { color: #1290B0;}
.fc_b8 { color: #11809E;}
.fc_b9 { color: #0C5B7A;} /* a .logiciel */
/* Ref #C48A1B = RGB(196,168,27) = HSV(39,86,77) */
.fb_j0 { background-color: #FFF8E3;}
.fb_j1 { background-color: #FFEBB5;}
.fb_j2 { background-color: #FFDD82;}
.fb_j3 { background-color: #FFCF4F;}