Commit 636ff718b17ca575950bec6830f6ea18b893d282

Authored by 张光辉
1 parent 171eccee

增加分数区域的显示

.idea/compiler.xml 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<project version="4">
  3 + <component name="CompilerConfiguration">
  4 + <resourceExtensions />
  5 + <wildcardResourcePatterns>
  6 + <entry name="!?*.java" />
  7 + <entry name="!?*.form" />
  8 + <entry name="!?*.class" />
  9 + <entry name="!?*.groovy" />
  10 + <entry name="!?*.scala" />
  11 + <entry name="!?*.flex" />
  12 + <entry name="!?*.kt" />
  13 + <entry name="!?*.clj" />
  14 + <entry name="!?*.aj" />
  15 + </wildcardResourcePatterns>
  16 + <annotationProcessing>
  17 + <profile default="true" name="Default" enabled="false">
  18 + <processorPath useClasspath="true" />
  19 + </profile>
  20 + </annotationProcessing>
  21 + </component>
  22 +</project>
0 23 \ No newline at end of file
... ...
.idea/copyright/profiles_settings.xml 0 → 100644
  1 +<component name="CopyrightManager">
  2 + <settings default="" />
  3 +</component>
0 4 \ No newline at end of file
... ...
.idea/jsLibraryMappings.xml 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<project version="4">
  3 + <component name="JavaScriptLibraryMappings">
  4 + <file url="file://$PROJECT_DIR$" libraries="{programming/node_modules}" />
  5 + </component>
  6 +</project>
0 7 \ No newline at end of file
... ...
.idea/misc.xml 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<project version="4">
  3 + <component name="MavenImportPreferences">
  4 + <option name="generalSettings">
  5 + <MavenGeneralSettings>
  6 + <option name="mavenHome" value="Bundled (Maven 3)" />
  7 + </MavenGeneralSettings>
  8 + </option>
  9 + </component>
  10 + <component name="ProjectInspectionProfilesVisibleTreeState">
  11 + <entry key="Project Default">
  12 + <profile-state>
  13 + <expanded-state>
  14 + <State>
  15 + <id />
  16 + </State>
  17 + <State>
  18 + <id>Abstraction issuesJava</id>
  19 + </State>
  20 + <State>
  21 + <id>Android &gt; Lint &gt; Correctness</id>
  22 + </State>
  23 + <State>
  24 + <id>Android &gt; Lint &gt; Internationalization</id>
  25 + </State>
  26 + <State>
  27 + <id>Android &gt; Lint &gt; Security</id>
  28 + </State>
  29 + <State>
  30 + <id>Android Lint for Kotlin</id>
  31 + </State>
  32 + <State>
  33 + <id>Class metricsJava</id>
  34 + </State>
  35 + <State>
  36 + <id>Code maturity issuesJava</id>
  37 + </State>
  38 + <State>
  39 + <id>DOM issuesJavaScript</id>
  40 + </State>
  41 + <State>
  42 + <id>Groovy</id>
  43 + </State>
  44 + <State>
  45 + <id>Internationalization issuesJava</id>
  46 + </State>
  47 + <State>
  48 + <id>Java</id>
  49 + </State>
  50 + <State>
  51 + <id>JavaScript</id>
  52 + </State>
  53 + <State>
  54 + <id>Memory issuesJava</id>
  55 + </State>
  56 + <State>
  57 + <id>Method metricsJava</id>
  58 + </State>
  59 + <State>
  60 + <id>Performance issuesJava</id>
  61 + </State>
  62 + <State>
  63 + <id>Portability issuesJava</id>
  64 + </State>
  65 + <State>
  66 + <id>Probable bugsJava</id>
  67 + </State>
  68 + <State>
  69 + <id>Security issuesJava</id>
  70 + </State>
  71 + <State>
  72 + <id>Threading issuesGroovy</id>
  73 + </State>
  74 + <State>
  75 + <id>Threading issuesJava</id>
  76 + </State>
  77 + <State>
  78 + <id>Visibility issuesJava</id>
  79 + </State>
  80 + </expanded-state>
  81 + <selected-state>
  82 + <State>
  83 + <id>Android</id>
  84 + </State>
  85 + </selected-state>
  86 + </profile-state>
  87 + </entry>
  88 + </component>
  89 + <component name="ProjectLevelVcsManager" settingsEditedManually="false">
  90 + <OptionsSetting value="true" id="Add" />
  91 + <OptionsSetting value="true" id="Remove" />
  92 + <OptionsSetting value="true" id="Checkout" />
  93 + <OptionsSetting value="true" id="Update" />
  94 + <OptionsSetting value="true" id="Status" />
  95 + <OptionsSetting value="true" id="Edit" />
  96 + <ConfirmationsSetting value="0" id="Add" />
  97 + <ConfirmationsSetting value="0" id="Remove" />
  98 + </component>
  99 + <component name="ProjectRootManager" version="2" languageLevel="JDK_1_3" default="true" assert-keyword="false" jdk-15="false" />
  100 + <component name="SvnConfiguration">
  101 + <configuration>$USER_HOME$/.subversion</configuration>
  102 + </component>
  103 + <component name="masterDetails">
  104 + <states>
  105 + <state key="Copyright.UI">
  106 + <settings>
  107 + <splitter-proportions>
  108 + <option name="proportions">
  109 + <list>
  110 + <option value="0.2" />
  111 + </list>
  112 + </option>
  113 + </splitter-proportions>
  114 + </settings>
  115 + </state>
  116 + <state key="GlobalLibrariesConfigurable.UI">
  117 + <settings>
  118 + <splitter-proportions>
  119 + <option name="proportions">
  120 + <list>
  121 + <option value="0.2" />
  122 + </list>
  123 + </option>
  124 + </splitter-proportions>
  125 + </settings>
  126 + </state>
  127 + <state key="JdkListConfigurable.UI">
  128 + <settings>
  129 + <last-edited>1.8</last-edited>
  130 + <splitter-proportions>
  131 + <option name="proportions">
  132 + <list>
  133 + <option value="0.2" />
  134 + </list>
  135 + </option>
  136 + </splitter-proportions>
  137 + </settings>
  138 + </state>
  139 + <state key="ProjectJDKs.UI">
  140 + <settings>
  141 + <last-edited>1.8</last-edited>
  142 + <splitter-proportions>
  143 + <option name="proportions">
  144 + <list>
  145 + <option value="0.2" />
  146 + </list>
  147 + </option>
  148 + </splitter-proportions>
  149 + </settings>
  150 + </state>
  151 + <state key="ProjectLibrariesConfigurable.UI">
  152 + <settings>
  153 + <splitter-proportions>
  154 + <option name="proportions">
  155 + <list>
  156 + <option value="0.2" />
  157 + </list>
  158 + </option>
  159 + </splitter-proportions>
  160 + </settings>
  161 + </state>
  162 + <state key="ScopeChooserConfigurable.UI">
  163 + <settings>
  164 + <splitter-proportions>
  165 + <option name="proportions">
  166 + <list>
  167 + <option value="0.2" />
  168 + </list>
  169 + </option>
  170 + </splitter-proportions>
  171 + </settings>
  172 + </state>
  173 + </states>
  174 + </component>
  175 +</project>
