Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified build/ui-bundle.zip
Binary file not shown.
3 changes: 2 additions & 1 deletion src/css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ body {
font-size: 14px;
}

.filter, .filter1 {
.filter,
.filter1 {
display: flex;
align-items: center;
justify-content: center;
Expand Down
2 changes: 1 addition & 1 deletion src/js/vendor/docsearch.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
}
}

function toggleFilter (e) {
function toggleFilter (e) {
console.log(e.path[1].className)
if ('restoring' in this.dropdown) return
if (e.path[1].className === 'filter checkbox') {
Expand Down
13 changes: 6 additions & 7 deletions src/partials/header-content.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
<div id="search" class="field has-filter">
<input class="query" type="text" placeholder="Search the docs">
<label class="filter checkbox">
<input type="checkbox" data-facet-filter="component:{{page.component.name}},version:{{page.version}}"> <span>In this section</span>
<!--input type="checkbox" data-facet-filter="component:{{page.component.name}},version:{{page.version}}"> <span>In this section</span-->
<!--input type="checkbox" data-facet-filter="component:{{page.component.name}}"> <span>In this section</span-->
</label>
<!-- <label class="filter1 checkbox1">
<input type="checkbox" checked> <span>Latest</span>
Expand Down Expand Up @@ -61,12 +62,10 @@
<a class="category-item" href="{{relativize site.components.gsql-ref.url}}">{{site.components.gsql-ref.title}}</a>
</div>

<div class="dropdown-label">TigerGraph Cloud</div>
<div class="dropdown-label">TigerGraph Savanna</div>
<div class="dropdown-category">
<a class="category-item" href="{{relativize site.components.cloud.url}}">{{site.components.cloud.title}}</a>
<a class="category-item" href="https://docs.tigergraph.com/cloudbeta/overview/">{{site.components.cloudBeta.title}}
<span style="font-weight: 400; top: -2px; position: relative; margin-left: 8px; color: rgb(255, 255, 254); padding: 2px 4px; font-size: 10px; border-radius: 2px; background-color: rgb(255, 109, 0);">New</span>
</a>
<a class="category-item" href="{{relativize site.components.savanna.url}}">{{site.components.savanna.title}}</a>
<a class="category-item" href="{{relativize site.components.cloud.url}}">(<i>{{site.components.cloud.title}}</i>)</a>
</div>

<div class="dropdown-label">Graph Data Science</div>
Expand Down Expand Up @@ -108,7 +107,7 @@
</div>
<div class="navbar-item">
<span class="control">
<a class="button is-primary" href="https://tgcloud.io"> TG Cloud</a>
<a class="button is-primary" href="https://savanna.tgcloud.io"> TG Savanna</a>
</span>
</div>
</div>
Expand Down