New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move the 'Update' and 'Install' buttons to the app bar #8025
Merged
NotMyFault
merged 13 commits into
jenkinsci:master
from
janfaracik:plugins-update-move-to-app-bar
Jul 10, 2023
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
6d243e9
Init
janfaracik 9408f20
Update _table.js
janfaracik 2508db5
Fix linting
NotMyFault 9dbbbec
Squashed commit of the following:
janfaracik 860f605
Add install overflow button
janfaracik 5ac0701
Merge branch 'master' into plugins-update-move-to-app-bar
janfaracik e5b0f1a
Merge branch 'master' into plugins-update-move-to-app-bar
janfaracik 9be6120
Use a split button instead
janfaracik 160523a
Merge branch 'master' into plugins-update-move-to-app-bar
janfaracik b958185
yarn lint:fix
timja 11b60b1
Update available.jelly
janfaracik 30f88bc
Merge branch 'master' into plugins-update-move-to-app-bar
janfaracik b1fb1e2
Merge branch 'master' into plugins-update-move-to-app-bar
janfaracik File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,13 +46,21 @@ THE SOFTWARE. | |
value="${request.getParameter('filter')}" /> | ||
</div> | ||
<div class="jenkins-app-bar__controls"> | ||
<st:include page="check.jelly"/> | ||
<l:isAdmin> | ||
<j:if test="${!empty(list)}"> | ||
<button id="button-update" form="form" type="submit" class="jenkins-button jenkins-button--primary" disabled="true"> | ||
<l:icon src="symbol-download" /> | ||
${%Update} | ||
</button> | ||
</j:if> | ||
</l:isAdmin> | ||
<st:include page="check.jelly" /> | ||
</div> | ||
</div> | ||
|
||
<st:adjunct includes="hudson.PluginManager._table"/> | ||
|
||
<form method="post" action="install"> | ||
<form id="form" method="post" action="install"> | ||
<j:set var="cache" value="${it.createCache()}"/> | ||
|
||
<table id="plugins" class="jenkins-table sortable"> | ||
|
@@ -232,16 +240,6 @@ THE SOFTWARE. | |
</j:otherwise> | ||
</j:choose> | ||
</table> | ||
|
||
<div id="bottom-sticker"> | ||
<div class="bottom-sticker-inner"> | ||
<l:isAdmin> | ||
<j:if test="${!empty(list)}"> | ||
<f:submit value="${%Download now and install after restart}"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this functionally removed? |
||
</j:if> | ||
</l:isAdmin> | ||
</div> | ||
</div> | ||
<d:invokeBody/> | ||
</form> | ||
</l:main-panel> | ||
|
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using download icon to me is confusing as I (the user) am not downloading anything to my machine.
Rather Jenkins is installing - which is normally an arrow pointing right or the like.