Commit 57d01c7d authored by prumde's avatar prumde

Updated

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@214989 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1600ae34
...@@ -24,73 +24,28 @@ ...@@ -24,73 +24,28 @@
<mandatory><![CDATA[Y]]></mandatory> <mandatory><![CDATA[Y]]></mandatory>
</filter> </filter>
</filters> </filters>
<page_title><![CDATA[my activity]]></page_title> <page_title><![CDATA[My Tasks]]></page_title>
<datasource id="1" driverName="DriverITM" dataSourceType='datamodel'><![CDATA[USER_TASK_DM]]></datasource> <datasource id="1" driverName="DriverITM" dataSourceType='datamodel'><![CDATA[USER_TASK_DM]]></datasource>
<view id="1" name="Default"> <view id="1" name="Default">
<component datasource="1" id="1" type="FEED"> <component datasource="1" id="1" type="FEED">
<component_icon><![CDATA[stock_status.svg]]></component_icon> <component_icon><![CDATA[myTasks.svg]]></component_icon>
<ComponentTitle><![CDATA[My Activity]]></ComponentTitle> <ComponentTitle><![CDATA[My Tasks]]></ComponentTitle>
<component_css><![CDATA[db-col-1]]></component_css> <component_css><![CDATA[db-col-1]]></component_css>
<component_descr><![CDATA[]]></component_descr> <component_descr><![CDATA[]]></component_descr>
<obj_name><![CDATA[user_tasks]]></obj_name> <obj_name><![CDATA[user_tasks]]></obj_name>
<height><![CDATA[368]]></height> <height><![CDATA[368]]></height>
<layout protoType="card"> <layout protoType="static">
<html> <html>
<![CDATA[ <![CDATA[]]>
<style> </html>
.profileImg
{
width: 30px;
height: 30px;
background: #6673a0;
border-radius: 50%;
text-align: center;
line-height: 30px;
color: #fff;
font-size: 14px;
}
</style>
<div style='max-height: 300px; overflow: auto;'>
<div *ngFor="let taskData of context;" style="padding: 0px 5px 0px;">
<ng-container *ngTemplateOutlet=" eventsTemplate; context:{ 'taskData' : taskData }"></ng-container>
</div>
</div>
<ng-template #eventsTemplate let-taskData = 'taskData' >
<div style=''>
<div style='display: flex; width: 100%;'>
<div style=" width: 40px; height: 40px; float:left;">
<div *ngIf="taskData.TASK_DESCR " class="profileImg"
[ngStyle]="{'background':taskData.CURR_STATUS=='C'? ' rgb(0, 199, 153)' : taskData.CURR_STATUS=='W'? ' rgb(252, 101, 101)' : 'rgb(255, 211, 90)' }">
{{taskData.TASK_DESCR.substring(0,1)}}{{ taskData.TASK_DESCR.trim().indexOf(' ') > 0 ?
taskData.TASK_DESCR.substring(taskData.TASK_DESCR.indexOf(' ')
+1,taskData.TASK_DESCR.indexOf(' ')+2) : taskData.TASK_DESCR.substring(1,2) }}
</div>
</div>
<div style='display: inline-block; font-size:14px; padding:1px;
cursor:pointer; width: 100%;'title='{{taskData.TASK_DESCR}}'>
<div class="componantTtl truncateText" style='position: relative; vertical-align: -webkit-baseline-middle;'>
{{taskData.TASK_DESCR}}
</div>
<!-- {{taskData.taskDueStr | amDifference: today :'days' : true}} -->
<div style=" font-size: 12px; color: #666; " > {{ taskData.TASKDUESTR }} </div>
</div>
<div style='float: right; font-size: 14px; width: 15%; line-height: 27px; '>
</div>
</div>
</div>
</ng-template> ]]>
</html>
</layout> </layout>
<column_group id="1">
<columns>
<column id="1" type="number" aggFunction="SORT_BY" order="Ascending"><![CDATA[CURR_STAT_INDEX]]></column>
</columns>
</column_group>
</component> </component>
</view> </view>
</Root> </Root>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment