Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / resources / settings / on_startup_page / startup_urls_page.html
blobdca01c7e19e9b13779b3efa477b5135e941e3645
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-icon-item.html">
5 <dom-module id="cr-settings-startup-urls-page">
6 <link rel="import" type="css" href="chrome://md-settings/settings_page/settings_page.css">
7 <link rel="import" type="css" href="on_startup_shared.css">
8 <template>
9 <div>
10 <div class="entries">
11 <template is="dom-repeat" items="{{prefs.session.startup_urls.value}}">
12 <paper-icon-item>
13 <iron-icon icon="image:brightness-1" item-icon></iron-icon>
14 <span class="flex">[[item]]</span>
15 <iron-icon on-tap="onRemoveUrlTap_" icon="clear">
16 </iron-icon>
17 </paper-icon-item>
18 </template>
19 </div>
20 <paper-icon-item>
21 <div i18n-content="onStartupAddPage"></div>&nbsp;
22 <paper-input class="flex" no-label-float
23 i18n-values="label:onStartupEnterUrl" value="{{newUrl}}">
24 </paper-input>
25 </paper-icon-item>
26 <div class="button-row">
27 <div class="flex">
28 <paper-button on-tap="onUseCurrentPagesTap_"
29 i18n-content="onStartupUseCurrent">
30 </paper-button>
31 </div>
32 <paper-button on-tap="onCancelTap_" i18n-content="cancelButton">
33 </paper-button>
34 <paper-button on-tap="onOkTap_" raised i18n-content="okButton">
35 </paper-button>
36 </div>
37 </div>
38 </template>
39 <script src="startup_urls_page.js"></script>
40 </dom-module>