Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

177 lines (150 sloc) 7.282 kB
{% extends "../templates/base.html" %}
{% block title %}Phantom Domains{% endblock %}
{% block headcss %}
<link rel='stylesheet' type='text/css' media='all' href='/static/css/phantom_domain.css' />
{% endblock %}
{% block headscripts %}
<script type="text/javascript">
<!--
var csrf_token = "{{ csrf_token }}";
// -->
</script>
<script src="/static/js/bootstrap.js"></script>
<script src="/static/js/bootstrap-tagmanager.js"></script>
<script src="/static/js/phantom_common.js"></script>
<script src="/static/js/phantom_domain.js"></script>
{% endblock %}
{% block bodytag %}{% endblock %}
{% block nimbus_body %}
<div id="phantom_instance_context_menu_div">
<ul id="phantom_domain_instance_context_menu">
<li><div>Terminate</div></li>
</ul>
</div>
<div class="container-fluid inner-container">
<div class="row-fluid">
<div class="span2">
<div id="loading" class="progress progress-striped active">
<div class="bar" style="width: 100%"></div>
</div>
</div>
<div class="span10" id="alert-container">
</div>
</div>
</div>
<div class="container-fluid inner-container">
<div class="row-fluid">
<div class="span2">
<div class="well well-small sidebar-nav domain-well">
<ul class="nav nav-list" id="domain-nav">
<li class=""><a id="phantom_domain_button_add" href="#">Add Domain</a></li>
<li class="divider"></li>
<li class="nav-header" id="domain-header">Domains</li>
</ul>
</div><!--/.well -->
</div><!--/span-->
<div class="span5">
<div id="xphantom_domain_main_combined_pane" class="well well-small domain-well">
<div id="phantom_domain_main_combined_pane_inner">
<h5 class="phantom_area_header">Configuration for <span id="phantom_domain_name_label"></span></h5>
<form class="form-horizontal">
<div class="control-group" >
<label class="control-label" for="phantom_domain_lc_choice">Launch Configuration:</label>
<div class="controls">
<select id="phantom_domain_lc_choice" class="span12">
</select>
</div>
</div>
<div class="control-group" >
<label class="control-label" for="phantom_domain_sensors_input">Sensors to Monitor:</label>
<div class="controls">
<input name="tags" id="phantom_domain_sensors_input" placeholder="Add Sensor" class="span5"></input>
</div>
</div>
<div class="control-group" >
<label class="control-label" id="phantom_domain_de_div">Scaling Policy:</label>
<div class="controls">
<select id="phantom_domain_de_choice" class="span12">
</select>
</div>
</div>
<div class="control-group" id="phantom_domain_multicloud_preferences">
<label for="phantom_domain_size_input" class="control-label">Number of VMs:</label>
<div class="controls">
<input type='text' id="phantom_domain_size_input" class=""/>
</div>
</div>
<div class="control-group" id="phantom_domain_sensor_preferences">
<label for="phantom_domain_metric_choice" class="control-label">Metric:</label>
<div class="controls">
<select id="phantom_domain_metric_choice" class="phantom_domain_value phantom_domain_combo"></select>
</div>
<label for="phantom_domain_cooldown_input" class="control-label">Cooldown (s):</label>
<div class="controls">
<input type='text' id="phantom_domain_cooldown_input" class="phantom_domain_value"/>
</div>
<label for="phantom_domain_minimum_input" class="control-label">Minimum:</label>
<div class="controls">
<input type='text' id="phantom_domain_minimum_input" class="phantom_domain_value"/>
</div>
<label for="phantom_domain_maximum_input" class="control-label">Maximum:</label>
<div class="controls">
<input type='text' id="phantom_domain_maximum_input" class="phantom_domain_value"/>
</div>
<label for="phantom_domain_scale_up_threshold_input" class="control-label">Scale Up Threshold:</label>
<div class="controls">
<input type='text' id="phantom_domain_scale_up_threshold_input" class="phantom_domain_value"/>
</div>
<label for="phantom_domain_scale_up_n_vms_input" class="control-label">Scale Up By:</label>
<div class="controls">
<input type='text' id="phantom_domain_scale_up_n_vms_input" class="phantom_domain_value"/>
</div>
<label for="phantom_domain_scale_down_threshold_input" class="control-label">Scale Down Threshold:</label>
<div class="controls">
<input type='text' id="phantom_domain_scale_down_threshold_input" class="phantom_domain_value"/>
</div>
<label for="phantom_domain_scale_down_n_vms_input" class="control-label">Scale Down By:</label>
<div class="controls">
<input type='text' id="phantom_domain_scale_down_n_vms_input" class="phantom_domain_value"/>
</div>
</div>
<div id="phantom_domain_button_div" class="control-group">
<div id="phantom_domain_start_buttons" class="span12 pagination-centered">
<input type="button" id="phantom_domain_button_start" class="btn btn-primary" value="Start"/>
</div>
<div id="phantom_domain_running_buttons" class="span12 pagination-centered">
<input type="button" id="phantom_domain_button_resize" class="btn" value="Update"/>
<input type="button" id="phantom_domain_button_terminate" class="btn btn-danger" value="Terminate"/>
</div>
</div>
</form>
</div>
</div>
</div><!-- /.span -->
<div class="span5">
<div id="xphantom_domain_details_pane" class="well well-small domain-well">
<h5 id="phantom_domain_details_name" class="phantom_area_header">Details</h5>
<div id="phantom_domain_details_filter_div" class="form-inline">
<select name="phantom_domain_filter_list" id="phantom_domain_filter_list">
<option>All</option>
<option>Healthy</option>
<option>Errors</option>
<option>RUNNING</option>
<option>PENDING</option>
<option>TERMINATING</option>
<option>FAILED</option>
</select>
<input type="button" id="phantom_domain_update_button" class="btn" value="Refresh"/>
<div id="loading_details">
<img src="/static/images/loading0.gif" id="phantom_details_loading_image"/>
</div>
</div>
<div id="phantom_domain_details_list_div">
<ul id="phantom_domain_instance_details">
</ul>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
Jump to Line
Something went wrong with that request. Please try again.