- Open Dialog for Operators when click on Chip #91

- HOME: Show last 5 Events #99
- Creating HOME page with the Services Offering (Disciplines...) #96
- CCardDiscipline #104
This commit is contained in:
Paolo Arena
2019-11-15 00:32:39 +01:00
parent 6c4ebb2ace
commit 5cff83f582
31 changed files with 489 additions and 279 deletions

View File

@@ -14,17 +14,20 @@ export default class MixinEvents extends Vue {
public getImgEvent(event: IEvents) {
if (!!event.img)
return '../../statics/' + event.img
return 'statics/' + event.img
else
return '../../statics/images/noimg.png'
return 'statics/images/noimg.png'
}
public getStyleByEvent(event: IEvents, visu: boolean) {
if (visu) {
return 'border: inset; border-color: darkblue; border-width: 3px; padding: 5px !important; '
} else {
return ''
let myst = 'border: inset; border-color: darkblue; border-width: 3px; padding: 5px !important; '
if (!this.isEventEnabled(event)) {
myst += ' opacity: 0.5'
}
return myst
}
public isAlreadyBooked(eventparam: IEvents) {