-
-
Notifications
You must be signed in to change notification settings - Fork 655
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to hide internal & stream topic on topic list
- close #30
- Loading branch information
1 parent
3c6cf23
commit 7e29059
Showing
11 changed files
with
173 additions
and
25 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
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
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
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
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,23 +1,29 @@ | ||
<#ftl output_format="HTML"> | ||
|
||
<#-- @ftlvariable name="search" type="java.util.Optional<java.lang.String>" --> | ||
<#-- @ftlvariable name="topicListView" type="org.kafkahq.repositories.TopicRepository.TopicListView" --> | ||
|
||
<nav class="navbar navbar-expand-lg navbar-light bg-light mr-auto khq-data-filter"> | ||
<form class="form-inline khq-form-get" method="get"> | ||
<div class="input-group"> | ||
<input class="form-control" | ||
name="search" | ||
placeholder="Search" | ||
autocomplete="off" | ||
type="text" | ||
<#if search.isPresent()> | ||
value="${search.get()}" | ||
</#if> /> | ||
<div class="input-group-append"> | ||
<button class="btn btn-primary" type="button"> | ||
<i class="fa fa-search"></i> | ||
</button> | ||
</div> | ||
</div> | ||
<input class="form-control" | ||
name="search" | ||
placeholder="Search" | ||
autocomplete="off" | ||
type="text" | ||
<#if search.isPresent()> | ||
value="${search.get()}" | ||
</#if> /> | ||
<#if topicListView??> | ||
<select name="show" class="custom-select ml-sm-2 mt-2 mt-sm-0"> | ||
<option ${(topicListView.toString() == "ALL")?then("selected", "")} value="ALL">Show all topics</option> | ||
<option ${(topicListView.toString() == "HIDE_INTERNAL")?then("selected", "")} value="HIDE_INTERNAL">Hide internal topics</option> | ||
<option ${(topicListView.toString() == "HIDE_INTERNAL_STREAM")?then("selected", "")} value="HIDE_INTERNAL_STREAM">Hide internal & stream topics</option> | ||
<option ${(topicListView.toString() == "HIDE_STREAM")?then("selected", "")} value="HIDE_STREAM">Hide stream topics</option> | ||
</select> | ||
</#if> | ||
|
||
<button class="btn btn-primary ml-sm-2 mt-2 mt-sm-0" type="submit"> | ||
<span class="d-sm-none">Search </span><i class="fa fa-search"></i> | ||
</button> | ||
</form> | ||
</nav> |
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
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