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

Unified Diff: third_party/gsutil/third_party/protorpc/demos/tunes_db/client/album_search.html

Issue 1377933002: [catapult] - Copy Telemetry's gsutilz over to third_party. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Rename to gsutil. Created 5 years, 3 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: third_party/gsutil/third_party/protorpc/demos/tunes_db/client/album_search.html
diff --git a/third_party/gsutil/third_party/protorpc/demos/tunes_db/client/album_search.html b/third_party/gsutil/third_party/protorpc/demos/tunes_db/client/album_search.html
new file mode 100644
index 0000000000000000000000000000000000000000..0c23f2a071978b06ebc9a86312a6dfb66f7bd802
--- /dev/null
+++ b/third_party/gsutil/third_party/protorpc/demos/tunes_db/client/album_search.html
@@ -0,0 +1,66 @@
+<!--
+ 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 %}Albums{% endblock %}
+
+{% block body %}
+
+{% block top %}{% endblock %}
+
+<form action="/album_action" method="POST">
+<input type="submit" name="action" value="Delete">
+{% if artist %}
+ <input type="hidden" name="artist_id" value="{{artist.artist_id}}">
+{% endif %}
+
+<table border="1">
+ <thead>
+ <tr>
+ <td></td>
+ <td>Album</td>
+ {% if not artist %}
+ <td>Artist</td>
+ {% endif %}
+ <td>Released</td>
+ </tr>
+ </thead>
+ <tbody>
+ {% for album in albums %}
+ <tr>
+ <td>
+ <input type="checkbox"
+ name="album_id"
+ value="{{album.album_id}}">
+ </td>
+ <td><a href="/album?album_id={{album.album_id}}">{{album.name}}</a></td>
+ {% if not artist %}
+ <td>
+ <a href="/artist?artist_id={{album.artist_id}}">{{album.artist_id}}</a>
+ </td>
+ {% endif %}
+ <td>{% if album.released %}{{album.released}}{% endif %}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>
+</form>
+
+{% block bottom %}{% endblock %}
+
+{% endblock %}
+

Powered by Google App Engine
This is Rietveld 408576698