diff options
Diffstat (limited to 'polygerrit-ui/app/elements/change/gr-confirm-cherrypick-dialog/gr-confirm-cherrypick-dialog.html')
-rw-r--r-- | polygerrit-ui/app/elements/change/gr-confirm-cherrypick-dialog/gr-confirm-cherrypick-dialog.html | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/polygerrit-ui/app/elements/change/gr-confirm-cherrypick-dialog/gr-confirm-cherrypick-dialog.html b/polygerrit-ui/app/elements/change/gr-confirm-cherrypick-dialog/gr-confirm-cherrypick-dialog.html index 5151280dae..84558ac427 100644 --- a/polygerrit-ui/app/elements/change/gr-confirm-cherrypick-dialog/gr-confirm-cherrypick-dialog.html +++ b/polygerrit-ui/app/elements/change/gr-confirm-cherrypick-dialog/gr-confirm-cherrypick-dialog.html @@ -1,4 +1,5 @@ <!-- +@license Copyright (C) 2016 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,7 +19,7 @@ limitations under the License. <link rel="import" href="../../../bower_components/polymer/polymer.html"> <link rel="import" href="../../../styles/shared-styles.html"> <link rel="import" href="../../shared/gr-autocomplete/gr-autocomplete.html"> -<link rel="import" href="../../shared/gr-confirm-dialog/gr-confirm-dialog.html"> +<link rel="import" href="../../shared/gr-dialog/gr-dialog.html"> <link rel="import" href="../../shared/gr-rest-api-interface/gr-rest-api-interface.html"> <dom-module id="gr-confirm-cherrypick-dialog"> @@ -58,12 +59,12 @@ limitations under the License. }; } </style> - <gr-confirm-dialog + <gr-dialog confirm-label="Cherry Pick" on-confirm="_handleConfirmTap" on-cancel="_handleCancelTap"> - <div class="header">Cherry Pick Change to Another Branch</div> - <div class="main"> + <div class="header" slot="header">Cherry Pick Change to Another Branch</div> + <div class="main" slot="main"> <label for="branchInput"> Cherry Pick to branch </label> @@ -73,6 +74,15 @@ limitations under the License. query="[[_query]]" placeholder="Destination branch"> </gr-autocomplete> + <label for="baseInput"> + Provide base commit sha1 for cherry-pick + </label> + <input + is="iron-input" + id="baseCommitInput" + maxlength="40" + placeholder="(optional)" + bind-value="{{baseCommit}}"> <label for="messageInput"> Cherry Pick Commit Message </label> @@ -84,7 +94,7 @@ limitations under the License. max-rows="15" bind-value="{{message}}"></iron-autogrow-textarea> </div> - </gr-confirm-dialog> + </gr-dialog> <gr-rest-api-interface id="restAPI"></gr-rest-api-interface> </template> <script src="gr-confirm-cherrypick-dialog.js"></script> |