OLD | NEW |
---|---|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
2 "http://www.w3.org/TR/html4/loose.dtd"> | 2 "http://www.w3.org/TR/html4/loose.dtd"> |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
6 <title> | 6 <title> |
7 {%if is_dev%} | 7 {%if is_dev%} |
8 (DEV) | 8 (DEV) |
9 {%endif%} | 9 {%endif%} |
10 {%block title1%} | 10 {%block title1%} |
11 {%if patch%}{{patch.filename}} -{%endif%} | 11 {%if patch%}{{patch.filename}} -{%endif%} |
12 {%endblock%} | 12 {%endblock%} |
13 {%block title2%} | 13 {%block title2%} |
14 {%if issue%}Issue {{issue.key.id}}: {{issue.subject}} -{%endif%} | 14 {%if issue%}Issue {{issue.key.id}}: {{issue.subject}} -{%endif%} |
15 {%endblock%} | 15 {%endblock%} |
16 Code Review | 16 Code Review |
17 </title> | 17 </title> |
18 <link rel="icon" href="{{media_url}}favicon.ico" /> | 18 <link rel="icon" href="{{media_url}}favicon.ico" /> |
19 <link type="text/css" rel="stylesheet" | 19 <link type="text/css" rel="stylesheet" |
20 href="{{media_url}}styles.css?v={{rietveld_revision}}" /> | 20 href="{{media_url}}styles.css?v={{rietveld_revision}}" /> |
21 <script type="text/javascript" src="{{media_url}}autocomplete/lib/jquery.js">< /script> | 21 <script type="text/javascript" |
22 src="{{media_url}}autocomplete/lib/jquery.js"></script> | |
22 <script type="text/javascript" | 23 <script type="text/javascript" |
23 src="{{media_url}}script.js?v={{rietveld_revision}}"></script> | 24 src="{{media_url}}script.js?v={{rietveld_revision}}"></script> |
25 <script type="text/javascript" | |
26 src="{{media_url}}es6-promise/es6-promise-2.0.1.min.js"></script> | |
27 <script type="text/javascript" | |
28 src="https://apis.google.com/js/client.js"></script> | |
24 <link rel="alternate" type="application/atom+xml" | 29 <link rel="alternate" type="application/atom+xml" |
25 title="Recent Issues" | 30 title="Recent Issues" |
26 href="{%url rss_all %}" /> | 31 href="{%url rss_all %}" /> |
27 {%if account%} | 32 {%if account%} |
28 <link rel="alternate" type="application/atom+xml" | 33 <link rel="alternate" type="application/atom+xml" |
29 title="Issues created by me" | 34 title="Issues created by me" |
30 href="{%url rss_mine account.nickname%}" /> | 35 href="{%url rss_mine account.nickname%}" /> |
31 <link rel="alternate" type="application/atom+xml" | 36 <link rel="alternate" type="application/atom+xml" |
32 title="Issues reviewable by me" | 37 title="Issues reviewable by me" |
33 href="{%url rss_reviews account.nickname%}" /> | 38 href="{%url rss_reviews account.nickname%}" /> |
(...skipping 16 matching lines...) Expand all Loading... | |
50 <!-- Begin help window --> | 55 <!-- Begin help window --> |
51 <script type="text/javascript"><!-- | 56 <script type="text/javascript"><!-- |
52 var xsrfToken = '{{xsrf_token}}'; | 57 var xsrfToken = '{{xsrf_token}}'; |
53 var helpDisplayed = false; | 58 var helpDisplayed = false; |
54 document.onclick = M_clickCommon; | 59 document.onclick = M_clickCommon; |
55 var media_url = "{{media_url}}"; | 60 var media_url = "{{media_url}}"; |
56 var base_url = "{%url codereview.views.index%}"; | 61 var base_url = "{%url codereview.views.index%}"; |
57 {%if issue%} | 62 {%if issue%} |
58 var publish_link = "{%url codereview.views.publish issue.key.id%}"; | 63 var publish_link = "{%url codereview.views.publish issue.key.id%}"; |
59 {%endif%} | 64 {%endif%} |
65 rietveld.preferredDomainName = "{{preferred_domain_name}}"; | |
esprehn
2015/04/14 01:00:11
This needs the |jsescape filter. (all of these do)
| |
66 rietveld.buildbucketHostname = "{{buildbucket_hostname}}"; | |
67 {%if client_id%} | |
68 rietveld.gapi.clientId = "{{client_id}}"; | |
69 {%endif%} | |
70 {%if user%} | |
71 rietveld.user = { | |
72 email: "{{user.email}}" | |
73 }; | |
74 {%endif%} | |
60 // --> | 75 // --> |
61 </script> | 76 </script> |
62 <div id="help" style="display: none;"> | 77 <div id="help" style="display: none;"> |
63 {%block help%}{%endblock%} | 78 {%block help%}{%endblock%} |
64 <div style="font-size: medium; text-align: center;">Keyboard Shortcuts</div> | 79 <div style="font-size: medium; text-align: center;">Keyboard Shortcuts</div> |
65 <hr /> | 80 <hr /> |
66 <table class="shortcuts"> | 81 <table class="shortcuts"> |
67 <tr valign="top"> | 82 <tr valign="top"> |
68 <td> | 83 <td> |
69 <table> | 84 <table> |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
271 (function() { | 286 (function() { |
272 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.a sync = true; | 287 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.a sync = true; |
273 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://w ww') + '.google-analytics.com/ga.js'; | 288 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://w ww') + '.google-analytics.com/ga.js'; |
274 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefor e(ga, s); | 289 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefor e(ga, s); |
275 })(); | 290 })(); |
276 </script> | 291 </script> |
277 {%endif%} | 292 {%endif%} |
278 | 293 |
279 </body> | 294 </body> |
280 </html> | 295 </html> |
OLD | NEW |