-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstarter.html
More file actions
181 lines (165 loc) · 5.25 KB
/
starter.html
File metadata and controls
181 lines (165 loc) · 5.25 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
176
177
178
179
180
181
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>AdminLTE Preview - Almsaeed Studio</title>
<!-- social network metas -->
<meta property="image" content="http://almsaeedstudio.com/adminlte2.png"/>
<meta property="og:image" content="http://almsaeedstudio.com/adminlte2.png"/>
<meta property="site_name" content="Almsaeed Studio"/>
<meta property="description" content="Preview of AdminLTE control panel and dashboard theme. AdminLTE is based on Bootstrap 3." />
<meta name="description" content="Preview of AdminLTE control panel and dashboard theme. AdminLTE is based on Bootstrap 3." />
<link rel="icon" type="image/png" href="http://almsaeedstudio.com/logo.png">
<!-- Bootstrap -->
<link rel="stylesheet" href="public/lib/bootstrap/bootstrap.css">
<!-- Font-Awesome -->
<link rel="stylesheet" href="public/lib/bootstrap/fonts/font-awesome.min.css">
<style>
html, body {
min-height: 100%;
padding: 0;
margin: 0;
font-family: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
}
iframe {
display: block;
overflow: auto;
border: 0;
margin: 0;
padding: 0;
margin: 0 auto;
}
.frame {
height: 49px;
margin: 0;
padding: 0;
border-bottom: 1px solid #ddd;
}
.frame a {
color: #666;
}
.frame a:hover {
color: #222;
}
.frame .buttons a {
height: 49px;
line-height: 49px;
display: inline-block;
text-align: center;
width: 50px;
border-left: 1px solid #ddd;
}
.frame .brand {
color: #444;
font-size: 20px;
line-height: 49px;
display: inline-block;
padding-left: 10px;
}
.frame .brand small {
font-size: 14px;
}
a,a:hover {
text-decoration: none;
}
.container-fluid {
padding: 0;
margin: 0;
}
.text-muted {
color: #999;
}
.ad {
text-align: center;
position: fixed;
bottom: 0;
left: 0;
background: #222;
background: rgba(0,0,0,0.8);
width: 100%;
color: #fff;
display: none;
}
#close-ad {
float: left;
margin-left: 10px;
margin-top: 10px;
cursor: pointer;
}
</style>
<script>
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-46680343-1', 'almsaeedstudio.com');
ga('send', 'pageview');
</script>
</head>
<body>
<header>
<nav class="frame" role="navigation">
<div class="container-fluid">
<a href="index.html" class="brand">
YONYOU-IT Angular-Requirejs-LTE
<small class="text-muted hidden-xs">前端开发框架</small>
</a>
<div class="buttons pull-right">
<a class="first hidden-xs" id="display-full" href="#" data-toggle="tooltip" data-placement="bottom" title="Display Desktop - full width"><i class="fa fa-desktop fa-lg"></i></a>
<a class="hidden-xs" id="display-940" href="#" data-toggle="tooltip" data-placement="bottom" title="Display Tablet - 940px"><i class="fa fa-tablet fa-lg"></i></a>
<a class="hidden-xs" id="display-480" href="#" data-toggle="tooltip" data-placement="bottom" title="Display Phone - 480px"><i class="fa fa-mobile fa-lg"></i></a>
<!--<a href="https://almsaeedstudio.com/premium" data-toggle="tooltip" data-placement="bottom" title="Premium Templates"><i style="color: #F34D59" class="fa fa-tint fa-lg"></i></a>-->
<!--<a href="https://almsaeedstudio.com/download/AdminLTE-master" data-toggle="tooltip" data-placement="bottom" title="Download now"><i class="fa fa-download fa-lg"></i></a>-->
<a id="remove-frame" href="#" data-toggle="tooltip" data-placement="bottom" title="Remove frame"><i class="fa fa-times"></i></a>
</div>
</div><!-- /.container -->
</nav><!--/.navbar-->
</header>
<iframe src="index.html" id="preview-iframe"></iframe>
<script src="public/lib/jQuery/jQuery.js"></script>
<script src="public/lib/bootstrap/bootstrap.js"></script>
<script>
$(function() {
function _fix() {
var h = $(window).height();
var w = $(window).width();
$("#preview-iframe").css({
width: w + "px",
height: (h - 50) + "px"
});
}
_fix();
$(window).resize(function() {
_fix();
});
$('[data-toggle="tooltip"]').tooltip();
function iframe_width(width) {
$("#preview-iframe").animate({width: width}, 500);
}
$("#display-full").click(function(e){
e.preventDefault();
iframe_width("100%");
});
$("#display-940").click(function(e){
e.preventDefault();
iframe_width("940px");
});
$("#display-480").click(function(e){
e.preventDefault();
iframe_width("480px");
});
$("#remove-frame").click(function(e){
e.preventDefault();
window.location.href = "index.html";
});
});
</script>
</body>
</html>