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

Unified Diff: appengine/isolate/templates/browse.html

Issue 1866753008: Add ability to linkify hashes on isolate server (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: Also add content sniffing Created 4 years, 8 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: appengine/isolate/templates/browse.html
diff --git a/appengine/isolate/templates/browse.html b/appengine/isolate/templates/browse.html
index b79202d9f283c646d6032d1a8b337f48372a1dc3..d22e5b7ec94916eb6796ef1f95b572a7994575f4 100644
--- a/appengine/isolate/templates/browse.html
+++ b/appengine/isolate/templates/browse.html
@@ -5,7 +5,7 @@
{% block headers %}
<style>
html, body {
- height: 100%;
+ height: 95%;
margin: 0;
width: 100%;
}
@@ -24,6 +24,7 @@
overflow-y: hidden;
padding: 0;
width: 100%;
+ min-height: 80%;
}
</style>
@@ -135,8 +136,10 @@ Enter the namespace and digest of an object:<br>
</form>
<p>
<div id="generated_link"> </div>
-<p>
+</p>
<hr>
-<div class="use_all_space monospace">{{content}}{# <iframe id="content" class="use_all_space" sandbox="allow-same-origin"></iframe>#}</div>
+<div id="iframe-entry"></div>
+<iframe id="content" class="use_all_space" sandbox="allow-same-origin allow-popups" src="content?namespace={{namespace}}&digest={{digest}}">
M-A Ruel 2016/04/13 20:32:09 Why allow-popups?
kjlubick 2016/04/14 13:18:43 If allow-popups isn't set to true, I can't make th
+</iframe>
{% endblock %}
« appengine/isolate/handlers_frontend.py ('K') | « appengine/isolate/handlers_frontend.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698