Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

67 lines (59 sloc) 2.409 kb
{% extends "layout.html" %}
{% block body %}
<script type="text/javascript">
var experiments = {{ experiments|list|tojson|safe }};
<div id="archive-notice">
<p class="archive-is-not-active"><i class="icon-eye-open icon-white"></i>&nbsp; <span>ARCHIVED EXPERIMENTS INCLUDED</span> <a href="{{ url_for('hello') }}" class="btn btn-inverse">Hide</a> </p>
<p class="archive-is-active"><i class="icon-eye-close icon-white"></i>&nbsp; <span>ARCHIVED EXPERIMENTS NOT INCLUDED</span> <a href="{{ url_for('hello', include_archived=True) }}" class="btn btn-inverse">Show</a></p>
<div id="dashboard-page">
<ul class="experiments"></ul>
<div id="no-data">
<h2>Oh No.</h2>
<p>It seems you haven't created any experiments, yet. To do this simply make a <code>GET</code> request to your sixpack server's 'participate' endpoint.</p>
<pre><code>$ curl <span id="base-domain"></span>/participate?experiment=new-header&amp;alternatives=red&amp;alternatives=blue&amp;client_id=&lt;A UNIQUIE CLIENT ID&gt;</code></pre>
<script type="text/template" id="experiment-template">
<div class="header">
<h3 class="name">
<a href="/experiment/<%- %>"><%- %></a>
<% if (experiment.description) { %>
<h4><%- experiment.description %></h4>
<% } %>
<div class="clearfix"></div>
<th>Conv Rate</th>
<% _.each(experiment.alternatives, function (alt, index) { %>
<tr class="<%- %>-line-<%- index %>">
<span class="circle color-<%- (index + 1) %>">
<% if (alt.is_winner) { %>
<i class="icon-ok"></i>
<% } %>
<%- %>
<% if (alt.is_control) { %>
<span class="note control">control</span>
<% } %>
<td><%- alt.participant_count %></td>
<td><%- alt.conversion_rate %></td>
<td><span title="<%- alt.z_score %>"><%- alt.confidence_level %><span></td>
<% }); %>
<div id="chart-<%- %>" class="chart" data-experiment="< %>">
{% endblock %}
Jump to Line
Something went wrong with that request. Please try again.