Skip to content
Snippets Groups Projects
Commit dc48e351 authored by David Mendez's avatar David Mendez
Browse files

Eubopen Compoud: improve style of calculated properties

parent 8df54463
No related branches found
No related tags found
1 merge request!8Improve layout of report cards and search bar
<template> <template>
<v-card> <v-card>
<v-card-text> <v-card-text>
<v-row> <v-row dense no-gutters>
<v-col cols="12" md="6"> <v-col
v-for="item in properties"
:key="item.propLabel"
cols="12"
sm="6"
lg="4"
xl="3"
>
<v-list dense> <v-list dense>
<template v-for="item in properties1"> <v-list-item :key="item.propLabel">
<v-list-item :key="item.propLabel"> <v-list-item-content>
<v-list-item-content> <v-list-item-title>
<v-list-item-title> <div class="d-flex justify-space-between">
<div class="d-flex justify-space-between"> <div>
<div> <b>{{ item.propLabel }}:</b>
<b>{{ item.propLabel }}:</b>
</div>
<div>
{{ item.propValue }}
</div>
</div> </div>
</v-list-item-title> <div>
</v-list-item-content> {{ item.propValue }}
</v-list-item>
<v-divider :key="`${item.propLabel}-divider`" />
</template>
</v-list>
</v-col>
<v-col cols="12" md="6">
<v-list dense>
<template v-for="item in properties2">
<v-list-item :key="item.propLabel">
<v-list-item-content>
<v-list-item-title>
<div class="d-flex justify-space-between">
<div>
<b>{{ item.propLabel }}:</b>
</div>
<div>
{{ item.propValue }}
</div>
</div> </div>
</v-list-item-title> </div>
</v-list-item-content> </v-list-item-title>
</v-list-item> </v-list-item-content>
<v-divider :key="`${item.propLabel}-divider`" /> </v-list-item>
</template> <v-divider :key="`${item.propLabel}-divider`" />
</v-list> </v-list>
</v-col> </v-col>
</v-row> </v-row>
...@@ -53,7 +37,7 @@ ...@@ -53,7 +37,7 @@
export default { export default {
data() { data() {
return { return {
properties1: [ properties: [
{ {
propLabel: 'Mol. Weight', propLabel: 'Mol. Weight',
propValue: '494.3', propValue: '494.3',
...@@ -94,8 +78,6 @@ export default { ...@@ -94,8 +78,6 @@ export default {
propLabel: 'HBA (Lipinski)', propLabel: 'HBA (Lipinski)',
propValue: '4', propValue: '4',
}, },
],
properties2: [
{ {
propLabel: 'HBD (Lipinski)', propLabel: 'HBD (Lipinski)',
propValue: '1', propValue: '1',
......
<template> <template>
<v-card> <v-card class="yellow lighten-4">
<v-card-text> <v-card-text>
<p class="text-justify"> <p class="text-justify">
In a NanoBRET cellular target engagement assay, PFI-6 displays potent In a NanoBRET cellular target engagement assay, PFI-6 displays potent
......
<template> <template>
<v-card> <v-card class="yellow lighten-4">
<v-card-text> <v-card-text>
<v-img <v-img
src="https://ars.els-cdn.com/content/image/1-s2.0-S0076687916300532-f12-03-9780128053478.jpg" src="https://ars.els-cdn.com/content/image/1-s2.0-S0076687916300532-f12-03-9780128053478.jpg"
......
<template> <template>
<v-card> <v-card class="yellow lighten-4">
<v-card-text> <v-card-text>
<EntityRelations /> <EntityRelations />
</v-card-text> </v-card-text>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment