Skip to content

Commit bdc7401

Browse files
committed
update
1 parent d78c240 commit bdc7401

File tree

2 files changed

+14
-384
lines changed

2 files changed

+14
-384
lines changed

index.html

Lines changed: 14 additions & 366 deletions
Original file line numberDiff line numberDiff line change
@@ -1,370 +1,18 @@
1-
<!DOCTYPE html>
2-
<html lang="zh">
1+
<script>
32

4-
<head>
5-
<meta charset="utf-8">
6-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<meta name="description" content="Xenon Boostrap Admin Panel" />
9-
<meta name="author" content="" />
10-
<title>DesignStack</title>
11-
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Arimo:400,700,400italic">
12-
<link rel="stylesheet" href="zassets/css/fonts/linecons/css/linecons.css">
13-
<link rel="stylesheet" href="assets/css/fonts/fontawesome/css/font-awesome.min.css">
14-
<link rel="stylesheet" href="assets/css/bootstrap.css">
15-
<link rel="stylesheet" href="assets/css/xenon-core.css">
16-
<link rel="stylesheet" href="assets/css/xenon-forms.css">
17-
<link rel="stylesheet" href="assets/css/xenon-components.css">
18-
<link rel="stylesheet" href="assets/css/xenon-skins.css">
19-
<link rel="stylesheet" href="assets/css/nav.css">
20-
<link rel="stylesheet" href="assets/css/custom.css">
21-
<script src="assets/js/jquery-1.11.1.min.js"></script>
22-
<script src="../language.js"></script>
23-
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
24-
<!--[if lt IE 9]>
25-
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
26-
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
27-
<![endif]-->
28-
</head>
3+
if (navigator.appName ==”Netscape”)
294

