Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-reporting-dashboard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-reporting-dashboard
Commits
88cb876c
Commit
88cb876c
authored
Jan 29, 2018
by
cosine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Added diagram.js requests where needed
parent
33a94962
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
intranet-reporting-dashboard-procs.tcl
tcl/intranet-reporting-dashboard-procs.tcl
+4
-0
No files found.
tcl/intranet-reporting-dashboard-procs.tcl
View file @
88cb876c
...
...
@@ -573,6 +573,8 @@ ad_proc im_dashboard_pie_chart {
-values
{{
Abc 10
}
{
Bcde 20
}
{
Cdefg 30
}
{
Defg 25
}}
</pre>
}
{
template::head::add_javascript -src
"/resources/diagram/diagram/diagram.js"
-order
"40"
if
{
""
==
$font
_color
}
{
set font_color
[
im_dashboard_color -type
"pie_text_color"
]
}
if
{[
llength
$values
]
<
$max
_entries
}
{
set max_entries
[
llength
$values
]
}
...
...
@@ -691,6 +693,8 @@ ad_proc im_dashboard_histogram {
-values
{{
Potential 10
}
{
Quoting 5
}
{
Open 5
}
{
Invoicing 6
}}
\
]
</pre>
}
{
template::head::add_javascript -src
"/resources/diagram/diagram/diagram.js"
-order
"40"
if
{
""
==
$bar
_color
}
{
set bar_color
[
im_dashboard_color -type bar_color
]
}
if
{
""
==
$bar
_text_color
}
{
set bar_text_color
[
im_dashboard_color -type bar_text_color
]
}
if
{
""
==
$bar
_bg_color
}
{
set bar_bg_color
[
im_dashboard_color -type bar_bg_color
]
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment