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

Side by Side Diff: infra/tools/antibody/templates/antibody_ui_all.jinja

Issue 1235373004: Added script to generate stats on a git checkout (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@new_antibody_db_schema
Patch Set: Rebase Created 5 years, 5 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html lang="en"> 2 <html lang="en">
3 <head> 3 <head>
4 <meta charset="UTF-8" /> 4 <meta charset="UTF-8" />
5 5
6 6
7 <script 7 <script
8 src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"> 8 src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js">
9 </script> 9 </script>
10 <script src="static/bootstrap.min.js"></script> 10 <script src="static/bootstrap.min.js"></script>
11 <script src="static/bootstrap-table.js"></script> 11 <script src="static/bootstrap-table.js"></script>
12 <link rel="stylesheet" href="static/bootstrap.min.css"> 12 <link rel="stylesheet" href="static/bootstrap.min.css">
13 <link rel="stylesheet" href="static/bootstrap-table.css"> 13 <link rel="stylesheet" href="static/bootstrap-table.css">
14 <link rel="stylesheet" type="text/css" href="static/antibody_ui_all.css"> 14 <link rel="stylesheet" type="text/css" href="static/antibody_ui_all.css">
15 15
16 16
17 <title>{{ title }}</title> 17 <title>{{ title }}</title>
18 <meta name="description" content="{{ description }}" /> 18 <meta name="description" content="{{ description }}" />
19 </head> 19 </head>
20 20
21 21
22 22
23 <body> 23 <body>
24 24
25 <div class="nav navbar-fixed-top"> 25 <div class="nav navbar-fixed-top">
26 <div class="container"> 26 <div class="container">
27 <ul class="pull-left"> 27 <ul class="pull-left">
28 <li><a href="{{ antibody_main_link }}">{{ page_header_text }}</a></li> 28 <li><a href="{{ antibody_main_link }}">{{ page_header_text }}</a></li>
29 <li><a href="{{ tbr_by_user_link }}">{{ to_be_reviewed }}</a></li> 29 <li><a href="{{ tbr_by_user_link }}">{{ to_be_reviewed }}</a></li>
30 <li><a href="{{ stats_link }}">{{ stats }}</a></li>
31 <li><a href="{{ leaderboard_link }}">{{ leaderboard }}</a></li>
30 </ul> 32 </ul>
31 <ul class="pull-right"> 33 <ul class="pull-right">
32 <li><p class="gen_time">Generated {{ generation_time }} UTC</p></li> 34 <li><p class="gen_time">Generated {{ generation_time }} UTC</p></li>
33 </ul> 35 </ul>
34 </div> 36 </div>
35 </div> 37 </div>
36 38
37 <div class="stats"> 39 <div class="stats">
38 <div class="container"> 40 <div class="container">
41 In the past 7 days:
42 <div class="numbers">
39 <div class="col-md-4"> 43 <div class="col-md-4">
40 <h3> {{ num_tbr_no_lgtm }} </h3> 44 <h3> {{ num_tbr_no_lgtm }} </h3>
41 <p> TBR'ed without LGTM </p> 45 <p> TBR'ed without LGTM </p>
42 </div> 46 </div>
43 <div class="col-md-4"> 47 <div class="col-md-4">
44 <h3> {{ num_no_review_url }} </h3> 48 <h3> {{ num_no_review_url }} </h3>
45 <p> without review URL </p> 49 <p> without review URL </p>
46 </div> 50 </div>
47 <div class="col-md-4"> 51 <div class="col-md-4">
48 <h3> {{ blank_TBR }} </h3> 52 <h3> {{ blank_TBR }} </h3>
49 <p> with blank TBR </p> 53 <p> with blank TBR </p>
50 </div> 54 </div>
55 </div>
51 </div> 56 </div>
52 </div> 57 </div>
53 58
54 59
55 <div class="bootstrap-table data_table"> 60 <div class="bootstrap-table data_table">
56 <div class="container"> 61 <div class="container">
57 <table data-toggle="table" data-cache="false"> 62 <table data-toggle="table" data-cache="false">
58 <thead> 63 <thead>
59 <tr> 64 <tr>
60 {% for item in table_headers %} 65 {% for item in table_headers %}
61 <th data-field="{{ item }} label">{{ item }}</th> 66 <th data-field="{{ item }} label">{{ item }}</th>
62 {% endfor %} 67 {% endfor %}
63 </tr> 68 </tr>
64 </thead> 69 </thead>
65 <tbody> 70 <tbody>
66 <!-- review_url, request_timestamp, hash, people_email_address --> 71 <!-- review_url, request_timestamp, subject, people_email_address, has h -->
67 {% for rietveld_url, request_timestamp, git_hash, _ in 72 {% for rietveld_url, request_timestamp, subject, _, git_hash in
68 suspicious_commits %} 73 suspicious_commits %}
69 <tr class="data_item"> 74 <tr class="data_item">
70 <td class="git_hash hyperlink"> 75 <td class="git_hash hyperlink">
71 <a href="{{ gitiles_prefix }}{{ git_hash }}"> 76 <a href="{{ gitiles_prefix }}{{ git_hash }}">
72 {{ git_hash }} 77 {{ subject }}
73 </a></td> 78 </a></td>
74 <td class="rietveld_url hyperlink"> 79 <td class="rietveld_url hyperlink">
75 <a href="{{ rietveld_url }}"> 80 <a href="{{ rietveld_url }}">
76 {{ rietveld_url.strip('/') }} 81 {{ rietveld_url.strip('/') }}
77 </a></td> 82 </a></td>
78 <td class="request_timestamp"> {{ request_timestamp }} </td> 83 <td class="request_timestamp">{{ request_timestamp }}
84 </td>
79 </tr> 85 </tr>
80 {% endfor %} 86 {% endfor %}
81 </tbody> 87 </tbody>
82 </table> 88 </table>
83 </div> 89 </div>
84 </div> 90 </div>
85 91
86 92
87 </body> 93 </body>
88 </html> 94 </html>
OLDNEW
« no previous file with comments | « infra/tools/antibody/static/tbr_by_user.js ('k') | infra/tools/antibody/templates/leaderboard.jinja » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698