-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.cfm
More file actions
51 lines (47 loc) · 2.16 KB
/
index.cfm
File metadata and controls
51 lines (47 loc) · 2.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>AddressBook - CF</title>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js" integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=" crossorigin="anonymous"></script>
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="main.js"></script>
<style type="text/css">
#contactList tr { cursor: pointer }
.table > tbody > tr > td { vertical-align: baseline; }
.table .glyphicon { padding: 0 5px 0 15px }
</style>
<!-- Set the default content templates -->
<cfset header = "header_contacts.cfm">
<cfset content = "contacts.cfm">
<!-- If we're attempting to view a specific page, load those templates instead -->
<cfif IsDefined("url.view")>
<cfset content = "#url.view#.cfm">
<!-- In the case of an error we're just going to use the addcontact header as it only contains the back button! Cheeky! -->
<cfif url.view eq "error">
<cfset header = "header_addcontact.cfm">
<cfelse>
<cfset header = "header_#url.view#.cfm">
</cfif>
</cfif>
</head>
<body>
<div class="container mx-auto " style="width: 450px;">
<div class="panel panel-primary ">
<div id="contentHeader" class="panel-heading" style="height: 50px;">
<cfinclude template = #header#>
</div>
<div id="contentWindow">
<cfinclude template = #content#>
</div>
</div>
</div>
</body>
</html>