0 176 \ No newline at end of file
... ...
.idea/modules.xml 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<project version="4">
  3 + <component name="ProjectModuleManager">
  4 + <modules>
  5 + <module fileurl="file://$PROJECT_DIR$/.idea/programming.iml" filepath="$PROJECT_DIR$/.idea/programming.iml" />
  6 + </modules>
  7 + </component>
  8 +</project>
0 9 \ No newline at end of file
... ...
.idea/programming.iml 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<module type="JAVA_MODULE" version="4">
  3 + <component name="NewModuleRootManager" inherit-compiler-output="true">
  4 + <exclude-output />
  5 + <content url="file://$MODULE_DIR$" />
  6 + <orderEntry type="inheritedJdk" />
  7 + <orderEntry type="sourceFolder" forTests="false" />
  8 + </component>
  9 +</module>
0 10 \ No newline at end of file
... ...
.idea/vcs.xml 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<project version="4">
  3 + <component name="VcsDirectoryMappings">
  4 + <mapping directory="" vcs="Git" />
  5 + </component>
  6 +</project>
0 7 \ No newline at end of file
... ...
.idea/workspace.xml 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<project version="4">
  3 + <component name="ChangeListManager">
  4 + <list default="true" id="d6682802-8dda-453f-a23d-bdaddfb04bfc" name="Default" comment="" />
  5 + <ignored path="programming.iws" />
  6 + <ignored path=".idea/workspace.xml" />
  7 + <ignored path=".idea/dataSources.local.xml" />
  8 + <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
  9 + <option name="TRACKING_ENABLED" value="true" />
  10 + <option name="SHOW_DIALOG" value="false" />
  11 + <option name="HIGHLIGHT_CONFLICTS" value="true" />
  12 + <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
  13 + <option name="LAST_RESOLUTION" value="IGNORE" />
  14 + </component>
  15 + <component name="CreatePatchCommitExecutor">
  16 + <option name="PATCH_PATH" value="" />
  17 + </component>
  18 + <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
  19 + <component name="FavoritesManager">
  20 + <favorites_list name="programming" />
  21 + </component>
  22 + <component name="FileEditorManager">
  23 + <leaf>
  24 + <file leaf-file-name="Dir.js" pinned="false" current-in-tab="false">
  25 + <entry file="file://$PROJECT_DIR$/src/gxb-ide/Dir.js">
  26 + <provider selected="true" editor-type-id="text-editor">
  27 + <state relative-caret-position="0">
  28 + <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
  29 + <folding>
  30 + <element signature="n#!!doc" expanded="true" />
  31 + </folding>
  32 + </state>
  33 + </provider>
  34 + </entry>
  35 + </file>
  36 + <file leaf-file-name="Ide.js" pinned="false" current-in-tab="false">
  37 + <entry file="file://$PROJECT_DIR$/src/gxb-ide/Ide.js">
  38 + <provider selected="true" editor-type-id="text-editor">
  39 + <state relative-caret-position="323">
  40 + <caret line="19" column="29" selection-start-line="19" selection-start-column="29" selection-end-line="19" selection-end-column="29" />
  41 + <folding />
  42 + </state>
  43 + </provider>
  44 + </entry>
  45 + </file>
  46 + <file leaf-file-name="README.md" pinned="false" current-in-tab="true">
  47 + <entry file="file://$PROJECT_DIR$/README.md">
  48 + <provider selected="true" editor-type-id="text-editor">
  49 + <state relative-caret-position="153">
  50 + <caret line="13" column="0" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
  51 + <folding />
  52 + </state>
  53 + </provider>
  54 + </entry>
  55 + </file>
  56 + </leaf>
  57 + </component>
  58 + <component name="Git.Settings">
  59 + <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
  60 + </component>
  61 + <component name="GradleLocalSettings">
  62 + <option name="externalProjectsViewState">
  63 + <projects_view />
  64 + </option>
  65 + </component>
  66 + <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
  67 + <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
  68 + <component name="JsGulpfileManager">
  69 + <detection-done>true</detection-done>
  70 + <sorting>DEFINITION_ORDER</sorting>
  71 + </component>
  72 + <component name="NodeModulesDirectoryManager">
  73 + <handled-path value="$PROJECT_DIR$/node_modules" />
  74 + </component>
  75 + <component name="ProjectFrameBounds">
  76 + <option name="y" value="23" />
  77 + <option name="width" value="1232" />
  78 + <option name="height" value="730" />
  79 + </component>
  80 + <component name="ProjectLevelVcsManager" settingsEditedManually="false">
  81 + <OptionsSetting value="true" id="Add" />
  82 + <OptionsSetting value="true" id="Remove" />
  83 + <OptionsSetting value="true" id="Checkout" />
  84 + <OptionsSetting value="true" id="Update" />
  85 + <OptionsSetting value="true" id="Status" />
  86 + <OptionsSetting value="true" id="Edit" />
  87 + <ConfirmationsSetting value="0" id="Add" />
  88 + <ConfirmationsSetting value="0" id="Remove" />
  89 + </component>
  90 + <component name="ProjectView">
  91 + <navigator currentView="ProjectPane" proportions="" version="1">
  92 + <flattenPackages />
  93 + <showMembers />
  94 + <showModules />
  95 + <showLibraryContents />
  96 + <hideEmptyPackages />
  97 + <abbreviatePackageNames />
  98 + <autoscrollToSource />
  99 + <autoscrollFromSource />
  100 + <sortByType />
  101 + <manualOrder />
  102 + <foldersAlwaysOnTop value="true" />
  103 + </navigator>
  104 + <panes>
  105 + <pane id="ProjectPane">
  106 + <subPane>
  107 + <PATH>
  108 + <PATH_ELEMENT>
  109 + <option name="myItemId" value="programming" />
  110 + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
  111 + </PATH_ELEMENT>
  112 + </PATH>
  113 + <PATH>
  114 + <PATH_ELEMENT>
  115 + <option name="myItemId" value="programming" />
  116 + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
  117 + </PATH_ELEMENT>
  118 + <PATH_ELEMENT>
  119 + <option name="myItemId" value="programming" />
  120 + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
  121 + </PATH_ELEMENT>
  122 + </PATH>
  123 + <PATH>
  124 + <PATH_ELEMENT>
  125 + <option name="myItemId" value="programming" />
  126 + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
  127 + </PATH_ELEMENT>
  128 + <PATH_ELEMENT>
  129 + <option name="myItemId" value="programming" />
  130 + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
  131 + </PATH_ELEMENT>
  132 + <PATH_ELEMENT>
  133 + <option name="myItemId" value="src" />
  134 + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
  135 + </PATH_ELEMENT>
  136 + </PATH>
  137 + <PATH>
  138 + <PATH_ELEMENT>
  139 + <option name="myItemId" value="programming" />
  140 + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
  141 + </PATH_ELEMENT>
  142 + <PATH_ELEMENT>
  143 + <option name="myItemId" value="programming" />
  144 + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
  145 + </PATH_ELEMENT>
  146 + <PATH_ELEMENT>
  147 + <option name="myItemId" value="src" />
  148 + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
  149 + </PATH_ELEMENT>
  150 + <PATH_ELEMENT>
  151 + <option name="myItemId" value="v1.1" />
  152 + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
  153 + </PATH_ELEMENT>
  154 + </PATH>
  155 + <PATH>
  156 + <PATH_ELEMENT>
  157 + <option name="myItemId" value="programming" />
  158 + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
  159 + </PATH_ELEMENT>
  160 + <PATH_ELEMENT>
  161 + <option name="myItemId" value="programming" />
  162 + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
  163 + </PATH_ELEMENT>
  164 + <PATH_ELEMENT>
  165 + <option name="myItemId" value="src" />
  166 + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
  167 + </PATH_ELEMENT>
  168 + <PATH_ELEMENT>
  169 + <option name="myItemId" value="gxb-ide" />
  170 + <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
  171 + </PATH_ELEMENT>
  172 + </PATH>
  173 + </subPane>
  174 + </pane>
  175 + <pane id="Scope" />
  176 + <pane id="PackagesPane" />
  177 + <pane id="Scratches" />
  178 + </panes>
  179 + </component>
  180 + <component name="PropertiesComponent">
  181 + <property name="project.structure.last.edited" value="Project" />
  182 + <property name="project.structure.proportion" value="0.0" />
  183 + <property name="project.structure.side.proportion" value="0.0" />
  184 + <property name="settings.editor.selected.configurable" value="vcs.Subversion" />
  185 + <property name="settings.editor.splitter.proportion" value="0.2" />
  186 + <property name="last_opened_file_path" value="$PROJECT_DIR$" />
  187 + <property name="aspect.path.notification.shown" value="true" />
  188 + <property name="WebServerToolWindowFactoryState" value="false" />
  189 + <property name="js-jscs-nodeInterpreter" value="/usr/local/bin/node" />
  190 + </component>
  191 + <component name="RunManager">
  192 + <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
  193 + <module name="" />
  194 + <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
  195 + <option name="PROGRAM_PARAMETERS" />
  196 + <method />
  197 + </configuration>
  198 + <configuration default="true" type="AndroidRunConfigurationType" factoryName="Android Application">
  199 + <module name="" />
  200 + <option name="DEPLOY" value="true" />
  201 + <option name="ARTIFACT_NAME" value="" />
  202 + <option name="PM_INSTALL_OPTIONS" value="" />
  203 + <option name="ACTIVITY_EXTRA_FLAGS" value="" />
  204 + <option name="MODE" value="default_activity" />
  205 + <option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
  206 + <option name="PREFERRED_AVD" value="" />
  207 + <option name="CLEAR_LOGCAT" value="false" />
  208 + <option name="SHOW_LOGCAT_AUTOMATICALLY" value="true" />
  209 + <option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
  210 + <option name="FORCE_STOP_RUNNING_APP" value="true" />
  211 + <option name="DEBUGGER_TYPE" value="Java" />
  212 + <option name="USE_LAST_SELECTED_DEVICE" value="false" />
  213 + <option name="PREFERRED_AVD" value="" />
  214 + <Java />
  215 + <Profilers>
  216 + <option name="GAPID_DISABLE_PCS" value="false" />
  217 + </Profilers>
  218 + <option name="DEEP_LINK" value="" />
  219 + <option name="ACTIVITY_CLASS" value="" />
  220 + <method />
  221 + </configuration>
  222 + <configuration default="true" type="AndroidTestRunConfigurationType" factoryName="Android Tests">
  223 + <module name="" />
  224 + <option name="TESTING_TYPE" value="0" />
  225 + <option name="INSTRUMENTATION_RUNNER_CLASS" value="" />
  226 + <option name="METHOD_NAME" value="" />
  227 + <option name="CLASS_NAME" value="" />
  228 + <option name="PACKAGE_NAME" value="" />
  229 + <option name="EXTRA_OPTIONS" value="" />
  230 + <option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
  231 + <option name="PREFERRED_AVD" value="" />
  232 + <option name="CLEAR_LOGCAT" value="false" />
  233 + <option name="SHOW_LOGCAT_AUTOMATICALLY" value="true" />
  234 + <option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
  235 + <option name="FORCE_STOP_RUNNING_APP" value="true" />
  236 + <option name="DEBUGGER_TYPE" value="Java" />
  237 + <option name="USE_LAST_SELECTED_DEVICE" value="false" />
  238 + <option name="PREFERRED_AVD" value="" />
  239 + <Java />
  240 + <Profilers>
  241 + <option name="GAPID_DISABLE_PCS" value="false" />
  242 + </Profilers>
  243 + <method />
  244 + </configuration>
  245 + <configuration default="true" type="Applet" factoryName="Applet">
  246 + <option name="HTML_USED" value="false" />
  247 + <option name="WIDTH" value="400" />
  248 + <option name="HEIGHT" value="300" />
  249 + <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
  250 + <module />
  251 + <method />
  252 + </configuration>
  253 + <configuration default="true" type="Application" factoryName="Application">
  254 + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  255 + <option name="MAIN_CLASS_NAME" />
  256 + <option name="VM_PARAMETERS" />
  257 + <option name="PROGRAM_PARAMETERS" />
  258 + <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
  259 + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
  260 + <option name="ALTERNATIVE_JRE_PATH" />
  261 + <option name="ENABLE_SWING_INSPECTOR" value="false" />
  262 + <option name="ENV_VARIABLES" />
  263 + <option name="PASS_PARENT_ENVS" value="true" />
  264 + <module name="" />
  265 + <envs />
  266 + <method />
  267 + </configuration>
  268 + <configuration default="true" type="ArquillianJUnit" factoryName="">
  269 + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  270 + <module name="" />
  271 + <option name="arquillianRunConfiguration">
  272 + <value>
  273 + <option name="containerStateName" value="" />
  274 + </value>
  275 + </option>
  276 + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
  277 + <option name="ALTERNATIVE_JRE_PATH" />
  278 + <option name="PACKAGE_NAME" />
  279 + <option name="MAIN_CLASS_NAME" />
  280 + <option name="METHOD_NAME" />
  281 + <option name="TEST_OBJECT" value="class" />
  282 + <option name="VM_PARAMETERS" />
  283 + <option name="PARAMETERS" />
  284 + <option name="WORKING_DIRECTORY" />
  285 + <option name="ENV_VARIABLES" />
  286 + <option name="PASS_PARENT_ENVS" value="true" />
  287 + <option name="TEST_SEARCH_SCOPE">
  288 + <value defaultName="singleModule" />
  289 + </option>
  290 + <envs />
  291 + <patterns />
  292 + <method />
  293 + </configuration>
  294 + <configuration default="true" type="ArquillianTestNG" factoryName="">
  295 + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  296 + <module name="" />
  297 + <option name="arquillianRunConfiguration">
  298 + <value>
  299 + <option name="containerStateName" value="" />
  300 + </value>
  301 + </option>
  302 + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
  303 + <option name="ALTERNATIVE_JRE_PATH" />
  304 + <option name="SUITE_NAME" />
  305 + <option name="PACKAGE_NAME" />
  306 + <option name="MAIN_CLASS_NAME" />
  307 + <option name="METHOD_NAME" />
  308 + <option name="GROUP_NAME" />
  309 + <option name="TEST_OBJECT" value="CLASS" />
  310 + <option name="VM_PARAMETERS" />
  311 + <option name="PARAMETERS" />
  312 + <option name="WORKING_DIRECTORY" />
  313 + <option name="OUTPUT_DIRECTORY" />
  314 + <option name="ANNOTATION_TYPE" />
  315 + <option name="ENV_VARIABLES" />
  316 + <option name="PASS_PARENT_ENVS" value="true" />
  317 + <option name="TEST_SEARCH_SCOPE">
  318 + <value defaultName="singleModule" />
  319 + </option>
  320 + <option name="USE_DEFAULT_REPORTERS" value="false" />
  321 + <option name="PROPERTIES_FILE" />
  322 + <envs />
  323 + <properties />
  324 + <listeners />
  325 + <method />
  326 + </configuration>
  327 + <configuration default="true" type="Cold Fusion runner description" factoryName="Cold Fusion" custom_browser="" web_path="">
  328 + <method />
  329 + </configuration>
  330 + <configuration default="true" type="CucumberJavaRunConfigurationType" factoryName="Cucumber java">
  331 + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  332 + <option name="myFilePath" />
  333 + <option name="GLUE" />
  334 + <option name="myNameFilter" />
  335 + <option name="myGeneratedName" />
  336 + <option name="MAIN_CLASS_NAME" />
  337 + <option name="VM_PARAMETERS" />
  338 + <option name="PROGRAM_PARAMETERS" />
  339 + <option name="WORKING_DIRECTORY" />
  340 + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
  341 + <option name="ALTERNATIVE_JRE_PATH" />
  342 + <option name="ENABLE_SWING_INSPECTOR" value="false" />
  343 + <option name="ENV_VARIABLES" />
  344 + <option name="PASS_PARENT_ENVS" value="true" />
  345 + <module name="" />
  346 + <envs />
  347 + <method />
  348 + </configuration>
  349 + <configuration default="true" type="FlashRunConfigurationType" factoryName="Flash App">
  350 + <option name="BCName" value="" />
  351 + <option name="IOSSimulatorSdkPath" value="" />
  352 + <option name="adlOptions" value="" />
  353 + <option name="airProgramParameters" value="" />
  354 + <option name="appDescriptorForEmulator" value="Android" />
  355 + <option name="debugTransport" value="USB" />
  356 + <option name="debuggerSdkRaw" value="BC SDK" />
  357 + <option name="emulator" value="NexusOne" />
  358 + <option name="emulatorAdlOptions" value="" />
  359 + <option name="fastPackaging" value="true" />
  360 + <option name="fullScreenHeight" value="0" />
  361 + <option name="fullScreenWidth" value="0" />
  362 + <option name="launchUrl" value="false" />
  363 + <option name="launcherParameters">
  364 + <LauncherParameters>
  365 + <option name="browser" value="a7bb68e0-33c0-4d6f-a81a-aac1fdb870c8" />
  366 + <option name="launcherType" value="OSDefault" />
  367 + <option name="newPlayerInstance" value="false" />
  368 + <option name="playerPath" value="/Applications/Flash Player Debugger.app" />
  369 + </LauncherParameters>
  370 + </option>
  371 + <option name="mobileRunTarget" value="Emulator" />
  372 + <option name="moduleName" value="" />
  373 + <option name="overriddenMainClass" value="" />
  374 + <option name="overriddenOutputFileName" value="" />
  375 + <option name="overrideMainClass" value="false" />
  376 + <option name="runTrusted" value="true" />
  377 + <option name="screenDpi" value="0" />
  378 + <option name="screenHeight" value="0" />
  379 + <option name="screenWidth" value="0" />
  380 + <option name="url" value="http://" />
  381 + <option name="usbDebugPort" value="7936" />
  382 + <method />
  383 + </configuration>
  384 + <configuration default="true" type="FlexUnitRunConfigurationType" factoryName="FlexUnit" appDescriptorForEmulator="Android" class_name="" emulatorAdlOptions="" method_name="" package_name="" scope="Class">
  385 + <option name="BCName" value="" />
  386 + <option name="launcherParameters">
  387 + <LauncherParameters>
  388 + <option name="browser" value="a7bb68e0-33c0-4d6f-a81a-aac1fdb870c8" />
  389 + <option name="launcherType" value="OSDefault" />
  390 + <option name="newPlayerInstance" value="false" />
  391 + <option name="playerPath" value="/Applications/Flash Player Debugger.app" />
  392 + </LauncherParameters>
  393 + </option>
  394 + <option name="moduleName" value="" />
  395 + <option name="trusted" value="true" />
  396 + <method />
  397 + </configuration>
  398 + <configuration default="true" type="GradleRunConfiguration" factoryName="Gradle">
  399 + <ExternalSystemSettings>
  400 + <option name="executionName" />
  401 + <option name="externalProjectPath" />
  402 + <option name="externalSystemIdString" value="GRADLE" />
  403 + <option name="scriptParameters" />
  404 + <option name="taskDescriptions">
  405 + <list />
  406 + </option>
  407 + <option name="taskNames">
  408 + <list />
  409 + </option>
  410 + <option name="vmOptions" />
  411 + </ExternalSystemSettings>
  412 + <method />
  413 + </configuration>
  414 + <configuration default="true" type="GrailsRunConfigurationType" factoryName="Grails">
  415 + <setting name="vmparams" value="" />
  416 + <setting name="cmdLine" value="run-app" />
  417 + <setting name="passParentEnv" value="true" />
  418 + <setting name="launchBrowser" value="true" />
  419 + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  420 + <method />
  421 + </configuration>
  422 + <configuration default="true" type="JUnit" factoryName="JUnit">
  423 + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  424 + <module name="" />
  425 + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
  426 + <option name="ALTERNATIVE_JRE_PATH" />
  427 + <option name="PACKAGE_NAME" />
  428 + <option name="MAIN_CLASS_NAME" />
  429 + <option name="METHOD_NAME" />
  430 + <option name="TEST_OBJECT" value="class" />
  431 + <option name="VM_PARAMETERS" value="-ea" />
  432 + <option name="PARAMETERS" />
  433 + <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
  434 + <option name="ENV_VARIABLES" />
  435 + <option name="PASS_PARENT_ENVS" value="true" />
  436 + <option name="TEST_SEARCH_SCOPE">
  437 + <value defaultName="singleModule" />
  438 + </option>
  439 + <envs />
  440 + <patterns />
  441 + <method />
  442 + </configuration>
  443 + <configuration default="true" type="JUnitTestDiscovery" factoryName="JUnit Test Discovery" changeList="All">
  444 + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  445 + <module name="" />
  446 + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
  447 + <option name="ALTERNATIVE_JRE_PATH" />
  448 + <option name="PACKAGE_NAME" />
  449 + <option name="MAIN_CLASS_NAME" />
  450 + <option name="METHOD_NAME" />
  451 + <option name="TEST_OBJECT" value="class" />
  452 + <option name="VM_PARAMETERS" />
  453 + <option name="PARAMETERS" />
  454 + <option name="WORKING_DIRECTORY" />
  455 + <option name="ENV_VARIABLES" />
  456 + <option name="PASS_PARENT_ENVS" value="true" />
  457 + <option name="TEST_SEARCH_SCOPE">
  458 + <value defaultName="singleModule" />
  459 + </option>
  460 + <envs />
  461 + <patterns />
  462 + <method />
  463 + </configuration>
  464 + <configuration default="true" type="JarApplication" factoryName="JAR Application">
  465 + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  466 + <envs />
  467 + <method />
  468 + </configuration>
  469 + <configuration default="true" type="Java Scratch" factoryName="Java Scratch">
  470 + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  471 + <option name="SCRATCH_FILE_ID" value="0" />
  472 + <option name="MAIN_CLASS_NAME" />
  473 + <option name="VM_PARAMETERS" />
  474 + <option name="PROGRAM_PARAMETERS" />
  475 + <option name="WORKING_DIRECTORY" />
  476 + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
  477 + <option name="ALTERNATIVE_JRE_PATH" />
  478 + <option name="ENABLE_SWING_INSPECTOR" value="false" />
  479 + <option name="ENV_VARIABLES" />
  480 + <option name="PASS_PARENT_ENVS" value="true" />
  481 + <module name="" />
  482 + <envs />
  483 + <method />
  484 + </configuration>
  485 + <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
  486 + <method />
  487 + </configuration>
  488 + <configuration default="true" type="JetRunConfigurationType" factoryName="Kotlin">
  489 + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  490 + <option name="MAIN_CLASS_NAME" />
  491 + <option name="VM_PARAMETERS" />
  492 + <option name="PROGRAM_PARAMETERS" />
  493 + <option name="WORKING_DIRECTORY" />
  494 + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
  495 + <option name="ALTERNATIVE_JRE_PATH" />
  496 + <option name="PASS_PARENT_ENVS" value="true" />
  497 + <module name="programming" />
  498 + <envs />
  499 + <method />
  500 + </configuration>
  501 + <configuration default="true" type="KotlinStandaloneScriptRunConfigurationType" factoryName="Kotlin script">
  502 + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  503 + <option name="filePath" />
  504 + <option name="vmParameters" />
  505 + <option name="alternativeJrePath" />
  506 + <option name="programParameters" />
  507 + <option name="passParentEnvs" value="true" />
  508 + <option name="workingDirectory" />
  509 + <option name="isAlternativeJrePathEnabled" value="false" />
  510 + <envs />
  511 + <method />
  512 + </configuration>
  513 + <configuration default="true" type="Remote" factoryName="Remote">
  514 + <option name="USE_SOCKET_TRANSPORT" value="true" />
  515 + <option name="SERVER_MODE" value="false" />
  516 + <option name="SHMEM_ADDRESS" value="javadebug" />
  517 + <option name="HOST" value="localhost" />
  518 + <option name="PORT" value="5005" />
  519 + <method />
  520 + </configuration>
  521 + <configuration default="true" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
  522 + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  523 + <module name="" />
  524 + <envs />
  525 + <method />
  526 + </configuration>
  527 + <configuration default="true" type="TestNG" factoryName="TestNG">
  528 + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  529 + <module name="" />
  530 + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
  531 + <option name="ALTERNATIVE_JRE_PATH" />
  532 + <option name="SUITE_NAME" />
  533 + <option name="PACKAGE_NAME" />
  534 + <option name="MAIN_CLASS_NAME" />
  535 + <option name="METHOD_NAME" />
  536 + <option name="GROUP_NAME" />
  537 + <option name="TEST_OBJECT" value="CLASS" />
  538 + <option name="VM_PARAMETERS" value="-ea" />
  539 + <option name="PARAMETERS" />
  540 + <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
  541 + <option name="OUTPUT_DIRECTORY" />
  542 + <option name="ANNOTATION_TYPE" />
  543 + <option name="ENV_VARIABLES" />
  544 + <option name="PASS_PARENT_ENVS" value="true" />
  545 + <option name="TEST_SEARCH_SCOPE">
  546 + <value defaultName="singleModule" />
  547 + </option>
  548 + <option name="USE_DEFAULT_REPORTERS" value="false" />
  549 + <option name="PROPERTIES_FILE" />
  550 + <envs />
  551 + <properties />
  552 + <listeners />
  553 + <method />
  554 + </configuration>
  555 + <configuration default="true" type="TestNGTestDiscovery" factoryName="TestNG Test Discovery" changeList="All">
  556 + <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
  557 + <module name="" />
  558 + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
  559 + <option name="ALTERNATIVE_JRE_PATH" />
  560 + <option name="SUITE_NAME" />
  561 + <option name="PACKAGE_NAME" />
  562 + <option name="MAIN_CLASS_NAME" />
  563 + <option name="METHOD_NAME" />
  564 + <option name="GROUP_NAME" />
  565 + <option name="TEST_OBJECT" value="CLASS" />
  566 + <option name="VM_PARAMETERS" />
  567 + <option name="PARAMETERS" />
  568 + <option name="WORKING_DIRECTORY" />
  569 + <option name="OUTPUT_DIRECTORY" />
  570 + <option name="ANNOTATION_TYPE" />
  571 + <option name="ENV_VARIABLES" />
  572 + <option name="PASS_PARENT_ENVS" value="true" />
  573 + <option name="TEST_SEARCH_SCOPE">
  574 + <value defaultName="singleModule" />
  575 + </option>
  576 + <option name="USE_DEFAULT_REPORTERS" value="false" />
  577 + <option name="PROPERTIES_FILE" />
  578 + <envs />
  579 + <properties />
  580 + <listeners />
  581 + <method />
  582 + </configuration>
  583 + <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
  584 + <method />
  585 + </configuration>
  586 + <configuration default="true" type="js.build_tools.npm" factoryName="npm">
  587 + <command value="run-script" />
  588 + <scripts />
  589 + <node-interpreter value="project" />
  590 + <envs />
  591 + <method />
  592 + </configuration>
  593 + <configuration default="true" type="osgi.bnd.run" factoryName="Run Launcher">
  594 + <method />
  595 + </configuration>
  596 + <configuration default="true" type="osgi.bnd.run" factoryName="Test Launcher (JUnit)">
  597 + <method />
  598 + </configuration>
  599 + </component>
  600 + <component name="ShelveChangesManager" show_recycled="false">
  601 + <option name="remove_strategy" value="false" />
  602 + </component>
  603 + <component name="TaskManager">
  604 + <task active="true" id="Default" summary="Default task">
  605 + <changelist id="d6682802-8dda-453f-a23d-bdaddfb04bfc" name="Default" comment="" />
  606 + <created>1521082406200</created>
  607 + <option name="number" value="Default" />
  608 + <option name="presentableId" value="Default" />
  609 + <updated>1521082406200</updated>
  610 + <workItem from="1521082408104" duration="1336000" />
  611 + </task>
  612 + <servers />
  613 + </component>
  614 + <component name="TimeTrackingManager">
  615 + <option name="totallyTimeSpent" value="1336000" />
  616 + </component>
  617 + <component name="ToolWindowManager">
  618 + <frame x="0" y="23" width="1232" height="730" extended-state="0" />
  619 + <editor active="false" />
  620 + <layout>
  621 + <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  622 + <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
  623 + <window_info id="Palette&#9;" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  624 + <window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  625 + <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
  626 + <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  627 + <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
  628 + <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  629 + <window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32843137" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  630 + <window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  631 + <window_info id="Designer" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  632 + <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24537815" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
  633 + <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  634 + <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
  635 + <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
  636 + <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
  637 + <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
  638 + <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
  639 + <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
  640 + <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
  641 + <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
  642 + <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
  643 + <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
  644 + <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
  645 + </layout>
  646 + </component>
  647 + <component name="Vcs.Log.UiProperties">
  648 + <option name="RECENTLY_FILTERED_USER_GROUPS">
  649 + <collection />
  650 + </option>
  651 + <option name="RECENTLY_FILTERED_BRANCH_GROUPS">
  652 + <collection />
  653 + </option>
  654 + </component>
  655 + <component name="VcsContentAnnotationSettings">
  656 + <option name="myLimit" value="2678400000" />
  657 + </component>
  658 + <component name="XDebuggerManager">
  659 + <breakpoint-manager />
  660 + <watches-manager />
  661 + </component>
  662 + <component name="editorHistoryManager">
  663 + <entry file="file://$PROJECT_DIR$/src/gxb-ide/Dir.js">
  664 + <provider selected="true" editor-type-id="text-editor">
  665 + <state relative-caret-position="0">
  666 + <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
  667 + <folding>
  668 + <element signature="n#!!doc" expanded="true" />
  669 + </folding>
  670 + </state>
  671 + </provider>
  672 + </entry>
  673 + <entry file="file://$PROJECT_DIR$/src/gxb-ide/Ide.js">
  674 + <provider selected="true" editor-type-id="text-editor">
  675 + <state relative-caret-position="323">
  676 + <caret line="19" column="29" selection-start-line="19" selection-start-column="29" selection-end-line="19" selection-end-column="29" />
  677 + <folding />
  678 + </state>
  679 + </provider>
  680 + </entry>
  681 + <entry file="file://$PROJECT_DIR$/README.md">
  682 + <provider selected="true" editor-type-id="text-editor">
  683 + <state relative-caret-position="153">
  684 + <caret line="13" column="0" selection-start-line="13" selection-start-column="0" selection-end-line="13" selection-end-column="0" />
  685 + <folding />
  686 + </state>
  687 + </provider>
  688 + </entry>
  689 + </component>
  690 +</project>
