<commit_before>{% extends "base.html" %}

{% load cloud_extras %}
						
{% block title %}Amazon EC2 Virtual Machine {{vm_name|upper}}{% endblock %}

{% block page_content %}


<div class="col-md-10 col-sm-11 main ">

	<ol class="breadcrumb">
	  	<li><a href="/">Servers</a></li>
	  	<li class="active">Amazon EC2 {{vm_name}}</li>
	</ol>

	<div class="row">
		<div class="col-xs-12">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h2><i class="fa fa-truck"></i>Server Details</h2>
					<div class="panel-actions">
						<a href="#" class="btn-setting"><i class="fa fa-wrench"></i></a>
						<a href="#" class="btn-minimize"><i class="fa fa-chevron-up"></i></a>
						<a href="#" class="btn-close"><i class="fa fa-times"></i></a>
					</div>
				</div>

				<div class="panel-body">

					<div class="panel-body col-md-6">
					
						<table id="user" class="table table-bordered table-striped" style="clear: both">
							<tbody> 
								<tr>		 
									<td width="30%">Name</td>
									<td width="70%"><a href="#" id="servername">{{vm_cache|dict_get:"instance"|dict_get:"id"}}</a></td>
								</tr>
								<tr>		 
									<td>IP Address</td>
									<td>
										{% if vm_cache|dict_get:"instance"|dict_get:"ip_address" %}
										<a href="http://www.infosniper.net/index.php?ip_address={{vm_cache|dict_get:"instance"|dict_get:"ip_address"}}&map_source=1&overview_map=1&lang=1&map_type=1&zoom_level=7" target="_blank">{{vm_cache|dict_get:"instance"|dict_get:"ip_address"}}</a>
										{% else %}
										offline
										{% endif %}
									</td>
								</tr>
								
								{% if vm_cache|dict_get:"instance"|dict_get:"dns_name" %}
								<tr>
									<td>DNS Name</td>
									<td><a href="http://{{vm_cache|dict_get:"instance"|dict_get:"dns_name"}}" target="_blank">http://{{vm_cache|dict_get:"instance"|dict_get:"dns_name"}}</a></td>
								</tr>
								{% endif %}
								
								<tr>		 
									<td>Region</td>
									<td>{{vm_cache|dict_get:"instance"|dict_get:"region"|dict_get:"name"}}</td>
								</tr>
								<tr>		 
									<td>AWS Image ID</td>
									<td>{{vm_cache|dict_get:"instance"|dict_get:"image_id"}}</td>
								</tr>
							</tbody>
						</table>	

						<table id="user" class="table table-bordered table-striped" style="clear: both">
							<tbody> 
								<tr>		 
									<td>Security Groups</td>
									<td>
									{% for group in vm_cache|dict_get:"instance"|dict_get:"groups" %}
										{% for g in group %}
											{{g}}{% if not forloop.last %},{% endif %}
										{% endfor %}
									{% endfor %}
									</td>
								</tr>					  
								<tr>		 
									<td width="30%">Key Name</td>
									<td width="70%">{{vm_cache|dict_get:"instance"|dict_get:"key_name"}}</td>
								</tr>					  
							</tbody>
						</table>	


						<table id="user" class="table table-bordered table-striped" style="clear: both">
							<tbody> 
								<tr>	  
									<td width="30%">Tags</td>
									<td width="70%">{{vm_cache|dict_get:"instance"|dict_get:"tags"}}</td>
								</tr>
								<tr>		 
									<td width="30%">Launch Time</td>
									<td width="70%">{{vm_cache|dict_get:"instance"|dict_get:"launch_time"}}</td>
								</tr>	 
								<tr>		 
									<td>State</td>
									<td>{{vm_cache|dict_get:"instance"|dict_get:"state"|dict_get:"state"|title}}</td>
								</tr>
								{% if vm_cache|dict_get:"instance"|dict_get:"state"|dict_get:"state_reason" %}
								<tr>
									<td>State Reason</td>
									<td>{{vm_cache|dict_get:"instance"|dict_get:"state"|dict_get:"state_reason"|dict_get:"message"}}</td>
								</tr>
								{% endif %}
							</tbody>
						</table>

					</div>
					<div class="panel-body col-md-6">							
							
						<table id="user" class="table table-bordered table-striped" style="clear: both">
							<tbody> 
								<tr>		 
									<td width="30%">Instance Type</td>
									<td width="70%">{{vm_cache|dict_get:"instance"|dict_get:"instance_type"}}</td>
								</tr> 
								<tr>		 
									<td>Architecture</td>
									<td>{{vm_cache|dict_get:"instance"|dict_get:"architecture"}}</td>
								</tr> 
								<tr>		 
									<td>Virtualization Type</td>
									<td>{{vm_cache|dict_get:"instance"|dict_get:"virtualization_type"}}</td>
								</tr>
								<tr>		 
									<td>Hypervisor</td><commit_msg>decapitalized state reason on the aws vm<commit_after>{% extends "base.html" %}

{% load cloud_extras %}
						
{% block title %}Amazon EC2 Virtual Machine {{vm_name|upper}}{% endblock %}

{% block page_content %}


