| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html i18n-values="dir:textdirection;lang:language"> | 2 <html i18n-values="dir:textdirection;lang:language"> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf8"> | 4 <meta charset="utf8"> |
| 5 <title i18n-content="title"></title> | 5 <title i18n-content="title"></title> |
| 6 | 6 |
| 7 <link rel="stylesheet" href="chrome://resources/css/roboto.css"> | 7 <link rel="stylesheet" href="chrome://resources/css/roboto.css"> |
| 8 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> | 8 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> |
| 9 | 9 |
| 10 <style> | 10 <style> |
| 11 html, | 11 html, |
| 12 body { | 12 body { |
| 13 height: 100%; | 13 height: 100%; |
| 14 margin: 0; | 14 margin: 0; |
| 15 } | 15 } |
| 16 | 16 |
| 17 body { | 17 body { |
| 18 background: #f2f2f2; | 18 background: #f2f2f2; |
| 19 display: flex; | 19 display: flex; |
| 20 flex-direction: column; | 20 flex-direction: column; |
| 21 font-family: Roboto; | 21 font-family: Roboto; |
| 22 font-size: 13px; | 22 font-size: 13px; |
| 23 } | 23 } |
| 24 | 24 |
| 25 #toolbar { | 25 #toolbar { |
| 26 flex: 0 0 56px; | 26 flex: 0 0 56px; |
| 27 } | 27 } |
| 28 | 28 |
| 29 #history-card-manager { | 29 #history-list { |
| 30 flex: 1 0 0; | 30 flex: 1 0 0; |
| 31 overflow: auto; | 31 overflow: auto; |
| 32 } | 32 } |
| 33 </style> | 33 </style> |
| 34 </head> | 34 </head> |
| 35 | 35 |
| 36 <body> | 36 <body> |
| 37 <history-toolbar class="paper-header" id="toolbar"></history-toolbar> | 37 <history-toolbar class="paper-header" id="toolbar"></history-toolbar> |
| 38 <history-card-manager id="history-card-manager"></history-card-manager> | 38 <history-list id="history-list"></history-list> |
| 39 | 39 |
| 40 <link rel="import" href="chrome://resources/html/polymer_config.html"> | 40 <link rel="import" href="chrome://resources/html/polymer_config.html"> |
| 41 <link rel="import" href="chrome://resources/html/cr.html"> | 41 <link rel="import" href="chrome://resources/html/cr.html"> |
| 42 <link rel="import" href="chrome://resources/html/util.html"> | 42 <link rel="import" href="chrome://resources/html/util.html"> |
| 43 <link rel="import" href="chrome://history/history_card_manager.html"> | 43 <link rel="import" href="chrome://resources/html/load_time_data.html"> |
| 44 <script src="strings.js"></script> |
| 45 |
| 46 <link rel="import" href="chrome://history/history_list.html"> |
| 44 <link rel="import" href="chrome://history/history_toolbar.html"> | 47 <link rel="import" href="chrome://history/history_toolbar.html"> |
| 45 | 48 |
| 46 <script src="history.js"></script> | 49 <script src="history.js"></script> |
| 47 | 50 |
| 48 <!-- Prepare strings and perform i18n substitutions. --> | 51 <!-- Prepare strings and perform i18n substitutions. --> |
| 49 <link rel="import" href="chrome://resources/html/load_time_data.html"> | |
| 50 <script src="strings.js"></script> | |
| 51 <link rel="import" href="chrome://resources/html/i18n_template.html"> | 52 <link rel="import" href="chrome://resources/html/i18n_template.html"> |
| 52 </body> | 53 </body> |
| 53 | 54 |
| 54 </html> | 55 </html> |
| OLD | NEW |