forked from dinsahu/AcceptFrontend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex_all.html
More file actions
175 lines (160 loc) · 5.65 KB
/
index_all.html
File metadata and controls
175 lines (160 loc) · 5.65 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<title>Accept Sample App</title>
<!-- Bootstrap core CSS -->
<link href="scripts/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
.navbar {min-height: 0px; margin-bottom: 0px; border: 0px;}
.nav>li {display: inline-block;}
.navbar-centered .nav > li > a {color: white}
.navbar-inverse { background-color: #555 } /* #7B7B7B */
.navbar-centered .nav > li > a:hover{ background-color: white; color: black }
.navbar-centered .nav .active > a,.navbar-centered .navbar-nav > .active > a:focus { background-color: white; color: black; font-weight:bold; }
.navbar-centered .navbar-nav { float: none; text-align: center; }
.navbar-centered .navbar-nav > li { float: none; }
.navbar-centered .nav > li { display: inline; }
.navbar-centered .nav > li > a {display: inline-block; }
#home { color:ivory; margin-left: 15%; margin-right: 15%;}
@media (min-width: 768px) {
.navbar-centered .nav > li > a { width:15%; }
#home { font-size: 30px}
}
@media (min-width:360px ) and (max-width: 768px){
.navbar-centered .nav > li > a {font-size: 12px}
#home { font-size: 20px}
}
@media (max-width: 360px) {
.navbar-centered .nav > li > a {font-size: 10px}
#home { font-size: 15px}
}
@media (min-width: 1022px) {
.modal-dialog { width: 850px}
#add_shipping { height: 300px }
}
.productTypes>li
{
padding-right: 35px;
}
.productTypes>li:last-child
{
padding-right: 0px;
}
.productTypes>li>a
{
font-weight: bold;
font-size: 16px;
border: 2px solid white;
border-radius: 5px;
padding: 15px 0 15px 0;
}
#home
{
display: block;
margin-top: 200px;
}
.textBox{
width: 30%;
}
.scenario
{
padding-top: 6%;
padding-left: 1.5%
}
.invalidCustomerDiv
{
width: 20%;
padding-top: 0.5%;
}
.invalidCustomerSpan{
padding: 0.5%;
display: none;
}
.customerIdlabel
{
padding-top: 1%;
}
.modal-content{
width: inherit;
height: inherit;
margin: 0 auto;
}
.modal-align-center{
display: table-cell;
vertical-align: middle;
}
.modal-align-center-helper{
display: table;
width: 100%;
height: 100%;
}
</style>
<script src="scripts/jquery-2.1.4.min.js"></script>
<script src="scripts/bootstrap.min.js"></script>
<script src="scripts/jquery.cookie.js"></script>
<script src="app.js"></script>
<script src="constants.js"></script>
<script src="https://sandbox-assets.secure.checkout.visa.com/checkout-widget/resources/js/integration/v1/sdk.js"></script>
<script src="https://includestest.ccdc02.com/cardinalcruise/v1/songbird.js"></script>
</head>
<body style=" background: url('scripts/background.png'); padding-top: 50px;">
<div class="container-fluid" style="width: 100%; margin: 0; padding:0">
<div class="navbar navbar-inverse" role="navigation">
<div class="container-fluid navbar-centered">
<ul class="nav navbar-nav productTypes" style="margin-top: 0px; margin-bottom:0px; margin-left:auto">
<li><a href="index.html?producttype=acceptjs">Accept JS</a></li>
<li><a href="index.html?producttype=acceptui">Accept UI</a></li>
<li><a href="index.html?producttype=accepthosted">Accept Hosted</a></li>
<li><a href="#" onclick="ShowModal()" data-toggle="modal" data-target="#customerId">Accept Customer</a></li>
</ul>
</div>
</div>
</div>
<div class="tab-content panel-group">
<div class="" id="home" align="center" >
“Our cuisine is handmade with fresh organic and fair-trade spices for an aromatic and succulent dining experience.”
</div>
</div>
<div id="customerId" class="modal fade" role="dialog">
<div class="modal-align-center-helper">
<div class="modal-dialog modal-align-center">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">X</button>
</div>
<div class="modal-body col-xs-12">
<label class="col-xs-2 customerIdlabel">Customer Id:</label>
<div class="col-xs-10 textBox">
<input type="text" id="txtCustomerId" class="form-control " name="customerId">
</div>
<div class="scenario">
<h6>
Scenario 1- Use the existing customer profile ID, which is provided in the sample application documentation.
</h6>
<h6>
Scenario 2- Create new customer profile ID using <a href="https://developer.authorize.net/api/reference/#customer-profiles-create-customer-profile" target="_blank">Dev center</a> by calling CreateCustomerProfile API with default sandbox login credentials.
</h6>
<h6>
Scenario 3 - Create new customer profile ID using <a href="https://developer.authorize.net/api/reference/#customer-profiles-create-customer-profile" target="_blank">Dev center</a> by calling CreateCustomerProfile API with developer owned(existing or create new) sandbox login credentials.
</h6>
</div>
<div>
<span id="invalidCustomer" class="alert alert-danger invalidCustomerSpan"></span>
</div>
</div>
<div class="modal-footer">
<button onclick="Redirect()" class="btn btn-primary">Submit</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</body>
</html>