Skip to content

Commit

Permalink
changing page to fix scrolling (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
havok2063 authored Dec 4, 2024
1 parent 4b6932f commit 3953458
Showing 1 changed file with 30 additions and 8 deletions.
38 changes: 30 additions & 8 deletions src/views/DataView.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,34 @@
<template>
<v-row>
<v-col md="12">
<v-banner v-if="store.release !== 'IPL3'" class='ma-4' color="error" lines="one" icon="mdi-emoticon-sad"><v-banner-text> The DataView dashboard is only available for IPL-3.</v-banner-text></v-banner>
<div v-else id="solara-dataview">
<iframe id='iframe' :src="url" width="100%" height="1200px" title="Solara app running Explorer Dashboard" frameborder="0" ref="iframe"></iframe>
</div>
</v-col>
</v-row>
<v-row class="fill-height">
<v-col md="12" class="d-flex flex-column">
<!-- Banner -->
<v-banner
v-if="store.release !== 'IPL3'"
class="ma-4"
color="error"
lines="one"
icon="mdi-emoticon-sad"
>
<v-banner-text>
The DataView dashboard is only available for IPL-3.
</v-banner-text>
</v-banner>

<!-- Content -->
<div v-else id="solara-dataview" class="flex-grow-1">
<iframe
id="iframe"
:src="url"
width="100%"
height="100%"
style="border: none;"
title="Solara app running Explorer Dashboard"
frameborder="0"
ref="iframe"
></iframe>
</div>
</v-col>
</v-row>
</template>

<script setup lang="ts">
Expand Down

0 comments on commit 3953458

Please sign in to comment.