Skip to content

Commit

Permalink
Added new options page
Browse files Browse the repository at this point in the history
Added IT layout
New options page
  • Loading branch information
Shaun Tabone committed Oct 10, 2017
1 parent de1662a commit 13322cd
Show file tree
Hide file tree
Showing 10 changed files with 620 additions and 286 deletions.
4 changes: 3 additions & 1 deletion background.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ chrome.extension.onRequest.addListener(function(request, sender, sendResponse) {
chrome.tabs.sendRequest(tab.id, "openUrlBar");
sendResponse({data: "ok" });
});
}
} else if (request.method == "createTab") {
chrome.tabs.create({ url: request.url });
}
else {
sendResponse({});
}
Expand Down
Binary file removed buttons/Thumbs.db
Binary file not shown.
Binary file removed icons/Thumbs.db
Binary file not shown.
22 changes: 11 additions & 11 deletions keyboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<td class="kbdH kbdClick" _key="5"><span>5</span></td>
<td class="kbdH kbdClick" _key="6"><span>6</span></td>
<td class="kbdH kbdClick" _key="-"><span>-</span></td>
<td class="kbdH kbdClick" _key="("><span>(</span></td>
<td class="kbdH kbdClick" _key=")"><span>)</span></td>
</tr>
</table>
<table cellpadding="2">
Expand All @@ -42,7 +42,7 @@
<td class="kbdH kbdClick" _key="2"><span>2</span></td>
<td class="kbdH kbdClick" _key="3"><span>3</span></td>
<td class="kbdH kbdClick" _key="+"><span>+</span></td>
<td class="kbdH kbdClick" _key=")"><span>)</span></td>
<td class="kbdH kbdClick" _key="("><span>(</span></td>
</tr>
</table>
<table cellpadding="2">
Expand All @@ -51,7 +51,7 @@
<td class="kbdH kbdClick" _key="."><span>.</span></td>
<td class="kbdH kbdClick" _key="*"><span>*</span></td>
<td class="kbdH kbdClick" _key="$"><span>$</span></td>
<td class="kbdD kbdClick" _key="Close"><span>Enter</span></td>
<td class="kbdD kbdClick" _key="Enter"><span>Enter</span></td>
</tr>
</table>
</div>
Expand Down Expand Up @@ -82,7 +82,7 @@
<td class="kbdH kbdClick" _key=")"><span>)</span></td>
<td class="kbdH kbdClick" _key="("><span>(</span></td>
<td class="kbdH kbdClick" _key="/"><span>/</span></td>
<td style="width: 2px;"><span></span></td>
<td class="kbdH kbdClick" _key="^"><span>^</span></td>
<td class="kbdH kbdClick" _key="1"><span>1</span></td>
<td class="kbdH kbdClick" _key="2"><span>2</span></td>
<td class="kbdH kbdClick" _key="3"><span>3</span></td>
Expand All @@ -97,23 +97,23 @@
<td class="kbdH kbdClick" _key="@"><span>@</span></td>
<td class="kbdH kbdClick" _key='"'><span>"</span></td>
<td class="kbdH kbdClick" _key="*"><span>*</span></td>
<td style="width: 2px;"><span></span></td>
<td class="kbdH kbdClick" _key="~"><span>~</span></td>
<td class="kbdH kbdClick" _key="4"><span>4</span></td>
<td class="kbdH kbdClick" _key="5"><span>5</span></td>
<td class="kbdH kbdClick" _key="6"><span>6</span></td>
<td style="width: 2px;"><span></span></td>
<td class="kbdD kbdClick" _key="Close"><span class="kEnter"></span></td>
<td class="kbdD kbdClick" _key="Enter"><span class="kEnter"></span></td>
</tr>
<tr>
<td class="kbdH kbdClick" _key="?"><span>?</span></td>
<td class="kbdH kbdClick" _key="!"><span>!</span></td>
<td class="kbdH kbdClick" _key="'"><span>'</span></td>
<td class="kbdH kbdClick" _key="}"><span>}</span></td>
<td class="kbdH kbdClick" _key="_"><span>_</span></td>
<td class="kbdH kbdClick" _key="<"><span>&lt;</span></td>
<td class="kbdH kbdClick" _key=">"><span>&gt;</span></td>
<td class="kbdH kbdClick" _key="-"><span>-</span></td>
<td style="width: 2px;"><span></span></td>
<td class="kbdH kbdClick" _key="7"><span>7</span></td>
<td class="kbdH kbdClick" _key="`"><span>`</span></td>
<td class="kbdH kbdClick" _key="7"><span>7</span></td>
<td class="kbdH kbdClick" _key="8"><span>8</span></td>
<td class="kbdH kbdClick" _key="9"><span>9</span></td>
<td style="width: 2px;"><span></span></td>
Expand All @@ -127,12 +127,12 @@
<td class="kbdH kbdClick" _key="#"><span>#</span></td>
<td class="kbdH kbdClick" _key=","><span>,</span></td>
<td class="kbdH kbdClick" _key="+"><span>+</span></td>
<td style="width: 2px;"><span></span></td>
<td class="kbdH kbdClick" _key="%"><span>%</span></td>
<td colspan="2" class="kbdH kbdClick" _key="0"><span>0</span></td>
<td class="kbdD kbdClick" _key="."><span>.</span></td>
<td style="width: 2px;"><span></span></td>
<td class="kbdD kbdClick" _key="Close"><span class="kClose"></span></td>
</tr>
</table>
</div>
</div>
</div>
96 changes: 96 additions & 0 deletions keyboard_it.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<div id="virtualKeyboardChromeExtensionOverlayItA" _state="closed" class="virtualKeyboardChromeExtensionOverlay" style="display: none;">
<ul class="virtualKeyboardChromeExtensionOverlayKeysUl">
<li class="virtualKeyboardChromeExtensionOverlayButton kdbCase" _action="key" _key="a">a</li>
<li class="virtualKeyboardChromeExtensionOverlayButton kdbCase" _action="key" _key="&agrave;" _keyC="&Agrave;">&agrave;</li>
</ul>
</div>

<div id="virtualKeyboardChromeExtensionOverlayItE" _state="closed" class="virtualKeyboardChromeExtensionOverlay" style="display: none;">
<ul class="virtualKeyboardChromeExtensionOverlayKeysUl">
<li class="virtualKeyboardChromeExtensionOverlayButton kdbCase" _action="key" _key="e">e</li>
<li class="virtualKeyboardChromeExtensionOverlayButton kdbCase" _action="key" _key="&eacute;" _keyC="&Eacute;">&eacute;</li>
<li class="virtualKeyboardChromeExtensionOverlayButton kdbCase" _action="key" _key="&egrave;" _keyC="&Egrave;">&egrave;</li>
</ul>
</div>

<div id="virtualKeyboardChromeExtensionOverlayItI" _state="closed" class="virtualKeyboardChromeExtensionOverlay" style="display: none;">
<ul class="virtualKeyboardChromeExtensionOverlayKeysUl">
<li class="virtualKeyboardChromeExtensionOverlayButton kdbCase" _action="key" _key="i">i</li>
<li class="virtualKeyboardChromeExtensionOverlayButton kdbCase" _action="key" _key="&igrave;" _keyC="&Igrave;">&igrave;</li>
</ul>
</div>

<div id="virtualKeyboardChromeExtensionOverlayItO" _state="closed" class="virtualKeyboardChromeExtensionOverlay" style="display: none;">
<ul class="virtualKeyboardChromeExtensionOverlayKeysUl">
<li class="virtualKeyboardChromeExtensionOverlayButton kdbCase" _action="key" _key="o">o</li>
<li class="virtualKeyboardChromeExtensionOverlayButton kdbCase" _action="key" _key="&ograve;" _keyC="&Ograve;">&ograve;</li>
</ul>
</div>

<div id="virtualKeyboardChromeExtensionOverlayItU" _state="closed" class="virtualKeyboardChromeExtensionOverlay" style="display: none;">
<ul class="virtualKeyboardChromeExtensionOverlayKeysUl">
<li class="virtualKeyboardChromeExtensionOverlayButton kdbCase" _action="key" _key="u">u</li>
<li class="virtualKeyboardChromeExtensionOverlayButton kdbCase" _action="key" _key="&ugrave;" _key="&Ugrave;">&ugrave;</li>
</ul>
</div>

<table cellpadding="2" class="virtualKeyboardChromeExtensionMainKeys">
<tr>
<td class="kbdH kdbCase kbdClick" _key="q"><span>q</span></td>
<td class="kbdH kdbCase kbdClick" _key="w"><span>w</span></td>
<td class="kbdH kdbCase kbdClick kMenu" _menu="ItE" _hoverOnly="true" _key="e"><span>e</span></td>
<td class="kbdH kdbCase kbdClick" _key="r"><span>r</span></td>
<td class="kbdH kdbCase kbdClick" _key="t"><span>t</span></td>
<td class="kbdH kdbCase kbdClick" _key="y"><span>y</span></td>
<td class="kbdH kdbCase kbdClick kMenu" _menu="ItU" _hoverOnly="true" _key="u"><span>u</span></td>
<td class="kbdH kdbCase kbdClick kMenu" _menu="ItI" _hoverOnly="true" _key="i"><span>i</span></td>
<td class="kbdH kdbCase kbdClick kMenu" _menu="ItO" _hoverOnly="true" _key="o"><span>o</span></td>
<td class="kbdH kdbCase kbdClick" _key="p"><span>p</span></td>
<td class="kbdHB kbdClick" _key="Backspace"><span>Backspace</span></td>
</tr>
</table>

<table cellpadding="2" class="virtualKeyboardChromeExtensionMainKeys">
<tr>
<td style="width: 1px"><span></span></td>
<td class="kbdH kdbCase kbdClick kMenu" _menu="ItA" _hoverOnly="true" _key="a"><span>a</span></td>
<td class="kbdH kdbCase kbdClick" _key="s"><span>s</span></td>
<td class="kbdH kdbCase kbdClick" _key="d"><span>d</span></td>
<td class="kbdH kdbCase kbdClick" _key="f"><span>f</span></td>
<td class="kbdH kdbCase kbdClick" _key="g"><span>g</span></td>
<td class="kbdH kdbCase kbdClick" _key="h"><span>h</span></td>
<td class="kbdH kdbCase kbdClick" _key="j"><span>j</span></td>
<td class="kbdH kdbCase kbdClick" _key="k"><span>k</span></td>
<td class="kbdH kdbCase kbdClick" _key="l"><span>l</span></td>
<td class="kbdH kdbCase kbdClick" _key="'"><span>'</span></td>
<td class="kbdHBE kbdClick" _key="Enter"><span>Enter</span></td>
</tr>
</table>

<table cellpadding="2" class="virtualKeyboardChromeExtensionMainKeys">
<tr>
<td class="kbdShift kbdClick" _key="Shift"><span class="kShift"></span></td>
<td class="kbdH kdbCase kbdClick" _key="z"><span>z</span></td>
<td class="kbdH kdbCase kbdClick" _key="x"><span>x</span></td>
<td class="kbdH kdbCase kbdClick" _key="c"><span>c</span></td>
<td class="kbdH kdbCase kbdClick" _key="v"><span>v</span></td>
<td class="kbdH kdbCase kbdClick" _key="b"><span>b</span></td>
<td class="kbdH kdbCase kbdClick" _key="n"><span>n</span></td>
<td class="kbdH kdbCase kbdClick" _key="m"><span>m</span></td>
<td class="kbdH kbdClick" _key=","><span>,</span></td>
<td class="kbdH kbdClick" _key="."><span>.</span></td>
<td class="kbHideEmailInput kbdH kbdClick" _key="?"><span>?</span></td>
<td class="kbEmailInput kbdH kbdClick" _key="@"><span>@</span></td>
<td id="urlButton" class="kbdH kbdClick" _key="Url"><span>URL</span></td>
<td class="kbdShift kbdClick" _key="Shift"><span class="kShift"></span></td>
</tr>
</table>

<table cellpadding="2" class="virtualKeyboardChromeExtensionMainKeys">
<tr>
<td class="kbdD kbdClick" _key="&123"><span class="kAbc">&123</span></td>
<td width="10" id="settingsButton" _menu="Settings" class="kbdD kbdClick kSettings kMenu" _key="empty"><span></span></td>
<td class="kbdS kbdClick" _key=" "><span></span></td>
<td class="kbdD kbdClick" _key="Close"><span class="kClose"></span></td>
</tr>
</table>
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"keyboard_en.html",
"keyboard_ru.html",
"style.css",
"options.js",
"options/*",
"toggle.html",
"toggle.js",
"icons/*",
Expand Down
Loading

0 comments on commit 13322cd

Please sign in to comment.