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

Side by Side Diff: chrome/browser/resources/chromeos/login/enrollment_license_card.html

Issue 2959853003: Add UI components for license type selection in ChromeOS login UI. (Closed)
Patch Set: Remove unused flex import Created 3 years, 4 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
(Empty)
1 <!-- Copyright 2017 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. -->
4
5 <link rel="import"
6 href="chrome://resources/polymer/v1_0/paper-radio-button/paper-radio-butto n.html">
7 <link rel="import"
8 href="chrome://resources/polymer/v1_0/paper-radio-group/paper-radio-group. html">
9 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
10
11 <!--
12 UI for the Enrollment license type selection.
13
14 Example:
15 <enrollment-license-card> </enrollment-license-card>
16
17 Attributes:
18 'disabled' - Whether the UI disabled. Could be used to disable the UI
19 during blocking IO operations.
20 'selected' - Selected license type.
21 'buttonText' - Text on the confirmation button.
22
23 Events:
24 'buttonclick' - Fired when user confirms license type selection.
25 -->
26 <dom-module id="enrollment-license-card">
27 <template>
28 <link rel="stylesheet" href="gaia_input_form.css">
29 <link rel="stylesheet" href="enrollment_license_card.css">
30
31 <gaia-card id="license-selection-prompt-card" class="fit">
32 <div class="header flex vertical layout end-justified">
33 <h1 class="welcome-message" style="text-transform:capitalize"
34 i18n-content="licenseSelectionCardTitle"></h1>
35 </div>
36 <div class="footer flex vertical layout justified">
37 <div>
38 <p class="license-card-explanation"
39 i18n-content="licenseSelectionCardExplanation"></p>
40 <paper-radio-group selected="{{selected}}">
41 <template is="dom-repeat" items="[[licenses]]"
42 id="repeatTemplate">
43 <paper-radio-button class="gaia-radio-button"
44 disabled$="[[or_(item.disabled, disabled)]]"
45 hidden$="[[item.hidden]]" name="[[item.id]]">
46 [[formatTitle_(item)]]
47 </paper-radio-button>
48 </template>
49 </paper-radio-group>
50 </div>
51 <div class="horizontal-reverse justified layout center">
52 <gaia-button id="submitButton" class="self-end"
53 disabled="[[disabled]]"
54 on-tap="buttonClicked_">
55 <span>[[buttonText]]</span>
56 </gaia-button>
57 </div>
58 </div>
59 </gaia-card>
60 </template>
61 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698