<div class="col-md-10 col-sm-11 main ">

	<ol class="breadcrumb">
	  	<li><a href="/">Servers</a></li>
	  	<li class="active">Amazon EC2 {{vm_name}}</li>
	</ol>

	<div class="row">
		<div class="col-xs-12">
			<div class="panel panel-default">
				<div class="panel-heading">
					<h2><i class="fa fa-truck"></i>Server Details</h2>
					<div class="panel-actions">
						<a href="#" class="btn-setting"><i class="fa fa-wrench"></i></a>
						<a href="#" class="btn-minimize"><i class="fa fa-chevron-up"></i></a>
						<a href="#" class="btn-close"><i class="fa fa-times"></i></a>
					</div>
				</div>

				<div class="panel-body">

					<div class="panel-body col-md-6">
					
						<table id="user" class="table table-bordered table-striped" style="clear: both">
							<tbody> 
								<tr>		 
									<td width="30%">Name</td>
									<td width="70%"><a href="#" id="servername">{{vm_cache|dict_get:"instance"|dict_get:"id"}}</a></td>
								</tr>
								<tr>		 
									<td>IP Address</td>
									<td>
										{% if vm_cache|dict_get:"instance"|dict_get:"ip_address" %}
										<a href="http://www.infosniper.net/index.php?ip_address={{vm_cache|dict_get:"instance"|dict_get:"ip_address"}}&map_source=1&overview_map=1&lang=1&map_type=1&zoom_level=7" target="_blank">{{vm_cache|dict_get:"instance"|dict_get:"ip_address"}}</a>
										{% else %}
										offline
										{% endif %}
									</td>
								</tr>
								
								{% if vm_cache|dict_get:"instance"|dict_get:"dns_name" %}
								<tr>
									<td>DNS Name</td>
									<td><a href="http://{{vm_cache|dict_get:"instance"|dict_get:"dns_name"}}" target="_blank">http://{{vm_cache|dict_get:"instance"|dict_get:"dns_name"}}</a></td>
								</tr>
								{% endif %}
								
								<tr>		 
									<td>Region</td>
									<td>{{vm_cache|dict_get:"instance"|dict_get:"region"|dict_get:"name"}}</td>
								</tr>
								<tr>		 
									<td>AWS Image ID</td>
									<td>{{vm_cache|dict_get:"instance"|dict_get:"image_id"}}</td>
								</tr>
							</tbody>
						</table>	

						<table id="user" class="table table-bordered table-striped" style="clear: both">
							<tbody> 
								<tr>		 
									<td>Security Groups</td>
									<td>
									{% for group in vm_cache|dict_get:"instance"|dict_get:"groups" %}
										{% for g in group %}
											{{g}}{% if not forloop.last %},{% endif %}
										{% endfor %}
									{% endfor %}
									</td>
								</tr>					  
								<tr>		 
									<td width="30%">Key Name</td>
									<td width="70%">{{vm_cache|dict_get:"instance"|dict_get:"key_name"}}</td>
								</tr>					  
							</tbody>
						</table>	


						<table id="user" class="table table-bordered table-striped" style="clear: both">
							<tbody> 
								<tr>	  
									<td width="30%">Tags</td>
									<td width="70%">{{vm_cache|dict_get:"instance"|dict_get:"tags"}}</td>
								</tr>
								<tr>		 
									<td width="30%">Launch Time</td>
									<td width="70%">{{vm_cache|dict_get:"instance"|dict_get:"launch_time"}}</td>
								</tr>	 
								<tr>		 
									<td>State</td>
									<td>{{vm_cache|dict_get:"instance"|dict_get:"state"|dict_get:"state"|title}}</td>
								</tr>
								{% if vm_cache|dict_get:"instance"|dict_get:"state"|dict_get:"state_reason" %}
								<tr>
									<td>State reason</td>
									<td>{{vm_cache|dict_get:"instance"|dict_get:"state"|dict_get:"state_reason"|dict_get:"message"}}</td>
								</tr>
								{% endif %}
							</tbody>
						</table>

					</div>
					<div class="panel-body col-md-6">							
							
						<table id="user" class="table table-bordered table-striped" style="clear: both">
							<tbody> 
								<tr>		 
									<td width="30%">Instance Type</td>
									<td width="70%">{{vm_cache|dict_get:"instance"|dict_get:"instance_type"}}</td>
								</tr> 
								<tr>		 
									<td>Architecture</td>
									<td>{{vm_cache|dict_get:"instance"|dict_get:"architecture"}}</td>
								</tr> 
								<tr>		 
									<td>Virtualization Type</td>
									<td>{{vm_cache|dict_get:"instance"|dict_get:"virtualization_type"}}</td>
								</tr>
								<tr>		 
									<td>Hypervisor</td>
{'fraction_non_alphanumeric': 0.2062208043750712, 'fraction_numerical': 0.00843112680870457, 'mean_word_length': 2.38526802930968, 'pattern_counts': {'":': 0, '<': 289, '<?xml version=': 0, '>': 289, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1641586', 'n_tokens_mistral': 4808, 'n_tokens_neox': 3074, 'n_words': 445}