30-
<body class="page-body skin-white">
31-
<!-- skin-white -->
32-
<div class="page-container">
33-
<!-- add class "sidebar-collapsed" to close sidebar by default, "chat-visible" to make chat appear always -->
34-
<!-- Add "fixed" class to make the sidebar fixed always to the browser viewport. -->
35-
<!-- Adding class "toggle-others" will keep only one menu item open at a time. -->
36-
<!-- Adding class "collapsed" collapse sidebar root elements and show only icons. -->
37-
<div class="sidebar-menu toggle-others fixed">
38-
<div class="sidebar-menu-inner">
39-
<header class="logo-env">
40-
<!-- logo -->
41-
<div class="logo">
42-
<a href="dashboard-1.html" class="logo-expanded">
43-
<img src="assets/images/[email protected]" width="80" alt="" />
44-
</a>
45-
<a href="dashboard-1.html" class="logo-collapsed">
46-
<img src="assets/images/[email protected]" width="40" alt="" />
47-
</a>
48-
</div>
49-
<!-- This will toggle the mobile menu and will be visible only on mobile devices -->
50-
<div class="mobile-menu-toggle visible-xs">
51-
<a href="#" data-toggle="mobile-menu">
52-
<i class="fa-bars"></i>
53-
</a>
54-
</div>
55-
</header>
56-
<ul id="main-menu" class="main-menu">
57-
<!-- add class "multiple-expanded" to allow multiple submenus to open -->
58-
<!-- class "auto-inherit-active-class" will automatically add "active" class for parent elements who are marked already with class "active" -->
59-
<li>
60-
<a href="dashboard-1.html">
61-
<i class="linecons-cog"></i>
62-
<span class="title">English</span>
63-
</a>
64-
<ul>
65-
<li>
66-
<a href="#项目1">
67-
<span class="title">Dashboard 1</span>
68-
</a>
69-
</li>
70-
<li>
71-
<a href="#项目2">
72-
<span class="title">Dashboard 2</span>
73-
</a>
74-
</li>
75-
<li>
76-
<a href="#项目3">
77-
<span class="title">Dashboard 3</span>
78-
</a>
79-
</li>
80-
<li>
81-
<a href="dashboard-4.html">
82-
<span class="title">Dashboard 4</span>
83-
</a>
84-
</li>
85-
<li>
86-
<a href="skin-generator.html">
87-
<span class="title">Skin Generator</span>
88-
</a>
89-
</li>
90-
<li>
91-
<a href="update-highlights.html">
92-
<span class="title">Update Highlights</span>
93-
<span class="label label-pink pull-right hidden-collapsed">v1.3</span>
94-
</a>
95-
</li>
96-
</ul>
97-
</li>
98-
<li>
99-
<a href="layout-variants.html">
100-
<i class="linecons-desktop"></i>
101-
<span class="title">Layouts</span>
102-
</a>
103-
<ul>
104-
<li>
105-
<a href="layout-variants.html">
106-
<span class="title">Layout Variants &amp; API</span>
107-
</a>
108-
</li>
109-
<li>
110-
<a href="layout-collapsed-sidebar.html">
111-
<span class="title">Collapsed Sidebar</span>
112-
</a>
113-
</li>
114-
<li>
115-
<a href="layout-static-sidebar.html">
116-
<span class="title">Static Sidebar</span>
117-
</a>
118-
</li>
119-
<li>
120-
<a href="layout-horizontal-menu.html">
121-
<span class="title">Horizontal Menu</span>
122-
</a>
123-
</li>
124-
<li>
125-
<a href="layout-horizontal-plus-sidebar.html">
126-
<span class="title">Horizontal &amp; Sidebar Menu</span>
127-
</a>
128-
</li>
129-
<li>
130-
<a href="layout-horizontal-menu-click-to-open-subs.html">
131-
<span class="title">Horizontal Open On Click</span>
132-
</a>
133-
</li>
134-
<li>
135-
<a href="layout-horizontal-menu-min.html">
136-
<span class="title">Horizontal Menu Minimal</span>
137-
</a>
138-
</li>
139-
<li>
140-
<a href="layout-right-sidebar.html">
141-
<span class="title">Right Sidebar</span>
142-
</a>
143-
</li>
144-
<li>
145-
<a href="layout-chat-open.html">
146-
<span class="title">Chat Open</span>
147-
</a>
148-
</li>
149-
<li>
150-
<a href="layout-horizontal-sidebar-menu-collapsed-right.html">
151-
<span class="title">Both Menus &amp; Collapsed</span>
152-
</a>
153-
</li>
154-
<li>
155-
<a href="layout-boxed.html">
156-
<span class="title">Boxed Layout</span>
157-
</a>
158-
</li>
159-
<li>
160-
<a href="layout-boxed-horizontal-menu.html">
161-
<span class="title">Boxed &amp; Horizontal Menu</span>
162-
</a>
163-
</li>
164-
</ul>
165-
</li>
166-
<li>
167-
<a href="ui-panels.html">
168-
<i class="linecons-note"></i>
169-
<span class="title">UI Elements</span>
170-
</a>
171-
<ul>
172-
<li>
173-
<a href="ui-panels.html">
174-
<span class="title">Panels</span>
175-
</a>
176-
</li>
177-
<li>
178-
<a href="ui-buttons.html">
179-
<span class="title">Buttons</span>
180-
</a>
181-
</li>
182-
<li>
183-
<a href="ui-tabs-accordions.html">
184-
<span class="title">Tabs &amp; Accordions</span>
185-
</a>
186-
</li>
187-
<li>
188-
<a href="ui-modals.html">
189-
<span class="title">Modals</span>
190-
</a>
191-
</li>
192-
<li>
193-
<a href="ui-breadcrumbs.html">
194-
<span class="title">Breadcrumbs</span>
195-
</a>
196-
</li>
197-
<li>
198-
<a href="ui-blockquotes.html">
199-
<span class="title">Blockquotes</span>
200-
</a>
201-
</li>
202-
<li>
203-
<a href="ui-progressbars.html">
204-
<span class="title">Progress Bars</span>
205-
</a>
206-
</li>
207-
<li>
208-
<a href="ui-navbars.html">
209-
<span class="title">Navbars</span>
210-
</a>
211-
</li>
212-
<li>
213-
<a href="ui-alerts.html">
214-
<span class="title">Alerts</span>
215-
</a>
216-
</li>
217-
<li>
218-
<a href="ui-pagination.html">
219-
<span class="title">Pagination</span>
220-
</a>
221-
</li>
222-
<li>
223-
<a href="ui-typography.html">
224-
<span class="title">Typography</span>
225-
</a>
226-
</li>
227-
<li>
228-
<a href="ui-other-elements.html">
229-
<span class="title">Other Elements</span>
230-
</a>
231-
</li>
232-
</ul>
233-
</li>
234-
</ul>
235-
</div>
236-
</div>
237-
<div class="main-content">
238-
<nav class="navbar user-info-navbar" role="navigation">
239-
<!-- User Info, Notifications and Menu Bar -->
240-
<!-- Left links for user info navbar -->
241-
<ul class="user-info-menu left-links list-inline list-unstyled">
242-
<li class="hidden-sm hidden-xs">
243-
<a href="#" data-toggle="sidebar">
244-
<i class="fa-bars"></i>
245-
</a>
246-
</li>
247-
</ul>
248-
<!-- Right links for user info navbar -->
249-
<ul class="user-info-menu right-links list-inline list-unstyled">
250-
<li class="search-form">
251-
<!-- You can add "always-visible" to show make the search input visible -->
252-
<form name="userinfo_search_form" method="get" action="extra-search.html">
253-
<input type="text" name="s" class="form-control search-field" placeholder="Type to search..." />
254-
<button type="submit" class="btn btn-link">
255-
<i class="linecons-search"></i>
256-
</button>
257-
</form>
258-
</li>
259-
<!-- Added in v1.2 -->
260-
<li class="dropdown hover-line language-switcher">
261-
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
262-
<img src="assets/images/flags/flag-uk.png" alt="flag-uk" /> English
263-
</a>
264-
<ul class="dropdown-menu languages">
265-
<li>
266-
<a href="#">
267-
<img src="assets/images/flags/flag-al.png" alt="flag-al" /> Shqip
268-
</a>
269-
</li>
270-
<li class="active">
271-
<a href="#">
272-
<img src="assets/images/flags/flag-uk.png" alt="flag-uk" /> English
273-
</a>
274-
</li>
275-
<li>
276-
<a href="#">
277-
<img src="assets/images/flags/flag-de.png" alt="flag-de" /> Deutsch
278-
</a>
279-
</li>
280-
<li>
281-
<a href="#">
282-
<img src="assets/images/flags/flag-fr.png" alt="flag-fr" /> Fran&ccedil;ais
283-
</a>
284-
</li>
285-
<li>
286-
<a href="#">
287-
<img src="assets/images/flags/flag-br.png" alt="flag-br" /> Portugu&ecirc;s
288-
</a>
289-
</li>
290-
<li>
291-
<a href="#">
292-
<img src="assets/images/flags/flag-es.png" alt="flag-es" /> Espa&ntilde;ol
293-
</a>
294-
</li>
295-
</ul>
296-
</li>
297-
</ul>
298-
</nav>
299-
<!-- project1 -->
300-
<h4 class="text-gray"><i class="linecons-cog" style="margin-right: 7px;" id="项目1"></i>Counters</h4>
301-
<div class="row">
302-
<div class="col-sm-3">
303-
<div class="xe-widget xe-conversations box2 label-info" onclick="window.open('https://dribbble.com', '_blank')" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="https://dribbble.com">
304-
<div class="xe-comment-entry">
305-
<a class="xe-user-img">
306-
<img src="assets/images/logos/dribbble.png" class="img-circle" width="40">
307-
</a>
308-
<span class="label label-info" data-toggle="tooltip" data-placement="left" title="" data-original-title="Hello I am a Tooltip"></span>
309-
<div class="xe-comment">
310-
<a href="#" class="xe-user-name overflowClip_1">
311-
<strong>Dribbble</strong>
312-
</a>
313-
<p class="overflowClip_2">全球UI设计师作品秀社区</p>
314-
</div>
315-
</div>
316-
</div>
317-
</div>
318-
<div class="col-sm-3">
319-
<div class="xe-widget xe-conversations box2 label-info" onclick="window.open('website', '_blank')" data-toggle="tooltip" data-placement="bottom" title="" data-original-title="website">
320-
<div class="xe-comment-entry">
321-
<a class="xe-user-img">
322-
<img src="assets/images/logos/dribbble.png" class="img-circle" width="40">
323-
</a>
324-
<span class="label label-info" data-toggle="tooltip" data-placement="left" title="" data-original-title="Hello I am a Tooltip"></span>
325-
<div class="xe-comment">
326-
<a href="#" class="xe-user-name overflowClip_1">
327-
<strong>websiteName</strong>
328-
</a>
329-
<p class="overflowClip_2">websiteInfo</p>
330-
</div>
331-
</div>
332-
</div>
333-
</div>
334-
</div>
335-
<br />
336-
<!-- end project1 -->
5+
var language = navigator.language;
3376

