-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocations.html
More file actions
80 lines (76 loc) · 3.15 KB
/
locations.html
File metadata and controls
80 lines (76 loc) · 3.15 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Locations</title>
{% assign heroImagePath = '/img/heroes/locations.jpg' %}
</head>
<body>
<form name="catcustomcontentform69551" method="post" onsubmit="return checkWholeForm69551(this)" action="/Default.aspx?CCID=24323&FID=180964&ExcludeBoolFalse=True&PageID={module_oid}">
<div class="row">
<div class="medium-6 columns">
<label for="Postcode_24323">Search by Zipcode</label>
<br />
<input type="text" maxlength="255" name="Postcode_24323" id="Postcode_24323" class="cat_textbox" />
</div>
<div class="medium-6 columns">
<input type="hidden" id="Country_24323" name="Country_24323" value="US" />
<label for="Distance_24323">Distance</label>
<br />
<select name="Distance_24323" id="Distance_24323" class="cat_dropdown">
<option value="5">5 miles</option>
<option value="10">10 miles</option>
<option value="20">20 miles</option>
<option value="50" selected="selected">50 miles</option>
<option value="100">100 miles</option>
</select>
<input class="cat_button" type="submit" value="Search" />
</div>
</div>
</form>
<script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js?vs=b1531.r448624-phase1"></script>
<script type="text/javascript">
function checkWholeForm69551(theForm) {
var why = "";
if (why != "") {
alert(why);
return false;
}
return true;
}
</script>
<script type="text/javascript" src="/CatalystScripts/ValidationFunctions.js?vs=b1531.r448624-phase1"></script>
<script type="text/javascript">
function checkWholeForm97223(theForm) {
var why = "";
if (why != "") {
alert(why);
return false;
}
return true;
}
</script>
{% if globals.get.PageID | format: "size" > 0 %} {module_webappsresultsmap}
<ul class="medium-block-grid-3">
{module_webappsresults id="Locations" filter="all" resultsPerPage="200" collection="locations" render="collection" template=""} {% for item in locations.items %}
<li>
<h4>{{item.counter}} - {{item.name}} </h4> {{item.address1}}
<br> {{item.city}}, {{item.state}} {{item.zipcode}}
<p>{{item.Hours}}</p>
<a href="{{item.url}}" class="button">Store info</a>
</li>
{% endfor %}
</ul>
{% else %} {module_webappsmap id="Locations" filter="all"}
<ul class="medium-block-grid-3">
{module_webapps id="Locations" filter="all" resultsPerPage="200" collection="locations" render="collection" template=""} {% for item in locations.items %}
<li>
<h4>{{item.name}} </h4> {{item.address1}}
<br> {{item.city}}, {{item.state}} {{item.zipcode}}
<p>{{item.Hours}}</p>
<a href="{{item.url}}" class="button">Store info</a>
</li>
{% endfor %}
</ul>
{% endif %}
</body>
</html>