Skip to content

Commit 817c4b7

Browse files
committed
initial commit
1 parent 565705f commit 817c4b7

22 files changed

+5915
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
# Oracle APEX Region Type Plugin - KPI Numeric Card
3+
4+
Region type plugin for displaying responsive kpi numeric cards. Fully customizable, including coloring, font-size to display target metric in your own custom styles.
5+
6+
7+
8+
## Documentation
9+
10+
In progress. Checkout the Demo Application mentioned below.
11+
12+
## Donate
13+
14+
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/MYasirAliShah/4)
15+
16+
## Changelog
17+
18+
#### 1.0 - Initial Release
19+
20+
21+
## Install
22+
- Import plugin file "region_type_plugin_com_planetapex_kpi_numeric_cards.sql" from source directory into your application
23+
- (Optional) Deploy the CSS/JS files from "src" directory on your webserver and change the "File Prefix" to webservers folder.
24+
25+
## Preview
26+
![Oracle Apex Plugin KPI Numeric Card](assets/kpiNumericCard.png "KPI Numeric Card")
27+
28+
## Demo Application
29+
[KPI Numeric Card Application](https://apex.oracle.com/pls/apex/f?p=83009:50 "KPI Numeric Card Homepage")

apexplugin.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"name": "KPI Numeric Card",
3+
"version": "1.0",
4+
"private": "N",
5+
"description": "Region type plugin for displaying responsive kpi numeric cards",
6+
"keywords": ["oracle", "apex", "plugin", "AJAX", "PPR", "region", "card", "performance", "responsive","kpi"],
7+
"homepage": "https://github.com/planetapex/apex-plugin-kpiNumericCard",
8+
"bugs": {
9+
"url": "https://github.com/planetapex/apex-plugin-kpiNumericCard/issues",
10+
"email": "yasirali.wizerp@gmail.com"
11+
},
12+
"license": "MIT",
13+
"author": {
14+
"name": "M.Yasir Ali Shah",
15+
"email": "yasirali.wizerp@gmail.com",
16+
"url": "http://apexfusion.blogspot.com/2017/07/oracle-apex-plugin-kpi-numeric-cards.html",
17+
"twitter": "m_yasir_ali",
18+
"linkedin": "https://www.linkedin.com/in/myasiralishah/",
19+
"donationUrl": "https://www.paypal.me/MYasirAliShah/4"
20+
},
21+
"repository": {
22+
"type": "git",
23+
"url": "https://github.com/planetapex/apex-plugin-kpiNumericCard.git"
24+
},
25+
"private": false,
26+
"oracle": {
27+
"versions": ["11.2.0.1", "12.1.0.1"],
28+
"apex": {
29+
"versions": ["5.0.0", "5.1.0"],
30+
"plugin": {
31+
"internalName": "COM.PLANETAPEX.KPI_NUMERIC_CARDS",
32+
"type": "region",
33+
"demo": "https://apex.oracle.com/pls/apex/f?p=83009:50",
34+
"previewImage": "https://raw.githubusercontent.com/planetapex/apex-plugin-kpiNumericCard/master/assets/kpiNumericCard.png"
35+
}
36+
}
37+
}
38+
}

assets/kpiNumericCard.png

43.4 KB
Loading

plugin/region_type_plugin_com_planetapex_kpi_numeric_cards.sql

Lines changed: 2952 additions & 0 deletions
Large diffs are not rendered by default.

src/Config.xlsx

8.85 KB
Binary file not shown.

src/css/fonts/Gotham-Book.otf

56.1 KB
Binary file not shown.

src/css/fonts/Gotham-Medium.otf

57 KB
Binary file not shown.
79.7 KB
Binary file not shown.

src/css/generalKPI.css

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
@font-face {
2+
font-family: KPIWidget;
3+
src: url('fonts/Gotham-Medium.otf');
4+
}
5+
6+
@font-face {
7+
font-family: KPIWidgetNumber;
8+
src: url('fonts/PT_DIN_Condensed_Cyrillic.ttf');
9+
}
10+
11+
.kpi-container-div {
12+
display: table;
13+
}
14+
15+
.kpi-item {
16+
display: table-cell;
17+
padding-left: 13px;
18+
}
19+
20+
.kpi-title {
21+
/*background-color: #f4f4f4;*/
22+
box-shadow: inset 0 -5px 20px rgba(0, 0, 0, .05);
23+
color: #3e3e3e;
24+
display: table;
25+
font-size: 14px;
26+
font-weight: bold;
27+
width: 100%;
28+
vertical-align: middle;
29+
}
30+
31+
.kpi-title-text {
32+
display: table-cell;
33+
text-align: center;
34+
vertical-align: middle;
35+
}
36+
37+
.kpi-footer-text {
38+
display: table-cell;
39+
font-size: 12px;
40+
color: #939393;
41+
text-align: center;
42+
vertical-align: middle;
43+
}
44+
45+
.kpi-footer-text a {
46+
color: #939393;
47+
}
48+
49+
.kpi-trend-up {
50+
background: url("images/trend_up.png") no-repeat scroll right center rgba(0, 0, 0, 0);
51+
width: 30px;
52+
}
53+
54+
.kpi-trend-down {
55+
background: url("images/trend_down.png") no-repeat scroll right center rgba(0, 0, 0, 0);
56+
width: 30px;
57+
}
58+
59+
.kpi-trend-flat {
60+
width: 30px;
61+
}
62+
63+
.kpi-trend-up-small {
64+
background: url("images/trend_up_small.png") no-repeat scroll center right rgba(0, 0, 0, 0);
65+
background-position: 5px;
66+
display: table-cell;
67+
height: 100%;
68+
width: 20px;
69+
}
70+
71+
.kpi-trend-down-small {
72+
background: url("images/trend_down_small.png") no-repeat scroll center right rgba(0, 0, 0, 0);
73+
background-position: 5px;
74+
display: table-cell;
75+
height: 100%;
76+
width: 20px;
77+
}
78+
79+
.kpi-trend-flat-small {
80+
display: table-cell;
81+
height: 100%;
82+
width: 20px;
83+
}
84+
85+
.kpi-delta-up {
86+
display: table-cell;
87+
font-family: KPIWidgetNumber;
88+
font-size: 0.35em;
89+
height: 100%;
90+
vertical-align: middle;
91+
width: 34px;
92+
color: #9dd07c;
93+
text-align: center;
94+
/*border: 1px solid;*/
95+
}
96+
97+
.kpi-delta-down {
98+
display: table-cell;
99+
font-family: KPIWidgetNumber;
100+
font-size: 0.35em;
101+
height: 100%;
102+
vertical-align: middle;
103+
width: 34px;
104+
color: #e05d63;
105+
text-align: center;
106+
}
107+
108+
.kpi-delta-flat {
109+
font-family: KPIWidgetNumber;
110+
font-size: 0.35em;
111+
height: 100%;
112+
vertical-align: middle;
113+
width: 34px;
114+
color: #fff;
115+
text-align: center;
116+
}

src/css/generalKPI.min.css

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)