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

Unified Diff: tools/telemetry/third_party/gsutilz/third_party/protorpc/demos/tunes_db/client/artists.html

Issue 1264873003: Add gsutil/third_party to telemetry/third_party/gsutilz/third_party. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove httplib2 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 side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/third_party/gsutilz/third_party/protorpc/demos/tunes_db/client/artists.html
diff --git a/tools/telemetry/third_party/gsutilz/third_party/protorpc/demos/tunes_db/client/artists.html b/tools/telemetry/third_party/gsutilz/third_party/protorpc/demos/tunes_db/client/artists.html
new file mode 100644
index 0000000000000000000000000000000000000000..452d3e78276860ab653ce3ab5d9613b040da7e62
--- /dev/null
+++ b/tools/telemetry/third_party/gsutilz/third_party/protorpc/demos/tunes_db/client/artists.html
@@ -0,0 +1,69 @@
+<!--
+ Copyright 2010 Google Inc.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+{% extends "base.html" %}
+
+{% block title %}Artists{% endblock %}
+
+{% block body %}
+
+
+<form action="/artists" method="GET">
+ <input type="text" name="s" value="{{search_string}}">
+ <input type="submit" name="search" value="Search">
+</form>
+
+<form action="/artist_action" method="POST">
+<input type="submit" name="action" value="Delete">
+<input type="hidden" name="s" value="{{search_string}}">
+<input type="hidden" name="c" value="{{this_page}}">
+<table border="1">
+ <thead>
+ <tr>
+ <td></td>
+ <td>Artist</td>
+ <td>Albums</td>
+ </tr>
+ </thead>
+ <tbody>
+ {% for artist in artists %}
+ <tr>
+ <td>
+ <input type="checkbox"
+ name="artist_id"
+ value="{{artist.artist_id}}">
+ </td>
+ <td>
+ <a href="/artist?artist_id={{artist.artist_id}}">
+ {{artist.name}}
+ </a>
+ </td>
+ <td>{{artist.album_count}}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>
+</form>
+
+<form id="new-artist-form" action="/artist" method="POST">
+New Artist: <input type="text" name="artist_name">
+<input type="hidden" name="s" value="{{search_string}}">
+<input type="hidden" name="continuation" value="{{this_page}}">
+<input type="submit" name="submit" value="Create">
+</form>
+
+{% endblock %}
+

Powered by Google App Engine
This is Rietveld 408576698