merging the final gematro version updates and adding autoloading themes
This commit is contained in:
1 parent
b60a7320ab
commit
42d7052a37
11 files changed
+103
-36
No files matched your search
@@ -21,6 +21,9 @@ The Hyperdope Gematria project values these principles:
|
||||
### Features:
|
||||
<ul>
|
||||
<li>AUTOLOADING gematria word database for instant phrase matching</li>
|
||||
<li>AUTO Theme - set your favorite calculator skin to load by default</li>
|
||||
<li>Virtual Keyboard</li>
|
||||
<li>Configurable image scaling</li>
|
||||
<li>History table editing</li>
|
||||
<li>Dynamic highlighter with filtering</li>
|
||||
<li>Support for characters with diacritical marks</li>
|
||||
@@ -46,6 +49,10 @@ If you do not need the auto loading db feature, simply download the repo and ope
|
||||
|
||||
If you are not interested in using this tool offline or self-hosting and just want to use the tool with the full word matching experience, navigate the project's [official hosted version](http://www.hyperdope.com/gematria).
|
||||
|
||||
### Changing the Theme
|
||||
|
||||
To change the theme of the calclulator interface first backup your current default-interface.js (in the theme/ folder). Make a copy of your desired theme and rename it to default-interface.js.
|
||||
|
||||
|
||||
## Contributing
|
||||
|
||||
|
||||
+12
-7
@@ -300,6 +300,7 @@ function updateCipherChart(curCipher) {
|
||||
}
|
||||
|
||||
curCiphCol = (optColoredCiphers) ? 'color: hsl('+curCipher.H+' '+curCipher.S+'% '+curCipher.L+'% / 1)' : ''
|
||||
curCiphFaintCol = (optColoredCiphers) ? 'color: hsl('+curCipher.H+' '+curCipher.S+'% '+curCipher.L+'% / 0.25)' : ''
|
||||
curGradCol = (optColoredCiphers) ? 'hsl('+curCipher.H+' '+curCipher.S+'% '+curCipher.L+'% / 0.2)' : 'hsl(0 0% 0% / 0.1)'
|
||||
|
||||
var o = 'background: var(--body-bg-accent);'
|
||||
@@ -316,11 +317,15 @@ function updateCipherChart(curCipher) {
|
||||
$("#ChartSpot").attr("style", o);
|
||||
|
||||
o = '<table id="ChartTable">'
|
||||
o += '<tbody><tr>'
|
||||
o += '<tbody>'
|
||||
|
||||
o += '<td colspan="' + curCipher.cArr.length + '">'
|
||||
o += '<tr>'
|
||||
o += '<td id="spaceChartBtn" style="font-size: 150%; font-weight: 500; '+curCiphFaintCol+'">-</td>' // Space
|
||||
o += '<td id="capsNameChartBtn" colspan="' + (Math.ceil(curCipher.cArr.length / 2) - 2) + '">'
|
||||
o += '<font style="font-size: 150%; font-weight: 500; '+curCiphCol+'">' + curCipher.cipherName + '</font>'
|
||||
o += '</td></tr><tr>'
|
||||
o += '</td>'
|
||||
o += '<td id="backspaceChartBtn" style="font-size: 150%; font-weight: 500; '+curCiphFaintCol+'">←</td>' // Backspace
|
||||
o += '</tr><tr>'
|
||||
|
||||
var halfL = curCipher.cArr.length / 2
|
||||
for (var x = 0; x < curCipher.cArr.length; x++) {
|
||||
@@ -331,7 +336,7 @@ function updateCipherChart(curCipher) {
|
||||
}
|
||||
o += '</tr><tr>'
|
||||
}
|
||||
o += '<td class="ChartChar" font style="'+curCiphCol+'">' + String.fromCodePoint(curCipher.cArr[x]) + '</td>'
|
||||
o += (showCapsCipherChart && !curCipher.caseSensitive) ? '<td class="ChartChar" font style="'+curCiphCol+'">' + String.fromCodePoint(curCipher.cArr[x]).toUpperCase() + '</td>' : '<td class="ChartChar" font style="'+curCiphCol+'">' + String.fromCodePoint(curCipher.cArr[x]) + '</td>'
|
||||
}
|
||||
if (curCipher.cArr.length % 2 == 1) { o += '<td class="ChartChar" font style="'+curCiphCol+'"></td>' } // empty character cell to make even rows
|
||||
o += '</tr><tr>'
|
||||
@@ -351,15 +356,15 @@ function updateCipherChartGemCard(impName = breakCipher) {
|
||||
return
|
||||
}
|
||||
|
||||
curCiphCol = (optColoredCiphers) ? 'color: hsl('+curCipher.H+' '+curCipher.S+'% '+curCipher.L+'% / 1)' : ''
|
||||
curGradCol = (optColoredCiphers) ? 'hsl('+curCipher.H+' '+curCipher.S+'% '+curCipher.L+'% / 0.2)' : 'hsl(0 0% 0% / 0.1)'
|
||||
|
||||
var cSpot
|
||||
for (x = 0; x < cipherList.length; x++) {
|
||||
if (cipherList[x].cipherName == impName) { cSpot = x; break; }
|
||||
}
|
||||
curCipher = cipherList[cSpot]
|
||||
|
||||
curCiphCol = (optColoredCiphers) ? 'color: hsl('+curCipher.H+' '+curCipher.S+'% '+curCipher.L+'% / 1)' : ''
|
||||
curGradCol = (optColoredCiphers) ? 'hsl('+curCipher.H+' '+curCipher.S+'% '+curCipher.L+'% / 0.2)' : 'hsl(0 0% 0% / 0.1)'
|
||||
|
||||
// gradient table background based on cipher color
|
||||
o = '<table id="ChartTable" style="background: var(--body-bg-accent);">'
|
||||
if (optGradientCharts) {
|
||||
|
||||
+15
-9
@@ -85,6 +85,8 @@ var coderainSatDefault = 0.2
|
||||
var coderainLit = 0.19 // coderain lightness
|
||||
var coderainLitDefault = 0.19
|
||||
|
||||
var optImageScale = 1.0 // image scaling factor for screenshots
|
||||
|
||||
var calcOptionsArr = [ // used to export/import settings
|
||||
"'optNumCalcMethod'+' = '+optNumCalcMethod",
|
||||
"'optFiltCrossCipherMatch'+' = '+optFiltCrossCipherMatch",
|
||||
@@ -120,15 +122,13 @@ var calcOptionsArr = [ // used to export/import settings
|
||||
"'optGemMultCharPosReverse'+' = '+optGemMultCharPosReverse",
|
||||
'"encDefAlphArr"+" = \x27"+String(encPrevAlphStr).replace(/,/g,"")+"\x27"',
|
||||
'"encDefVowArr"+" = \x27"+String(encPrevVowStr).replace(/,/g,"")+"\x27"',
|
||||
'"encDefExcLetArr"+" = \x27"+String(encPrevExcLetStr).replace(/,/g,"")+"\x27"'
|
||||
'"encDefExcLetArr"+" = \x27"+String(encPrevExcLetStr).replace(/,/g,"")+"\x27"',
|
||||
"'optImageScale'+' = '+optImageScale"
|
||||
]
|
||||
|
||||
var runOnceRestoreCalcSet = true
|
||||
function initCalc(defSet = false) { // run after page has finished loading
|
||||
configureCalcInterface(true)
|
||||
if (navigator.userAgent.match('Android')) {
|
||||
$('#enterPhraseBtn').removeClass('hideValue') // "Enter" button for Android devices
|
||||
}
|
||||
if (defSet && typeof calcOpt !== 'undefined') importCalcOptions(calcOptions); // load settings from ciphers.js
|
||||
generateRndColors()
|
||||
if (runOnceRestoreCalcSet && window.localStorage.getItem('userCalcSettings') !== null) {
|
||||
@@ -299,8 +299,8 @@ function createAboutMenu() { // create menu with all cipher catergories
|
||||
// o += '<div style="margin: 1em;"></div>'
|
||||
// o += '<input class="intBtn" type="button" value="Join Discord Server" onclick="gotoDiscordServer()">'
|
||||
// o += '<div style="margin: 0.5em;"></div>'
|
||||
// o += '<input class="intBtn" type="button" value="GitHub Repository" onclick="gotoGitHubRepo()">'
|
||||
// o += '<div style="margin: 0.5em;"></div>'
|
||||
o += '<input class="intBtn" type="button" value="GitHub Repository" onclick="gotoGitHubRepo()">'
|
||||
o += '<div style="margin: 0.5em;"></div>'
|
||||
o += '<input class="intBtn" type="button" value="Quickstart Guide" onclick="displayQuickstartGuide()">'
|
||||
// o += '<div style="margin: 0.5em;"></div>'
|
||||
// o += '<input class="intBtn" type="button" value="Contacts" onclick="displayContactInfo()">'
|
||||
@@ -310,7 +310,7 @@ function createAboutMenu() { // create menu with all cipher catergories
|
||||
document.getElementById("calcOptionsPanel").innerHTML = o
|
||||
}
|
||||
|
||||
function gotoGitHubRepo() { window.open("/home.html", "_blank") }
|
||||
function gotoGitHubRepo() { window.open("https://github.com/malonehunter/hyperdope-gematria", "_blank") }
|
||||
|
||||
function gotoDiscordServer() { window.open("/home.html", "_blank") }
|
||||
|
||||
@@ -611,6 +611,8 @@ function createExportMenu() {
|
||||
o += '<input id="btn-num-props-png" class="intBtn" type="button" value="Print Number Properties">' // print number properties
|
||||
o += '<div style="margin: 0.5em;"></div>'
|
||||
o += '<input id="btn-date-calc-png" class="intBtn" type="button" value="Print Date Durations">' // print date durations
|
||||
|
||||
o += '<div class="enterAsWordsLimit"><span class="optionTableLabel">Image scale</span><input id="iScaleBox" onchange="conf_iScale()" type="text" value="'+optImageScale.toFixed(1)+'"></div>' // image scale
|
||||
|
||||
o += '<hr style="background-color: var(--separator-accent2); height: 1px; border: none; margin: 0.75em;">'
|
||||
|
||||
@@ -645,6 +647,10 @@ function createExportMenu() {
|
||||
o += '</div></div>'
|
||||
document.getElementById("calcOptionsPanel").innerHTML = o
|
||||
}
|
||||
function conf_iScale() { // image scale
|
||||
var element = document.getElementById("iScaleBox")
|
||||
optImageScale = Number(Number(element.value).toFixed(1)) // 1.0
|
||||
}
|
||||
|
||||
// ========================= Color Functions ========================
|
||||
|
||||
@@ -1379,7 +1385,7 @@ function phraseBoxKeypress(e) { // run on each keystroke inside text box - onkey
|
||||
|
||||
function addPhraseToHistory(phr, upd) { // add new phrase to search history
|
||||
var phrPos
|
||||
if (phr !== "" && isNaN(phr)) { // if input is not empty and not a number
|
||||
if (phr !== "" && isNaN(phr) || phr == "Infinity") { // if input is not empty and not a number
|
||||
phrPos = sHistory.indexOf(phr);
|
||||
if (phrPos > -1) { // if phrase is in history
|
||||
sHistory.splice(phrPos, 1) // first remove it from array
|
||||
@@ -1391,7 +1397,7 @@ function addPhraseToHistory(phr, upd) { // add new phrase to search history
|
||||
|
||||
function addPhraseToHistoryUnshift(phr, upd) { // add new phrase to the beginning
|
||||
var phrPos
|
||||
if (phr !== "" && isNaN(phr)) { // if input is not empty and not a number
|
||||
if (phr !== "" && isNaN(phr) || phr == "Infinity") { // if input is not empty and not a number
|
||||
phrPos = sHistory.indexOf(phr);
|
||||
if (phrPos > -1) { // if phrase is in history
|
||||
sHistory.splice(phrPos, 1) // first remove it from array
|
||||
|
||||
+1
-1
@@ -278,7 +278,7 @@ function encodeGematria(n_phr, encCiphValsArr, encCiphIndArr, exclude = []) {
|
||||
// find solutions
|
||||
for (i = 0; i < n_phr; i++) {
|
||||
solution = encodingFindSylMatch(encCiphValsArr, encCiphIndArr)
|
||||
solution = (optGemSubstitutionMode) ? solution.trim()+' [<a href="/home.html'+solution.trim()+'&language=english&t=0&d=3&include=&exclude=&n=&m=&a=n&l=n&q=n&k=1&source=adv" target="_blank" rel="noopener noreferrer nofollow">anagram</a>]' : solution.trim()
|
||||
solution = (optGemSubstitutionMode) ? solution.trim()+' [<a href="https://new.wordsmith.org/anagram/anagram.cgi?anagram='+solution.trim()+'&language=english&t=0&d=3&include=&exclude=&n=&m=&a=n&l=n&q=n&k=1&source=adv" target="_blank" rel="noopener noreferrer nofollow">anagram</a>]' : solution.trim()
|
||||
queryResult.push(solution) // add phrase, remove spaces
|
||||
}
|
||||
queryResultInitial = [...queryResult] // save matches
|
||||
|
||||
+2
-2
@@ -81,8 +81,8 @@ function importFileAction(file, hasLocalFile) {
|
||||
|
||||
// detect cipher.js, load user ciphers
|
||||
if (uCiph[0] == "// ciphers.js") {
|
||||
optShowExtraCiphers = false // clear "Show Extra Ciphers" option
|
||||
document.getElementById('chkbox_SEC').checked = false
|
||||
// optShowExtraCiphers = false // clear "Show Extra Ciphers" option
|
||||
// document.getElementById('chkbox_SEC').checked = false
|
||||
|
||||
if (precalcDBLoaded) { // return if precalculated database is loaded
|
||||
displayCalcNotification("Cipher import is disabled for CSV Databases!", 3000)
|
||||
|
||||
+4
-1
@@ -4,7 +4,10 @@ function openImageWindow(element, imgName = "", sRatio = window.devicePixelRatio
|
||||
var imageDataURL, wnd, scl
|
||||
if ( $(element).length ) { // if specified element exists
|
||||
// if browser zoom level is more than passed value, use current zoom level
|
||||
if (typeof sRatio !== 'undefined' && sRatio < window.devicePixelRatio) { sRatio = window.devicePixelRatio}
|
||||
if (isNaN(sRatio)) { sRatio = window.devicePixelRatio }
|
||||
if (element == '#ChartSpot') { // remove space and backspace labels from Cipher Chart
|
||||
$('#spaceChartBtn').text('');$('#backspaceChartBtn').text('');
|
||||
}
|
||||
// html2canvas($(element)[0], {allowTaint: false, backgroundColor: window.getComputedStyle(document.querySelector('body')).getPropertyValue('background-color'), width: $(element).outerWidth()+2, height: $(element).outerHeight()+2, scale: sRatio} ).then((canvas) => { // e.g. html2canvas($("#ChartTable")[0]).then ...
|
||||
html2canvas($(element)[0], {allowTaint: false, backgroundColor: "rgba(0,0,0,0)", width: $(element).outerWidth()+10, height: $(element).outerHeight()+10, scale: sRatio} ).then((canvas) => { // e.g. html2canvas($("#ChartTable")[0]).then ...
|
||||
//allowTaint: true, backgroundColor: "rgba(22,26,34,1.0)" - render white bg as transparent
|
||||
|
||||
+36
-2
@@ -327,7 +327,7 @@ $(document).ready(function(){
|
||||
// 123_number_properties.png OR 123_alt_number_properties.png
|
||||
var curNum = document.querySelector('.numPropTooltip').dataset.number // current number
|
||||
var fileName = curNum+"_number_properties.png";
|
||||
openImageWindow(".numPropTooltip", fileName, 2.0);
|
||||
openImageWindow(".numPropTooltip", fileName, optImageScale);
|
||||
});
|
||||
|
||||
function loadFile(filePath) {
|
||||
@@ -345,6 +345,10 @@ $(document).ready(function(){
|
||||
var file = loadFile('db.txt');
|
||||
importFileAction(file, true);
|
||||
|
||||
//Autoload Theme
|
||||
var file = loadFile('theme/default-interface.js');
|
||||
importFileAction(file, true);
|
||||
|
||||
$("body").on("change", "#importFileDummy", function(){
|
||||
var file = document.querySelector("#importFileDummy").files[0];
|
||||
console.log('upload');
|
||||
@@ -393,6 +397,8 @@ var freq = []; // frequency of matches found with auto highlighter (combined)
|
||||
var prevPhrID = -1 // index of previously selected phrase in history table
|
||||
var prevCiphIndex = -1 // index of previously selected cipher in enabled ciphers table
|
||||
|
||||
var showCapsCipherChart = false // display uppercase letters in Cipher Chart
|
||||
|
||||
$(document).ready(function(){
|
||||
|
||||
// Ctrl key modifier
|
||||
@@ -471,9 +477,37 @@ $(document).ready(function(){
|
||||
});
|
||||
|
||||
// breakdown or cipher table letter/number clicked
|
||||
$("body").on("click", ".ChartChar, .ChartVal, .BreakChar, .BreakVal, .BreakValDark, .BreakWordSum", function () {
|
||||
$("body").on("click", ".ChartVal, .BreakChar, .BreakVal, .BreakValDark, .BreakWordSum", function () {
|
||||
$(this).toggleClass('highlightCipherTable');
|
||||
});
|
||||
// cipher chart letter click (keyboard)
|
||||
$("body").on("click", ".ChartChar", function () { // letters
|
||||
$('#phraseBox').val($('#phraseBox').val()+$(this).text());
|
||||
$(this).toggleClass('highlightCipherTable'); el = $(this);
|
||||
setTimeout(function (){ el.toggleClass('highlightCipherTable'); }, 75);
|
||||
updateEnabledCipherTable();
|
||||
updateWordBreakdown(breakCipher,false,false);
|
||||
});
|
||||
$("body").on("click", "#spaceChartBtn", function () { // space
|
||||
$('#phraseBox').val($('#phraseBox').val()+' ');
|
||||
$(this).toggleClass('highlightCipherTable'); el = $(this);
|
||||
setTimeout(function (){ el.toggleClass('highlightCipherTable'); }, 75);
|
||||
updateEnabledCipherTable();
|
||||
updateWordBreakdown(breakCipher,false,false);
|
||||
});
|
||||
$("body").on("click", "#backspaceChartBtn", function () { // backspace
|
||||
$('#phraseBox').val($('#phraseBox').val().slice(0,-1));
|
||||
$(this).toggleClass('highlightCipherTable'); el = $(this);
|
||||
setTimeout(function (){ el.toggleClass('highlightCipherTable'); }, 75);
|
||||
updateEnabledCipherTable();
|
||||
updateWordBreakdown(breakCipher,false,false);
|
||||
});
|
||||
$("body").on("click", "#capsNameChartBtn", function () { // shift
|
||||
showCapsCipherChart = !showCapsCipherChart
|
||||
updateWordBreakdown(breakCipher,false,true); // update chart
|
||||
$(this).toggleClass('highlightCipherTable'); el = $(this);
|
||||
setTimeout(function (){ el.toggleClass('highlightCipherTable'); }, 75);
|
||||
});
|
||||
|
||||
// history table value clicked (right mouse button)
|
||||
// disable context menu for the element so right click works
|
||||
|
||||
+1
-1
@@ -98,7 +98,7 @@ function listNumberPropertiesAlt(val) {
|
||||
|
||||
o += '<tr><td colspan=2 class="numPropLabel">Tic Xenotation</td></tr>'
|
||||
o += '<tr><td colspan=2 class="numTicXeno">'+getNumXenotation(val)+'</td></tr>'
|
||||
// o += '<tr><td colspan=2 class="numTicXeno">'+getNumNullXenotation(val)+'</td></tr>'
|
||||
o += '<tr><td colspan=2 class="numTicXeno">'+getNumNullXenotation(val)+'</td></tr>'
|
||||
|
||||
o += '<tr><td colspan=2><hr class="numPropSeparator"></td></tr>'
|
||||
|
||||
|
||||
+5
-7
@@ -14,10 +14,6 @@ function displayQuickstartGuide() {
|
||||
|
||||
o += '<hr class="numPropSeparator">'
|
||||
|
||||
o += '<ul><li><a class="qgLink" href="https://gematriaresearch.blogspot.com/">Gematria Research (Luís Gonçalves)</a><br><span class="qgNote">History of neglected ciphers and methods used in the practice of gematria</span></li></ul>'
|
||||
|
||||
o += '<hr class="numPropSeparator">'
|
||||
|
||||
o += '<p class="qgMedium">Phrase Box - enter any word, phrase or number</p>\n<ul><li><span class="qgBold">"Enter"</span> - add phrase to history table</li><li><span class="qgBold">"Up"</span> and <span class="qgBold">"Down"</span> arrow keys - select phrase from history table<br>Press <span class="qgBold">"Down"</span> to select previously entered phrase</li><li><span class="qgBold">"Delete"</span> - delete current phrase from history table</li><li>Additional Shortcuts:<br><span class="qgBold">"Home"</span> - clear history table<br><span class="qgBold">"End"</span> - shortcut for <span class="qgBold">"Enter As Words"</span> function</li></ul>'
|
||||
|
||||
o += '<p class="qgMedium">Highlight Box - enter space delimited numbers</p>\n<ul><li><span class="qgBold">"Enter"</span> - activate filter (remove nonmatching phrases and ciphers)</li><li><span class="qgBold">"Delete"</span> - clear box contents (does not reset filter)<br><span class="qgNote">Note: Reset filter with an "X" button near the box</span></li><li>Additional Shortcuts:<br><span class="qgBold">"Insert"</span> - find all available matches<br><span class="qgBold">"Ctrl + Delete"</span> - reset filter and revert to initial history state<br><span class="qgNote">Note: Type "0 0" or "Ctrl + Left Click" on "0" cell twice to highlight zero<br>History table is recalculated on each keystroke</span></li></ul>'
|
||||
@@ -26,7 +22,7 @@ function displayQuickstartGuide() {
|
||||
|
||||
o += '<p class="qgMedium">Number Properties</p>\n<ul><li><span class="qgBold">"Ctrl"</span> key pressed, mouse over number - show number properties</li><li><span class="qgBold">"Shift"</span> key pressed, mouse over number - show additional number properties</li><li>All properties are supported only for values up to 10 million</li><li>Drag cursor across the tooltip to close it<br>Mobile devices - click on the tooltip first, then click outside to close<br><span class="qgNote">Note: Number Properties are available inside Enabled Ciphers Table, History Table and Query Table</span></li></ul>'
|
||||
|
||||
o += '<p class="qgMedium">Cipher/Breakdown Chart</p>\n<ul><li><span class="qgBold">"Left Click"</span> on letters/values to highlight cells</li></ul>'
|
||||
o += '<p class="qgMedium">Cipher/Breakdown Chart</p>\n<ul><li><span class="qgBold">Cipher Chart</span> can be used as a virtual keyboard</li><li><span class="qgBold">"Left Click"</span> in top left corner for <span class="qgBold">Space</span>, top right corner for <span class="qgBold">Backspace</span></li><li><span class="qgBold">"Left Click"</span> on Cipher Name to switch to uppercase letters</li><li><span class="qgBold">"Left Click"</span> on letters to type</li><li><span class="qgBold">"Left Click"</span> on numbers/letters to highlight cells (<span class="qgBold">Breakdown Chart</span>)</li></ul>'
|
||||
|
||||
o += '<p class="qgMedium">History Table</p><ul><li><span class="qgBold">"Left Click"</span> on value - toggle blinking effect (temporary)</li><li><span class="qgBold">"Right Click"</span> on value - toggle cell visibility (temporary)</li><li><span class="qgBold">"Shift + Left Click"</span> on cipher name - disable cipher</li><li><span class="qgBold">"Shift + Left Click"</span> on phrase - delete phrase from history</li><li><span class="qgBold">"Ctrl + Left Click"</span> on phrase - load phrase into <span class="qgBold">Phrase Box</span></li><li><span class="qgBold">"Ctrl + Right Click"</span> on phrase - reorder phrases, select the same phrase to cancel</li><li><span class="qgBold">"Ctrl + Left Click"</span> on value (cell) - toggle highlighting for number<br>Highlighter always recalculates table, temporary effects are removed<br><span class="qgNote">Note: Click on cell, not on the number itself, otherwise you will open number properties</span></li></ul>'
|
||||
|
||||
@@ -79,7 +75,9 @@ function displayQuickstartGuide() {
|
||||
o += '<hr class="numPropSeparator">'
|
||||
o += '<p><span class="qgBold2">Export</p>'
|
||||
|
||||
o += '<ul><li><span class="qgBold">"Print Cipher Chart", etc</span> - render correspondent element as an image (PNG), image preview is opened first<br><span class="qgNote">Note: If text or table are misaligned, click "Refresh" button to generate a new image</span></li>'
|
||||
o += '<ul><li><span class="qgBold">"Print Cipher Chart", etc</span> - render corresponding element as an image (PNG), image preview is opened first<br><span class="qgNote">Note: If text or table are misaligned, click "Refresh" button to generate a new image</span></li>'
|
||||
|
||||
o += '<li><span class="qgBold">"Image Scale"</span> - scaling factor to control screenshot size (e.g. 1.0, 1.5, 2.0)</li>'
|
||||
|
||||
o += '<li><span class="qgBold">"Import File"</span> - import a <span class="qgBold">.txt</span> file (one phrase per line), previously exported CSV history, exported matches or user ciphers<br><span class="qgNote">Note: You can also drag and drop file into Phrase Box</span></li>'
|
||||
|
||||
@@ -116,7 +114,7 @@ function displayQuickstartGuide() {
|
||||
|
||||
o += '<p class="qgMedium">Query Table</p>\n'
|
||||
|
||||
o += '<ul><li>Use <span class="qgBold">Search Bar</span> to filter results<ul><li><span class="qgBold">"Enter"</span> - apply filter<br><span class="qgNote">Note: If box is empty, filter is cleared</span></li><li><span class="qgBold">"Delete"</span> - clear filter</li></ul><span class="qgNote">Note: Search Bar supports regular expressions</span>'
|
||||
o += '<ul><li>Use <span class="qgBold">Search Bar</span> to filter results<ul><li><span class="qgBold">"Enter"</span> - apply filter<br><span class="qgNote">Note: If box is empty, filter is cleared</span></li><li><span class="qgBold">"Delete"</span> - clear filter</li></ul><span class="qgNote">Note: Search is case sensitive, regular expressions are supported</span>'
|
||||
|
||||
o += '<li>Use <span class="qgBold">"Up"</span> and <span class="qgBold">"Down"</span> arrow keys to scroll one page at a time or use the mouse wheel<br><span class="qgNote">Note: Up/Down arrow keys work only when input is focused inside textbox with current index</span></li><li>A horizontal scroll bar above the table can be used for navigation as well or you can input the exact position inside the box with index</li>'
|
||||
|
||||
|
||||
+14
-5
@@ -534,6 +534,13 @@ body {
|
||||
text-align: center;
|
||||
padding-bottom: 1em;
|
||||
}
|
||||
.ChartChar, .ChartVal, #spaceChartBtn, #capsNameChartBtn, #backspaceChartBtn {
|
||||
cursor: pointer;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* Buttons, Text Boxes, Controls */
|
||||
/* ########################################## */
|
||||
@@ -742,7 +749,7 @@ body {
|
||||
font-family: var(--font-family), "Arial", sans-serif;
|
||||
outline: none;
|
||||
background-color: var(--btn-bg-accent);
|
||||
background-color: transparent;
|
||||
/*background-color: transparent;*/
|
||||
}
|
||||
.intBtn2, .ciphEditBtn { /* Cipher Categories */
|
||||
display: inline-block;
|
||||
@@ -757,7 +764,7 @@ body {
|
||||
font-family: var(--font-family), "Arial", sans-serif;
|
||||
outline: none;
|
||||
background-color: var(--btn-bg-accent);
|
||||
background-color: transparent;
|
||||
/*background-color: transparent;*/
|
||||
}
|
||||
.ciphEditBtn {
|
||||
width: auto;
|
||||
@@ -776,7 +783,7 @@ body {
|
||||
font-family: var(--font-family), "Arial", sans-serif;
|
||||
outline: none;
|
||||
background-color: var(--btn-bg-accent);
|
||||
background-color: transparent;
|
||||
/*background-color: transparent;*/
|
||||
}
|
||||
@media (max-width: 911px) { /* mobile */
|
||||
#queryDBbtn {
|
||||
@@ -824,6 +831,7 @@ body {
|
||||
margin: 0em 0em 0em 0.3em;
|
||||
min-width: 30px;
|
||||
max-width: 30px;
|
||||
color: var(--border-accent);
|
||||
}
|
||||
#calcNotification {
|
||||
position: absolute;
|
||||
@@ -874,8 +882,9 @@ body {
|
||||
padding: 0.3em;
|
||||
}
|
||||
.enterAsWordsLimit {
|
||||
border: 1px solid var(--border-accent);
|
||||
text-align: right;
|
||||
border: 1px solid var(--border-accent);
|
||||
background-color: var(--btn-bg-accent);
|
||||
color: var(--font-white-2);
|
||||
font-weight: 500;
|
||||
width: 100%;
|
||||
@@ -898,7 +907,7 @@ body {
|
||||
.optionTableLabel {
|
||||
font-size: 80%;
|
||||
}
|
||||
#phrLimitBox, #dbPageItemsBox, #dbScrollItemsBox {
|
||||
#phrLimitBox, #dbPageItemsBox, #dbScrollItemsBox, #iScaleBox {
|
||||
width: 50px;
|
||||
border: none;
|
||||
color: var(--font-white-2);
|
||||
|
||||
+6
-1
@@ -29,7 +29,8 @@ $(window).load(function(){
|
||||
|
||||
</head>
|
||||
|
||||
<body onload="initCalc(true)">
|
||||
<!-- The initialization below is duplicative if autoloading a theme. -->
|
||||
<!-- <body onload="initCalc(true)"> -->
|
||||
|
||||
<div id="loader"></div>
|
||||
<canvas id="canv"></canvas>
|
||||
@@ -38,6 +39,10 @@ $(window).load(function(){
|
||||
<span style="font-family: 'Roboto Mono';"></span>
|
||||
|
||||
<div id="calcMain">
|
||||
<!-- <left>
|
||||
<div id="mainLogo"><a href="../">Back</a> to Hyperdope Video</div>
|
||||
</left> -->
|
||||
|
||||
<center>
|
||||
<div id="mainLogo">Hyperdope Gematria</div>
|
||||
</center>
|
||||
|
||||
Reference in new issue
Block a user