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

Side by Side Diff: appengine/chromium_rietveld/new_static/components/cr-settings-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 <polymer-element name="cr-settings-editor" attributes="settings errors disabled" > 5 <polymer-element name="cr-settings-editor" attributes="settings errors disabled" >
6 <template> 6 <template>
7 <link rel="stylesheet" href="common.css"> 7 <link rel="stylesheet" href="../common/common.css">
8 <link rel="stylesheet" href="forms.css"> 8 <link rel="stylesheet" href="../common/forms.css">
9 9
10 <fieldset class="form-fields" disabled?="{{ disabled }}"> 10 <fieldset class="form-fields" disabled?="{{ disabled }}">
11 <div class="form-row"> 11 <div class="form-row">
12 <label class="form-label" for="name">Name</label> 12 <label class="form-label" for="name">Name</label>
13 <div class="form-field"> 13 <div class="form-field">
14 <input type="text" id="name" value="{{ settings.name }}" aut ocomplete="off" class="{{ {invalid: errors.name} | tokenList }}"> 14 <input type="text" id="name" value="{{ settings.name }}" aut ocomplete="off" class="{{ {invalid: errors.name} | tokenList }}">
15 <div class="form-error">{{ errors.name }}</div> 15 <div class="form-error">{{ errors.name }}</div>
16 </div> 16 </div>
17 </div> 17 </div>
18 <div class="form-row"> 18 <div class="form-row">
(...skipping 29 matching lines...) Expand all
48 <script> 48 <script>
49 Polymer("cr-settings-editor", { 49 Polymer("cr-settings-editor", {
50 created: function() { 50 created: function() {
51 this.settings = null; 51 this.settings = null;
52 this.errors = {}; 52 this.errors = {};
53 this.disabled = false; 53 this.disabled = false;
54 }, 54 },
55 }); 55 });
56 </script> 56 </script>
57 </polymer-element> 57 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698