<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[429] sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2: Docs issue tracker page templates</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://meta.trac.wordpress.org/changeset/429">429</a></dd>
<dt>Author</dt> <dd>Otto42</dd>
<dt>Date</dt> <dd>2014-02-25 21:37:13 +0000 (Tue, 25 Feb 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Docs issue tracker page templates</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgp2stylecss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/style.css</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgp2archiveissuephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/archive-issue.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgp2pageissueformphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/page-issueform.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgp2archiveissuephp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/archive-issue.php (0 => 429)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/archive-issue.php                           (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/archive-issue.php      2014-02-25 21:37:13 UTC (rev 429)
</span><span class="lines">@@ -0,0 +1,60 @@
</span><ins>+<?php
+
+add_action('pre_option_p2_hide_sidebar', '__return_true');
+remove_action( 'wp_head', 'p2_hidden_sidebar_css' );
+
+get_header();
+?>
+<style>
+.sleeve_main { margin-left: 0; margin-right: 0; }
+#wrapper { background: transparent; }
+</style>
+
+<script type='text/javascript'>
+jQuery(document).ready(function($){
+       $('.issue-toggle').click(function() {
+               issuetext = $(this).closest('tr').next('.issue-text');
+               if ( issuetext.css( 'display' ) == 'none' ) {
+                       $(this).removeClass( "dashicons-arrow-down" ).addClass( "dashicons-arrow-up" );
+                       issuetext.show();
+               } else {
+                       $(this).removeClass( "dashicons-arrow-up" ).addClass( "dashicons-arrow-down" );
+                       issuetext.hide();
+               }
+               return false;
+       });
+});
+</script>
+
+<div class="sleeve_main">
+       <div id="main">
+               <?php issue_pagenav(); ?>
+               <table id="issuelist">
+                       <tr class="issuehead">
+                       <th class="issue-report">Report by</th>
+                       <th class="issue-date">Date</th>
+                       <th class="issue-type">Issue</th>
+                       <th class="issue-status">Status</th>
+                       <th class="issue-link">Link</th>
+                       <th class="issue-who">Assignee</th>
+                       <th class="issue-action">Actions</th>
+                       </tr>
+
+               <?php if ( have_posts() ) : ?>
+
+                       <?php
+                       while ( have_posts() ) : the_post();
+                               issue_table_row();
+                       endwhile;
+                       ?>
+               <?php endif; ?>
+               </table>
+               <?php issue_pagenav(); ?>
+               <div style="clear:both;"></div>
+       </div> <!-- main -->
+
+</div> <!-- sleeve -->
+
+<?php get_footer(); ?>
+
+
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/archive-issue.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgp2pageissueformphp"></a>
<div class="addfile"><h4>Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/page-issueform.php (0 => 429)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/page-issueform.php                          (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/page-issueform.php     2014-02-25 21:37:13 UTC (rev 429)
</span><span class="lines">@@ -0,0 +1,64 @@
</span><ins>+<?php
+/**
+ * Issue Submission Form
+ */
+
+add_action('pre_option_p2_hide_sidebar', '__return_true');
+remove_action( 'wp_head', 'p2_hidden_sidebar_css' );
+
+// user must be logged into w.org to submit an issue
+if ( !is_user_logged_in() ) {
+    auth_redirect();
+    exit();
+}
+
+get_header();
+
+?>
+<style>
+.sleeve_main { margin-left: 0; margin-right: 0; }
+#wrapper { background: transparent; }
+</style>
+<div class="sleeve_main">
+
+       <div id="main">
+               <h2><?php the_title(); ?></h2>
+       </div> <!-- main -->
+       <div id="postbox">
+
+               <div class="issueinputarea">
+                       <form id="new_issue" name="new_issue" method="post" action="<?php echo site_url(); ?>/">
+                               <div class="postrow thanks">
+                                       <p><?php printf(__('Howdy %1$s, thanks for taking the time to report an issue and to help improve <strong>%2$s</strong>.', 'wporg'),
+                                               esc_html($current_user->display_name),
+                                               get_issue_location() ); ?></p>
+                               </div>
+                               <div class="issuelink">
+                                       <p><?php _e("We think the issue you're reporting is on this page:", 'wporg'); ?></p>
+                                       <input id="issue_link" name="issue_link" type="text" autocomplete="off"
+                                               value="<?php esc_attr_e(get_issue_location_url()); ?>" />
+                                       <p class="right"><?php _e("If this page isn't the right one, please correct it.", 'wporg'); ?></p>
+                               </div>
+                               <div class="issuetype">
+                                       <p><?php _e("What issue would you like to report?", 'wporg'); ?></p>
+                                       <?php issue_type_dropdown(); ?>
+                               </div>
+                               <p class="recommended"><?php _e("Do you have any recommended actions? (This may be a text change if you've spotted a spelling mistake.)", 'wporg'); ?></p>
+                               <textarea class="expand70-200" name="issuetext" id="issuetext" rows="4" cols="60"></textarea>
+                               <div class="postrow issuesubmit">
+                                       <input id="submitissue" type="submit" value="<?php esc_attr_e( 'Report an Issue', 'p2' ); ?>" />
+                               </div>
+                               <input type="hidden" name="action" value="post-issue" />
+                               <?php wp_nonce_field( 'new-post-issue' ); ?>
+                       </form>
+
+               </div>
+
+               <div class="clear"></div>
+
+       </div> <!-- // postbox -->
+
+</div> <!-- sleeve -->
+
+<?php get_footer(); ?>
+
</ins><span class="cx">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/page-issueform.php
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<ins>+native
</ins><span class="cx">\ No newline at end of property
</span><a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgp2stylecss"></a>
<div class="modfile"><h4>Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/style.css (428 => 429)</h4>
<pre class="diff"><span>
<span class="info">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/style.css   2014-02-25 21:00:23 UTC (rev 428)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/style.css      2014-02-25 21:37:13 UTC (rev 429)
</span><span class="lines">@@ -244,3 +244,88 @@
</span><span class="cx">  padding-top: 1%;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+
+/* Styles for docs issue tracker */
+table#issuelist, #issuelist th, #issuelist td {
+       width: 950px;
+       border: 2px solid;
+       border-color: #f1f1f1;
+       border-collapse:collapse;
+       margin:0;
+       padding:4px;
+       border-spacing:0;
+       font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
+       font-size:14px;
+}
+
+#issuelist th {
+       font-weight:bold;
+}
+
+.issue-report, .issue-link, .issue-assignee {
+       color: blue;
+}
+
+.issue-type {
+       color: red;
+}
+
+.issue-status {
+       color: green;
+}
+
+.issue-resolved {
+       background-color: #f1f1f1;
+}
+
+.issueinputarea div, .issueinputarea textarea {
+       width:100%;
+       margin-top:12px;
+}
+
+.issueinputarea .thanks {
+       background: #f1f1f1;    
+       font-weight:bold;
+       padding: 5px 0px 0px 5px;
+       margin:0;
+}
+
+.issueinputarea .issuelink input {
+       width:98%;
+       margin:6px 0;
+       padding:0;
+}
+
+.issueinputarea .issuelink .right{
+       float:right;
+       font-style:italic;
+}
+
+.issueinputarea .issuetype, .issueinputarea .recommended {
+       clear:both;
+}
+
+.issueinputarea .issuetype select {
+       float:right;
+}
+
+.issue-pagenav {
+       float:right;
+       clear:both;
+       font-size:14px;
+}
+
+.issue-pagenav .page-numbers{
+       display:inline-block;
+       border:1px solid #f7f7f7;
+       background-color:#f7f7f7;
+       margin:1px;
+       padding:3px;
+       color:black;
+}
+
+
+.issue-pagenav .page-numbers.current{
+       background-color:#0274A2;
+       color:white;
+}
</ins></span></pre>
</div>
</div>

</body>
</html>