Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Made a more thorough comment to django template code for poplulating …
…metrics tool dropdown. Added overflow to metrics body for long lists. Added animation test for dropdown to ensure it's not displayed behind another exp row.
  • Loading branch information
Kyle Finley committed Oct 2, 2015
1 parent 111f4e1 commit 51d2b9b34ea9a1a73bc0b3d1d8b4d2a9d9457e8a
Showing 3 changed files with 5 additions and 1 deletion.
@@ -337,7 +337,7 @@ <h1 id="expStatusHeader">Experiment Status</h1>
{% for expObjKey, expObjVal in experimentVal.items %}
{% if 'products' in expObjKey %}
{% for product in expObjVal %}
<!-- <option value="{{ product.name }}"> -->{{ product.name }}</option>
<!-- <option value="{{ product.name }}">{{ product.name }}</option> -->
{% endfor %}
{% endif %}
{% endfor %}
@@ -408,6 +408,7 @@ div.product-instructions .glyphicon{
.trayTableHeader {
background: #333;
color: #fff;
height: 40px;
padding: 10px 2%;
}

@@ -417,6 +418,8 @@ div.product-instructions .glyphicon{

.trayTableBody {
padding: 18px 2%;
max-height: 410px;
overflow: auto;
}

.trayTableBody li {
@@ -57,6 +57,7 @@ $(".metricsNavBtn").click(function(){
})

$(".expShelf").click(function(){
if ($(this).parents(".experimentStatusRow").is(":animated")) return false;
var $thisTray = $(this).parents(".experimentStatusRow").find(".expTray");
if ($(this).hasClass("active")) {
$thisTray.fadeOut(300);

0 comments on commit 51d2b9b

Please sign in to comment.