Commit 015d25d0 authored by prumde's avatar prumde

Updated

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@205917 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 09e1ffef
<?xml version='1.0'?>
<Root>
<filters display='Y'>
<filter type='4'>
<default_value><![CDATA[]]>
</default_value>
<col_name><![CDATA[fromDate]]></col_name>
<col_descr><![CDATA[From date]]></col_descr>
<col_id><![CDATA[fromDate]]></col_id>
<field_name><![CDATA[EVENT_DATE]]></field_name>
<mod_name><![CDATA[DASHBOARD]]></mod_name>
<show_ontitle><![CDATA[1]]></show_ontitle>
<mandatory><![CDATA[Y]]></mandatory>
</filter>
<filter type='4'>
<default_value><![CDATA[]]>
</default_value>
<col_name><![CDATA[toDate]]></col_name>
<col_descr><![CDATA[To date]]></col_descr>
<col_id><![CDATA[toDate]]></col_id>
<field_name><![CDATA[PLAN_DATE]]></field_name>
<mod_name><![CDATA[DASHBOARD]]></mod_name>
<show_ontitle><![CDATA[1]]></show_ontitle>
<mandatory><![CDATA[Y]]></mandatory>
</filter>
<filter type='1'>
<default_value><![CDATA[0]]>
</default_value>
<col_name><![CDATA[startingBattery]]></col_name>
<col_descr><![CDATA[Starting Battery]]></col_descr>
<col_id><![CDATA[startingBattery]]></col_id>
<field_name><![CDATA[START BATTERY]]></field_name>
<mod_name><![CDATA[DASHBOARD]]></mod_name>
<show_ontitle><![CDATA[1]]></show_ontitle>
<mandatory><![CDATA[Y]]></mandatory>
</filter>
</filters>
<page_title><![CDATA[Account Activity]]></page_title>
<datasource id ='1' driverName='DriverITM' dataSourceType = 'dataModel'><![CDATA[accout_activity_dm]]></datasource>
<datasource id ='2' driverName='DriverITM' dataSourceType='servlet'><![CDATA[rest/dashboard/history/password]]></datasource>
<datasource id ='3' driverName='DriverITM' dataSourceType='servlet'><![CDATA[rest/dashboard/history/device]]></datasource>
<view id='1' name='Simple Layout'>
<component datasource='1' id='20000' type='CARD'>
<component_icon><![CDATA[accountActivitySummary.png]]></component_icon>
<ComponentTitle><![CDATA[Account Activity Summary Graph]]></ComponentTitle>
<ComponentName><![CDATA[acc-activity-graph]]></ComponentName>
<component_css><![CDATA[db-col-2]]></component_css>
<component_descr><![CDATA[]]></component_descr>
<layout protoType='card'>
<html><![CDATA[]]></html>
</layout>
</component>
<component datasource='1' id='30000' type='CARD'>
<component_icon><![CDATA[accountActivityDetails.png]]></component_icon>
<ComponentTitle><![CDATA[Account Activity Details]]></ComponentTitle>
<ComponentName><![CDATA[account-activity]]></ComponentName>
<component_css><![CDATA[db-col-2]]></component_css>
<component_descr><![CDATA[]]></component_descr>
<layout protoType='card'>
<html><![CDATA[]]></html>
</layout>
</component>
<component datasource='2' id='4' type='FEED'>
<component_icon><![CDATA[password_history.png]]></component_icon>
<ComponentTitle><![CDATA[Password History]]></ComponentTitle>
<ComponentName><![CDATA[Password History]]></ComponentName>
<component_css><![CDATA[db-col-2]]></component_css>
<component_descr><![CDATA[]]></component_descr>
<obj_name><![CDATA[]]></obj_name>
<layout protoType='card'>
<html><![CDATA[
<ng-container *ngIf="context.passwrdHistory && context.passwrdHistory.length &gt; 0 ; else nodata">
<div *ngFor="let passChgHisData of context.passwrdHistory">
<div class="summDetails">
<div class="sum-content" style="padding-top: 8px;">
<div class="sumInfo">
<img *ngIf="passChgHisData.DEVICE_TYPE == 'Browser'" class="sumImg" src='angplugin/assets/images/svg/desktop.svg' />
<img *ngIf="passChgHisData.DEVICE_TYPE == 'Android Tablet'" class="sumImg" src='angplugin/assets/images/svg/tablet.svg' />
<img *ngIf="passChgHisData.DEVICE_TYPE == 'Android Mobile'" class="sumImg" src='angplugin/assets/images/svg/Mobile.svg' />
</div>
<div class="sumInfoRes">
<span class="sumOsName">{{passChgHisData.DEVICE_MAKE}}</span>
<span class="sumInfoLoginData">Last Password Changed : {{passChgHisData.PASS_CHG_DATE | amTimeAgo }}</span>
</div>
</div>
</div>
</div>
</ng-container>
<ng-template #nodata >
<div> No data to display</div>
</ng-template>
]]></html>
</layout>
</component>
<component datasource='3' id='5' type='FEED'>
<component_icon><![CDATA[device_history.png]]></component_icon>
<ComponentTitle><![CDATA[Device History]]></ComponentTitle>
<ComponentName><![CDATA[Device History]]></ComponentName>
<component_css><![CDATA[db-col-2]]></component_css>
<component_descr><![CDATA[]]></component_descr>
<layout protoType='card'>
<html><![CDATA[
<div class="ext-dashboard">
<div *ngFor="let deviceHisData of context.deviceList" style="padding-bottom: 1px;cursor:pointer;">
<details class="details-animated">
<summary>
<div class="summDetails">
<div class="sum-content" style="padding-top: 8px;">
<div class="sumInfo">
<img *ngIf="deviceHisData.DEVICE_TYPE == 'Browser'" class="sumImg" src='angplugin/assets/images/svg/desktop.svg'/>
<img *ngIf="deviceHisData.DEVICE_TYPE == 'Android Tablet'" class="sumImg" src='angplugin/assets/images/svg/tablet.svg'/>
<img *ngIf="deviceHisData.DEVICE_OS == 'Android' || deviceHisData.DEVICE_OS == 'iOS'" class="sumImg" src='angplugin/assets/images/svg/Mobile.svg'/>
</div>
<div class="sumInfoRes">
<span class="sumOsName">{{deviceHisData.DEVICE_MAKE}}</span>
<span class="sumInfoLoginData">Device Logged in : {{deviceHisData.CHG_DATE | amTimeAgo }}</span>
</div>
</div>
<div class="timeline-expand-icon"></div>
</div>
</summary>
<div class="row summaryContent">
<div *ngIf="deviceHisData.DEVICE_OS" class="osHistory">
<span style="font-size:12px;color:#666;">Operating System</span>
<div class="osDetail" style="background-color: white;">
<div class="osIcon">
<img *ngIf="deviceHisData.DEVICE_OS == 'Linux'" class="osIconImg" src='angplugin/assets/images/Linux.png'/>
<img *ngIf="deviceHisData.DEVICE_OS == 'Windows NT'" class="osIconImg" src='angplugin/assets/images/windows.png'/>
<img *ngIf="deviceHisData.DEVICE_OS == 'Android'" class="osIconImg" src='angplugin/assets/images/Android.png'/>
<img *ngIf="deviceHisData.DEVICE_OS == 'iOS'" class="osIconImg" src='angplugin/assets/images/Apple.png'/>
</div>
<div class="summaryInfoRes">
<span class="summarryOsName">{{deviceHisData.DEVICE_OS}}</span>
</div>
</div>
</div>
<div *ngIf="deviceHisData.DEVICE_TYPE" class="osHistory">
<span style="font-size:12px;color:#666;">Browser</span>
<div class="osDetail" style="background-color: white;">
<div class="osIcon">
<img *ngIf="deviceHisData.DEVICE_OS == 'Linux'" class="osIconImg" src='angplugin/assets/images/chrome.png'/>
<img *ngIf="deviceHisData.DEVICE_OS == 'Windows NT'" class="osIconImg" src='angplugin/assets/images/windows.png'/>
<img *ngIf="deviceHisData.DEVICE_OS == 'Android'" class="osIconImg" src='angplugin/assets/images/Android.png'/>
<img *ngIf="deviceHisData.DEVICE_OS == 'iOS'" class="osIconImg" src='angplugin/assets/images/Apple.png'/>
</div>
<div class="summaryInfoRes">
<span *ngIf="deviceHisData.DEVICE_TYPE != 'Browser'" class="summarryOsName">{{deviceHisData.DEVICE_TYPE}}</span>
<span *ngIf="deviceHisData.DEVICE_TYPE == 'Browser'" class="summarryOsName">Chrome</span>
</div>
</div>
</div>
</div>
</details>
</div>
</div>
]]></html>
</layout>
</component>
</view>
</Root>
......@@ -7,29 +7,20 @@
"image" : "logo_company.png",
"title" : "Proteus Vision",
"subtitle" : "Simple &#149; Smart &#149; Intelligent",
"quicklinks" : [
{
"kpilinks" : [
{
"bgImage":"linear-gradient(-45deg, #007bab, #00c9ff)",
"image" : "location2.svg",
"title" : "My Places",
"subtitle1" : " getUserActSummary('PTE_COUNT') ",
"execFunction" : "openComponentANG('place-time-entity', 'component');"
},
{
"bgImage":"linear-gradient(-45deg, #333333, #666666)",
"image" : "tag.svg",
"title" : "My Tagging",
"subtitle1" : "",
"execFunction" : "openComponentANG('my-tagging', 'component');"
},
{
"bgImage":"linear-gradient(-45deg, #e47842, #ffac83)",
"image" : "my_activities.svg",
"title" : "My Activities",
"subtitle1" : "getUserActSummary('LAST_LOGIN')",
"subtitle1Click" : "event.stopPropagation(); openComponentANG('allLoginHistory', 'dashboard'); ",
"subtitle2" : "getUserActSummary('LAST_PASS_CHG')",
"subtitle2Click" : "event.stopPropagation(); openComponentANG('passwordHistory', 'dashboard'); ",
"execFunction" : "openComponentANG('accountActivity', 'dashboard');"
},
{
......@@ -39,35 +30,37 @@
"subtitle1" : "getUserActSummary('CLM_COUNT')",
"execFunction" : "openComponentANG('contentLibrary', 'dashboard');"
},
{
"bgImage":"linear-gradient(-45deg, #01a27f, #00e1af)",
"image" : "my_device.svg",
"title" : "My Devices",
"subtitle1" : "getUserActSummary('DEVICE_OWNER')",
"execFunction" : " openComponentANG('deviceHistory', 'dashboard'); "
},
{
"bgImage":"linear-gradient(-45deg, #333333, #666666)",
"image" : "background_progress.svg",
"title" : "Background Job",
"subtitle1" : " 'Background Job' ",
"execFunction" : "openComponentANG('backgroundJobStatus', 'dashboard');"
}
],
"quicklinks" : [
{
"bgImage":"linear-gradient(-45deg, #333333, #666666)",
"image" : "tag.svg",
"title" : "My Tagging",
"subtitle1" : "",
"execFunction" : "openComponentANG('my-tagging', 'component');"
},
{
{
"bgImage":"linear-gradient(-45deg, #007bab, #00c9ff)",
"image" : "wallet.svg",
"title" : "My Wallet",
"subtitle1" : " 'My Wallet' ",
"obj_name_rights" : "my_expense"
},
{
{
"bgImage":"linear-gradient(-45deg, #e47842, #ffac83)",
"image" : "todays.svg",
"title" : "Today's Calls",
"subtitle1" : " getTodaysDashboardStatus('CUST_TYPE') ",
"subtitle2" : " getTodaysDashboardStatus('LISTED') ",
"execFunction" : "openComponentANG('todays', 'dashboard');",
"displayLink" : "Y"
"obj_name_rights" : "strg_meet_dcr_realtime_wiz"
},
{
"bgImage":"linear-gradient(-45deg, #7053cc, #c3b3f7)",
......@@ -119,18 +112,14 @@
<img src='{{quicklink.image}}' [ngClass]="evalFunction(quicklink.imageFunction)" />
</div>
<div class="quicklink-content">
<span class="quicklink-content-first-line">{{quicklink.title}}</span>
<span *ngIf="quicklink.subtitle1Click" class="quicklink-content-second-line" (click)="evalFunction(quicklink.subtitle1Click)">
<a href='#' class="quicklinksubtitle1Click">{{evalFunction(quicklink.subtitle1)}}</a>
</span>
<span *ngIf="!quicklink.subtitle1Click"
class="quicklink-content-second-line">{{evalFunction(quicklink.subtitle1)}}
<span class="quicklink-content-first-line">
{{quicklink.title}}
</span>
<span class="quicklink-content-second-line">
{{evalFunction(quicklink.subtitle1)}}
</span>
<span *ngIf="quicklink.subtitle2Click" class="quicklink-content-second-line" (click)="evalFunction(quicklink.subtitle2Click)">
<a href='#' class="quicklinksubtitle2Click">{{evalFunction(quicklink.subtitle2)}}</a>
</span>
<span *ngIf="!quicklink.subtitle2Click"
class="quicklink-content-second-line">{{evalFunction(quicklink.subtitle2)}}
<span class="quicklink-content-second-line">
{{evalFunction(quicklink.subtitle2)}}
</span>
</div>
</div>
......
......@@ -6,7 +6,7 @@
<datasource id='1' driverName='DriverITM' dataSourceType='servlet'><![CDATA[rest/dashboard/history/password]]></datasource>
<view id='1' name='SalesOrder'>
<component datasource='1' id='1' type='FEED'>
<component_icon><![CDATA[missedcalls.svg]]></component_icon>
<component_icon><![CDATA[password_history.svg]]></component_icon>
<ComponentTitle><![CDATA[Password History]]></ComponentTitle>
<ComponentName><![CDATA[Password History]]></ComponentName>
<component_css><![CDATA[]]>
......
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