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

Side by Side Diff: chrome/browser/resources/about_credits.tmpl

Issue 7215034: Apply CSP to chrome: and about: pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <meta http-equiv="X-WebKit-CSP" content="object-src 'none'; script-src 'self'">
5 <title>Credits</title> 6 <title>Credits</title>
6 <style> 7 <style>
7 body { 8 body {
8 font-family:Helvetica,Arial,sans-serif; 9 font-family:Helvetica,Arial,sans-serif;
9 background-color:white; 10 background-color:white;
10 font-size:84%; 11 font-size:84%;
11 max-width:1020px; 12 max-width:1020px;
12 } 13 }
13 .page-title { 14 .page-title {
14 font-size:164%; 15 font-size:164%;
(...skipping 29 matching lines...) Expand all
44 clear:both; 45 clear:both;
45 background-color:#e8eef7; 46 background-color:#e8eef7;
46 padding:16px; 47 padding:16px;
47 border-radius:3px; 48 border-radius:3px;
48 display:none; 49 display:none;
49 } 50 }
50 .licence h3 { 51 .licence h3 {
51 margin-top:0px; 52 margin-top:0px;
52 } 53 }
53 </style> 54 </style>
54 <script>
55 function $(o) {return document.getElementById(o);}
56 function toggle(o) {
57 var licence = o.nextSibling;
58
59 while (licence.className != 'licence') {
60 if (!licence) return false;
61 licence = licence.nextSibling;
62 }
63
64 if (licence.style && licence.style.display == 'block') {
65 licence.style.display = 'none';
66 o.innerHTML = 'show license';
67 } else {
68 licence.style.display = 'block';
69 o.innerHTML = 'hide license';
70 }
71 return false;
72 }
73 </script>
74 </head> 55 </head>
75 <body> 56 <body>
76 <span class="page-title" style="float:left;">Credits</span> 57 <span class="page-title" style="float:left;">Credits</span>
77 <a href="javascript:window.print();" style="float:right;">Print</a> 58 <a id="print-link" href="#" style="float:right;">Print</a>
78 <div style="clear:both; overflow:auto;"><!-- Chromium <3s the following projects --> 59 <div style="clear:both; overflow:auto;"><!-- Chromium <3s the following projects -->
79 {{entries}} 60 {{entries}}
80 </div> 61 </div>
81 62 <script src="chrome://credits/credits.js"></script>
82 </body> 63 </body>
83 </html> 64 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/about_credits.js ('k') | chrome/browser/resources/about_credits_entry.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698