-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Criado componente para comparação de emails ajustes de estilo CSS para responsividade
- Loading branch information
1 parent
93e0305
commit bf32646
Showing
7 changed files
with
72 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<template> | ||
<div class="box"> | ||
<b-tabs position="is-centered" class="block"> | ||
<b-tab-item label="Emails a serem adicionados"> | ||
<div v-for="student in students" :key="student.id">{{ student }}</div> | ||
</b-tab-item> | ||
<b-tab-item label="Emails a serem removidos"></b-tab-item> | ||
</b-tabs> | ||
<div class="level"> | ||
<div class="level-right"> | ||
<div class="level-item"> | ||
<button class="button is-primary"> | ||
Confirmar Alterações | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'EmailCompare', | ||
data() { | ||
return { | ||
students: [ | ||
{ id: 1, name: 'something1', email: '[email protected]' }, | ||
{ id: 2, name: 'something1', email: '[email protected]' } | ||
] | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style></style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -247,4 +247,7 @@ export default { | |
height: unset; | ||
min-height: 100vh; | ||
} | ||
.container { | ||
margin: 4rem auto 4rem auto; | ||
} | ||
</style> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,9 +29,3 @@ export default { | |
} | ||
} | ||
</script> | ||
|
||
<style> | ||
.container { | ||
height: 100vh; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,48 @@ | ||
<template> | ||
<div class="container"> | ||
<div v-if="courseTag" class="container"> | ||
<export-email-list></export-email-list> | ||
<div class="container"> | ||
<search-input | ||
:key="courseTag" | ||
:default-course="courseTag" | ||
:title="'Lista de Email - Ativos'" | ||
:is-active="1" | ||
></search-input> | ||
<button class="button is-primary" @click="activateModal"></button> | ||
<b-modal :active.sync="activate"> | ||
<email-compare></email-compare> | ||
</b-modal> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { mapState } from 'vuex' | ||
import ExportEmailList from '~/components/exportEmailList' | ||
import EmailCompare from '../components/emailListCompare' | ||
import SearchInput from '../components/searchInput' | ||
export default { | ||
name: 'Email', | ||
middleware: 'auth', | ||
middleware: ['auth', 'course'], | ||
components: { | ||
ExportEmailList | ||
EmailCompare, | ||
SearchInput | ||
}, | ||
data() { | ||
return { | ||
activate: false | ||
} | ||
}, | ||
computed: { | ||
...mapState({ | ||
courseTag: state => state.courseTag | ||
}) | ||
}, | ||
methods: { | ||
activateModal() { | ||
this.activate = !this.activate | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style> | ||
.container { | ||
height: 100vh; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -196,9 +196,3 @@ export default { | |
} | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
.container { | ||
margin: 50px auto 50px auto; | ||
} | ||
</style> |