Some styling for ressource lists

This commit is contained in:
Patrick Jentsch
2021-12-08 11:25:52 +01:00
parent 63527da37f
commit 832a0283bd
12 changed files with 19 additions and 19 deletions

View File

@ -1,15 +1,15 @@
class CorpusFileList extends RessourceList {
static options = {
item: `
<tr>
<tr class="hoverable">
<td><span class="filename"></span></td>
<td><span class="author"></span></td>
<td><span class="title"></span></td>
<td><span class="publishing_year"></span></td>
<td class="right-align">
<a class="action-button btn-floating red tooltipped waves-effect waves-light" data-action="delete" data-position="top" data-tooltip="Delete"><i class="material-icons">delete</i></a>
<a class="action-button btn-floating tooltipped waves-effect waves-light" data-action="download" data-position="top" data-tooltip="View"><i class="material-icons">file_download</i></a>
<a class="action-button btn-floating tooltipped waves-effect waves-light" data-action="view" data-position="top" data-tooltip="View"><i class="material-icons">send</i></a>
<a class="action-button btn-floating service-color darken tooltipped waves-effect waves-light" data-action="download" data-position="top" data-service="corpus-analysis" data-tooltip="View"><i class="material-icons">file_download</i></a>
<a class="action-button btn-floating service-color darken tooltipped waves-effect waves-light" data-action="view" data-position="top" data-service="corpus-analysis" data-tooltip="View"><i class="material-icons">send</i></a>
</td>
</tr>
`.trim(),

View File

@ -1,13 +1,13 @@
class CorpusList extends RessourceList {
static options = {
item: `
<tr>
<tr class="hoverable">
<td><a class="btn-floating disabled"><i class="material-icons service-color darken" data-service="corpus-analysis">book</i></a></td>
<td><b class="title"></b><br><i class="description"></i></td>
<td><span class="badge new status status-color status-text" data-badge-caption=""></span></td>
<td class="right-align">
<a class="action-button btn-floating red tooltipped waves-effect waves-light" data-action="delete" data-position="top" data-tooltip="Delete"><i class="material-icons">delete</i></a>
<a class="action-button btn-floating tooltipped waves-effect waves-light" data-action="view" data-position="top" data-tooltip="View"><i class="material-icons">send</i></a>
<a class="action-button btn-floating service-color darken tooltipped waves-effect waves-light" data-action="view" data-position="top" data-service="corpus-analysis" data-tooltip="View"><i class="material-icons">send</i></a>
</td>
</tr>
`.trim(),

View File

@ -1,7 +1,7 @@
class JobInputList extends RessourceList {
static options = {
item: `
<tr>
<tr class="hoverable">
<td><span class="filename"></span></td>
<td class="right-align">
<a class="action-button btn-floating tooltipped waves-effect waves-light" data-action="download" data-position="top" data-tooltip="View"><i class="material-icons">file_download</i></a>

View File

@ -1,7 +1,7 @@
class JobList extends RessourceList {
static options = {
item: `
<tr class="service-color lighten">
<tr class="hoverable service-color lighten">
<td><a class="btn-floating disabled"><i class="nopaque-icons service-color darken serviceDuplicate1 service-icon"></i></a></td>
<td><b class="title"></b><br><i class="description"></i></td>
<td><span class="badge new status status-color status-text" data-badge-caption=""></span></td>

View File

@ -1,7 +1,7 @@
class JobResultList extends RessourceList {
static options = {
item: `
<tr>
<tr class="hoverable">
<td><span class="description"></span></td>
<td><span class="filename"></span></td>
<td class="right-align">

View File

@ -1,7 +1,7 @@
class QueryResultList extends RessourceList {
static options = {
item: `
<tr>
<tr class="hoverable">
<td><b class="title"></b><br><i class="description"></i><br></td>
<td><span class="corpus_title"></span><br><span class="query"></span></td>
<td class="right-align">

View File

@ -1,7 +1,7 @@
class UserList extends RessourceList {
static options = {
item: `
<tr>
<tr class="hoverable">
<td><span class="idDuplicate"></span></td>
<td><span class="username"></span></td>
<td><span class="email"></span></td>