-
Notifications
You must be signed in to change notification settings - Fork 0
/
home-rating.php
55 lines (52 loc) · 2.02 KB
/
home-rating.php
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
<div id='ratingsWrapper' class="row"></div>
<div>
<div id='ratingsModal' class="reveal-modal medium formModal" style='min-height:50vh; top:30px;' data-reveal>
<div id='ratingsForm'>
<h4 id='ratings-formTitle'></h4>
<form>
<div class='row' id='ratingID-formDiv' style='display:none'>
<div class='columns small-12'>
<label>Rating ID#<input type='text' id='ratings-rating_id' value='' disabled='disabled'/></label>
</div>
</div>
<div class='row' id='ratingsBrandId-formDiv'>
<div class='columns small-12'>
<label>Brand ID# or Name<input type='text' id='ratings-brand_id' value='' placeholder='Nearby ...' disabled='disabled'/></label>
</div>
</div>
<div class='row'>
<div class='columns small-12'>
<label for='ratings-score'>Score (0-100) </label>
<input type='range' id='ratings-slider' min='0' max='100' value='90' onchange='app.ratings.setRatingBySlider()' oninput='app.ratings.setRatingBySlider()'/>
<input type='text' id='ratings-score' value='90' onchange='app.ratings.setSliderByText()'/>
</div>
</div>
<div class='row'>
<div class='columns small-12'>
<label for='ratings-reason'>Reason</label><input type='text' id='ratings-reason' value='' />
</div>
</div>
</form>
<button id='ratings-submit'>Submit</button>
<button id='ratings-cancel'>Cancel</button>
</div>
<a class="close-reveal-modal">×</a>
</div>
<button id='scrollTo' class='tiny'>more...</button>
</div>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&signed_in=true&libraries=places"></script>
<script src='/ui/js/homeRatings.js'></script>
<script src='/ui/js/autoComplete.js'></script>
<script>
var autocompleteSource = [
'artistry',
'product quality', 'price', 'customer service',
'technical excellence',
'ethics', 'organizational culture',
'union relations',
'social responsibility', 'community involvment',
'environmental impact', 'climate responsibility',
'fair trade',
'dietary health'
];
</script>