338-
<!-- Main Footer -->
339-
<!-- Choose between footer styles: "footer-type-1" or "footer-type-2" -->
340-
<!-- Add class "sticky" to always stick the footer to the end of page (if page contents is small) -->
341-
<!-- Or class "fixed" to always fix the footer to the end of page -->
342-
<footer class="main-footer sticky footer-type-1">
343-
<div class="footer-inner">
344-
<!-- Add your copyright text here -->
345-
<div class="footer-text">
346-
&copy; 2017
347-
<strong>Designstack</strong> design by <a href="http://viggoz.com" target="_blank"><strong>Viggo</strong></a><!-- - Purchase for only <strong>23$</strong> -->
348-
</div>
349-
<!-- Go to Top Link, just add rel="go-top" to any link to add this functionality -->
350-
<div class="go-up">
351-
<a href="#" rel="go-top">
352-
<i class="fa-angle-up"></i>
353-
</a>
354-
</div>
355-
</div>
356-
</footer>
357-
</div>
358-
</div>
359-
<!-- Bottom Scripts -->
360-
<script src="assets/js/bootstrap.min.js"></script>
361-
<script src="assets/js/TweenMax.min.js"></script>
362-
<script src="assets/js/resizeable.js"></script>
363-
<script src="assets/js/joinable.js"></script>
364-
<script src="assets/js/xenon-api.js"></script>
365-
<script src="assets/js/xenon-toggles.js"></script>
366-
<!-- JavaScripts initializations and stuff -->
367-
<script src="assets/js/xenon-custom.js"></script>
368-
</body>
7+
else
3698

370-
</html>
9+
var language = navigator.browserLanguage;
10+
11+
if (language.indexOf(“en”) > -1) document.location.href = “en/index.html”;
12+
13+
else if (language.indexOf(“zh”) > -1) document.location.href =”cn/index.html”;
14+
15+
else
16+
17+
document.location.href =”en/index.html”;
18+
</script>

0 commit comments

Comments
 (0)