Skip to content

Commit e07168a

Browse files
committed
Remove unnecesary container
1 parent cad8fa5 commit e07168a

File tree

1 file changed

+41
-45
lines changed

1 file changed

+41
-45
lines changed

web/src/views/SubmissionPortal/SubmissionView.vue

Lines changed: 41 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -57,53 +57,49 @@ export default defineComponent({
5757
<v-main>
5858
<AppBanner v-if="false" />
5959
<v-container
60-
fluid
60+
v-if="!stateRefs.user.value && !req.loading.value"
6161
>
62-
<v-container
63-
v-if="!stateRefs.user.value && !req.loading.value"
64-
>
65-
<v-container class="mt-4 ">
66-
<v-row>
67-
<v-col class="pb-0">
68-
<TitleBanner />
69-
</v-col>
70-
</v-row>
71-
<v-row>
72-
<v-col>
73-
<LoginPrompt />
74-
</v-col>
75-
</v-row>
76-
<v-row>
77-
<v-col>
78-
<IconBar />
79-
</v-col>
80-
</v-row>
81-
<v-row>
82-
<v-col>
83-
<IntroBlurb />
84-
</v-col>
85-
</v-row>
86-
</v-container>
62+
<v-container class="mt-4 ">
63+
<v-row>
64+
<v-col class="pb-0">
65+
<TitleBanner />
66+
</v-col>
67+
</v-row>
68+
<v-row>
69+
<v-col>
70+
<LoginPrompt />
71+
</v-col>
72+
</v-row>
73+
<v-row>
74+
<v-col>
75+
<IconBar />
76+
</v-col>
77+
</v-row>
78+
<v-row>
79+
<v-col>
80+
<IntroBlurb />
81+
</v-col>
82+
</v-row>
8783
</v-container>
88-
<router-view v-else-if="!req.loading.value && !req.error.value" />
89-
<div
90-
v-else-if="req.loading.value"
91-
class="text-h3"
92-
>
93-
Submission portal is loading...
94-
</div>
95-
<div
96-
v-else-if="req.error.value"
97-
>
98-
<v-container>
99-
<v-alert type="error">
100-
<div class="text-h6">
101-
Error loading record {{ id }}
102-
</div>
103-
{{ req.error.value }}
104-
</v-alert>
105-
</v-container>
106-
</div>
10784
</v-container>
85+
<router-view v-else-if="!req.loading.value && !req.error.value" />
86+
<div
87+
v-else-if="req.loading.value"
88+
class="text-h3"
89+
>
90+
Submission portal is loading...
91+
</div>
92+
<div
93+
v-else-if="req.error.value"
94+
>
95+
<v-container>
96+
<v-alert type="error">
97+
<div class="text-h6">
98+
Error loading record {{ id }}
99+
</div>
100+
{{ req.error.value }}
101+
</v-alert>
102+
</v-container>
103+
</div>
108104
</v-main>
109105
</template>

0 commit comments

Comments
 (0)