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

Side by Side Diff: appengine/chromium_rietveld/new_static/components/cr-issue-editor.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-user-autocomplete.html"> 5 <link rel="import" href="cr-user-autocomplete.html">
6 6
7 <polymer-element name="cr-issue-editor" attributes="issue errors disabled fields "> 7 <polymer-element name="cr-issue-editor" attributes="issue errors disabled fields ">
8 <template> 8 <template>
9 <link rel="stylesheet" href="common.css"> 9 <link rel="stylesheet" href="../common/common.css">
10 <link rel="stylesheet" href="forms.css"> 10 <link rel="stylesheet" href="../common/forms.css">
11 11
12 <fieldset class="form-fields" disabled?="{{ disabled }}"> 12 <fieldset class="form-fields" disabled?="{{ disabled }}">
13 <template if="{{ fields | contains('subject') }}"> 13 <template if="{{ fields | contains('subject') }}">
14 <div class="form-row"> 14 <div class="form-row">
15 <label class="form-label" for="subject">Title</label> 15 <label class="form-label" for="subject">Title</label>
16 <div class="form-field"> 16 <div class="form-field">
17 <input type="text" id="subject" value="{{ subject }}" au tocomplete="off" class="{{ {invalid: errors.subject} | tokenList }}"> 17 <input type="text" id="subject" value="{{ subject }}" au tocomplete="off" class="{{ {invalid: errors.subject} | tokenList }}">
18 <div class="form-error">{{ errors.subject }}</div> 18 <div class="form-error">{{ errors.subject }}</div>
19 </div> 19 </div>
20 </div> 20 </div>
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 private: this.private, 118 private: this.private,
119 }; 119 };
120 return data; 120 return data;
121 }, 121 },
122 contains: function(list, value) { 122 contains: function(list, value) {
123 return list && list.indexOf(value) != -1; 123 return list && list.indexOf(value) != -1;
124 }, 124 },
125 }); 125 });
126 </script> 126 </script>
127 </polymer-element> 127 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698