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

Side by Side Diff: appengine/chromium_rietveld/new_static/views/cr-settings-view.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="../components/cr-butterbar.html"> 5 <link rel="import" href="../common/cr-butterbar.html">
6 <link rel="import" href="../components/cr-settings-editor.html"> 6 <link rel="import" href="../components/cr-settings-editor.html">
7 7
8 <polymer-element name="cr-settings-view"> 8 <polymer-element name="cr-settings-view">
9 <template> 9 <template>
10 <link rel="stylesheet" href="../components/common.css"> 10 <link rel="stylesheet" href="../common/common.css">
11 <link rel="stylesheet" href="../components/forms.css"> 11 <link rel="stylesheet" href="../common/forms.css">
12 <style> 12 <style>
13 :host { display: block; } 13 :host { display: block; }
14 </style> 14 </style>
15 <cr-butterbar message="{{ butterbarMessage }}"></cr-butterbar> 15 <cr-butterbar message="{{ butterbarMessage }}"></cr-butterbar>
16 <template if="{{ user.email }}"> 16 <template if="{{ user.email }}">
17 <h1 class="app-header">Settings for {{ user.email }}</h1> 17 <h1 class="app-header">Settings for {{ user.email }}</h1>
18 </template> 18 </template>
19 <template if="{{ settings }}"> 19 <template if="{{ settings }}">
20 <cr-settings-editor settings="{{ settings }}" disabled="{{ disabled }}" errors="{{ errors }}"></cr-settings-editor> 20 <cr-settings-editor settings="{{ settings }}" disabled="{{ disabled }}" errors="{{ errors }}"></cr-settings-editor>
21 <cr-toolbar> 21 <cr-toolbar>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 if (!error.fieldName) { 72 if (!error.fieldName) {
73 self.butterbarMessage = "Error: " + error.message; 73 self.butterbarMessage = "Error: " + error.message;
74 return; 74 return;
75 } 75 }
76 self.errors[error.fieldName] = error.message; 76 self.errors[error.fieldName] = error.message;
77 }); 77 });
78 }, 78 },
79 }); 79 });
80 </script> 80 </script>
81 </polymer-element> 81 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698