From 0534780dced740d34983ac0dd6d2502501a8fab5 Mon Sep 17 00:00:00 2001 From: richie Date: Sun, 18 Nov 2018 22:32:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E7=BB=84=E7=BB=87=E4=B8=BB?= =?UTF-8?q?=E9=A2=98=E6=8F=92=E4=BB=B6=E6=96=87=E4=BB=B6=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 69 ++---------------- README.md | 5 +- build.xml | 24 ++++-- demo-theme-original.iml | 52 +++++++++++++ .../web/style.css => lib/report/.gitkeep | 0 pom.xml | 18 +++++ theme.png => screenshots/theme.png | Bin .../fr/plugin/theme/original/web/js/config.js | 0 .../plugin/theme/original/web/js/modules.js | 0 .../theme/original/web/js/modules.model.js | 0 .../fr/plugin/theme/original/web/style.css | 0 .../com/fr/plugin/theme/original/web/theme.js | 0 12 files changed, 96 insertions(+), 72 deletions(-) create mode 100644 demo-theme-original.iml rename src/main/java/com/fr/plugin/theme/original/web/style.css => lib/report/.gitkeep (100%) create mode 100644 pom.xml rename theme.png => screenshots/theme.png (100%) rename src/main/{java => resources}/com/fr/plugin/theme/original/web/js/config.js (100%) rename src/main/{java => resources}/com/fr/plugin/theme/original/web/js/modules.js (100%) rename src/main/{java => resources}/com/fr/plugin/theme/original/web/js/modules.model.js (100%) create mode 100644 src/main/resources/com/fr/plugin/theme/original/web/style.css rename src/main/{java => resources}/com/fr/plugin/theme/original/web/theme.js (100%) diff --git a/.gitignore b/.gitignore index d139c69..7bd1f8c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,64 +1,5 @@ -# ---> WebStorm -# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm -# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 - -# User-specific stuff: -.idea/**/workspace.xml -.idea/**/tasks.xml -.idea/dictionaries - -# Sensitive or high-churn files: -.idea/**/dataSources/ -.idea/**/dataSources.ids -.idea/**/dataSources.xml -.idea/**/dataSources.local.xml -.idea/**/sqlDataSources.xml -.idea/**/dynamic.xml -.idea/**/uiDesigner.xml - -# Gradle: -.idea/**/gradle.xml -.idea/**/libraries - -# CMake -cmake-build-debug/ - -# Mongo Explorer plugin: -.idea/**/mongoSettings.xml - -## File-based project format: -*.iws - -## Plugin-specific files: - -# IntelliJ -/out/ - -# mpeltonen/sbt-idea plugin -.idea_modules/ - -# JIRA plugin -atlassian-ide-plugin.xml - -# Cursive Clojure plugin -.idea/replstate.xml - -# Ruby plugin and RubyMine -/.rakeTasks - -# Crashlytics plugin (for Android Studio and IntelliJ) -com_crashlytics_export_strings.xml -crashlytics.properties -crashlytics-build.properties -fabric.properties - -### WebStorm Patch ### -# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721 - -# *.iml -# modules.xml -# .idea/misc.xml -# *.ipr - -# Sonarlint plugin -.idea/sonarlint +*.iml +.idea/ +.classpath +.DS_Store +lib/report/*.jar \ No newline at end of file diff --git a/README.md b/README.md index e74fe1e..8428e7a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # demo-theme-original -主题插件示例 -![](theme.png) \ No newline at end of file +主题插件示例效果图 + +![style](screenshots/theme.png) \ No newline at end of file diff --git a/build.xml b/build.xml index 87537f1..6736bf0 100644 --- a/build.xml +++ b/build.xml @@ -1,13 +1,13 @@ - + + - @@ -30,6 +30,9 @@ + + + @@ -45,7 +48,7 @@ - + @@ -60,11 +63,15 @@ target="${target_jdk_version}" fork="true" memoryMaximumSize="512m" listfiles="false" srcdir="${basedir}" executable="${compile_jdk_version}/bin/javac"> - + + + + + @@ -94,6 +101,7 @@ + @@ -107,12 +115,16 @@ + + + + + - - + \ No newline at end of file diff --git a/demo-theme-original.iml b/demo-theme-original.iml new file mode 100644 index 0000000..0752659 --- /dev/null +++ b/demo-theme-original.iml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/java/com/fr/plugin/theme/original/web/style.css b/lib/report/.gitkeep similarity index 100% rename from src/main/java/com/fr/plugin/theme/original/web/style.css rename to lib/report/.gitkeep diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..6b07062 --- /dev/null +++ b/pom.xml @@ -0,0 +1,18 @@ + + + 4.0.0 + + + com.fr.plugin + starter + 10.0 + + jar + demo-theme-original + + + ${project.basedir}/../webroot/WEB-INF/plugins/plugin-com.fr.plugin.decision.theme.original-1.0/classes + + \ No newline at end of file diff --git a/theme.png b/screenshots/theme.png similarity index 100% rename from theme.png rename to screenshots/theme.png diff --git a/src/main/java/com/fr/plugin/theme/original/web/js/config.js b/src/main/resources/com/fr/plugin/theme/original/web/js/config.js similarity index 100% rename from src/main/java/com/fr/plugin/theme/original/web/js/config.js rename to src/main/resources/com/fr/plugin/theme/original/web/js/config.js diff --git a/src/main/java/com/fr/plugin/theme/original/web/js/modules.js b/src/main/resources/com/fr/plugin/theme/original/web/js/modules.js similarity index 100% rename from src/main/java/com/fr/plugin/theme/original/web/js/modules.js rename to src/main/resources/com/fr/plugin/theme/original/web/js/modules.js diff --git a/src/main/java/com/fr/plugin/theme/original/web/js/modules.model.js b/src/main/resources/com/fr/plugin/theme/original/web/js/modules.model.js similarity index 100% rename from src/main/java/com/fr/plugin/theme/original/web/js/modules.model.js rename to src/main/resources/com/fr/plugin/theme/original/web/js/modules.model.js diff --git a/src/main/resources/com/fr/plugin/theme/original/web/style.css b/src/main/resources/com/fr/plugin/theme/original/web/style.css new file mode 100644 index 0000000..e69de29 diff --git a/src/main/java/com/fr/plugin/theme/original/web/theme.js b/src/main/resources/com/fr/plugin/theme/original/web/theme.js similarity index 100% rename from src/main/java/com/fr/plugin/theme/original/web/theme.js rename to src/main/resources/com/fr/plugin/theme/original/web/theme.js