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

Unified Diff: chrome/browser/resources/cleanup_tool/cleanup.html

Issue 2784653004: Cleanup Tool WebUI: Add HTML content and styling with dummy JS (Closed)
Patch Set: Fix broken i18n commands Created 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/cleanup_tool/cleanup.html
diff --git a/chrome/browser/resources/cleanup_tool/cleanup.html b/chrome/browser/resources/cleanup_tool/cleanup.html
new file mode 100644
index 0000000000000000000000000000000000000000..581febf6ac7e919fef5ff9efbb28b43fffedfadf
--- /dev/null
+++ b/chrome/browser/resources/cleanup_tool/cleanup.html
@@ -0,0 +1,37 @@
+<!doctype html>
+<html dir="$i18n{textdirection}" lang="$i18n{language}">
+<head>
+ <meta name="google" value="notranslate">
+ <meta charset="utf-8">
+ <title>$i18n{title}</title>
+ <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
+ <link rel="stylesheet" href="chrome://resources/css/md_colors.css">
+ <script src="chrome://resources/js/load_time_data.js"></script>
Dan Beam 2017/04/04 00:00:00 can you import load_time_data.html instead?
proberge 2017/04/04 16:10:02 Done.
+ <script src="strings.js"></script>
Dan Beam 2017/04/04 00:00:00 can you put these scripts at the bottom of the pag
proberge 2017/04/04 16:10:02 Done.
+
+ <style>
+ html {
+ background: var(--md-background-color);
+ }
+
+ body {
+ margin: 0;
+ }
+
+ :root {
+ --cleanup-card-margin: 25px;
+ --cleanup-card-width: 800px;
+ }
+ </style>
+</head>
+
+<body>
+ <cleanup-tool-toolbar></cleanup-tool-toolbar>
+ <cleanup-manager></cleanup-manager>
+ <link rel="import" href="chrome://resources/html/cr.html">
+ <link rel="import" href="chrome://resources/html/polymer.html">
+ <link rel="import" href="chrome://cleanup/toolbar.html">
+</body>
+
+<script src="chrome://resources/js/i18n_template.js"></script>
Dan Beam 2017/04/04 00:00:00 indent off why are you using i18n_template.js?
proberge 2017/04/04 16:10:02 It was needed when I was using i18n-content in too
+</html>

Powered by Google App Engine
This is Rietveld 408576698