Changeset 733 for sites/trunk/trac.wordpress.org/templates/site.html
- Timestamp:
- 07/01/2014 04:37:08 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/trac.wordpress.org/templates/site.html
r732 r733 61 61 ?> 62 62 63 <!--! styles and such --> 64 <head py:match="head" py:attrs="select('@*')"> 65 ${select('*|comment()|text()')} 63 <!--! Styles and such. Load before first JS file (jquery.js) --> 64 <py:match path="head/script[contains(@src,'jquery.js')]"> 66 65 <!--! WP.org Global Header --> 67 66 <xi:include href="wporg-head.html" /> 68 69 67 <meta name="viewport" content="width=device-width" /> 70 68 <link rel='stylesheet' href='//s.w.org/wp-includes/css/dashicons.min.css?20140130' type='text/css' /> 71 69 <link rel="stylesheet" type="text/css" href="//s.w.org/style/trac/wp-trac.css?${scripts_version}" /> 72 70 <link py:if="req.session['authenticated']" rel="stylesheet" href="//s.w.org/wp-includes/css/wp-auth-check.css?ver=3.9-alpha" type="text/css" media="all" /> 73 </head> 74 75 <!--! Remove Trac logo and footer --> 76 <div py:match="div[@id='header']" py:strip=""></div> 77 <div py:match="div[@id='footer']" py:strip=""></div> 78 79 <!--! Notices and instructions when creating a new ticket --> 80 <py:if test="req.environ['PATH_INFO'] == '/newticket'"> 81 82 <!--! Prevent Trac from focusing #field-summary on load, as this can scroll past the instructions --> 83 <py:match path="head/script[contains(@src,'jquery.js')]"> 84 <script py:attrs="select('@*')"></script> 71 72 <script py:attrs="select('@*')"></script> 73 74 <py:if test="req.environ['PATH_INFO'] == '/newticket'"> 75 <!--! Prevent Trac from focusing #field-summary on load, as this can scroll past the instructions --> 85 76 <script> 86 77 jQuery( document ).ready( function( $ ) { … … 88 79 }); 89 80 </script> 90 </py:match> 81 </py:if> 82 </py:match> 83 84 <!--! Remove Trac logo and footer --> 85 <div py:match="div[@id='header']" py:strip=""></div> 86 <div py:match="div[@id='footer']" py:strip=""></div> 87 88 <!--! Notices and instructions when creating a new ticket --> 89 <py:if test="req.environ['PATH_INFO'] == '/newticket'"> 91 90 92 91 <py:match path="div[@id='content' and @class='ticket']/form">
Note: See TracChangeset
for help on using the changeset viewer.