forked from ssahadevan-pivotal/engineapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.html
54 lines (53 loc) · 3.02 KB
/
configure.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
<html>
<head>
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
</head>
<body>
<!-- Header -->
{% include "nav.html" %}
<form action="/submitConfiguration" method="post">
<div align="center">
<h3> Current configuration </h3>
{% include "disclaimer.html" %}
<table id="box-table-a" summary="CurrentConfiguration">
<thead>
<tr>
<th scope="col">Select</th>
<th scope="col">Type</th>
<th scope="col">Optimal PE</th>
<th scope="col">Optimal PEG</th>
<th scope="col">Optimal DebtToEquity</th>
<th scope="col">Optimal Quaterly Revenue Growth</th>
<th scope="col">Optimal Yield</th>
<th scope="col">Optimal Beta</th>
<th scope="col">Date</th>
<th scope="col">Comments</th>
</tr>
</thead>
<tbody>
{% for optimalValue in optimalValues %}
<tr>
{% ifequal optimalValue.configType 'Growth' %}
<td><input type="radio" name="configType" value= {{ optimalValue.configType }} CHECKED/></td>
{% else %}
<td><input type="radio" name="configType" value= {{ optimalValue.configType }} /></td>
{% endifequal %}
<td>{{ optimalValue.configType }}</td>
<td><text><input type=text name="optimalPeRatio_{{ optimalValue.configType }}" size="5" cols="10" value={{ optimalValue.peRatio }}></text></td>
<td><text><input type=text name="optimalPegRatio_{{ optimalValue.configType }}" size="5" cols="10" value={{ optimalValue.pegRatio }}></text></td>
<td><text><input type=text name="optimalDebtToEquity_{{ optimalValue.configType }}" size="5" cols="10" value={{ optimalValue.debtToEquity }}></text></td>
<td><text><input type=text name="optimalQRevGrowth_{{ optimalValue.configType }}" size="5" cols="10" value={{ optimalValue.qRevGrowth }}></text></td>
<td><text><input type=text name="optimalYield_{{ optimalValue.configType }}" size="5" cols="10" value={{ optimalValue.divYield }}></text></td>
<td><text><input type=text name="optimalBeta_{{ optimalValue.configType }}" size="5" cols="10" value={{ optimalValue.beta }}></text></td>
<td>{{ optimalValue.date|date:"d-M-Y H:i:s" }}</td>
<td>Growth , Value or Income </td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
<div align="center"><input type="submit" value="Submit"></div>
</form>
</body>
</html>