projectestac / jclic

JClic is a set of cross-platform Java applications useful for creating and carrying out different types of educational activities like puzzles, associations, text exercises or crosswords.
GNU General Public License v2.0
27 stars 19 forks source link

HTML5 - Text.Complete activity - No button for verification #16

Closed Okaryn closed 8 years ago

Okaryn commented 8 years ago

Hi,

For the Text.Complete activity, the check button is not visible, so can't verify the answer :(

  <activity class="@panels.InformationScreen" name="Wohnen 1,5" code="">
   <description />
   <messages>
    <cell type="initial">
     <style>
      <font family="Comic Sans MS" size="20" bold="true" italic="true" />
      <color foreground="0xFFFF66" background="0x9999FF" />
     </style>
     <p>Cette question peut entraîner cette réponse...</p>
    </cell>
   </messages>
   <settings margin="0" report="false">
    <container bgColor="0xFFFF66">
     <counters time="false" actions="true" score="true" />
    </container>
    <window bgColor="0xF0F0F0" transparent="true" border="false" />
   </settings>
   <cells rows="1" cols="1" border="false" image="wohnen.JPG">
    <style />
    <shaper class="@Rectangular" cols="1" rows="1" />
   </cells>
  </activity>
  <activity class="@text.Complete" name="Wohnen 2" code="">
   <description />
   <messages>
    <cell type="initial">
     <style>
      <font family="Comic Sans MS" size="20" bold="true" />
      <color foreground="0xFFFF66" background="0x9999FF" />
     </style>
     <media type="PLAY_AUDIO" level="1" file="wo wohnst du.ogg" />
     <p>Hör gut zu und schreibe das Verb !</p>
    </cell>
    <cell type="final">
     <style>
      <font family="Comic Sans MS" size="20" bold="true" />
      <color foreground="0xFFFF66" background="0x9999FF" />
     </style>
     <p>Gut !</p>
    </cell>
   </messages>
   <settings margin="0" report="false">
    <container bgColor="0xFFFF66">
     <counters time="false" actions="false" score="false" />
    </container>
    <window bgColor="0xFFFF66" border="false">
     <size width="400" height="294" />
    </window>
    <skin file="" />
   </settings>
   <checkButton>Vérifier</checkButton>
   <document>
    <style name="targetError" base="target" foreground="0xFF0000" />
    <style name="target" base="default" foreground="0x0000FF" target="true" />
    <style name="default" family="Arial" background="0xFFFFFF" size="11" italic="false" bold="false" tabWidth="12" />
    <section>
     <p background="0xFFFFFF" family="Arial" Alignment="1">
      <text size="36" family="Comic Sans MS" bold="true">Wo </text>
      <target>wohnst</target>
      <text size="36" family="Comic Sans MS" bold="true"> du ?</text>
     </p>
    </section>
   </document>
   <evaluator class="@ComplexEvaluator" checkCase="true" checkDoubleSpaces="true" />
  </activity>
frncesc commented 8 years ago

Check button in text activities has been implemented in version 0.1.14 of jclic.js (just released today!)

Other relevant improvements of this version are:

jclic.js is still in alpha, lacking some important features, but I'm still working on it. Hope to have soon a beta version to start an extensive testing.

Please note that jclic.js has its own git repository. Please place here issues related to it.

Thnx!