Sha256: 52418c3cc6898e76481d4bec9aa17368ae8ae45cf35f91b90f7ca15f35e649c0
Contents?: true
Size: 1.82 KB
Versions: 2
Compression:
Stored size: 1.82 KB
Contents
<!DOCTYPE html> <html> <head> <title>AppsCake - The AppScale Bootstrapper</title> <link href="css/bootstrap.min.css" rel="stylesheet"> </head> <body> <script src="js/bootstrap.min.js"></script> <script src="js/jquery-1.7.1.min.js"></script> <script src="js/jquery.validate.min.js"></script> <script src="js/appscake_validator.js"></script> <script> function showForm(selector) { document.getElementById('virtual').setAttribute('style', 'display:none') document.getElementById('iaas_ec2').setAttribute('style', 'display:none') var selected = document.getElementById(selector.value); selected.setAttribute('style', ''); } </script> <div class="container"> <div class="page-header"> <h1>AppsCake <small>Makes deploying AppScale a piece of cake!</small></h1> </div> <div class="row"> <div id="content" class="span12"> <form class="well span12"> <legend>Select Deployment Environment</legend> <select onchange="showForm(this)" id="infra.selector"> <option value="virtual">Virtualized Cluster (Xen/KVM)</option> <option value="iaas_ec2">IaaS (EC2)</option> </select> <span class="help-block"> Choose the cloud infrastructure setup on which you wish to deploy AppScale. </span> </form> <div id="virtual"> <td> <%= erb :_virtual %> </td> </div> <div id="iaas_ec2"> <td> <%= erb :_ec2 %> </td> </div> </div> </div> </div> <script> var selector = document.getElementById('infra.selector'); showForm(selector); </script> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
appscake-0.0.3 | views/index.erb |
appscake-0.0.2 | views/index.erb |