github.com/munnerz/test-infra@v0.0.0-20190108210205-ce3d181dc989/prow/cmd/deck/template/pr.html (about)

     1  {{define "title"}}PR Status{{end}}
     2  {{define "scripts"}}
     3      <link rel="stylesheet" href="/static/labels.css">
     4      <link rel="stylesheet" href="/static/dialog-polyfill.css">
     5      <script type="text/javascript" src="/static/pr_bundle.min.js"></script>
     6      <script type="text/javascript" src="data.js?var=allBuilds"></script>
     7      <script type="text/javascript" src="tide.js?var=tideData"></script>
     8  {{end}}
     9  {{define "content"}}
    10  <div id="pr-container">
    11  
    12  </div>
    13  {{end}}
    14  {{define "extra content"}}
    15  <dialog id="search-dialog" class="pr-status-dialog mdl-dialog">
    16    <h4 class="mdl-dialog__title">Github search query</h4>
    17    <div class="mdl-dialog__content">
    18      <p>You can query for <strong>pull requests</strong> using Github search syntax.</p>
    19      <p>Notice:</p>
    20      <ol>
    21        <li>
    22          <p>The search feature is used to search <strong>pull requests</strong>. We enforce this by dropping any <code>is:issue</code> or <code>type:issue</code> token in the query and will append <code>is:pr</code> to the query if <code>is:pr</code> does not exist.</p>
    23        </li>
    24        <li>
    25          <p>If you do not mention any organization or repository in the query, we will search for pull requests in repositories that use either <strong>Prow</strong> or <strong>Tide</strong>.</p>
    26        </li>
    27        <li>
    28          <p>By default, PR Status will display all of your open pull requests that are configured with either <strong>Prow</strong> or <strong>Tide</strong>.</p>
    29        </li>
    30      </ol>
    31    </div>
    32    <div class="mdl-dialog__actions">
    33      <button type="button" class="mdl-button close">Close</button>
    34    </div>
    35  </dialog>
    36  <dialog id="status-help-dialog" class="pr-status-dialog mdl-dialog">
    37    <h4 class="mdl-dialog__title"></h4>
    38    <div class="mdl-dialog__content">
    39    </div>
    40    <div class="mdl-dialog__actions">
    41      <button type="button" class="mdl-button close">Close</button>
    42    </div>
    43  </dialog>
    44  <dialog id="query-dialog" class="pr-status-dialog mdl-dialog">
    45    <h4 class="mdl-dialog__title">Query Details</h4>
    46    <div class="mdl-dialog__content">
    47      <div id="query-detail-milestone" class="hidden">
    48        <p class="detail-title">Milestone</p>
    49        <p class="detail-data"></p>
    50      </div>
    51      <div id="query-detail-exclude" class="hidden">
    52        <p class="detail-title">Excluded branches</p>
    53        <p class="detail-data"></p>
    54      </div>
    55      <div id="query-detail-include" class="hidden">
    56        <p class="detail-title">Included branches</p>
    57        <p class="detail-data"></p>
    58      </div>
    59      <p class="detail-title">All required labels</p>
    60      <p id="query-all-required"></p>
    61      <p class="detail-title">All forbidden labels</p>
    62      <p id="query-all-forbidden"></p>
    63    </div>
    64    <div class="mdl-dialog__actions">
    65      <button type="button" class="mdl-button close">Close</button>
    66    </div>
    67  </dialog>
    68  <dialog id="merge-help-dialog" class="pr-status-dialog mdl-dialog">
    69    <h4 class="mdl-dialog__title">How to meet merge requirements?</h4>
    70    <div class="mdl-dialog__content">
    71      <p>To meet merge requirements, all PR's labels need to satisfy at least one of queries configured for the repo that the PR belongs to.</p>
    72      <p>The table below shows all queries for the PR's repo. Each row of the table below shows 2 parts of a query: <strong>required</strong> labels <strong>missing</strong> from the PR and <strong>forbidden</strong> labels that the PR <strong>has</strong>.</p>
    73      <p>The PR would be considered as meeting merge requirements once it <strong>obtains all required labels</strong> and <strong>removes all forbidden labels</strong> for at least one row.</p>
    74      <p>For more information, see: <a href="https://github.com/kubernetes/community/tree/master/contributors/guide">Kubernetes Contributor Guide</a> & <a href="/command-help">Command Help Page</a></p>
    75    </div>
    76    <div class="mdl-dialog__actions">
    77      <button type="button" class="mdl-button close">Close</button>
    78    </div>
    79  </dialog>
    80  {{end}}
    81  
    82  {{template "page" (settings mobileFriendly "pr" .)}}