diff options
author | Ben Murdoch <benm@google.com> | 2011-05-05 14:36:32 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2011-05-10 15:38:30 +0100 |
commit | f05b935882198ccf7d81675736e3aeb089c5113a (patch) | |
tree | 4ea0ca838d9ef1b15cf17ddb3928efb427c7e5a1 /WebKitTools/QueueStatusServer/templates | |
parent | 60fbdcc62bced8db2cb1fd233cc4d1e4ea17db1b (diff) | |
download | external_webkit-f05b935882198ccf7d81675736e3aeb089c5113a.zip external_webkit-f05b935882198ccf7d81675736e3aeb089c5113a.tar.gz external_webkit-f05b935882198ccf7d81675736e3aeb089c5113a.tar.bz2 |
Merge WebKit at r74534: Initial merge by git.
Change-Id: I6ccd1154fa1b19c2ec2a66878eb675738735f1eb
Diffstat (limited to 'WebKitTools/QueueStatusServer/templates')
11 files changed, 0 insertions, 297 deletions
diff --git a/WebKitTools/QueueStatusServer/templates/dashboard.html b/WebKitTools/QueueStatusServer/templates/dashboard.html deleted file mode 100644 index f88a5ea..0000000 --- a/WebKitTools/QueueStatusServer/templates/dashboard.html +++ /dev/null @@ -1,44 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<title>WebKit Bot Status</title> -<link type="text/css" rel="stylesheet" href="/stylesheets/dashboard.css" /> -<script> -function statusDetail(patch_id) { - // FIXME: We'd like to use AJAX to show the details on this page. - window.location = "/patch/" + patch_id -} -</script> -</head> -<body> -<h1>WebKit Bot Status</h1> -<table> - <theader> - <tr> - <th>Bug</th> - <th>Attachment</th> - {% for header in headers %} - <th>{{ header }}</th> - {% endfor %} - </tr> - </thead> - <tbody>{% for row in rows %} - <tr> - <td class="status-cell"> - {{ row.bug_id|force_escape|webkit_bug_id|safe }} - </td> - <td class="status-cell"> - {{ row.attachment_id|force_escape|webkit_attachment_id|safe }} - </td> - {% for bubble in row.bubbles %} - <td class="status-cell {{ bubble.status_class }}" - {% if bubble.status %} - onclick="statusDetail({{ row.attachment_id }})" - title="{{ bubble.status_date|timesince }}" - {% endif %}> - </td> - {% endfor %} - </tr>{% endfor %} - </tbody> -</table> -</html> diff --git a/WebKitTools/QueueStatusServer/templates/includes/singlequeuestatus.html b/WebKitTools/QueueStatusServer/templates/includes/singlequeuestatus.html deleted file mode 100644 index 0adbfbd..0000000 --- a/WebKitTools/QueueStatusServer/templates/includes/singlequeuestatus.html +++ /dev/null @@ -1,9 +0,0 @@ -<span class="status-date">{{ status.date|timesince }} ago -{% if status.bot_id %} -({{ status.bot_id }}) -{% endif %} -</span> -<span class="status-message">{{ status.message|force_escape|urlize|webkit_linkify|safe }}</span> -{% if status.results_file %} - <span class="status-results">[{{ status.key.id|results_link|safe }}]</span> -{% endif %} diff --git a/WebKitTools/QueueStatusServer/templates/patch.html b/WebKitTools/QueueStatusServer/templates/patch.html deleted file mode 100644 index de334a5..0000000 --- a/WebKitTools/QueueStatusServer/templates/patch.html +++ /dev/null @@ -1,21 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<title>Patch Status</title> -<link type="text/css" rel="stylesheet" href="/stylesheets/dashboard.css" /> -</head> -<body> -<h1> - Patch {{ attachment_id|force_escape|webkit_attachment_id|safe }} (Bug {{ bug_id|force_escape|webkit_bug_id|safe }}) -</h1>{% for queue_name, statuses in queue_status.items %} -<div class="status-details"> - <h2>{{ queue_name }}</h2> - <ul>{% for status in statuses %} - <li> - <span class="status-message">{{ status.message|force_escape|urlize|webkit_linkify|safe }}</span>{% if status.results_file %} - <span class="status-results">[{{ status.key.id|results_link|safe }}]</span>{% endif %} - <span class="status-date">{{ status.date|timesince }} ago</span> - </li>{% endfor %} - </ul> -</div>{% endfor %} -</html> diff --git a/WebKitTools/QueueStatusServer/templates/queuestatus.html b/WebKitTools/QueueStatusServer/templates/queuestatus.html deleted file mode 100644 index 1b98952..0000000 --- a/WebKitTools/QueueStatusServer/templates/queuestatus.html +++ /dev/null @@ -1,62 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<title>{{ display_queue_name }} Status</title> -<link type="text/css" rel="stylesheet" href="/stylesheets/dashboard.css" /> -</head> -<body> -<h1>{{ display_queue_name }} Status</h1> - -<h3>Recent Status</h3> - -<div class="status-details"> - <ul> - {% for status_group in status_groups %} - {% with status_group.0 as title_status %} - <li class="status-group"> - {% if title_status.active_bug_id %} - <span class="status-bug"> - Patch {{ title_status.active_patch_id|force_escape|webkit_attachment_id|safe }} from bug - {{ title_status.active_bug_id|force_escape|webkit_bug_id|safe }}: - </span> - {% endif %} - - {% ifequal status_group|length 1 %} - {% with title_status as status %} - {% include 'includes/singlequeuestatus.html' %} - {% endwith %} - {% else %} - <ul> - {% for status in status_group %} - <li class="status"> - {% include 'includes/singlequeuestatus.html' %} - </li> - {% endfor %} - </ul> - {% endifequal %} - </li> - {% endwith %} - {% endfor %} - </ul> -</div> - -<h3>Patches in queue</h3> -<table> - <tr><th>Position</th><th>Patch</th><th>Lock Acquired</th></tr> - {% for row in work_item_rows %} - <tr> - <td>#{{ forloop.counter }}</td> - <td> - {{ row.attachment_id|force_escape|webkit_attachment_id|safe }} - </td> - <td> - {% if row.lock_time %} - {{ row.lock_time|timesince }} ago - {% endif %} - </td> - </tr> - {% endfor %} -</table> - -</body> -</html> diff --git a/WebKitTools/QueueStatusServer/templates/recentstatus.html b/WebKitTools/QueueStatusServer/templates/recentstatus.html deleted file mode 100644 index 808d8d7..0000000 --- a/WebKitTools/QueueStatusServer/templates/recentstatus.html +++ /dev/null @@ -1,54 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<title>WebKit Queue Status</title> -<link type="text/css" rel="stylesheet" href="/stylesheets/dashboard.css" /> -<style> -.queue_bubble { - border: 1px solid black; - margin-bottom: 10px; - border-radius: 10px; - padding: 5px; -} -.queue_name { - float:left; -} -.last_heard_from { - float: right; -} -.status_text { - clear: both; -} -.alive { - background-color: #8FDF5F; -} -.behind { - background-color: #FFFC6C; -} -.dead { - background-color: #E98080; -} -</style> -</head> -<body> -<h1>WebKit Queue Status</h1> -{% for queue in queues %} -<div class="queue_bubble {{ queue.status_class }}"> - <div class="queue_name"> - <a href="/queue-status/{{ queue.name }}"> - {{ queue.display_name }} - </a> - </div> - {% if queue.last_heard_from %} - <div class="last_heard_from">{{ queue.last_heard_from|timesince }} ago</div> - {% endif %} - <div class="status_text"> - Status: {{ queue.status_text|force_escape|urlize|webkit_linkify|safe }} - </div> - <div> - {{ queue.pending_items_count }} pending - </div> -</div> -{% endfor %} -</body> -</html> diff --git a/WebKitTools/QueueStatusServer/templates/releasepatch.html b/WebKitTools/QueueStatusServer/templates/releasepatch.html deleted file mode 100644 index cbd6d6f..0000000 --- a/WebKitTools/QueueStatusServer/templates/releasepatch.html +++ /dev/null @@ -1,3 +0,0 @@ -<form name="release_patch" enctype="multipart/form-data" method="post"> -Patch to release: <input name="attachment_id"> from <input name="queue_name"><input type="submit" value="Release locks and remove from queue"></div> -</form> diff --git a/WebKitTools/QueueStatusServer/templates/statusbubble.html b/WebKitTools/QueueStatusServer/templates/statusbubble.html deleted file mode 100644 index f11544d..0000000 --- a/WebKitTools/QueueStatusServer/templates/statusbubble.html +++ /dev/null @@ -1,64 +0,0 @@ -<!DOCTYPE html> -<html> -<head> -<style> -body { - font-family: Verdana, sans-serif; - margin: 0px; - padding: 0px; -} -.status { - display: block; - float: left; - margin: 1px; - padding: 1px 2px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius: 5px; - border: 1px solid #AAA; - background-color: white; - font-size: 11px; - cursor: pointer; -} -.none { - cursor: auto; -} -.pass { - background-color: #8FDF5F; - border: 1px solid #4F8530; -} -.fail { - background-color: #E98080; - border: 1px solid #A77272; -} -.pending { - background-color: #FFFC6C; - border: 1px solid #C5C56D; -} -.error { - background-color: #E0B0FF; - border: 1px solid #ACA0B3; -} -.queue_position { - font-size: 9px; -} -</style> -<script> -function statusDetail(patch_id) { - top.location = "/patch/" + patch_id -} -</script> -</head> -<body> -{% for bubble in bubbles %} -<div class="status {{ bubble.state }}"{% if bubble.status %} - onclick="statusDetail({{ bubble.attachment_id }})" - title="{{ bubble.status.date|timesince }} ago"{% endif %}> - {{ bubble.name }} - {% if bubble.queue_position %} - <span class="queue_position">#{{ bubble.queue_position }}</span> - {% endif %} -</div> -{% endfor %} -</body> -</html> diff --git a/WebKitTools/QueueStatusServer/templates/submittoews.html b/WebKitTools/QueueStatusServer/templates/submittoews.html deleted file mode 100644 index fb9d8aa..0000000 --- a/WebKitTools/QueueStatusServer/templates/submittoews.html +++ /dev/null @@ -1,3 +0,0 @@ -<form name="submit_to_ews" enctype="multipart/form-data" method="post"> -Patch to submit: <input name="attachment_id"><input type="submit" value="Submit for EWS Processing"></div> -</form> diff --git a/WebKitTools/QueueStatusServer/templates/updatestatus.html b/WebKitTools/QueueStatusServer/templates/updatestatus.html deleted file mode 100644 index 0f98ba4..0000000 --- a/WebKitTools/QueueStatusServer/templates/updatestatus.html +++ /dev/null @@ -1,21 +0,0 @@ -<form name="update_status" enctype="multipart/form-data" method="post"> -Update status for a queue: <input name="queue_name"> - <div> - Bot Id: - <input name="bot_id"> - </div> - <div> - Active Bug Id: - <input name="bug_id"> - </div> - <div> - Active Patch Id: - <input name="patch_id"> - </div> - <div> - Status Text:<br> - <textarea name="status" rows="3" cols="60"></textarea> - </div> - <div>Results file: <input type="file" name="results_file"></div> - <div><input type="submit" value="Add Status"></div> -</form> diff --git a/WebKitTools/QueueStatusServer/templates/updatesvnrevision.html b/WebKitTools/QueueStatusServer/templates/updatesvnrevision.html deleted file mode 100644 index 6ea4e7b..0000000 --- a/WebKitTools/QueueStatusServer/templates/updatesvnrevision.html +++ /dev/null @@ -1,8 +0,0 @@ -<form name="update_svn_revision" method="post"> -Update an SVN revision: <input name="number"> - <div> - Broken Bot: - <input name="broken_bot"> - </div> - <div><input type="submit" value="Update"></div> -</form> diff --git a/WebKitTools/QueueStatusServer/templates/updateworkitems.html b/WebKitTools/QueueStatusServer/templates/updateworkitems.html deleted file mode 100644 index b086fc3..0000000 --- a/WebKitTools/QueueStatusServer/templates/updateworkitems.html +++ /dev/null @@ -1,8 +0,0 @@ -<form name="update_work_items" enctype="multipart/form-data" method="post"> -Update work items for a queue: <input name="queue_name"> - <div> - Work Items: - <input name="work_items"> - </div> - <div><input type="submit" value="Update Work Items"></div> -</form> |