Overview
Comment: | [fx] lexicon editor: ui update |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | fx | multid |
Files: | files | file ages | folders |
SHA3-256: |
b36b4dcdfe03c90fcc47471a199b40d6 |
User & Date: | olr on 2018-03-11 22:22:22 |
Other Links: | branch diff | manifest | tags |
Context
2018-03-11
| ||
23:28 | [fr][bug] conj generator: clone array/list before adding elements check-in: 2ce9bd0c2a user: olr tags: fr, multid | |
22:22 | [fx] lexicon editor: ui update check-in: b36b4dcdfe user: olr tags: fx, multid | |
21:57 | [fr][js][bug] conj generator: missing else check-in: b3026938be user: olr tags: fr, multid | |
Changes
Modified gc_lang/fr/modules-js/conj_generator.js from [ccd2c13fff] to [5170da2586].
︙ | |||
59 60 61 62 63 64 65 | 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 | - - + + | else if (sVerb.slice(-3) in this.oConj["V1"]) { lConj = this.oConj["V1"][sVerb.slice(-3)]; } // 2 lettres else { lConj = this.oConj["V1"]["er"]; } |
︙ |
Modified gc_lang/fr/webext/panel/lex_editor.css from [be224332e1] to [5f2ac9582a].
︙ | |||
57 58 59 60 61 62 63 | 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | + - + + | justify-content: center; } #lexicon_button { background-color: hsl(210, 80%, 90%); } .main_button { margin: 0 5px; width: 100px; |
︙ | |||
95 96 97 98 99 100 101 102 103 | 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | + - + - + | #word_section2 { display: none; } .category { margin-right: 5px; padding: 10px; border-radius: 3px; |
︙ | |||
154 155 156 157 158 159 160 | 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 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 | - + - - + - - - - + + + + - - - - - + + + | } .examples_false { flex-grow: 1; margin: 2px; padding: 10px; background-color: hsl(0, 10%, 90%); color: hsl(0, 10%, 50%); |
︙ | |||
266 267 268 269 270 271 272 | 266 267 268 269 270 271 272 273 274 275 276 277 278 | + + + + + + | details { font-size: 11px; font-variant: small-caps; color: hsl(210, 50%, 50%); cursor: pointer; } details > * { font-size: 12px; font-variant: normal; color: hsl(210, 0%, 0%); cursor: auto; } |
Modified gc_lang/fr/webext/panel/lex_editor.html from [abda213ba3] to [c8ac914fb9].
︙ | |||
8 9 10 11 12 13 14 | 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 42 43 44 45 46 47 | - - - - - - - - + + + + + + + + - + | <body> <div class="inbox"> <h1>Éditeur lexical</h1> |
︙ | |||
88 89 90 91 92 93 94 | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | - + - + - + - - + + + - + - - - - + - - + - + | <div id="section_verbe" class="section"> <div class="block"> <h3><input type="checkbox" id="up_v_i" value="i" /><label for="up_v_i"> intransitif</label></h3> <div class="description">Le verbe peut s’utiliser sans complément d’objet.</div> <details> <div class="container"> <div class="examples_true">Je dors.<br/>Tu pars.<br/>Elle pense.<br/>Nous écrivons.<br/>Vous manifestez.<br/>Ils viennent.</div> |
︙ | |||
189 190 191 192 193 194 195 | 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 | - - + + - - + + - - - - - + - - - - - - - - - - - - - - - - - + + + - | </div> <h3 class="category" id="select_adverbe" data-tag="W">Adverbe</h3> <div id="section_adverbe" class="section"> <p>Les adverbes sont invariables en genre et en nombre.</p> </div> |
︙ |
Modified gc_lang/fr/webext/panel/lex_editor.js from [04fabe98f3] to [5e92c774bb].
︙ | |||
195 196 197 198 199 200 201 | 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 | - + | document.getElementById("lemma2").addEventListener("keyup", () => { this.onWrite2(); }, false); document.getElementById("verb_pattern").addEventListener("keyup", () => { this.update(); }, false); document.getElementById("flexion").addEventListener("keyup", () => { this.update(); }, false); document.getElementById("tags").addEventListener("keyup", () => { this.update(); }, false); document.getElementById("add_to_lexicon").addEventListener("click", () => { this.addToLexicon(); }, false); }, |
︙ | |||
295 296 297 298 299 300 301 | 295 296 297 298 299 300 301 302 303 304 305 306 307 308 | - | hideElement("word_section2"); } }, update: function () { try { this.lFlexion = []; |
︙ | |||
393 394 395 396 397 398 399 | 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 | - + - + - - - - - - - + - + - - - - - - | } break; } case "W": this.sLemma = this.sLemma.toLowerCase(); this.lFlexion.push([this.sLemma, ":W/*"]); break; |
︙ | |||
497 498 499 500 501 502 503 | 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 | - + | }, setDictData: function (nEntries, sDate) { document.getElementById("dic_num_entries").textContent = nEntries; document.getElementById("dic_save_date").textContent = sDate; }, |
︙ |