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

{% load cloud_extras %}
						
{% block title %}Cloud Settings{% endblock %}

{% block page_content %}
<div class="col-md-10 col-sm-11 main ">

	<ol class="breadcrumb">
	  	<li><a href="/">Cloud</a></li>
	  	<li class="active">Settings</li>
	</ol>

		<div class="row">
			<div class="col-xs-12">
				<div class="panel panel-default">
						<div class="panel-heading">
							<h2><i class="fa fa-picture-o"></i>Cloud Settings</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">
																
								<form name="input" action="/account/password/" method="POST" class="form-horizontal ">{% csrf_token %}
					                <div class="form-group">
					                    <label class="col-md-3 control-label" for="hf-email">AWS Access Key</label>
					                    <div class="col-md-9">
					                        <input id="hf-email" name="current_passwd" class="form-control" placeholder="{{profile.aws_access_key}}">
					                        <span class="help-block">Please provide your AWS Access Key</span>
					                    </div>
					                </div>
					                <div class="form-group">
					                    <label class="col-md-3 control-label" for="hf-password">AWS Secret</label>
					                    <div class="col-md-9">
					                        <input type="password" id="hf-password" name="new_passwd" class="form-control" placeholder="">
					                        <span class="help-block">Please provide your AWS Secret</span>
					                    </div>
					                </div>
					
					<p>
						aws_regions {{aws_regions}}<br/>
						enabled_regions {{profile.aws_enabled_regions}}<br/>	
					</p>

					<div class="form-group">
	                    <label class="col-md-3 control-label">AWS Regions</label>
	                    <div class="col-md-9">
							{% for region in aws_regions %}
	                        <div class="checkbox">
	                            <label for="checkbox1">
	                            	<input type="checkbox" id="checkbox1" name="checkbox1" value="option1" {% if forloop.counter = 1 %}checked{% endif %}> Option 1
	                            </label>
	                        </div>
							{% endfor %}
	
	                    </div>
	                </div>
	
	
                    <button type="submit" class="btn btn-sm btn-danger"><i class="fa fa-dot-circle-o"></i> Submit</button>
                    <button type="submit" class="btn btn-sm btn-success"><i class="fa fa-dot-circle-o"></i> Verify</button>
<commit_msg>populating actual regions onto AWS regions in the cloud settings<commit_after>{% extends "base.html" %}

{% load cloud_extras %}
						
{% block title %}Cloud Settings{% endblock %}

{% block page_content %}
<div class="col-md-10 col-sm-11 main ">

	<ol class="breadcrumb">
	  	<li><a href="/">Cloud</a></li>
	  	<li class="active">Settings</li>
	</ol>

		<div class="row">
			<div class="col-xs-12">
				<div class="panel panel-default">
						<div class="panel-heading">
							<h2><i class="fa fa-picture-o"></i>Cloud Settings</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">
																
								<form name="input" action="/account/password/" method="POST" class="form-horizontal ">{% csrf_token %}
					                <div class="form-group">
					                    <label class="col-md-3 control-label" for="hf-email">AWS Access Key</label>
					                    <div class="col-md-9">
					                        <input id="hf-email" name="current_passwd" class="form-control" placeholder="{{profile.aws_access_key}}">
					                        <span class="help-block">Please provide your AWS Access Key</span>
					                    </div>
					                </div>
					                <div class="form-group">
					                    <label class="col-md-3 control-label" for="hf-password">AWS Secret</label>
					                    <div class="col-md-9">
					                        <input type="password" id="hf-password" name="new_passwd" class="form-control" placeholder="">
					                        <span class="help-block">Please provide your AWS Secret</span>
					                    </div>
					                </div>
					
					<p>
						enabled_regions {{profile.aws_enabled_regions}}<br/>	
					</p>

					<div class="form-group">
	                    <label class="col-md-3 control-label">AWS Regions</label>
	                    <div class="col-md-9">
							{% for region in aws_regions %}
	                        <div class="checkbox">
	                            <label for="checkbox1">
	                            	<input type="checkbox" id="{{region}}" name="checkbox1" value="option1" {% if forloop.counter = 1 %}checked{% endif %}> {{aws_regions|dict_get:region}}
	                            </label>
	                        </div>
							{% endfor %}
	
	                    </div>
	                </div>
	
	
                    <button type="submit" class="btn btn-sm btn-danger"><i class="fa fa-dot-circle-o"></i> Submit</button>


                    <button type="submit" class="btn btn-sm btn-success"><i class="fa fa-dot-circle-o"></i> Verify</button>

{'fraction_non_alphanumeric': 0.16869777158774374, 'fraction_numerical': 0.006615598885793872, 'mean_word_length': 1.7048022598870056, 'pattern_counts': {'":': 0, '<': 152, '<?xml version=': 0, '>': 152, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '7223214', 'n_tokens_mistral': 2124, 'n_tokens_neox': 1592, 'n_words': 336}