Grammalecte  Check-in [600f33b256]

Overview
Comment:[tb] lexicon editor: ui update
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tb | multid
Files: files | file ages | folders
SHA3-256: 600f33b2561293d7396aefa62d46503443e7aac3aae86db4431f8f04e89be6aa
User & Date: olr on 2018-03-12 12:12:29
Other Links: branch diff | manifest | tags
Context
2018-03-16
19:35
[tb] lexicon editor (draft) check-in: 54c59ba375 user: olr tags: tb, multid
2018-03-12
12:12
[tb] lexicon editor: ui update check-in: 600f33b256 user: olr tags: tb, multid
2018-03-11
23:39
[fr][js] conj generator: Array.from() is much more readable than .slice(0) to clone an Array check-in: 33dbc61ec2 user: olr tags: fr, multid
Changes

Modified gc_lang/fr/tb/content/lex_editor.css from [3d4857dad8] to [3daf66ca1c].

1
2
































3
4
5
6
7
8
9
/* CSS */

































.section {
    font-size: 16px;
    font-weight: bold;
    color: hsl(210, 50%, 50%);
}

.subsection {


>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* CSS */

/*
    Dictionary
*/ 
.dictionary {
    font-size: 18px;
    font-weight: bold;
    color: hsl(210, 50%, 50%);
    width: 220px;
}
.dic_text {
    font-size: 18px;
    color: hsl(210, 50%, 50%);
}
.dic_saved_date_label {
    width: 120px;
    text-align: right;
}
.dic_saved_date {
    width: 180px;
}
.dic_num_entries {
    width: 60px;
    text-align: right;
}
.dic_num_entries_label {
    width: 100px;
}


/*
    Add new words
*/
.section {
    font-size: 16px;
    font-weight: bold;
    color: hsl(210, 50%, 50%);
}

.subsection {
39
40
41
42
43
44
45

46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
    width: 250px;
}

#generated_words {
    width: 400px;
    height: 620px;
}


/*
    Lexicon tab
*/

#lexicon {
    width: 600px;
    height: 650px;
}

.info_label {
    width: 120px;
}
.data {
    width: 100px;
}







>














|

71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
    width: 250px;
}

#generated_words {
    width: 400px;
    height: 620px;
}


/*
    Lexicon tab
*/

#lexicon {
    width: 600px;
    height: 650px;
}

.info_label {
    width: 120px;
}
.data {
    width: 90px;
}

Modified gc_lang/fr/tb/content/lex_editor.xul from [ea57ce501b] to [fed18bbe04].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21








22
23
24
25
26
27
28
29
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://grammarchecker/content/lex_editor.css" type="text/css"?>

<!DOCTYPE dialog SYSTEM "chrome://grammarchecker/locale/lex_editor.dtd">

<dialog
  id="grammalecte-lexicon-editor-window"
  title="&window.title;"
  orient="vertical"
  buttons="accept, cancel, extra1"
  ondialogaccept="oOptControl.save();"
  ondialogcancel="return;"
  buttonlabelextra1="&button.export.label;"
  ondialogextra1="oOptControl.reset();"
  defaultButton="accept"
  width="500"
  onload="document.getElementById('grammalecte-lexicon-editor-window').centerWindowOnScreen();"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <!-- Other elements go here -->








  
  <tabbox id="tabs" selectedIndex="0">
    <tabs>
      <tab label="&tab.editor.label;"/>
      <tab label="&tab.lexicon.label;"/>
    </tabs>

    <tabpanels>










|


<
<






>
>
>
>
>
>
>
>
|







1
2
3
4
5
6
7
8
9
10
11
12
13


14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://grammarchecker/content/lex_editor.css" type="text/css"?>

<!DOCTYPE dialog SYSTEM "chrome://grammarchecker/locale/lex_editor.dtd">

<dialog
  id="grammalecte-lexicon-editor-window"
  title="&window.title;"
  orient="vertical"
  buttons="accept, cancel"
  ondialogaccept="oOptControl.save();"
  ondialogcancel="return;"


  defaultButton="accept"
  width="500"
  onload="document.getElementById('grammalecte-lexicon-editor-window').centerWindowOnScreen();"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <!-- Other elements go here -->
  <hbox>
    <label class="dictionary" value="Dictionnaire personnel" />
    <label class="dic_text dic_saved_date_label" value="Enregistré le :" />
    <label class="dic_text dic_saved_date" value="·" />
    <label class="dic_text dic_num_entries" value="0" />
    <label class="dic_text dic_num_entries_label" value="entrées" />
    <button id="export" label="Exporter" />
  </hbox>

  <tabbox id="tabs" selectedIndex="0">
    <tabs>
      <tab label="&tab.editor.label;"/>
      <tab label="&tab.lexicon.label;"/>
    </tabs>

    <tabpanels>
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
      </tabpanel>

      <!-- LEXICON -->
      <tabpanel orient="vertical">
        <dialogheader title="&dialogheader.lexicon.label;" description="" />
        <hbox>
          <vbox>
            <label class="section" value="Lexique" />
            <hbox>
              <label class="info_label" value="Entrées ajoutées" />
              <label class="data" value="0" />
            </hbox>
            <hbox>
              <label class="info_label" value="Entrées supprimées" />
              <label class="data" value="0" />
            </hbox>
            <hbox>
              <label class="info_label" value="Nombre d’entrées" />
              <label class="data" value="0" />
            </hbox>
            <button id="save" label="Enregistrer" />

            <label class="" value="" />

            <label class="section" value="Dictionnaire enregistré" />
            <hbox>
              <label class="info_label" value="Date d’enregistrement" />
              <label class="data" value="·" />
            </hbox>
            <hbox>
              <label class="info_label" value="Nombre d’entrées" />
              <label class="data" value="0" />
            </hbox>
            <button id="save" label="Exporter" />
          </vbox>

          <vbox>
            <listbox id="lexicon">
              <listhead>
                <listheader label="Flexions"/>
                <listheader label="Lemmes"/>







<

<
<
<
<
<
<
<
<
|


|
<
<
<
<
<
<
<
<
<
<
<
<
<







163
164
165
166
167
168
169

170








171
172
173
174













175
176
177
178
179
180
181
      </tabpanel>

      <!-- LEXICON -->
      <tabpanel orient="vertical">
        <dialogheader title="&dialogheader.lexicon.label;" description="" />
        <hbox>
          <vbox>

            <hbox>








              <label class="info_label" value="Nombre d’entrées : " />
              <label class="data" value="0" />
            </hbox>
            <button id="save" label="Enregistrer" />            













          </vbox>

          <vbox>
            <listbox id="lexicon">
              <listhead>
                <listheader label="Flexions"/>
                <listheader label="Lemmes"/>