_includes/section/home.html in word-games-theme-2.1.4 vs _includes/section/home.html in word-games-theme-2.1.5
- old
+ new
@@ -20,12 +20,13 @@
<div class="position-relative serachBox">
<form action="{% if page.url == '/' %}/result{% else %}{{page.url}}/result{% endif %}" id='form'
method="GET">
<div style="position: relative;">
<input style="border-radius: {{CustomColor.inputFieldBorder}}" type="text"
- placeholder="Enter up to 15 letters?" class="txtBox" value='' name="search" maxlength="15"
- required autocomplete="off">
+ placeholder="{% if page.size > 15 %}Enter up to {{page.size}} letters?{% else %}Enter up to 15 letters?{% endif %}"
+ class="txtBox" value='' name="search" maxlength="{% if page.size > 15 %}{{page.size}}{% else %}15?{% endif %}" required autocomplete="off">
+
<span class="d-none focus-border">
<i></i>
</span>
<div class="letter-close-button">
<i class="ltr-cls-btn bi bi-x-circle-fill"></i>
@@ -45,11 +46,13 @@
</div>
<br>
<div class="wrapper_dropDown d-flex justify-content-end" style="gap:15px">
<div class="advancedFilter" style="position: relative;" onclick="myFunction()">
<input type="button" value="Advanced Filter" class="filterButton">
- <div class="angle-arrow2" style="background: url(/assets/images/angle-arrow-down.svg) no-repeat center center; background-size: contain;"></div>
+ <div class="angle-arrow2"
+ style="background: url(/assets/images/angle-arrow-down.svg) no-repeat center center; background-size: contain;">
+ </div>
</div>
</div>
<div class="fillterWrapper hide">
<div class="text-right times" style="cursor: pointer;">
<img src="/assets/images/window-close.png" alt="window-close-icon" height="12px"
@@ -58,50 +61,50 @@
</div>
<div class="startsWith">
<label for="startsWith">Starts With</label>
<input autocomplete="off" type="text" id="startsWith" placeholder="Prefix" value=""
name="prefix">
- <div class="filter-tooltip" data-tip="Find words that start with these letters(AB-> Able)">
+ <div class="filter-tooltip"
+ data-tip="Find words that start with these letters(AB-> Able)">
<i class="bi bi-question-circle"></i>
</div>
</div>
<div class="mustInclude">
<label for="mustInclude">Must Contains </label>
<input autocomplete="off" type="text" id="mustInclude" placeholder="Contains"
name="contains">
- <div class="filter-tooltip"
- data-tip="Words that contain letters in this order(ab)">
+ <div class="filter-tooltip" data-tip="Words that contain letters in this order(ab)">
<i class="bi bi-question-circle"></i>
</div>
</div>
<div class="endsWith">
<label for="endsWith">End With</label>
<input autocomplete="off" type="text" id="endsWith" placeholder="Suffix" name="suffix">
<div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
- data-tip="Filter for words that ends with these letters">
+ data-tip="Filter for words that ends with these letters">
<i class="bi bi-question-circle"></i>
</div>
</div>
<div class="exculdeWith">
<label for="exculdeWith">Exculde</label>
<br>
<input autocomplete="off" type="text" id="exculdeWith" placeholder="Exculde" value=""
name="exculde">
<div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
- data-tip="Only words that not contain the letters you enter here">
+ data-tip="Only words that not contain the letters you enter here">
<i class="bi bi-question-circle"></i>
</div>
</div>
<div class="inculdeWith">
<label for="inculdeWith">Inculde</label>
<br>
<input autocomplete="off" type="text" id="inculdeWith" placeholder="Inculde" value=""
name="inculde">
<div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
- data-tip="Only words that contain the letters you enter here">
+ data-tip="Only words that contain the letters you enter here">
<i class="bi bi-question-circle"></i>
</div>
</div>
<div class="wordLength same">
@@ -113,11 +116,11 @@
style="background-color: {{CustomColor.inputButtonBg}};">
<input type="submit" value="Apply" class="btn-info text-white"
style="background-color: {{CustomColor.inputButtonBg}};">
</div>
<div class="filter-tooltip" data-toggle="tooltip" data-placement="top"
- data-tip="Filter for words with this length">
+ data-tip="Filter for words with this length">
<i class="bi bi-question-circle"></i>
</div>
</div>
</div>
@@ -153,22 +156,22 @@
advancedFilter.addEventListener('click', () => {
fillterWrapper.classList.toggle('actives')
if (fillterWrapper.classList.contains('actives')) {
fillterWrapper.style.display = "block"
fillterWrapper.style.zIndex = "999";
- fillterWrapper.style.top= "90px";
- fillterWrapper.style.background= "#fff";
- fillterWrapper.style.boxShadow= "0 0 5px rgb(0 0 0 / 40%)"
- fillterWrapper.style.padding= "15px 15px"
- fillterWrapper.style.borderRadius= "15px"
- fillterWrapper.style.height= "auto";
- fillterWrapper.style.position= "absolute";
- fillterWrapper.style.right= "-16px"
- fillterWrapper.style.margin= "1rem 0"
- fillterWrapper.style.flexDirection= "column";
- fillterWrapper.style.width= "240px"
- fillterWrapper.style.display= "inline-flex !important"
- fillterWrapper.style.gap= "5px"
+ fillterWrapper.style.top = "90px";
+ fillterWrapper.style.background = "#fff";
+ fillterWrapper.style.boxShadow = "0 0 5px rgb(0 0 0 / 40%)"
+ fillterWrapper.style.padding = "15px 15px"
+ fillterWrapper.style.borderRadius = "15px"
+ fillterWrapper.style.height = "auto";
+ fillterWrapper.style.position = "absolute";
+ fillterWrapper.style.right = "-16px"
+ fillterWrapper.style.margin = "1rem 0"
+ fillterWrapper.style.flexDirection = "column";
+ fillterWrapper.style.width = "240px"
+ fillterWrapper.style.display = "inline-flex !important"
+ fillterWrapper.style.gap = "5px"
}
fillterWrapper.classList.remove('hide')
})
function closeModal() {
\ No newline at end of file