diff options
author | olpc user <olpc@xo-a7-2e-8c.localdomain> | 2010-05-03 02:50:48 (GMT) |
---|---|---|
committer | olpc user <olpc@xo-a7-2e-8c.localdomain> | 2010-05-03 02:50:48 (GMT) |
commit | 2d560fb0b16d7c03b3a6ac1abe270fdd0bcc43a9 (patch) | |
tree | ec1d5d693b9506fe267eac4d531ad6885ba7195e | |
parent | 5f215799ab7f29071a40edc162c53cf096b867aa (diff) |
Create repository and load
-rw-r--r-- | gtk_honeypot.glade | 85 | ||||
-rw-r--r-- | gtk_honeypot2.glade | 57 | ||||
-rw-r--r-- | my_first_questions.honeypot | 77 |
3 files changed, 219 insertions, 0 deletions
diff --git a/gtk_honeypot.glade b/gtk_honeypot.glade new file mode 100644 index 0000000..c6d8d6b --- /dev/null +++ b/gtk_honeypot.glade @@ -0,0 +1,85 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<glade-interface> + <!-- interface-requires gtk+ 2.16 --> + <!-- interface-naming-policy project-wide --> + <widget class="GtkWindow" id="window1"> + <child> + <widget class="GtkVBox" id="vbox1"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <property name="homogeneous">True</property> + <child> + <widget class="GtkButton" id="label_question"> + <property name="visible">True</property> + <property name="label" translatable="yes">Click here for a new question.</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + </widget> + <packing> + <property name="position">0</property> + </packing> + </child> + <child> + <widget class="GtkVBox" id="vbox2"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <child> + <widget class="GtkEntry" id="textfield_answer"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="invisible_char">●</property> + </widget> + <packing> + <property name="position">0</property> + </packing> + </child> + <child> + <widget class="GtkHBox" id="hbox2"> + <property name="visible">True</property> + <child> + <placeholder/> + </child> + <child> + <widget class="GtkVBox" id="vbox3"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <child> + <placeholder/> + </child> + <child> + <widget class="GtkButton" id="button_guess"> + <property name="label" translatable="yes">This button has no special function so far...</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + </widget> + <packing> + <property name="position">1</property> + </packing> + </child> + <child> + <placeholder/> + </child> + </widget> + <packing> + <property name="position">1</property> + </packing> + </child> + <child> + <placeholder/> + </child> + </widget> + <packing> + <property name="expand">False</property> + <property name="position">1</property> + </packing> + </child> + </widget> + <packing> + <property name="position">1</property> + </packing> + </child> + </widget> + </child> + </widget> +</glade-interface> diff --git a/gtk_honeypot2.glade b/gtk_honeypot2.glade new file mode 100644 index 0000000..535ea27 --- /dev/null +++ b/gtk_honeypot2.glade @@ -0,0 +1,57 @@ +<?xml version="1.0"?> +<glade-interface> + <!-- interface-requires gtk+ 2.16 --> + <!-- interface-naming-policy project-wide --> + <widget class="GtkWindow" id="window1"> + <child> + <widget class="GtkVBox" id="vbox1"> + <property name="visible">True</property> + <property name="orientation">vertical</property> + <child> + <widget class="GtkButton" id="label_question"> + <property name="label" translatable="yes">Click here for a new question.</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + </widget> + <packing> + <property name="padding">20</property> + <property name="position">0</property> + </packing> + </child> + <child> + <widget class="GtkHBox" id="hbox1"> + <property name="visible">True</property> + <child> + <widget class="GtkEntry" id="textfield_answer"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="invisible_char">●</property> + </widget> + <packing> + <property name="padding">20</property> + <property name="position">0</property> + </packing> + </child> + <child> + <widget class="GtkButton" id="button_guess"> + <property name="label" translatable="yes">Click here to see the answer...</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="focus_on_click">False</property> + </widget> + <packing> + <property name="padding">20</property> + <property name="position">1</property> + </packing> + </child> + </widget> + <packing> + <property name="position">1</property> + </packing> + </child> + </widget> + </child> + </widget> +</glade-interface> diff --git a/my_first_questions.honeypot b/my_first_questions.honeypot new file mode 100644 index 0000000..729e919 --- /dev/null +++ b/my_first_questions.honeypot @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<honeypot> + <collection name="1x1" id="collection1" author_name="Johannes Ponader" language="de" subject_name="Mathematik" subject_id="000" topic_name="kleines Einmaleins" topic_id="101" author_id="001"> + <drop id="000"> + <question>1 × 1</question> + <answer>1</answer> + </drop> + <drop id="001" type="mathparse" version="1" differ="\1,\2"> + <question>[1-10] × [1-10]</question> + <answer>{\1 * \2}</answer> + </drop> + </collection> + <collection name="Terme vereinfachen" id="collection2" author_name="Johannes Ponader" language="de" subject_name="Mathematik" subject_id="000" topic_name="Terme vereinfachen" topic_id="102" author_id="001"> + <drop id="100" type="mathparse" version="1"> + <question>[1-10] + [1-10] * [1-20]</question> + <step skip="forbidden">\1 + {\2 * \3}</step> + <answer>{\1 + \2 * \3}</answer> + </drop> + <drop id="101" type="mathparse" version="1"> + <question>([1-10] + [1-10]) * ({\4 + [1-10]} - [1-10])</question> + <way> + <step>{\1 + \2} * ({\4 + \3} - \4)</step> + </way> + <way> + <step>(\1 + \2) * \3</step> + </way> + <answer>{(\1 + \2) * \3}</answer> + </drop> + </collection> + <collection name="Gleichungen aufloesen" id="collection3" author_name="Johannes Ponader" language="de" subject_name="Mathematik" subject_id="000" topic_name="Gleichungen Aufloesen" topic_id="103" author_id="001"> + <!-- honeypot-id: author.index --> + <drop id="200" type="mathparse" version="1"> + <question>[1-20] + x = {\1 + [1-20]}</question> + <answer>\2</answer> + </drop> + <drop id="201" type="mathparse" version="1"> + <question>x + [1-20] = {[1-40] + \1}</question> + <answer>\2</answer> + </drop> + <drop id="202" type="mathparse" version="1"> + <question>x - [1-20] = [1-20]</question> + <answer>{\1 + \2}</answer> + </drop> + <drop id="210" type="mathparse" version="1"> + <question>[1-10] * x = {\1 * [1-10]}</question> + <answer>\2</answer> + </drop> + <drop id="211" type="mathparse" version="1"> + <question>x * [1-10] = {\1 * [1-10]}</question> + <answer>\2</answer> + </drop> + <drop id="212" type="mathparse" version="1"> + <question>x : [1-10] = [1-10]</question> + <answer>{\1 * \2}</answer> + </drop> + <drop id="220" type="mathparse" version="1"> + <question>([11-20] * x) - [1-10] = {\1 * [1-20] - \2}</question> + <step skip="allowed">([11-20] * x) = {\1 * [1-20]}</step> + <step skip="allowed">[11-20] * x = {\1 * [1-20]}</step> + <answer>\3</answer> + </drop> + </collection> + <collection name="Learning English - Unit 1: Fruits" id="collection4" author_name="Johannes Ponader" language="en" subject_name="English" subject_id="001" topic_name="Learning English - Unit 1" topic_id="201" author_id="001"> + <drop id="001" type="bidirectional" case="sensitive" blanks="loose"> + <question>an apple</question> + <answer>ein Apfel</answer> + </drop> + <drop id="002" type="bidirectional" case="sensitive" blanks="loose"> + <question>a pea</question> + <answer>eine Birne</answer> + </drop> + <drop id="003" type="bidirectional" case="sensitive" blanks="loose"> + <question>a pineapple</question> + <answer>eine Ananas</answer> + </drop> + </collection> +</honeypot> |