Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: appengine/chromium_rietveld/new_static/components/cr-issue-edit-dialog.html

Issue 1001723003: Create a common directory of widgets and css. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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="../common/cr-toolbar.html">
8 <link rel="import" href="cr-issue-editor.html"> 9 <link rel="import" href="cr-issue-editor.html">
9 <link rel="import" href="cr-toolbar.html">
10 10
11 <polymer-element name="cr-issue-edit-dialog" attributes="issue"> 11 <polymer-element name="cr-issue-edit-dialog" attributes="issue">
12 <template> 12 <template>
13 <link rel="stylesheet" href="common.css"> 13 <link rel="stylesheet" href="../common/common.css">
14 14
15 <dialog is="cr-dialog" id="dialog" on-cancel="{{ cancel }}"> 15 <dialog is="cr-dialog" id="dialog" on-cancel="{{ cancel }}">
16 <cr-butterbar message="{{ butterbarMessage }}"></cr-butterbar> 16 <cr-butterbar message="{{ butterbarMessage }}"></cr-butterbar>
17 17
18 <h1>Edit Issue</h1> 18 <h1>Edit Issue</h1>
19 19
20 <cr-issue-editor id="editor" issue="{{ issue }}" errors="{{ errors } }" disabled="{{ saving }}"></cr-issue-editor> 20 <cr-issue-editor id="editor" issue="{{ issue }}" errors="{{ errors } }" disabled="{{ saving }}"></cr-issue-editor>
21 21
22 <cr-toolbar> 22 <cr-toolbar>
23 <button is="cr-button" primary on-tap="{{ save }}">Save</button> 23 <button is="cr-button" primary on-tap="{{ save }}">Save</button>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 }, 72 },
73 showModal: function() { 73 showModal: function() {
74 if (!this.issue) 74 if (!this.issue)
75 return; 75 return;
76 this.$.editor.reset(); 76 this.$.editor.reset();
77 this.$.dialog.showModal(); 77 this.$.dialog.showModal();
78 }, 78 },
79 }); 79 });
80 </script> 80 </script>
81 </polymer-element> 81 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698