Fix demo shell pagination style (#2265)

Add missing properties about the pagination inside the tasklist readme
This commit is contained in:
Maurizio Vitale
2017-08-31 13:32:49 +01:00
committed by Mario Romano
parent 96ad7e4bb0
commit acbba18e22
3 changed files with 11 additions and 5 deletions

View File

@@ -40,7 +40,7 @@
}
.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);
background-color: #f5f5f5;
padding: 10px 10px 10px 10px;
@@ -59,14 +59,14 @@
}
.activiti-demo-tasks-list {
min-width: 300px;
min-width: 510px;
padding: 0;
}
.activiti-demo-tasks-details,
.activiti-demo-tasks-start {
flex-grow: 1;
min-width: 730px;
min-width: 680px;
}
.activiti-demo-tasks-menu >>> .mat-list .mat-list-item .mat-list-item-content {
@@ -103,4 +103,8 @@
vertical-align: middle;
font-size: 14px;
background-color: rgba(0,0,0,.05);
}
}
.adf-pagination {
color: black;
}

View File

@@ -121,6 +121,8 @@ You can also use HTML-based schema declaration like shown below:
| appId | string || The id of the app. |
| processDefinitionKey | string || The processDefinitionKey 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> |
| state | string || Define state of the processes. Possible values are: `completed`, `active` |
| hasIcon | boolean | true | Toggle the icon on the left . |

View File

@@ -18,7 +18,7 @@
import { DatePipe } from '@angular/common';
import { ModuleWithProviders, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
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 { CoreModule, TRANSLATION_PROVIDER } from 'ng2-alfresco-core';
import { DataTableModule } from 'ng2-alfresco-datatable';