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

Side by Side Diff: chrome/browser/resources/ssl_error.html

Issue 9195027: In cases of SSL error page due to HSTS, explain why the user cannot proceed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ssl/ssl_blocking_page.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html i18n-values="dir:textdirection"> 2 <html i18n-values="dir:textdirection">
3 <head> 3 <head>
4 <title i18n-content="title"></title> 4 <title i18n-content="title"></title>
5 <style type="text/css"> 5 <style type="text/css">
6 body { 6 body {
7 background-color:#500; 7 background-color:#500;
8 font-family:Helvetica,Arial,sans-serif; 8 font-family:Helvetica,Arial,sans-serif;
9 margin:0px; 9 margin:0px;
10 } 10 }
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 document.addEventListener('DOMContentLoaded', setDirectionSensitiveImages); 114 document.addEventListener('DOMContentLoaded', setDirectionSensitiveImages);
115 document.addEventListener('keypress', keyPressHandler); 115 document.addEventListener('keypress', keyPressHandler);
116 </script> 116 </script>
117 <div class="background"><img src="ssl_roadblock_background.png" width="100%" hei ght="100%" alt="background" onmousedown="return false;"></div> 117 <div class="background"><img src="ssl_roadblock_background.png" width="100%" hei ght="100%" alt="background" onmousedown="return false;"></div>
118 <table width="100%" cellspacing="0" cellpadding="0"> 118 <table width="100%" cellspacing="0" cellpadding="0">
119 <td class="cell" valign="middle" align="center"> 119 <td class="cell" valign="middle" align="center">
120 <div class="box"> 120 <div class="box">
121 <div class="icon"><img src="ssl_roadblock_icon.png" alt="SSL Error Icon" o nmousedown="return false;"></div> 121 <div class="icon"><img src="ssl_roadblock_icon.png" alt="SSL Error Icon" o nmousedown="return false;"></div>
122 <div class="title" i18n-content="headLine"></div> 122 <div class="title" i18n-content="headLine"></div>
123 <div class="main" i18n-values=".innerHTML:description"></div> 123 <div class="main" i18n-values=".innerHTML:description"></div>
124 <div class="main" i18n-values=".innerHTML:cannotProceed"></div>
124 <div class="main"> 125 <div class="main">
125 <form class="submission"> 126 <form class="submission">
126 <input type="button" i18n-values="value:back" name="back" onClick="sen dCommand(0);"> 127 <input type="button" i18n-values="value:back" name="back" onClick="sen dCommand(0);">
127 </form> 128 </form>
128 </div> 129 </div>
129 <div class="example" id="more_info_short"> 130 <div class="example" id="more_info_short">
130 <!-- 131 <!--
131 // The img madness here is due to the inlining of the html file 132 // The img madness here is due to the inlining of the html file
132 // resources. The script that does this looks for subresources like 133 // resources. The script that does this looks for subresources like
133 // images and inlines them, so we need to have references to both the 134 // images and inlines them, so we need to have references to both the
134 // ltr and rtl versions statically. Just doing 135 // ltr and rtl versions statically. Just doing
135 // i18n-values="src:path_to_correct_image_set_by_c++" won't work, since 136 // i18n-values="src:path_to_correct_image_set_by_c++" won't work, since
136 // the inlined version will just end up with that path string rather 137 // the inlined version will just end up with that path string rather
137 // than the inlined image. 138 // than the inlined image.
138 --> 139 -->
139 <a href="#" onclick="toggleMoreInfo(false); return false;" onmousedown=" return false;"><img id="twisty_closed" src="twisty_closed.png" border="0" style= "display:none"><img id="twisty_closed_rtl" src="twisty_closed_rtl.png" border="0 " style="display:none"><span i18n-content="moreInfoTitle" class="moreinfotitle"> </span></a> 140 <a href="#" onclick="toggleMoreInfo(false); return false;" onmousedown=" return false;"><img id="twisty_closed" src="twisty_closed.png" border="0" style= "display:none"><img id="twisty_closed_rtl" src="twisty_closed_rtl.png" border="0 " style="display:none"><span i18n-content="moreInfoTitle" class="moreinfotitle"> </span></a>
140 </div> 141 </div>
141 <div class="example" id="more_info_long" style="display:none;"> 142 <div class="example" id="more_info_long" style="display:none;">
142 <a href="#" onclick="toggleMoreInfo(true); return false;" onmousedown="r eturn false;"><img src="twisty_open.png" border="0"><span i18n-content="moreInfo Title" class="moreinfotitle"></span></a> 143 <a href="#" onclick="toggleMoreInfo(true); return false;" onmousedown="r eturn false;"><img src="twisty_open.png" border="0"><span i18n-content="moreInfo Title" class="moreinfotitle"></span></a>
143 <p i18n-values=".innerHTML:moreInfo1"></p> 144 <p i18n-values=".innerHTML:moreInfo1"></p>
144 <p i18n-values=".innerHTML:moreInfo2"></p> 145 <p i18n-values=".innerHTML:moreInfo2"></p>
145 <p i18n-values=".innerHTML:moreInfo3"></p> 146 <p i18n-values=".innerHTML:moreInfo3"></p>
146 <p i18n-values=".innerHTML:moreInfo4"></p> 147 <p i18n-values=".innerHTML:moreInfo4"></p>
147 <p i18n-values=".innerHTML:moreInfo5"></p> 148 <p i18n-values=".innerHTML:moreInfo5"></p>
148 </div> 149 </div>
149 </td> 150 </td>
150 </table> 151 </table>
151 </body> 152 </body>
152 </html> 153 </html>
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ssl/ssl_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698