Slight (incomptaible!) modification to the dashboards format to support incremental changes through the XML.

SVN:trunk[2336]
This commit is contained in:
Denis Flaven
2012-10-24 08:04:17 +00:00
parent b72151d968
commit 80ec842042
18 changed files with 991 additions and 630 deletions

View File

@@ -3,51 +3,74 @@
<layout>DashboardLayoutTwoCols</layout>
<title>UI:IncidentMgmtMenuOverview:Title</title>
<cells>
<cell>
<dashlet id="1" xsi:type="DashletGroupByPie">
<title>UI-IncidentManagementOverview-IncidentByPriority-last-14-days</title>
<query>SELECT Incident WHERE DATE_SUB(NOW(), INTERVAL 14 DAY) &lt; start_date</query>
<group_by>priority</group_by>
<style>pie</style>
</dashlet>
<cell id="0">
<rank>0</rank>
<dashlets>
<dashlet id="1" xsi:type="DashletGroupByPie">
<title>UI-IncidentManagementOverview-IncidentByPriority-last-14-days</title>
<query>SELECT Incident WHERE DATE_SUB(NOW(), INTERVAL 14 DAY) &lt; start_date</query>
<group_by>priority</group_by>
<style>pie</style>
</dashlet>
</dashlets>
</cell>
<cell>
<dashlet id="2" xsi:type="DashletGroupByBars">
<title>UI-IncidentManagementOverview-Last-14-days</title>
<query>SELECT Incident WHERE DATE_SUB(NOW(), INTERVAL 14 DAY) &lt; start_date</query>
<group_by>start_date:day_of_month</group_by>
<style>bars</style>
</dashlet>
<cell id="1">
<rank>1</rank>
<dashlets>
<dashlet id="2" xsi:type="DashletGroupByBars">
<title>UI-IncidentManagementOverview-Last-14-days</title>
<query>SELECT Incident WHERE DATE_SUB(NOW(), INTERVAL 14 DAY) &lt; start_date</query>
<group_by>start_date:day_of_month</group_by>
<style>bars</style>
</dashlet>
</dashlets>
</cell>
<cell>
<dashlet id="3" xsi:type="DashletGroupByTable">
<title>UI-IncidentManagementOverview-OpenIncidentByStatus</title>
<query>SELECT Incident WHERE status NOT IN ('closed','rejected')</query>
<group_by>status</group_by>
<style>table</style>
</dashlet>
<cell id="2">
<rank>2</rank>
<dashlets>
<dashlet id="3" xsi:type="DashletGroupByTable">
<title>UI-IncidentManagementOverview-OpenIncidentByStatus</title>
<query>SELECT Incident WHERE status NOT IN
('closed','rejected')</query>
<group_by>status</group_by>
<style>table</style>
</dashlet>
</dashlets>
</cell>
<cell>
<dashlet id="4" xsi:type="DashletGroupByTable">
<title>UI-IncidentManagementOverview-OpenIncidentByAgent</title>
<query>SELECT Incident WHERE status NOT IN ('closed','rejected')</query>
<group_by>agent_id</group_by>
<style>table</style>
</dashlet>
<cell id="3">
<rank>3</rank>
<dashlets>
<dashlet id="4" xsi:type="DashletGroupByTable">
<title>UI-IncidentManagementOverview-OpenIncidentByAgent</title>
<query>SELECT Incident WHERE status NOT IN
('closed','rejected')</query>
<group_by>agent_id</group_by>
<style>table</style>
</dashlet>
</dashlets>
</cell>
<cell>
<dashlet id="5" xsi:type="DashletGroupByTable">
<title>UI-IncidentManagementOverview-OpenIncidentByCustomer</title>
<query>SELECT Incident WHERE status NOT IN ('closed','rejected')</query>
<group_by>org_id</group_by>
<style>table</style>
</dashlet>
<cell id="4">
<rank>4</rank>
<dashlets>
<dashlet id="5" xsi:type="DashletGroupByTable">
<title>UI-IncidentManagementOverview-OpenIncidentByCustomer</title>
<query>SELECT Incident WHERE status NOT IN ('closed','rejected')</query>
<group_by>org_id</group_by>
<style>table</style>
</dashlet>
</dashlets>
</cell>
<cell>
<dashlet id="0" xsi:type="DashletEmptyCell"/>
<cell id="5">
<rank>5</rank>
<dashlets>
<dashlet id="0" xsi:type="DashletEmptyCell" />
</dashlets>
</cell>
<cell>
<dashlet id="0" xsi:type="DashletEmptyCell"/>
<cell id="6">
<rank>6</rank>
<dashlets>
<dashlet id="0" xsi:type="DashletEmptyCell" />
</dashlets>
</cell>
</cells>
</dashboard>