Fix a couple bugs in the settings_page_header wrt breadcrumbs.
[chromium-blink-merge.git] / chrome / browser / resources / settings / settings_page / settings_page_header.html
blobc223ed9800dd612f2fdac6f0c4f5a77e0dc45f43
1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/device-icons.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/more-routing/routing.html">
6 <dom-module id="cr-settings-page-header">
7 <link rel="import" type="css" href="settings_page_header.css">
8 <template>
9 <paper-material>
10 <div class="breadcrumbs">
11 <div class="icon-container">
12 <iron-icon icon="{{topPageIcon_}}"><iron-icon>
13 </div>
15 <template is="dom-repeat" items="{{parentPages_}}">
16 <a href="{{urlFor_(item)}}">{{item.pageTitle}}</a>&nbsp;&gt;&nbsp;
17 </template>
19 <span>{{currentPageTitle_}}</span>
20 </div>
21 </paper-material>
22 </template>
23 <script src="settings_page_header.js"></script>
24 </dom-module>