-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Less space on title (bold, and split lines)
- Loading branch information
1 parent
2bba806
commit 19bf2e1
Showing
4 changed files
with
34 additions
and
15 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
Binary file not shown.
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 |
---|---|---|
|
@@ -4,7 +4,10 @@ | |
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Concursos Literários em Português</title> | ||
<title>✒ Concursos Literários em Português</title> | ||
|
||
<link rel="icon" href="favicon.ico" type="image/x-icon"> | ||
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> | ||
|
||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/bootstrap-vue.js"></script> | ||
|
@@ -15,7 +18,7 @@ | |
<body> | ||
|
||
<div id="app"> | ||
<h1 class="page-title">Concursos Literários em Português</h1> | ||
<h1 class="page-title">Concursos Literários em Português ✒</h1> | ||
<b-container id="top"> | ||
<b-row> | ||
<b-col id="table-filter"> | ||
|
@@ -44,6 +47,9 @@ <h1 class="page-title">Concursos Literários em Português</h1> | |
<b-table id="main-table" striped hover :items="filteredUsuarios" :fields="tableFields" | ||
:sort-by="currentSortColumn" label-sort-asc="Ordenar 🡅" label-sort-desc="Ordenar 🡇" | ||
label-sort-clear="desordenar" no-sort-reset class="table-striped" :sort-compare="sortingChanged" foot-clone> | ||
<template #cell(titulo)="data"> | ||
<span v-html="data.item.titulo"></span> | ||
</template> | ||
<template #cell(website)="data"> | ||
<b-link :href="data.item.website" target="_blank">ver website</b-link> | ||
</template> | ||
|
@@ -72,7 +78,7 @@ <h1 class="page-title">Concursos Literários em Português</h1> | |
genreFilter: '', | ||
currentSortColumn: "prazo", | ||
tableFields: [ | ||
{ key: 'titulo', label: 'Título', sortable: true, tdClass: 'no-splitting' }, | ||
{ key: 'titulo', label: 'Título', sortable: true, tdClass: 'no-splitting pre-wrap locked-column' }, | ||
{ key: 'concorrente', label: 'Concorrente' }, | ||
{ key: 'idade', label: 'Idade', tdClass: 'no-splitting' }, | ||
{ key: 'obra', label: 'Requisitos da obra' }, | ||
|
@@ -135,6 +141,9 @@ <h1 class="page-title">Concursos Literários em Português</h1> | |
item.column = parseInt(item.column); | ||
} | ||
|
||
// | ||
item.titulo = item.titulo.replace('\n', '<br>'); | ||
|
||
} | ||
) | ||
|
||
|
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