-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdev.html
138 lines (135 loc) · 5.95 KB
/
dev.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>AWSResco</title>
<meta name="description" content="A tool for comparing AWS running instances to AWS reservations.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="css/boilerplate.css">
<link rel="stylesheet" href="css/sortable.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.min.css" />
<!--[if lt IE 9]>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.1.1/gh-fork-ribbon.ie.min.css" />
<![endif]-->
</head>
<body>
<div class="github-fork-ribbon-wrapper right">
<div class="github-fork-ribbon">
<a href="https://github.com/ckelner/AWSResco">Fork me on GitHub</a>
</div>
</div>
<div class="container">
<div class="page-header">
<h1>
<a href="/">AWSResco</a>
<small>An AWS Reservation Comparison tool</small>
<span id="security">
<a href="https://github.com/ckelner/AWSResco#security">
HTTPS? Security?
</a>
</span>
</h1>
</div>
<div class="row">
<div class="col-md-3">
<div class="form-group">
<label for="awsAccessKey">AWS Access Key</label>
<input type="text" class="form-control" id="awsAccessKey" placeholder="AWS Access Key" />
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label for="awsSecretKey">AWS Secret Key</label>
<input type="password" class="form-control" id="awsSecretKey" placeholder="AWS Secret Key" />
</div>
</div>
<div class="col-md-3">
<div class="form-group">
<label for="awsToken">AWS Token (if using instance profile)</label>
<input type="text" class="form-control" id="awsToken" placeholder="AWS Token" />
</div>
</div>
<div class="col-md-2 col-padding-top-25">
<select class="form-control" id="regionSelect">
<option>us-east-1</option>
<option>us-west-1</option>
<option>us-west-2</option>
<option>eu-west-1</option>
<option>eu-central-1</option>
<option>ap-southeast-1</option>
<option>ap-southeast-2</option>
<option>ap-northeast-1</option>
<option>sa-east-1</option>
<option>ALL</option>
</select>
</div>
<div class="col-md-2 col-padding-top-25">
<button id="awsQueryButton" type="submit" class="btn btn-success">Submit</button>
</div>
</div>
<div class="row">
<div class="col-md-12" id="pleaseWait">Please Wait</div>
<div class="col-md-12" id="errorAccessSecretKey">
<div class="alert alert-danger alert-dismissible" role="alert">
<strong>Error!</strong> You must specify an access key and secret key, please check your inputs and try again.
</div>
</div>
<div class="col-md-12" id="errorCredentials">
<div class="alert alert-danger alert-dismissible" role="alert">
<strong>Error!</strong> There was a problem with your AWS credentials, please double check that they are valid and do not contain errors and try again.
</div>
</div>
<div class="col-md-12" id="awsQueryResults">
<div id="totalData"></div>
<table id="resCoTable" class="table table-condensed sortable-theme-bootstrap table-striped table-hove">
<thead>
<tr>
<th>
Reservation Count
</th>
<th>
Running Instances
</th>
<th id="differentialHeader">
Differential
</th>
<th>
Type
</th>
<th>
Zone
</th>
<th>
Windows
</th>
<th>
VPC
</th>
<th>
Running Ids
</th>
<th id="tabDataRunNames">
Running Names
</th>
</tr>
</thead>
<tbody id="ec2DataTableBody">
</tbody>
</table>
</div>
</div>
</div>
</div>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.2.30.min.js"></script>
<script src="js/sortable.min.js"></script>
<script src="js/sortable.number.js"></script>
<script src="js/aws.js"></script>
<script src="js/dom.js"></script>
<script src="js/csv.js"></script>
<script src="js/main.js"></script>
</body>
</html>