-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (44 loc) · 1.95 KB
/
index.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
<!doctype html>
<html ng-app="Segmentation">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.min.js"></script>
<script src="vendor/lodash.js"></script>
<script src="src/BaseCtrl.js"></script>
<script src="src/Industry.js"></script>
<script src="src/State.js"></script>
<script src="src/Population.js"></script>
<link rel="stylesheet" type="text/css" href="src/styles.css" />
</head>
<body class="main" ng-controller="BaseCtrl as ctrl">
<h1> SDR Segmentation Helper </h1>
<h2 class="warning-banner" ng-if="ctrl.showWarningBanner()">Unfortunately the documentaion on this region is incomplete, so until someone learns how to update a spreadsheet this will not work for these states.</h2>
<h3> Industry </h3>
<div class='choice-section' class='flex-row'>
<div ng-class='{selected : ctrl.Industry === industry}' class='selectable' ng-click='ctrl.setIndustry(industry)' ng-repeat="industry in ctrl.Industries track by $index">
{{industry}}
</div>
</div>
<h3> Region </h3>
<div class='choice-section' class='flex-row'>
<div ng-class='{selected : ctrl.isSelected(state)}' class='selectable' ng-click='ctrl.setState(state)' ng-repeat="state in ctrl.States track by $index">
<span ng-repeat="single in state"> {{single}}, </span>
</div>
</div>
<div ng-if="ctrl.shouldShowSLEDPicker()">
<input type='checkbox' name='sled' ng-model='ctrl.isSLED'> Is California or Nevada?
</div>
<div class='choice-section'>
<h3> Amount </h3>
<div ng-if="ctrl.State && ctrl.Industry">
{{ctrl.AmountType}}:
<span ng-class='{selected : ctrl.Amount === amount}' class='selectable' ng-click='ctrl.setAmount(amount)' ng-repeat="amount in ctrl.Amounts track by $index">
{{amount}}
</span>
</div>
</div>
<h2> Placement </h2>
<div class='placement-text'>
{{ctrl.MarketPlacement}}
</div>
</body>
</html>