FunnelEnvy/optimizely-cli

View on GitHub
templates/server.ejs

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>Optimizely Powertool</title>
    </head>
<body>
    <% experiments.forEach(function(experiment){%>
        <h2><%- experiment.id %> - <%- experiment.description %></h2>
        <% experiment._variations.forEach(function(variation){%>
            <a href="/<%- experiment.id  %>/<%- variation.id  %>/script.user.js">Install <%- variation.description %></a><br />
        <% }) %>
    <% }) %>
</body>
</html>