Overview
| Comment: | [fx] openURL in main panel |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | fx | webext2 |
| Files: | files | file ages | folders |
| SHA3-256: |
327355a98ffcea4b4be4b5054df33030 |
| User & Date: | olr on 2017-08-30 10:31:11 |
| Other Links: | branch diff | manifest | tags |
Context
|
2017-08-30
| ||
| 12:55 | [fx] open conjugueur with wrapper buttons + code revamping check-in: f02079aa95 user: olr tags: fx, webext2 | |
| 10:31 | [fx] openURL in main panel check-in: 327355a98f user: olr tags: fx, webext2 | |
|
2017-08-29
| ||
| 16:09 | [fx] move openURL to parent object check-in: dce23987ab user: olr tags: fx, webext2 | |
Changes
Modified gc_lang/fr/webext/panel/main.css from [66079c1d8f] to [8da5f9dfef].
| ︙ | ︙ | |||
44 45 46 47 48 49 50 51 52 53 |
.cyan { background-color: hsl(180, 50%, 50%); color: hsl(0, 0%, 96%); }
.cyan:hover { background-color: hsl(180, 60%, 40%); color: hsl(0, 0%, 100%); }
.green { background-color: hsl(120, 50%, 40%); color: hsl(120, 10%, 96%); }
.green:hover { background-color: hsl(120, 60%, 30%); color: hsl(120, 10%, 96%); }
.blue { background-color: hsl(210, 50%, 50%); color: hsl(210, 10%, 96%); }
.blue:hover { background-color: hsl(210, 60%, 40%); color: hsl(210, 10%, 96%); }
/* links */
| > > | > | < < < | 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
.cyan { background-color: hsl(180, 50%, 50%); color: hsl(0, 0%, 96%); }
.cyan:hover { background-color: hsl(180, 60%, 40%); color: hsl(0, 0%, 100%); }
.green { background-color: hsl(120, 50%, 40%); color: hsl(120, 10%, 96%); }
.green:hover { background-color: hsl(120, 60%, 30%); color: hsl(120, 10%, 96%); }
.blue { background-color: hsl(210, 50%, 50%); color: hsl(210, 10%, 96%); }
.blue:hover { background-color: hsl(210, 60%, 40%); color: hsl(210, 10%, 96%); }
.border { border: 1px solid hsl(210, 20%, 80%); }
/* links */
.link {
color: hsl(210, 70%, 40%);
text-decoration: none;
cursor: pointer;
}
.link:hover {
text-shadow: 0 0 2px hsl(210, 80%, 60%);
}
/* Main classes */
html {
box-sizing: border-box;
width: 400px;
|
| ︙ | ︙ |
Modified gc_lang/fr/webext/panel/main.html from [e85dfabd88] to [9bcb099834].
| ︙ | ︙ | |||
30 31 32 33 34 35 36 |
<section id="home_page" class="page">
<div id="mainlogo">
<div class="center"><img src="../img/logo120_text.png" alt="Grammalecte"></div>
<p class="underline center">
Version ${version}
</p>
| < | < | | < < < < | < < < < < | | < | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
<section id="home_page" class="page">
<div id="mainlogo">
<div class="center"><img src="../img/logo120_text.png" alt="Grammalecte"></div>
<p class="underline center">
Version ${version}
</p>
<p id="link_website" class="link center" data-url="http://grammalecte.net">Site web</p>
<p class="notice center">
Grammalecte est un correcteur grammatical open source sous <span id="link_gpl" class="link" data-url="https://www.gnu.org/licenses/gpl.html">licence GPL 3</span>
</p>
</div>
<div id="thanks">
<p class="center" data-l10n-id="thanks1">Grammalecte remercie</p>
<p class="center"><img id="link_sponsor1" class="link border" src="../img/LaMouette.png" alt="La Mouette" data-url="http://www.lamouette.org/?from=grammalecte-fx" /></p>
<p class="center"><img id="link_sponsor2" class="link border" src="../img/Algoo_logo.png" alt="Algoo" data-url="https://www.algoo.fr/?from=grammalecte-fx" /></p>
<p id="link_othersponsors" class="link center" data-url="http://grammalecte.net/?thanks">
et tous ceux qui l’ont soutenu
</p>
</div>
</section> <!-- #home_page -->
<section id="help_page" class="page">
<h1>AIDE</h1>
<div id="help_section">
|
| ︙ | ︙ | |||
108 109 110 111 112 113 114 |
</div>
</section> <!-- #sc_options_page -->
<section id="test_page" class="page">
<div id="test_cmd">
<h1>ZONE DE TEST</h1>
<p>Section de contrôle pour le développement du logiciel…</p>
| | | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
</div>
</section> <!-- #sc_options_page -->
<section id="test_page" class="page">
<div id="test_cmd">
<h1>ZONE DE TEST</h1>
<p>Section de contrôle pour le développement du logiciel…</p>
<p id="link_testpage" class="link" data-url="https://www.dicollecte.org/test.html">Page de test</p>
<textarea id="text_to_test" rows="10"></textarea>
<div id="fulltests_button" class="button blue">Tests complets</div> <div id="text_to_test_button" class="button green fright">Analyser</div>
</div>
<pre id="tests_result"></pre>
</section> <!-- #test_page -->
</div> <!-- #page -->
|
| ︙ | ︙ |
Modified gc_lang/fr/webext/panel/main.js from [dc636eef89] to [cfdce4f016].
| ︙ | ︙ | |||
41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
else if (xElem.id.startsWith("option_")) {
browser.runtime.sendMessage({
sCommand: "setOption",
dParam: {sOptName: xElem.dataset.option, bValue: xElem.checked},
dInfo: {}
});
}
} else if (xElem.className.startsWith("select")) {
showPage(xElem.dataset.page);
}/* else if (xElem.tagName === "A") {
openURL(xElem.getAttribute("href"));
}*/
},
false
| > > > | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
else if (xElem.id.startsWith("option_")) {
browser.runtime.sendMessage({
sCommand: "setOption",
dParam: {sOptName: xElem.dataset.option, bValue: xElem.checked},
dInfo: {}
});
}
else if (xElem.id.startsWith("link_")) {
browser.tabs.create({url: xElem.dataset.url});
}
} else if (xElem.className.startsWith("select")) {
showPage(xElem.dataset.page);
}/* else if (xElem.tagName === "A") {
openURL(xElem.getAttribute("href"));
}*/
},
false
|
| ︙ | ︙ |