0 691 \ No newline at end of file
... ...
src/css/ide.css
... ... @@ -503,7 +503,7 @@ html, body {
503 503 .before, .after {
504 504 position: absolute;
505 505 left: 208px;
506   - width: 50%;
  506 + width: 200px;
507 507 height: 36px;
508 508 top: 12px; }
509 509  
... ...
src/gxb-ide/Iterm.js
... ... @@ -2,6 +2,8 @@
2 2 var isCompile = false;
3 3 var _languageid = getQuery('languageid');
4 4 var _userId = getQuery('userId');
  5 + var autoScore = !!getQuery('autoScore');
  6 + var questionId = getQuery('question');
5 7  
6 8 var Iterm = {
7 9 constructor: Iterm,
... ... @@ -161,9 +163,24 @@
161 163 "fileList": _fileList || []
162 164 }
163 165 console.log(compileData);
  166 +
  167 + var compileApiUrl = '';
  168 + if(autoScore && questionId) {
  169 + compileApiUrl = gxb_api + "/programming/exam/codeRun/" + questionId + "/api";
  170 + compileData = {
  171 + userId: userId,
  172 + languageId: languageId,
  173 + content: _fileList[0].content
  174 + };
  175 + }
  176 + else {
  177 + compileApiUrl = gxb_api + "/gxb-web/programmingMulti/codeRun/api";
  178 + }
  179 +
  180 + //编译运行的接口部分
164 181 $.ajax({
165 182 type: "POST",
166   - url: gxb_api + "/gxb-web/programmingMulti/codeRun/api",
  183 + url: compileApiUrl,
167 184 data: JSON.stringify(compileData),
168 185 dataType: "json",
169 186 contentType: "application/json",
... ... @@ -173,6 +190,10 @@
173 190 $('.compile-loading').hide();
174 191 $('.compile-reslut').show();
175 192  
  193 + if(autoScore && questionId) {
  194 + $('.score-wrap').show().children('.score-text').text(data.automaticScore)
  195 + }
  196 +
176 197 compileResult(data)
177 198 l.remove();
178 199 CodingEditer.compileResultData = data;
... ...
src/gxb-ide/ToolBox.js
... ... @@ -23,6 +23,7 @@
23 23 '<input type="button" id="savecode" class="upload-stud" style="display: none;" disabled="disabled" value="保存da">'+
24 24 '<input type="button" id="cancel" value="关闭">'+
25 25 '</div>'+
  26 + '<div class="score-wrap" style="display: none;">预估得分:<span class="score-text">0</span>,点击保存按钮分数才会生效</div>'+
26 27 '</div>';
27 28  
28 29 function ToolBox(){
... ... @@ -140,6 +141,7 @@
140 141 $('#audio-play').hide()
141 142 $('#upload').removeClass('recording-finish').addClass('upload-teach').attr("disabled", true);
142 143 $('#recordertab a:eq(0)').tab('show');
  144 + $('.score-wrap').hide();
143 145  
144 146 CodingEditer.resetCodeMirrorValue(0);
145 147  
... ...
src/gxb-ide/toolBox.css
... ... @@ -40,7 +40,7 @@
40 40 margin: 2px 8px;
41 41 border-radius: 50%;
42 42 }
43   -.save-wrap{
  43 +.save-wrap, .score-wrap {
44 44 float: right;
45 45 height: 60px;
46 46 line-height: 60px;
... ... @@ -57,7 +57,7 @@
57 57 margin-left: 12px;
58 58 }
59 59 .save-wrap .upload-stud, .save-wrap .upload-teach {
60   - // border: 1px solid #999;
  60 + /*border: 1px solid #999;*/
61 61 }
62 62 .save-wrap #cancel {
63 63 background-color: transparent;
... ... @@ -65,6 +65,11 @@
65 65 color: #1FB6FF;
66 66 }
67 67  
  68 +.score-wrap {
  69 + padding: 0 20px;
  70 + color: #fff;
  71 +}
  72 +
68 73 .upload-teach, .upload-stud{
69 74 // background: -webkit-linear-gradient(left, #505151, #939494);
70 75 // background: -moz-linear-gradient(left, #505151, #939494);
... ...