Skip to content

Commit 67652f4

Browse files
committed
Change header layout.
Full changed assets for theme/admin.
1 parent 3243c2d commit 67652f4

File tree

1,072 files changed

+105119
-36102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,072 files changed

+105119
-36102
lines changed

modules/backend/views/layouts/header.html

+23-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,29 @@
22
<!doctype html>
33
<html lang="en" class="no-js">
44
<head>
5-
<title>{{.Head.Title}}</title>
5+
<title>Backend area | {{.Head.Title}}</title>
6+
<meta charset="UTF-8">
7+
<meta name="description" content="">
8+
<meta name="author" content="">
9+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
10+
<link rel="icon" href="/assets/themes/admin/favicon.ico" type="image/x-icon">
11+
{{ css "/assets/themes/admin/css/ui-lightness/jquery-ui-1.8.13.custom.css" }}
12+
{{ css "/assets/themes/admin/css/jquery.fancybox-1.3.4.css" }}
13+
{{ css "/assets/themes/admin/css/style.css?v=2" }}
14+
{{ css "/assets/themes/admin/css/jquery.treeview.css" }}
15+
{{ css "/assets/themes/admin/css/buttons.css?v=2" }}
16+
{{ css "/assets/themes/admin/components/AttentionBox/css/attention_box.css" -}}
17+
18+
{{ js "//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" }}
19+
{{ js "//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js" }}
20+
{{ js "/assets/themes/admin/js/libs/modernizr-1.7.min.js" }}
21+
{{ js "/assets/themes/admin/js/jquery.jtabs.js" }}
22+
{{ js "/assets/themes/admin/js/jquery.treeview.js" }}
23+
{{ js "/assets/themes/admin/js/jquery.fancybox-1.3.4.pack.js" }}
24+
{{ js "/assets/themes/admin/js/plugins.js" }}
25+
{{ js "/assets/themes/admin/js/jquery.ui.nestedSortable.js" }}
26+
{{ js "/assets/themes/admin/js/script.js" }}
27+
{{ js "/assets/themes/admin/components/AttentionBox/js/attention_box-min.js" -}}
628
</head>
729
<body>
830
{{ end }}

server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func main() {
1717

1818
// Routers
1919
backend.UrlRules(e)
20-
e.Static("/", "static")
20+
e.Static("/assets", "static")
2121

2222
//e.Debug = true
2323
//e.Logger.SetLevel(log.DEBUG)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
.attention-box {
2+
position: absolute;
3+
overflow: hidden;
4+
line-height: 30px;
5+
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, sans-serif, Helvetica, Arial, tahoma;
6+
font-size: 14px;
7+
background: url(../img/bg.png);
8+
width: 500px;
9+
z-index:999;
10+
padding-bottom: 8px;
11+
12+
-moz-border-radius: 5px;
13+
-webkit-border-radius: 5px;
14+
border-radius: 5px;
15+
16+
-moz-box-shadow: 0 0 20px #222;
17+
-webkit-box-shadow: 0 0 20px #222;
18+
box-shadow: 0 0 20px #222;
19+
}
20+
21+
.attention-box .message, .attention-box .buttons
22+
{
23+
color: #FFF;
24+
display: block;
25+
overflow: hidden;
26+
padding: 12px 5px 12px 10px;
27+
border-top-left-radius: 5px;
28+
border-top-right-radius: 5px;
29+
-moz-border-radius-topleft: 5px;
30+
-moz-border-radius-topright: 5px;
31+
-webkit-border-top-left-radius: 5px;
32+
-webkit-border-top-right-radius: 5px;
33+
padding-left: 70px;
34+
}
35+
36+
.attention-box-ie6
37+
{
38+
background: #000;
39+
}
40+
41+
.attention-box .bubble
42+
{
43+
background: url(../img/bubble.png) no-repeat 10px 10px;
44+
}
45+
46+
.attention-box .bubbleie6
47+
{
48+
background: url(../img/bubbleie6.gif) no-repeat 10px 10px;
49+
}
50+
51+
.attention-box .message
52+
{
53+
padding: 20px 15px 20px 70px;
54+
line-height: normal;
55+
}
56+
57+
.attention-box .input-container
58+
{
59+
padding: 10px 0px;
60+
text-indent: 0px;
61+
background: #F3F3F3;
62+
}
63+
64+
.attention-box .input-container label
65+
{
66+
display: block;
67+
text-transform: capitalize;
68+
margin-left: 70px;
69+
font-size: 12px;
70+
line-height: normal;
71+
padding: 4px 0px;
72+
}
73+
74+
.attention-box .input-container label .error
75+
{
76+
-moz-border-radius: 2px;
77+
-webkit-border-radius: 2px;
78+
color: #F70000;
79+
margin-left: 4px;
80+
margin-right: 15px;
81+
float: right;
82+
}
83+
84+
.attention-box .input-container div
85+
{
86+
padding: 0px;
87+
margin: 0px;
88+
line-height: normal;
89+
}
90+
91+
.attention-box .input-container input
92+
{
93+
margin-left: 70px;
94+
margin-bottom: 5px;
95+
width: 410px;
96+
height: 18px;
97+
font: inherit;
98+
padding: 3px;
99+
border-color:#7C7C7C #C3C3C3 #DDDDDD;
100+
border-style:solid;
101+
border-width:1px;
102+
}
103+
104+
.attention-box .buttons
105+
{
106+
padding-left: 0px;
107+
text-indent: 0px;
108+
padding: 8px 10px 0px 10px;
109+
background: none;
110+
overflow: hidden;
111+
}
112+
113+
.attention-box .buttons button
114+
{
115+
float: right;
116+
-moz-border-radius: 3px;
117+
-webkit-border-radius: 3px;
118+
background: #318DF2;
119+
background-image: url("../img/overlay-button.png");
120+
background-repeat: repeat-x;
121+
border-radius: 3px;
122+
border:medium none;
123+
color:#FFFFFF;
124+
cursor:pointer;
125+
margin: 0px 2px 0px 4px;
126+
font-size: 12px;
127+
padding: 4px 14px;
128+
line-height: normal;
129+
}
130+
131+
.attention-box .buttons button:hover
132+
{
133+
background: #2F71E1;
134+
background-image: url("../img/overlay-button.png");
135+
background-repeat: repeat-x;
136+
}
137+
138+
.attention-box .buttons button.important
139+
{
140+
background: #FF3000;
141+
background-image: url("../img/overlay-button.png");
142+
background-repeat: repeat-x;
143+
}
144+
145+
.attention-box .buttons button.important:hover
146+
{
147+
background: #F00000;
148+
}
149+
150+
.attention-box-modal
151+
{
152+
position: fixed;
153+
width: 100%;
154+
top: 0px;
155+
left: 0px;
156+
z-index:999;
157+
background: #222;
158+
}
159+
160+
.ie6IsCrap
161+
{
162+
background-image: none !important;
163+
}

0 commit comments

Comments
 (0)