Skip to content

Commit 3ec7f55

Browse files
committed
Remove unused ModalForm string and fix modal footer positioning
1 parent 41d9910 commit 3ec7f55

File tree

1 file changed

+13
-32
lines changed

1 file changed

+13
-32
lines changed

src/components/HelpSection.vue

Lines changed: 13 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
class="help-text"
3131
v-html="this.$t('help.what-are-cc-licenses.text')"
3232
/>
33-
<footer class="modal-card-foot">
34-
<p v-html="this.$t('help.what-are-cc-licenses.footer')" />
35-
</footer>
3633
</section>
34+
<footer class="modal-card-foot">
35+
<p v-html="this.$t('help.what-are-cc-licenses.footer')" />
36+
</footer>
3737
</b-modal>
3838
</Portal>
3939
<Portal selector="#portal-target">
@@ -45,11 +45,11 @@
4545
</header>
4646
<section class="modal-card-body">
4747
<article v-html="this.$t('help.how-licenses-work.text')" />
48-
<footer
49-
class="modal-card-foot"
50-
v-html="this.$t('help.how-licenses-work.footer')"
51-
/>
5248
</section>
49+
<footer
50+
class="modal-card-foot"
51+
v-html="this.$t('help.how-licenses-work.footer')"
52+
/>
5353
</b-modal>
5454
</Portal>
5555
<Portal selector="#portal-target">
@@ -136,10 +136,10 @@
136136
</header>
137137
<section class="modal-card-body">
138138
<article v-html="this.$t('help.considerations-before-licensing.text')" />
139-
<footer class="modal-card-foot">
140-
<p v-html="this.$t('help.considerations-before-licensing.footer')" />
141-
</footer>
142139
</section>
140+
<footer class="modal-card-foot">
141+
<p v-html="this.$t('help.considerations-before-licensing.footer')" />
142+
</footer>
143143
</b-modal>
144144
<b-modal :active.sync="modals[5].status">
145145
<header class="modal-card-head">
@@ -168,11 +168,10 @@
168168
<img src="../assets/license-openness-scale.png">
169169
</div>
170170
</div>
171-
172-
<footer class="modal-card-foot">
173-
<p v-html="this.$t('help.six-cc-licenses.footer')" />
174-
</footer>
175171
</section>
172+
<footer class="modal-card-foot">
173+
<p v-html="this.$t('help.six-cc-licenses.footer')" />
174+
</footer>
176175
</b-modal>
177176
</Portal>
178177
<Portal selector="#portal-target">
@@ -234,24 +233,6 @@
234233
import LicenseIcons from './LicenseIcons'
235234
import { Portal } from '@linusborg/vue-simple-portal'
236235
237-
// eslint-disable-next-line
238-
const ModalForm = {
239-
template: `
240-
<form action="">
241-
<div class="modal-card" style="width: auto">
242-
<header class="modal-card-head">
243-
<p class="modal-card-title">Login</p>
244-
</header>
245-
<section class="modal-card-body">
246-
247-
</section>
248-
<footer class="modal-card-foot">
249-
<button class="button" type="button" @click="$parent.close()">Close</button>
250-
</footer>
251-
</div>
252-
</form>
253-
`
254-
}
255236
export default {
256237
components: {
257238
LicenseIcons,

0 commit comments

Comments
 (0)