Browse Source

修正配置

master
dailer 6 years ago
parent
commit
0b17e3f3e5
  1. BIN
      screenshots/theme.png
  2. 4
      src/main/java/com/fr/plugin/theme/original/OriginalComponent.java
  3. 2
      src/main/java/com/fr/plugin/theme/original/OriginalTheme.java
  4. 6
      src/main/resources/com/fr/plugin/theme/original/web/js/config.js
  5. 2
      src/main/resources/com/fr/plugin/theme/original/web/js/modules.js
  6. 8
      src/main/resources/com/fr/plugin/theme/original/web/theme.js

BIN
screenshots/theme.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 242 KiB

4
src/main/java/com/fr/plugin/theme/original/OriginalComponent.java

@ -19,12 +19,12 @@ public class OriginalComponent extends Component {
@Override
public ScriptPath script() {
return ScriptPath.build("/com/fr/plugin/decision/theme/original/web/theme.js");
return ScriptPath.build("com/fr/plugin/theme/original/web/theme.js");
}
@Override
public StylePath style() {
return StylePath.build("/com/fr/plugin/decision/theme/original/web/style.css");
return StylePath.build("com/fr/plugin/theme/original/web/style.css");
}
@Override

2
src/main/java/com/fr/plugin/theme/original/OriginalTheme.java

@ -20,7 +20,7 @@ public class OriginalTheme extends AbstractThemeVariousProvider {
}
@Override
@Focus(id = "com.fr.plugin.theme.original", text = "", source = Original.PLUGIN)
@Focus(id = "com.fr.plugin.theme.original", text = "demo主题", source = Original.PLUGIN)
public Atom client() {
return OriginalComponent.KEY;
}

6
src/main/resources/com/fr/plugin/theme/original/web/js/config.js

@ -3,8 +3,8 @@
BI.config("dec.constant.config", function (config) {
config.theme.config4Frame.west.width = 240;
config.theme.config4EntryPane.pinable = false;
config.config4Frame.west.width = 240;
config.config4EntryPane.pinable = false;
return config;
});
@ -46,7 +46,7 @@
return provider;
});
BI.config("dec.workbench.directory", function (config) {
BI.config("dec.workbench.panel", function (config) {
config.type = "my.theme.directory";
return config;
});

2
src/main/resources/com/fr/plugin/theme/original/web/js/modules.js

@ -93,5 +93,5 @@
}
});
Nav.EVENT_VALUE_CHANGE = "EVENT_VALUE_CHANGE";
BI.shortcut("dec.theme.modules", Nav);
BI.shortcut("my.theme.directory", Nav);
}());

8
src/main/resources/com/fr/plugin/theme/original/web/theme.js

@ -2,8 +2,8 @@
!(function () {
BI.config("dec.constant.config", function (config) {
config.theme.config4Frame.west.width = 240;
config.theme.config4EntryPane.pinable = false;
config.config4Frame.west.width = 240;
config.config4EntryPane.pinable = false;
return config;
});
@ -45,7 +45,7 @@
return provider;
});
BI.config("dec.workbench.directory", function (config) {
BI.config("dec.workbench.panel", function (config) {
config.type = "my.theme.directory";
return config;
});
@ -145,7 +145,7 @@
}
});
Nav.EVENT_VALUE_CHANGE = "EVENT_VALUE_CHANGE";
BI.shortcut("dec.theme.modules", Nav);
BI.shortcut("my.theme.directory", Nav);
}());
(function () {
var Model = BI.inherit(Fix.Model, {

Loading…
Cancel
Save