-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from piyushwebkul/0.1
All Reported Issues are now fixed.
- Loading branch information
Showing
39 changed files
with
800 additions
and
398 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
sidebar: | ||
- title: System Requirements | ||
items: | ||
- page: Ubuntu | ||
url: /uvdemo/requirements/requirements-ubuntu.html | ||
- page: Windows | ||
url: /uvdemo/requirements/requirements-windows.html | ||
- page: Mac | ||
url: /uvdemo/requirements/requirements-mac.html | ||
|
||
- title: Installation | ||
items: | ||
- page: Ubuntu | ||
url: /uvdemo/installation/installation-ubuntu.html | ||
- page: Windows | ||
url: /uvdemo/installation/installation-windows.html | ||
- page: Mac | ||
url: /uvdemo/installation/installation-mac.html | ||
|
||
- title: Users | ||
items: | ||
- page: Groups | ||
url: /uvdemo/users/groups.html | ||
- page: Teams | ||
url: /uvdemo/users/teams.html | ||
- page: Agents | ||
url: /uvdemo/users/agents.html | ||
- page: Privileges | ||
url: /uvdemo/users/privileges.html | ||
- page: Customers | ||
url: /uvdemo/users/customers.html | ||
|
||
- title: Knowledgebase | ||
items: | ||
- page: Folder | ||
url: /uvdemo/knowledgebase/folder.html | ||
- page: Category | ||
url: /uvdemo/knowledgebase/category.html | ||
- page: Article | ||
url: /uvdemo/knowledgebase/article.html | ||
|
||
- title: Productivity | ||
items: | ||
- page: Ticket Types | ||
url: /uvdemo/productivity/ticket-type.html | ||
- page: Tags | ||
url: /uvdemo/productivity/tags.html | ||
- page: Saved Replies | ||
url: /uvdemo/productivity/replies.html | ||
- page: Workflows | ||
url: /uvdemo/productivity/workflow.html | ||
- page: Prepared Responses | ||
url: /uvdemo/productivity/prepared-response.html | ||
|
||
- title: Settings | ||
items: | ||
- page: Branding | ||
url: /uvdemo/settings/branding.html | ||
- page: Email Templates | ||
url: /uvdemo/settings/template.html | ||
- page: Swift Mailer | ||
url: /uvdemo/settings/swiftmailer.html | ||
- page: Email Settings | ||
url: /uvdemo/settings/email-settings.html | ||
- page: Block Spam | ||
url: /uvdemo/settings/block-spam.html | ||
- page: Mail Box | ||
url: /uvdemo/settings/mailbox.html | ||
|
||
- title: Helpful Links | ||
items: | ||
- page: Schedule a Demo | ||
url: https://demo.uvdesk.com/ | ||
- page: Video Tutorial | ||
url: https://www.youtube.com/channel/UCKKt4IOC7ynLwhJMP35uFeQ | ||
- page: Forum | ||
url: https://forums.uvdesk.com/ | ||
- page: Read Blogs | ||
url: https://www.uvdesk.com/en/articles/ | ||
|
||
- title: Community | ||
items: | ||
- page: Get Involved in the Community | ||
url: https://github.com/uvdesk/community-skeleton/blob/master/README.md | ||
- page: Help to Make UVdesk Community | ||
url: https://github.com/uvdesk | ||
|
||
- title: Social Sites | ||
items: | ||
- page: Twitter | ||
url: https://twitter.com/uvdesk?utm_source=&utm_medium=website&utm_content=content | ||
- page: Facebook | ||
url: https://www.facebook.com/uvdesk?utm_source=&utm_medium=website&utm_content=content | ||
- page: Youtube | ||
url: https://www.youtube.com/channel/UCKKt4IOC7ynLwhJMP35uFeQ | ||
|
||
- title: Generate Tickets | ||
items: | ||
- page: Create Ticket | ||
url: https://support.uvdesk.com/en/customer/create-ticket/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<script src="/assets/js/uvdocs.js" async defer></script> | ||
<script src="{{ site.baseurl }}/js/jekyll-search.js" type="text/javascript"></script> | ||
<script type="text/javascript"> | ||
initializeSearchBarHandler(); | ||
|
||
window.addEventListener('resize', () => { | ||
initializeSearchBarHandler(); | ||
}); | ||
|
||
function initializeSearchBarHandler() { | ||
SimpleJekyllSearch.init({ | ||
searchInput: document.querySelector('.inline-header .searchbar .searchBox'), | ||
resultsContainer: document.querySelector('.inline-header .searchbar .results-container'), | ||
dataSource: '{{ side.baseurl }}/search.json', | ||
searchResultTemplate: '<li><a href="{url}" title="{desc}">{title}<\/a><\/li>', | ||
noResultsText: '<li><a href="javascript:void(0)">No Results Found</a></li>', | ||
fuzzy: true | ||
}); | ||
|
||
if (window.innerWidth < 1000) { | ||
SimpleJekyllSearch.init({ | ||
searchInput: document.querySelector('.hamburger-menu-wrapper .searchbar .searchBox'), | ||
resultsContainer: document.querySelector('.hamburger-menu-wrapper .searchbar .results-container'), | ||
dataSource: '{{ side.baseurl }}/search.json', | ||
searchResultTemplate: '<li><a href="{url}" title="{desc}">{title}<\/a><\/li>', | ||
noResultsText: '<li><a href="javascript:void(0)">No Results Found</a></li>', | ||
fuzzy: true | ||
}); | ||
} | ||
} | ||
|
||
// window.addEventListener('scroll', (event) => { | ||
// console.log(document.documentElement.scrollHeight - document.documentElement.clientHeight, document.documentElement.scrollTop ); | ||
// }); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<script> | ||
// current openedMenu static variable; | ||
const inlineMenuItem = staticVariable(); | ||
|
||
// currentOpened External menu | ||
const externalMenuItem = staticVariable(); | ||
|
||
// current selected dropdown menu item | ||
const openedDropdownItem = staticVariable(); | ||
|
||
// closure for storing static values | ||
function staticVariable() { | ||
let currentValue = null; | ||
return function (newValue = null) { | ||
if (newValue) { | ||
currentValue = newValue; | ||
} | ||
return currentValue; | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,129 +1,24 @@ | ||
<div class="hamburger-menu"> | ||
<h3 class="hamburger-menu-title" onclick="window.open('/', '_self')">Documentation</h3> | ||
|
||
<input type="text" id="search-bar-sidebar" class="search-bar-sidebar" autocomplete="off"> | ||
<ul id="results-container-sidebar" class="results-container-sidebar"></ul> | ||
|
||
<h3 class="hamburger-menu-title" onclick="window.open('/', '_self')">Documentation</h3> | ||
<div class="hamburger-menu-wrapper"> | ||
|
||
|
||
|
||
<div class="parent"> | ||
|
||
<button class="dropdown-btn" id="top-button">System Requirements</button> | ||
<div class="dropdown-container"> | ||
<a href="/uvdemo/requirements/requirements-ubuntu.html">Ubuntu</a> | ||
<a href="/uvdemo/requirements/requirements-windows.html">Windows</a> | ||
<a href="/uvdemo/requirements/requirements-mac.html">Mac</a> | ||
</div> | ||
</div> | ||
|
||
<div class="parent"> | ||
<button class="dropdown-btn" id="top-button">Installation</button> | ||
<div class="dropdown-container"> | ||
|
||
<a href="/uvdemo/installation/installation-ubuntu.html">Ubuntu</a> | ||
<a href="/uvdemo/installation/installation-windows.html">Windows</a> | ||
<a href="/uvdemo/installation/installation-mac.html">Mac</a> | ||
</div> | ||
</div> | ||
|
||
<div class="parent"> | ||
<button class="dropdown-btn">Users</button> | ||
<div class="dropdown-container"> | ||
<a href="/uvdemo/users/groups.html">Groups</a> | ||
<a href="/uvdemo/users/teams.html">Teams</a> | ||
<a href="/uvdemo/users/agents.html">Agents</a> | ||
<a href="/uvdemo/users/privileges.html">Privileges</a> | ||
<a href="/uvdemo/users/customers.html">Customers</a> | ||
</div> | ||
</div> | ||
|
||
<div class="parent"> | ||
<button class="dropdown-btn">Knowledgebase</button> | ||
<div class="dropdown-container"> | ||
<a href="/uvdemo/knowledgebase/folder.html">Folder</a> | ||
<a href="/uvdemo/knowledgebase/category.html">Category</a> | ||
<a href="/uvdemo/knowledgebase/article.html">Article</a> | ||
</div> | ||
</div> | ||
|
||
<div class="parent"> | ||
<button class="dropdown-btn">Productivity</button> | ||
<div class="dropdown-container"> | ||
<a href="/uvdemo/productivity/ticket-type.html">Ticket Types</a> | ||
<a href="/uvdemo/productivity/tags.html">Tags</a> | ||
<a href="/uvdemo/productivity/replies.html">Saved Replies</a> | ||
<a href="/uvdemo/productivity/workflow.html">Workflows</a> | ||
<a href="/uvdemo/productivity/prepared-response.html">Prepared Responses</a> | ||
</div> | ||
</div> | ||
|
||
<div class="parent"> | ||
<button class="dropdown-btn">Setting</button> | ||
<div class="dropdown-container"> | ||
<a href="/uvdemo/settings/branding.html">Branding</a> | ||
<a href="/uvdemo/settings/template.html">Email Templates</a> | ||
<a href="/uvdemo/settings/swiftmailer.html">Swift Mailer</a> | ||
<a href="/uvdemo/settings/email-settings.html">Email Settings</a> | ||
<a href="/uvdemo/settings/block-spam.html">Block Spam</a> | ||
<a href="/uvdemo/settings/mailbox.html">Mail Box</a> | ||
</div> | ||
</div> | ||
|
||
<div class="parent"> | ||
<button class="dropdown-btn">Helpful Links</button> | ||
<div class="dropdown-container"> | ||
<a target="_blank" href="https://demo.uvdesk.com/">Schedule a Demo</a> | ||
<a target="_blank" href="https://www.youtube.com/channel/UCKKt4IOC7ynLwhJMP35uFeQ">Video Tutorial</a> | ||
<a target="_blank" href="https://forums.uvdesk.com/">Forum</a> | ||
<a target="_blank" href="https://www.uvdesk.com/en/articles/">Read Blogs</a> | ||
|
||
</div> | ||
</div> | ||
|
||
<div class="parent"> | ||
<button class="dropdown-btn">Community</button> | ||
<div class="dropdown-container"> | ||
<a target="_blank" href="https://github.com/uvdesk/community-skeleton/blob/master/README.md">Get Involved in the Community</a> | ||
<a target="_blank" href="https://github.com/uvdesk">Help to Make UVdesk Community</a> | ||
</div> | ||
</div> | ||
|
||
<div class="parent"> | ||
<button class="dropdown-btn">Social Sites</button> | ||
<div class="dropdown-container"> | ||
<a target="_blank" href="https://www.facebook.com/uvdesk/">Facebook</a> | ||
</div> | ||
</div> | ||
|
||
<div class="parent"> | ||
<button class="dropdown-btn">Generates Tickets</button> | ||
<div class="dropdown-container"> | ||
<a target="_blank" href="https://support.uvdesk.com/en/">Create Ticket</a> | ||
</div> | ||
</div> | ||
|
||
<button onclick="window.open('https:\/\/github.com\/uvdesk\/uvdesk.github.io', '_blank')" class="button headerBtn hamburgerMenuContentBtn">Fork on Github</button> | ||
<button onclick="window.open('https:\/\/webkul.uvdesk.com\/en\/', '_blank')" class="button headerBtn hamburgerMenuContentBtn">UVdesk Helpdesk</button> | ||
|
||
|
||
<div class="searchbar"> | ||
<input type="text" class="searchBox" autocomplete="off"> | ||
<ul class="results-container"></ul> | ||
</div> | ||
{% for menuItem in site.data.sidebar.sidebar %} | ||
<div class="parent"> | ||
<button class="dropdown-btn {% if page.category == menuItem.title %}is-selected{% endif %}" id="top-button" onclick="openHamburgerDropdown(event)">{{ menuItem.title }}</button> | ||
<div class="dropdown-container {% unless page.category == menuItem.title %}display-none{% endunless %}"> | ||
{% for item in menuItem.items %} | ||
<a class="{% if page.url == item.url %}is-selected{% endif %}" click="onSelectDrowdownItem" | ||
{% assign inlineCheck = item.url | slice: 0, 4 %} | ||
target="{% if inlineCheck == 'http' %}_blank{% else %}_self{% endif %}" | ||
href="{{ item.url }}">{{ item.page }}</a> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
{% endfor %} | ||
<button onclick="window.open('https:\/\/github.com\/uvdesk\/uvdesk.github.io', '_blank')" class="button headerBtn hamburgerMenuContentBtn bgPurpleShade">Fork on Github</button> | ||
<button onclick="window.open('https:\/\/www.uvdesk.com\/en\/opensource', '_blank')" class="button headerBtn hamburgerMenuContentBtn bgGreenShade">UVdesk Helpdesk</button> | ||
</div> | ||
<script src="{{ site.baseurl }}/js/jekyll-search.js" type="text/javascript"></script> | ||
<script type="text/javascript"> | ||
|
||
if( document.getElementById('search-bar-sidebar').style.display !== 'none' ) | ||
{ | ||
SimpleJekyllSearch.init({ | ||
searchInput: document.getElementById('search-bar-sidebar'), | ||
resultsContainer: document.getElementById('results-container-sidebar'), | ||
dataSource: '{{ site.baseurl }}/search.json', | ||
searchResultTemplate: '<li><a href="{url}" title="{desc}">{title}<\/a><\/li>', | ||
noResultsText: 'No Results Found', | ||
//limit: 10, | ||
fuzzy: true | ||
|
||
}); | ||
} | ||
</script> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.