Skip to content
Snippets Groups Projects
Commit 5d3d5961 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

parameter allowing to change admin the opacity

parent d4b8ea6e
No related branches found
No related tags found
1 merge request!193Resolve "transparency level of overlay"
......@@ -134,12 +134,17 @@ public enum ConfigurationElementType {
* Color used for undefined overlay values.
*/
SIMPLE_COLOR_VAL("Overlay color when no values are defined", "00FF00", ConfigurationElementEditType.COLOR, false),
/**
*
* Color used for 0 overlay value.
*/
NEUTRAL_COLOR_VAL("Overlay color for value=0", "FFFFFF", ConfigurationElementEditType.COLOR, false);
NEUTRAL_COLOR_VAL("Overlay color for value=0", "FFFFFF", ConfigurationElementEditType.COLOR, false),
/**
* Opacity of data overlay objects in the frontend.
*/
OVERLAY_OPACITY("Opacity used when drwaing data overlays (value between 0.0-1.0)", "0.8",
ConfigurationElementEditType.DOUBLE, false),;
/**
* Default value of the configuration parameter (it will be used only when value
......@@ -165,7 +170,7 @@ public enum ConfigurationElementType {
* @param commonName
* common name used for this parameter
* @param editType
* type defining how we want to edit this configuration param
* type defining how we want to edit this configuration parameter
* @param defaultVal
* default value assigned to this parameter
*/
......
......@@ -275,7 +275,6 @@ public class ConfigurationRestImpl extends BaseRestImpl {
public List<Map<String, Object>> getPlugins(String token, String rootPath) {
String path = rootPath + "/resources/js/plugins/";
File folder = new File(path);
logger.debug(folder.getAbsolutePath());
List<Map<String, Object>> result = new ArrayList<>();
if (folder.exists()) {
File[] listOfFiles = folder.listFiles();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment