forked from jenkinsci/jenkins
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit, working search overlay
- Loading branch information
1 parent
e3f8bc0
commit b330661
Showing
18 changed files
with
722 additions
and
33 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package hudson.search; | ||
|
||
public class SearchItemCategory { | ||
public final static String PAGES = "Pages"; | ||
public final static String SETTINGS = "Settings"; | ||
public final static String VIEWS = "Views"; | ||
public final static String JOBS = "Jobs"; | ||
public final static String BUILDS = "Builds"; | ||
public final static String PEOPLE = "People"; | ||
public final static String NODES = "Nodes"; | ||
public final static String IN_PAGE_ACTIONS = "In-page action"; | ||
public final static String OTHER = "Other"; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<!-- | ||
The MIT License | ||
Copyright (c) 2022, Jenkins contributors | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. | ||
--> | ||
|
||
<?jelly escape-by-default='true'?> | ||
<j:jelly xmlns:j="jelly:core" xmlns:s="jelly:stapler" xmlns:l="/lib/layout"> | ||
<s:documentation> | ||
The command center overlay for Jenkins | ||
</s:documentation> | ||
|
||
<div id="command-center-i18n" class="i18n" | ||
data-no-results-for="${%No results for}" | ||
data-help="${%Help}" | ||
data-get-help="${%Get help using Jenkins search}" | ||
/> | ||
|
||
<div id="command-center-backdrop" class="jenkins-command-center__backdrop" /> | ||
|
||
<div id="command-center" class="jenkins-command-center__wrapper"> | ||
<div class="jenkins-command-center"> | ||
<div class="jenkins-command-center__search"> | ||
<div class="icon"> | ||
<l:icon src="symbol-search" /> | ||
</div> | ||
<input id="command-bar" placeholder="${%Search}" type="search" autocomplete="off" autocorrect="off" | ||
autocapitalize="off" spellcheck="false" /> | ||
<div class="keyboard-shortcuts"> | ||
<span id="command-center-shortcut-modifier" class="shortcut">⌘</span> | ||
<l:icon src="symbol-add" /> | ||
<span class="shortcut">K</span> | ||
</div> | ||
</div> | ||
<div id="search-results-container" class="jenkins-command-center__results-container"> | ||
<div id="search-results" class="jenkins-command-center__results" /> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script src="${resURL}/jsbundles/search.js" type="text/javascript" /> | ||
</j:jelly> |
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.