-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
delete space removed focus and unneccesary client side check new line at the end sidepanel popup change comment fix dirty popup with library Removed unnecessary st:include tags remove st:include Added newJob properties to sidepanel properties to fix labels uncomment popup romoved Bootstrap from newJob romoved unnecessary popup jelly romoved unnecessary popup jelly changed popup.css put remodal popup styles to remodal.css added remodal.css moved my rule to addform.less moved popup from sidepanel.jelly to popup.jelly changed the look of new job creation Revert "Improved new job name validation" This reverts commit ed80c35. Revert "delete space" This reverts commit d2dff11. commiting changes Revert "Revert "Improved new job name validation"" This reverts commit 4a3f75a. commit files removed UI changes moved properties and removed name validation change fixed mistakes removed task creation on new page included new item link as the initial one included new item link as the initial one - fix moved remodal.css from jsbundles removed spaces added detached remodal - broken added detached remodal - broken added detached remodal - broken added remodal module added remodal module included remodal.css to add-item.less removed lines renamed popup id to #newjob check for remote test in add-item.js put the remodal back
- Loading branch information
Showing
8 changed files
with
473 additions
and
1 deletion.
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,40 @@ | ||
<?jelly escape-by-default='true'?> | ||
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:s="/lib/form"> | ||
<div class="remodal new-job-popup" data-remodal-id="newjob" id="add-item-panel"> | ||
<form method="post" action="createItem" name="createItem" id="createItem"> | ||
<div class="header"> | ||
<div class="add-item-name"> | ||
<label for="name">${%ItemName.label}</label> | ||
<input name="name" id="name" type="text" tabindex="0" /> | ||
<div class="input-help">» ${%ItemName.help}</div> | ||
<div id="itemname-required" class="input-validation-message input-message-disabled">» ${%ItemName.validation.required}</div> | ||
<div id="itemname-invalid" class="input-validation-message input-message-disabled"></div> | ||
<div id="itemtype-required" class="input-validation-message input-message-disabled">» ${%ItemType.validation.required}</div> | ||
</div> | ||
</div> | ||
|
||
<div class="categories flat" role="radiogroup" aria-labelledby="Items" /> | ||
|
||
<j:if test="${!empty(app.itemMap)}"> | ||
<div class="item-copy"> | ||
<p class="description">${%CopyOption.description}:</p> | ||
<div class="add-item-copy"> | ||
<input type="radio" name="mode" value="copy" /> | ||
<div class="icon"> | ||
<img src="${resURL}/images/48x48/copy.png" /> | ||
</div> | ||
<label>${%CopyOption.label}</label> | ||
<j:set var="descriptor" value="${it.descriptor}" /> | ||
<s:textbox id="from" name="from" placeholder="${%CopyOption.placeholder}" field="copyNewItemFrom"/> | ||
</div> | ||
</div> | ||
</j:if> | ||
|
||
<div class="footer"> | ||
<div class="btn-decorator"> | ||
<button type="submit" id="ok-button">OK</button> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
JobName={0} name | ||
ItemName.help=Required field | ||
ItemName.label=Enter an item name | ||
ItemName.validation.required=This field cannot be empty, please enter a valid name | ||
ItemType.validation.required=Please select an item type | ||
CopyOption.placeholder=Type to autocomplete | ||
CopyOption.description=if you want to create a new item from other existing, you can use this option | ||
CopyOption.label=Copy from | ||
CopyExisting=Copy existing {0} |
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 |
---|---|---|
|
@@ -357,3 +357,9 @@ | |
} | ||
} | ||
} | ||
|
||
.new-job-popup { | ||
max-width: 800px; | ||
padding: 0; | ||
text-align: left; | ||
} |
Oops, something went wrong.