diff options
Diffstat (limited to 'polygerrit-ui/app/elements/change/gr-confirm-revert-dialog/gr-confirm-revert-dialog.html')
-rw-r--r-- | polygerrit-ui/app/elements/change/gr-confirm-revert-dialog/gr-confirm-revert-dialog.html | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/polygerrit-ui/app/elements/change/gr-confirm-revert-dialog/gr-confirm-revert-dialog.html b/polygerrit-ui/app/elements/change/gr-confirm-revert-dialog/gr-confirm-revert-dialog.html index 92e8de3888..9e5f1de4ef 100644 --- a/polygerrit-ui/app/elements/change/gr-confirm-revert-dialog/gr-confirm-revert-dialog.html +++ b/polygerrit-ui/app/elements/change/gr-confirm-revert-dialog/gr-confirm-revert-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"); @@ -16,7 +17,7 @@ limitations under the License. <link rel="import" href="../../../bower_components/iron-autogrow-textarea/iron-autogrow-textarea.html"> <link rel="import" href="../../../bower_components/polymer/polymer.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="../../../styles/shared-styles.html"> <dom-module id="gr-confirm-revert-dialog"> @@ -40,18 +41,18 @@ limitations under the License. width: 73ch; /* Add a char to account for the border. */ --iron-autogrow-textarea { - border: 1px solid #cdcdcd; + border: 1px solid var(--border-color); box-sizing: border-box; font-family: var(--monospace-font-family); } } </style> - <gr-confirm-dialog + <gr-dialog confirm-label="Revert" on-confirm="_handleConfirmTap" on-cancel="_handleCancelTap"> - <div class="header">Revert Merged Change</div> - <div class="main"> + <div class="header" slot="header">Revert Merged Change</div> + <div class="main" slot="main"> <label for="messageInput"> Revert Commit Message </label> @@ -62,7 +63,7 @@ limitations under the License. max-rows="15" bind-value="{{message}}"></iron-autogrow-textarea> </div> - </gr-confirm-dialog> + </gr-dialog> </template> <script src="gr-confirm-revert-dialog.js"></script> </dom-module> |