OLD | NEW |
1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
4 | 4 |
5 <link rel="import" href="cr-butterbar.html"> | 5 <link rel="import" href="../common/cr-butterbar.html"> |
6 <link rel="import" href="cr-button.html"> | 6 <link rel="import" href="../common/cr-button.html"> |
7 <link rel="import" href="cr-dialog.html"> | 7 <link rel="import" href="../common/cr-dialog.html"> |
8 <link rel="import" href="cr-toolbar.html"> | 8 <link rel="import" href="../common/cr-toolbar.html"> |
9 | 9 |
10 <polymer-element name="cr-issue-revert-dialog" attributes="patchset"> | 10 <polymer-element name="cr-issue-revert-dialog" attributes="patchset"> |
11 <template> | 11 <template> |
12 <link rel="stylesheet" href="common.css"> | 12 <link rel="stylesheet" href="../common/common.css"> |
13 <style> | 13 <style> |
14 .dialog-fields-label { | 14 .dialog-fields-label { |
15 font-weight: bold; | 15 font-weight: bold; |
16 color: #959595; | 16 color: #959595; |
17 -webkit-user-select: none; | 17 -webkit-user-select: none; |
18 cursor: default; | 18 cursor: default; |
19 } | 19 } |
20 | 20 |
21 .dialog-fields-field, | 21 .dialog-fields-field, |
22 .dialog-fields-label { | 22 .dialog-fields-label { |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 this.butterbarMessage = "Error: " + error.message; | 104 this.butterbarMessage = "Error: " + error.message; |
105 }, | 105 }, |
106 showModal: function() { | 106 showModal: function() { |
107 if (!this.patchset) | 107 if (!this.patchset) |
108 return; | 108 return; |
109 this.$.dialog.showModal(); | 109 this.$.dialog.showModal(); |
110 }, | 110 }, |
111 }); | 111 }); |
112 </script> | 112 </script> |
113 </polymer-element> | 113 </polymer-element> |
OLD | NEW |