Compare commits
2 Commits
ba66b7f677
...
f0f46bcaae
Author | SHA1 | Date | |
---|---|---|---|
f0f46bcaae | |||
c2fecb7b9a |
@ -3,6 +3,7 @@
|
|||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"start": "vue-cli-service serve",
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
"build": "vue-cli-service build --modern",
|
"build": "vue-cli-service build --modern",
|
||||||
"test:unit": "vue-cli-service test:unit",
|
"test:unit": "vue-cli-service test:unit",
|
||||||
|
@ -151,3 +151,9 @@ a.list-item {
|
|||||||
.router-link-active{
|
.router-link-active{
|
||||||
background-color: $purple-1;
|
background-color: $purple-1;
|
||||||
}
|
}
|
||||||
|
.date-component{
|
||||||
|
background-color: $chapril_blue_light !important;
|
||||||
|
}
|
||||||
|
.time.datetime-container span.month{
|
||||||
|
color : $primary-invert;
|
||||||
|
}
|
||||||
|
@ -3,13 +3,39 @@
|
|||||||
<div class="columns">
|
<div class="columns">
|
||||||
<div class="content column">
|
<div class="content column">
|
||||||
<div class="title-wrapper">
|
<div class="title-wrapper">
|
||||||
|
<div class="columns">
|
||||||
|
<div class="column is-narrow">
|
||||||
|
<figure
|
||||||
|
class="image is-16by9"
|
||||||
|
:style="`background-image: url('${
|
||||||
|
participation.event.picture
|
||||||
|
? participation.event.picture.url
|
||||||
|
: '/img/mobilizon_default_card.png'
|
||||||
|
}')`"
|
||||||
|
>
|
||||||
|
<div class="tag-container" v-if="event.tags">
|
||||||
|
<router-link
|
||||||
|
:to="{ name: RouteName.TAG, params: { tag: tag.title } }"
|
||||||
|
v-for="tag in participation.event.tags.slice(0, 3)"
|
||||||
|
:key="tag.slug"
|
||||||
|
>
|
||||||
|
<b-tag type="is-light">{{ tag.title }}</b-tag>
|
||||||
|
</router-link>
|
||||||
|
</div>
|
||||||
|
</figure>
|
||||||
|
</div>
|
||||||
|
<div class="column">
|
||||||
<div class="date-component">
|
<div class="date-component">
|
||||||
<date-calendar-icon :date="participation.event.beginsOn" />
|
<date-calendar-icon :date="participation.event.beginsOn" />
|
||||||
</div>
|
</div>
|
||||||
<router-link :to="{ name: RouteName.EVENT, params: { uuid: participation.event.uuid } }">
|
<router-link
|
||||||
|
:to="{ name: RouteName.EVENT, params: { uuid: participation.event.uuid } }"
|
||||||
|
>
|
||||||
<h3 class="title">{{ participation.event.title }}</h3>
|
<h3 class="title">{{ participation.event.title }}</h3>
|
||||||
</router-link>
|
</router-link>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="participation-actor has-text-grey">
|
<div class="participation-actor has-text-grey">
|
||||||
<span>
|
<span>
|
||||||
<b-icon icon="earth" v-if="participation.event.visibility === EventVisibility.PUBLIC" />
|
<b-icon icon="earth" v-if="participation.event.visibility === EventVisibility.PUBLIC" />
|
||||||
@ -121,8 +147,8 @@
|
|||||||
})
|
})
|
||||||
"
|
"
|
||||||
icon-left="pencil"
|
icon-left="pencil"
|
||||||
>{{ $t("Edit") }}</b-button
|
>{{ $t("Edit") }}
|
||||||
>
|
</b-button>
|
||||||
</li>
|
</li>
|
||||||
<li v-if="participation.role === ParticipantRole.CREATOR">
|
<li v-if="participation.role === ParticipantRole.CREATOR">
|
||||||
<b-button
|
<b-button
|
||||||
@ -146,7 +172,7 @@
|
|||||||
"
|
"
|
||||||
@click="openDeleteEventModalWrapper"
|
@click="openDeleteEventModalWrapper"
|
||||||
>
|
>
|
||||||
<b-button type="is-text" icon-left="delete">{{ $t("Delete") }}</b-button>
|
<b-button type="is-text" icon-left="delete">{{ $t("Delete") }} </b-button>
|
||||||
</li>
|
</li>
|
||||||
<li
|
<li
|
||||||
v-if="
|
v-if="
|
||||||
@ -164,8 +190,8 @@
|
|||||||
})
|
})
|
||||||
"
|
"
|
||||||
icon-left="account-multiple-plus"
|
icon-left="account-multiple-plus"
|
||||||
>{{ $t("Manage participations") }}</b-button
|
>{{ $t("Manage participations") }}
|
||||||
>
|
</b-button>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<b-button
|
<b-button
|
||||||
@ -173,8 +199,8 @@
|
|||||||
icon-left="view-compact"
|
icon-left="view-compact"
|
||||||
type="is-text"
|
type="is-text"
|
||||||
:to="{ name: RouteName.EVENT, params: { uuid: participation.event.uuid } }"
|
:to="{ name: RouteName.EVENT, params: { uuid: participation.event.uuid } }"
|
||||||
>{{ $t("View event page") }}</b-button
|
>{{ $t("View event page") }}
|
||||||
>
|
</b-button>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -293,6 +319,7 @@ article.box {
|
|||||||
line-height: 1.75em;
|
line-height: 1.75em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
div.content {
|
div.content {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
|
||||||
@ -336,6 +363,7 @@ article.box {
|
|||||||
.actions {
|
.actions {
|
||||||
ul li {
|
ul li {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
||||||
.is-link {
|
.is-link {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@ $chapril_orange: #ff5e00;
|
|||||||
$chapril_grey: #5f5f5f;
|
$chapril_grey: #5f5f5f;
|
||||||
// other
|
// other
|
||||||
$bleuvert: #1e7d97;
|
$bleuvert: #1e7d97;
|
||||||
$jaune: #ffd599;
|
$jaune: mix($chapril_blue,#ffd599);
|
||||||
$violet: #424056;
|
$violet: #424056;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user