forked from seaskymonster/web-reference-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
213 lines (186 loc) · 9.97 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
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<link rel='stylesheet' href="assets/css/style.css" type='text/css' media='all' />
<link rel='stylesheet' href="assets/css/style-custom.css" type='text/css' media='all' />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
</head>
<body onload="initialize()" class="search search-results">
<!-- #header -->
<header id="header" class="clearfix" role="banner">
<div class="ht-container">
<div id="header-inner" class="clearfix">
<!-- #logo -->
<div id="logo">
<a title="Acme" href="index.html">
<i class="icon logo" >ACME</i>
</a>
</div>
<!-- /#logo -->
<!-- #primary-nav -->
<nav id="primary-nav" role="navigation" class="clearfix">
<ul id="menu-primary-nav" class="nav sf-menu clearfix">
<li class="menu-item "><a href="#">Domains</a></li>
<li class="menu-item "><a href="#">Websites</a></li>
<li class="menu-item "><a href="#">Email</a></li>
<li class="menu-item "><a href="#">Marketing</a></li>
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children "><a href="#">Support +</a>
<ul class="sub-menu">
<li class="menu-item"><a href="support1.html">Support1</a></li>
<li class="menu-item"><a href="support2.html">Support2</a></li>
<li class="menu-item"><a href="support3.html">Support3</a></li>
<li class="menu-item "><a href="CallingCard.html">Calling Card</a></li>
</ul>
</li>
</ul>
</nav>
<!-- #primary-nav -->
</div>
</div>
</header>
<div>
<div class="header_image" >
</div>
</div>
<!-- Highlights -->
<div id="features-list">
<div class="ht-container">
<div class="row stacked">
<div class="column col-third">
<div class="feature-icon"><img alt="" src="assets/images/Domains.jpg" /></div>
<h3>Domains</h3>
<p>From classics like.com and org to new domain names like club,guru, even rocks, we can help you to find the right name for your business.</p>
</div>
<div class="column col-third">
<div class="feature-icon"><img alt="" src="assets/images/Websites.jpg" /></div>
<h3>Websites</h3>
<p>Get your website online today.</p>
<p>Start with of 100s of professional designs,customize it with simple drog & drop tools, and put you new site online with free hosting</p>
</div>
<div class="column col-third">
<div class="feature-icon"><img alt="" src="assets/images/Email.jpg" /></div>
<h3>Email</h3>
<p>The right email makes a difference.</p>
<p>Did you know that customers are nine times more likely to choose a business that has a professional email address?</p>
</div>
</div>
</div>
</div>
<footer id="footer" class="clearfix">
<div id="footer-widgets" class="clearfix">
<div class="ht-container">
<div class="row">
<div id="text-3" class="column col-third widget widget_text"><h4 class="widget-title"><span>About Acme</span></h4>
<div class="textwidget"><p>Acme is a domain register and web hosting company.</p>
<p>Grow your business by settings up a website and email accounts.</p>
</div>
</div>
<div id="st_blog_widget-3" class="column col-third widget st_blog_widget">
<h4 class="widget-title"><span>Latest News</span></h4>
<ul class="clearfix">
<li class="clearfix has_thumb">
<div class="entry-thumb">
<a href="" rel="nofollow">
<img width="60" height="60" src="http://dr57u1lgwukd1.cloudfront.net/supportdesk/wp-content/uploads/sites/2/2013/03/photodune-4086091-hard-work-m-60x60.jpg?d6b1d9" class="attachment-post-thumbnail wp-post-image" alt="photodune-4086091-hard-work-m" /> </a>
</div>
<a class="entry-title" href="" rel="bookmark">Take The Hardwork Out Of Support</a>
<div class="entry-meta"><time datetime="2013-03-18">March 18, 2013</time></div>
</li>
<li class="clearfix has_thumb">
<div class="entry-thumb">
<a href="" rel="nofollow">
<img width="60" height="60" src="http://dr57u1lgwukd1.cloudfront.net/supportdesk/wp-content/uploads/sites/2/2013/03/photodune-369921-handshaking-m-60x60.jpg?d6b1d9" class="attachment-post-thumbnail wp-post-image" alt="Handshaking" /> </a>
</div>
<a class="entry-title" href="" rel="bookmark">Our New Partnership With Handshake</a>
<div class="entry-meta"><time datetime="2013-03-18">March 18, 2013</time></div>
</li>
</ul>
</div>
<div id="categories-3" class="column col-third widget widget_categories"><h4 class="widget-title"><span>News Categories</span></h4> <ul>
<li class="cat-item cat-item-2"><a href="" >Announcements</a></li>
<li class="cat-item cat-item-3"><a href="" >How-To</a></li>
<li class="cat-item cat-item-4"><a href="" >Strategy</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="jwttoken" class="wrapper style1">
</div>
<div id="footer-bottom" class="clearfix">
<div class="ht-container">
<small id="copyright" role="contentinfo">Copyright © A Hero Theme.</small>
<nav id="footer-nav" role="navigation">
<ul class="nav-footer clearfix">
<li class="menu-item menu-item-type-post_type menu-item-object-page current_page_item"><a href="index.html">Home</a></li>
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children"><a href="#">Domains</a></li>
<li class="menu-item menu-item-type-custom menu-item-object-custom "><a href="#">Websites</a></li>
<li class="menu-item menu-item-type-custom menu-item-object-custom "><a href="#">Email</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page "><a href="#">Marketing</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page "><a href="support1.html">Support</a></li>
<li class="menu-item menu-item-type-post_type menu-item-object-page "><a href="CallingCard.html">Calling Card</a></li>
</ul>
<p class="nav-footer clearfix">Use of this site is subject to <a href="https://github.com/seaskymonster/web-reference-app/blob/master/Nexus%20Connect%20JavaScript%20Reference%20App%20EULA%202015-10-13.pdf">Terms and Conditions</a> and <a href="http://www.support.com/legal/site-privacy-policy/">Privacy Policy</a></p>
</nav>
</div>
</div>
</footer>
</body>
<script src="assets/js/jquery.min.js"></script>
<script src="https://static.nexus.support.com/client/v1/nexus-connect-sdk.js"></script>
<script>
function initialize() {
localStorage.clear();
// var token = localStorage.getItem('token');
// if(!token) {
// token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0IjoibXljb21wYW55IiwiZCI6Im5leHVzLnN1cHBvcnQuY29tIiwicHJtIjpbImxvZzoqIiwic2Vzc2lvbjpjb25uZWN0Il0sImp0aSI6IjYyMDhlYTRhLWJiZWEtNDQwYi05MjUzLTljYWJjYWNhMzMyYiIsImFwcCI6ImNydW1TUyIsInZlciI6ImNydW1TUyAxLjAiLCJwbHQiOiJicm93c2VyIiwiaWF0IjoxNDQzNTU1MDI1LCJhdWQiOlsiYXBwIiwiYXBpIl0sImlzcyI6IlN1cHBvcnQuY29tIn0.3qN0m6izKRyWGaP334yV-kudFTtZ6jQCpTM2Ne-wB9Y';
// }
// if(token) {
// console.log(token);
// try {
// NexusConnectSDK.initialize(token);
// return token;
// }catch(e){
// console.log(e);
// $("#jwt_token_error").append(html);
// }
// }else{
// $("#jwt_token_error").append(html);
// }
};
$(document).ready(function(){
//var token = initialize();
var html = '<div class= "ht-container">' +
'<h3>Please Input your jwt token</h3>' +
'<form>' +
'<div>' +
'<div class="clearfix">' +
'<textarea id="message" placeholder="Please input your jwt token here" rows="6"></textarea>' +
'</div>' +
'</div>' +
'<div class="row">' +
'<div>' +
'<ul>' +
'<div class="clearfix has_thumb"><input type="submit" id="jwt_token" value="Update Token" /></div>' +
'</ul>' +
'</div>' +
'</div>' +
'</form>' +
'</div>';
$("#jwttoken").append(html);
$('#jwttoken').submit(function(event) {
event.preventDefault();
var token = $('#message').val();
console.log('token',token);
if(!token || 0 === token.length){
$('#message').attr("placeholder", "Error: Your input is not valid, please type a valid token!");
}else {
localStorage.setItem('token', token);
$('#jwttoken').hide();
}
});
});
</script>
</html>