mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix demo shell pagination style (#2265)
Add missing properties about the pagination inside the tasklist readme
This commit is contained in:
committed by
Mario Romano
parent
96ad7e4bb0
commit
acbba18e22
@@ -40,7 +40,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.activiti-demo-grid-item {
|
.activiti-demo-grid-item {
|
||||||
margin: 8px;
|
margin: 4px;
|
||||||
box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
|
box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
padding: 10px 10px 10px 10px;
|
padding: 10px 10px 10px 10px;
|
||||||
@@ -59,14 +59,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.activiti-demo-tasks-list {
|
.activiti-demo-tasks-list {
|
||||||
min-width: 300px;
|
min-width: 510px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activiti-demo-tasks-details,
|
.activiti-demo-tasks-details,
|
||||||
.activiti-demo-tasks-start {
|
.activiti-demo-tasks-start {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
min-width: 730px;
|
min-width: 680px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activiti-demo-tasks-menu >>> .mat-list .mat-list-item .mat-list-item-content {
|
.activiti-demo-tasks-menu >>> .mat-list .mat-list-item .mat-list-item-content {
|
||||||
@@ -103,4 +103,8 @@
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
background-color: rgba(0,0,0,.05);
|
background-color: rgba(0,0,0,.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.adf-pagination {
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
@@ -121,6 +121,8 @@ You can also use HTML-based schema declaration like shown below:
|
|||||||
| appId | string || The id of the app. |
|
| appId | string || The id of the app. |
|
||||||
| processDefinitionKey | string || The processDefinitionKey of the process. |
|
| processDefinitionKey | string || The processDefinitionKey of the process. |
|
||||||
| processInstanceId | string || The processInstanceId of the process. |
|
| processInstanceId | string || The processInstanceId of the process. |
|
||||||
|
| page | number | 0 | The page of the tasks to fetch. |
|
||||||
|
| size | number | 5 | The number of tasks to fetch. |
|
||||||
| assignment | string || The assignment of the process. <ul>Possible values are: <li>assignee : where the current user is the assignee</li> <li>candidate: where the current user is a task candidate </li><li>group_x: where the task is assigned to a group where the current user is a member of.</li> <li>no value: where the current user is involved</li> </ul> |
|
| assignment | string || The assignment of the process. <ul>Possible values are: <li>assignee : where the current user is the assignee</li> <li>candidate: where the current user is a task candidate </li><li>group_x: where the task is assigned to a group where the current user is a member of.</li> <li>no value: where the current user is involved</li> </ul> |
|
||||||
| state | string || Define state of the processes. Possible values are: `completed`, `active` |
|
| state | string || Define state of the processes. Possible values are: `completed`, `active` |
|
||||||
| hasIcon | boolean | true | Toggle the icon on the left . |
|
| hasIcon | boolean | true | Toggle the icon on the left . |
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
import { DatePipe } from '@angular/common';
|
import { DatePipe } from '@angular/common';
|
||||||
import { ModuleWithProviders, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
import { ModuleWithProviders, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
|
||||||
import { MdAutocompleteModule, MdButtonModule, MdCardModule, MdDatepickerModule, MdGridListModule,
|
import { MdAutocompleteModule, MdButtonModule, MdCardModule, MdDatepickerModule, MdGridListModule,
|
||||||
MdIconModule, MdInputModule, MdNativeDateModule, MdProgressSpinnerModule, MdSelectModule, MdRippleModule } from '@angular/material';
|
MdIconModule, MdInputModule, MdNativeDateModule, MdProgressSpinnerModule, MdRippleModule, MdSelectModule } from '@angular/material';
|
||||||
import { ActivitiFormModule } from 'ng2-activiti-form';
|
import { ActivitiFormModule } from 'ng2-activiti-form';
|
||||||
import { CoreModule, TRANSLATION_PROVIDER } from 'ng2-alfresco-core';
|
import { CoreModule, TRANSLATION_PROVIDER } from 'ng2-alfresco-core';
|
||||||
import { DataTableModule } from 'ng2-alfresco-datatable';
|
import { DataTableModule } from 'ng2-alfresco-datatable';
|
||||||
|
Reference in New Issue
Block a user