Overview
| Comment: | [fx] main panel: conjugueur button + new logo (merge cherrypicked) | 
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive | 
| Timelines: | family | ancestors | descendants | both | trunk | fx | 
| Files: | files | file ages | folders | 
| SHA3-256: | 226fbf581d5b290b3424cb57e8d1be9b | 
| User & Date: | olr on 2018-03-02 15:02:55 | 
| Other Links: | manifest | tags | 
Context
| 2018-03-02 | ||
| 15:23 | [lo] About panel: update hyperlinks check-in: 719d43b4b8 user: olr tags: trunk, lo | |
| 15:02 | [fx] main panel: conjugueur button + new logo (merge cherrypicked) check-in: 226fbf581d user: olr tags: trunk, fx | |
| 14:59 | [fx] main panel: conjugueur button + new logo check-in: e1b18c2783 user: olr tags: fx, multid | |
| 12:37 | [fr] faux positif: quelqu’un lire check-in: 328b580ec1 user: olr tags: trunk, fr | |
Changes
Added gc_lang/fr/webext/img/logo150_text.png version [4c10c95cae].
cannot compute difference between binary files
Modified gc_lang/fr/webext/panel/main.css from [ac4736311d] to [6bbd4a3da0].
| ︙ | ︙ | |||
| 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | 
    color: hsl(210, 20%, 50%);
}
#home_page #thanks {
    padding: 20px 0 0 0;
    border-top: 1px solid hsl(210, 20%, 88%);
    font-size: 14px;
}
/*
    Help
*/
#ui_options_page {
    display: none;
    padding: 20px;
 | > > > > > > > > > > > | 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 | 
    color: hsl(210, 20%, 50%);
}
#home_page #thanks {
    padding: 20px 0 0 0;
    border-top: 1px solid hsl(210, 20%, 88%);
    font-size: 14px;
}
#conj_button {
    margin: 0 auto;
    width: 100px;
    padding: 2px 10px;
    background-color: hsl(210, 50%, 50%);
    color: hsl(210, 10%, 96%);
    cursor: pointer;
    font-size: 14px;
    border-radius: 3px;
}
/*
    Help
*/
#ui_options_page {
    display: none;
    padding: 20px;
 | 
| ︙ | ︙ | 
Modified gc_lang/fr/webext/panel/main.html from [2f5e7b7df9] to [8d14026cb9].
| ︙ | ︙ | |||
| 26 27 28 29 30 31 32 | 
      </header> <!-- #menu -->
      <div id="page">
        <section id="home_page" class="page">
          <div id="mainlogo">
 | | | | > | | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | 
      </header> <!-- #menu -->
      <div id="page">
        <section id="home_page" class="page">
          <div id="mainlogo">
            <div class="center"><img src="../img/logo150_text.png" alt="Grammalecte"></div>
            <p class="underline center">
              Version ${version}
            </p>
            <p id="link_website" class="link center" data-url="http://grammalecte.net/?from=grammalecte-fx">Site web</p>
            <div 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>-->
              <div id="conj_button">Conjugueur</div>
            </div>
          </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">
 | 
| ︙ | ︙ | 
Modified gc_lang/fr/webext/panel/main.js from [499d5a46ec] to [5258bba8d8].
| ︙ | ︙ | |||
| 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | 
                });
            }
            else if (xElem.id.startsWith("ui_option_")) {
                storeUIOptions();
            }
            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"));
        }*/
    },
 | > > > | 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | 
                });
            }
            else if (xElem.id.startsWith("ui_option_")) {
                storeUIOptions();
            }
            else if (xElem.id.startsWith("link_")) {
                browser.tabs.create({url: xElem.dataset.url});
            }
            else if (xElem.id == "conj_button") {
                openConjugueurTab();
            }
        } else if (xElem.className.startsWith("select")) {
            showPage(xElem.dataset.page);
        }/* else if (xElem.tagName === "A") {
            openURL(xElem.getAttribute("href"));
        }*/
    },
 | 
| ︙ | ︙ | |||
| 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | 
    }
}
function showTestResult (sText) {
    document.getElementById("tests_result").textContent = sText;
}
/*
    UI options
*/
function setUIOptionsFromStorage () {
 | > > > > > > > > > > > > > | 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 | 
    }
}
function showTestResult (sText) {
    document.getElementById("tests_result").textContent = sText;
}
function openConjugueurTab () {
    if (bChrome) {
        browser.tabs.create({
            url: browser.extension.getURL("panel/conjugueur.html")
        });
        return;
    }
    let xConjTab = browser.tabs.create({
        url: browser.extension.getURL("panel/conjugueur.html")
    });
    xConjTab.then(onCreated, onError);
}
/*
    UI options
*/
function setUIOptionsFromStorage () {
 | 
| ︙ | ︙ |