mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
bootstrap tables in vue_accourse
This commit is contained in:
parent
a9a59895b4
commit
0224224744
@ -540,18 +540,18 @@ $table-bg: transparent !default;
|
|||||||
$table-th-font-weight: null !default;
|
$table-th-font-weight: null !default;
|
||||||
|
|
||||||
$table-striped-color: $table-color !default;
|
$table-striped-color: $table-color !default;
|
||||||
$table-striped-bg-factor: .05 !default;
|
$table-striped-bg-factor: .10 !default;
|
||||||
$table-striped-bg: rgba($black, $table-striped-bg-factor) !default;
|
$table-striped-bg: rgba($black, $table-striped-bg-factor) !default;
|
||||||
|
|
||||||
$table-active-color: $table-color !default;
|
$table-active-color: $table-color !default;
|
||||||
$table-active-bg-factor: .1 !default;
|
$table-active-bg-factor: .15 !default;
|
||||||
$table-active-bg: rgba($black, $table-active-bg-factor) !default;
|
$table-active-bg: rgba($black, $table-active-bg-factor) !default;
|
||||||
|
|
||||||
$table-hover-color: $table-color !default;
|
$table-hover-color: $table-color !default;
|
||||||
$table-hover-bg-factor: .075 !default;
|
$table-hover-bg-factor: .125 !default;
|
||||||
$table-hover-bg: rgba($black, $table-hover-bg-factor) !default;
|
$table-hover-bg: rgba($black, $table-hover-bg-factor) !default;
|
||||||
|
|
||||||
$table-border-factor: .1 !default;
|
$table-border-factor: .15 !default;
|
||||||
$table-border-width: $border-width !default;
|
$table-border-width: $border-width !default;
|
||||||
$table-border-color: $border-color !default;
|
$table-border-color: $border-color !default;
|
||||||
|
|
||||||
|
@ -2,18 +2,23 @@
|
|||||||
<banner></banner>
|
<banner></banner>
|
||||||
<sticky-nav></sticky-nav>
|
<sticky-nav></sticky-nav>
|
||||||
|
|
||||||
<h1 v-if="accompanyingCourse.step === 'DRAFT'">{{ $t('course.title.draft') }}</h1>
|
<div class="row justify-content-end">
|
||||||
<h1 v-else>{{ $t('course.title.active') }}</h1>
|
<div class="col-md-11">
|
||||||
|
|
||||||
<persons-associated></persons-associated>
|
<h1 v-if="accompanyingCourse.step === 'DRAFT'">{{ $t('course.title.draft') }}</h1>
|
||||||
<origin-demand></origin-demand>
|
<h1 v-else>{{ $t('course.title.active') }}</h1>
|
||||||
<requestor></requestor>
|
|
||||||
<social-issue></social-issue>
|
<persons-associated></persons-associated>
|
||||||
<referrer></referrer>
|
<origin-demand></origin-demand>
|
||||||
<resources></resources>
|
<requestor></requestor>
|
||||||
<comment v-if="accompanyingCourse.step === 'DRAFT'"></comment>
|
<social-issue></social-issue>
|
||||||
<confirm v-if="accompanyingCourse.step === 'DRAFT'"></confirm>
|
<referrer></referrer>
|
||||||
|
<resources></resources>
|
||||||
|
<comment v-if="accompanyingCourse.step === 'DRAFT'"></comment>
|
||||||
|
<confirm v-if="accompanyingCourse.step === 'DRAFT'"></confirm>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@ -56,7 +61,7 @@ export default {
|
|||||||
}
|
}
|
||||||
div.vue-component {
|
div.vue-component {
|
||||||
h2 {
|
h2 {
|
||||||
margin-left: 0.7em;
|
margin: 1em 0.7em;
|
||||||
position: relative;
|
position: relative;
|
||||||
&:before {
|
&:before {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -1,19 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
|
|
||||||
<div class="vue-component" style="display: none;">
|
|
||||||
<dl>
|
|
||||||
<dt>{{ $t('course.id') }}</dt>
|
|
||||||
<dd>{{ accompanyingCourse.id }}</dd>
|
|
||||||
</dl>
|
|
||||||
<dl v-if="accompanyingCourse.closingDate">
|
|
||||||
<dt>{{ $t('course.closing_date') }}</dt>
|
|
||||||
<dd>{{ $d(accompanyingCourse.closingDate.datetime, 'short') }}</dd>
|
|
||||||
|
|
||||||
<dt>{{ $t('course.closing_motive') }}</dt>
|
|
||||||
<dd v-if="accompanyingCourse.closingMotive">{{ accompanyingCourse.closingMotive.name.fr }}</dd>
|
|
||||||
</dl>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<teleport to="#header-accompanying_course-name #banner-flags">
|
<teleport to="#header-accompanying_course-name #banner-flags">
|
||||||
<toggle-flags></toggle-flags>
|
<toggle-flags></toggle-flags>
|
||||||
</teleport>
|
</teleport>
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
<label>{{ $tc('persons_associated.counter', counter) }}</label>
|
<label>{{ $tc('persons_associated.counter', counter) }}</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table class="rounded" v-if="participations.length > 0">
|
<table class="table table-bordered table-striped border-dark align-middle" v-if="participations.length > 0">
|
||||||
<thead>
|
<thead class="">
|
||||||
<tr>
|
<tr>
|
||||||
<th class="chill-orange">{{ $t('persons_associated.name') }}</th>
|
<th class="chill-orange">{{ $t('persons_associated.name') }}</th>
|
||||||
<th class="chill-orange">{{ $t('persons_associated.startdate') }}</th>
|
<th class="chill-orange">{{ $t('persons_associated.startdate') }}</th>
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<label>{{ $tc('resources.counter', counter) }}</label>
|
<label>{{ $tc('resources.counter', counter) }}</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<table class="rounded" v-if="resources.length > 0">
|
<table class="table table-bordered table-striped border-dark align-middle" v-if="resources.length > 0">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="chill-orange">{{ $t('resources.text') }}</th>
|
<th class="chill-orange">{{ $t('resources.text') }}</th>
|
||||||
|
@ -120,7 +120,7 @@ export default {
|
|||||||
|
|
||||||
if (top > this.limit) {
|
if (top > this.limit) {
|
||||||
this.stickyNav.style.position = 'absolute';
|
this.stickyNav.style.position = 'absolute';
|
||||||
this.stickyNav.style.left = '-60px';
|
this.stickyNav.style.left = '10px';
|
||||||
} else {
|
} else {
|
||||||
this.stickyNav.style.position = 'fixed';
|
this.stickyNav.style.position = 'fixed';
|
||||||
this.stickyNav.style.left = pos['x'] + 'px';
|
this.stickyNav.style.left = pos['x'] + 'px';
|
||||||
@ -149,36 +149,40 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
div#navmap {
|
div#content {
|
||||||
position: absolute;
|
position: relative;
|
||||||
top: 30px;
|
|
||||||
left: -60px; //-10%;
|
div#navmap {
|
||||||
nav {
|
position: absolute;
|
||||||
font-size: small;
|
top: 30px;
|
||||||
a {
|
left: 10px; //-10%;
|
||||||
display: block;
|
nav {
|
||||||
box-sizing: border-box;
|
font-size: small;
|
||||||
margin-bottom: -3px;
|
a {
|
||||||
color: #71859669;
|
display: block;
|
||||||
&.top {
|
box-sizing: border-box;
|
||||||
color: #718596;
|
margin-bottom: -3px;
|
||||||
}
|
color: #71859669;
|
||||||
span {
|
&.top {
|
||||||
display: none;
|
color: #718596;
|
||||||
}
|
}
|
||||||
&:hover,
|
span {
|
||||||
&.active {
|
display: none;
|
||||||
span {
|
}
|
||||||
display: inline;
|
&:hover,
|
||||||
padding-left: 8px;
|
&.active {
|
||||||
|
span {
|
||||||
|
display: inline;
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
color: #718596b5;
|
||||||
|
}
|
||||||
|
&.active {
|
||||||
|
color: #e2793d; //orange
|
||||||
|
//color: #eec84a; //jaune
|
||||||
}
|
}
|
||||||
}
|
|
||||||
&:hover {
|
|
||||||
color: #718596b5;
|
|
||||||
}
|
|
||||||
&.active {
|
|
||||||
color: #e2793d; //orange
|
|
||||||
//color: #eec84a; //jaune
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user