Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo
Commits
7df58422
Commit
7df58422
authored
Jul 25, 2012
by
Vanessa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加前端小工具,
parent
4f1927cd
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
191 additions
and
125 deletions
+191
-125
war/src/main/webapp/js/tools/compress.js
war/src/main/webapp/js/tools/compress.js
+24
-0
war/src/main/webapp/js/tools/update-version.js
war/src/main/webapp/js/tools/update-version.js
+22
-0
war/src/main/webapp/skins/ease/css/ease-ie8.min.css
war/src/main/webapp/skins/ease/css/ease-ie8.min.css
+7
-6
war/src/main/webapp/skins/ease/css/ease.css
war/src/main/webapp/skins/ease/css/ease.css
+2
-2
war/src/main/webapp/skins/ease/css/ease.min.css
war/src/main/webapp/skins/ease/css/ease.min.css
+116
-116
war/src/main/webapp/skins/ease/js/ease.min.js
war/src/main/webapp/skins/ease/js/ease.min.js
+20
-1
No files found.
war/src/main/webapp/js/tools/compress.js
0 → 100644
View file @
7df58422
var
fs
=
require
(
"
fs
"
),
exec
=
require
(
"
child_process
"
).
exec
;
// js compress
var
jsPaths
=
[
"
ease
"
];
for
(
var
i
=
0
;
i
<
jsPaths
.
length
;
i
++
)
{
var
content
=
""
;
exec
(
"
uglifyjs ../../skins/
"
+
jsPaths
[
i
]
+
"
/js/
"
+
jsPaths
[
i
]
+
"
.js > ../../skins/
"
+
jsPaths
[
i
]
+
"
/js/
"
+
jsPaths
[
i
]
+
"
.min.js
"
,
function
(
error
,
stdout
,
stderr
)
{
if
(
error
!==
null
)
{
console
.
log
(
error
);
}
});
}
// css compress
var
csses
=
[
"
ease
"
,
"
ease-ie8
"
];
for
(
var
i
=
0
;
i
<
csses
.
length
;
i
++
)
{
var
content
=
""
;
exec
(
"
lessc -compress ../../skins/ease/css/
"
+
csses
[
i
]
+
"
.css > ../../skins/ease/css/
"
+
csses
[
i
]
+
"
.min.css
"
,
function
(
error
,
stdout
,
stderr
)
{
if
(
error
!==
null
)
{
console
.
log
(
error
);
}
});
}
\ No newline at end of file
war/src/main/webapp/js/tools/update-version.js
0 → 100644
View file @
7df58422
var
version
=
""
,
newVersion
=
""
;
process
.
argv
.
forEach
(
function
(
val
,
index
,
array
)
{
if
(
index
===
2
)
{
version
=
val
;
}
if
(
index
===
3
)
{
newVersion
=
val
;
}
});
var
fs
=
require
(
"
fs
"
);
var
skins
=
[
"
ease
"
,
"
mobile
"
];
for
(
var
i
=
0
;
i
<
skins
.
length
;
i
++
)
{
var
fileName
=
"
../../skins/
"
+
skins
[
i
]
+
"
/skin.properties
"
;
var
file
=
fs
.
readFileSync
(
fileName
,
"
UTF-8
"
);
fs
.
writeFileSync
(
fileName
,
file
.
replace
(
"
forSolo=
"
+
version
,
"
forSolo=
"
+
newVersion
),
"
UTF-8
"
);
}
\ No newline at end of file
war/src/main/webapp/skins/ease/css/ease-ie8.min.css
View file @
7df58422
.nav
{
border-top
:
1px
solid
#e2e2e2
;
border-bottom
:
1px
solid
#e2e2e2
;}
.nav
{
border-top
:
1px
solid
#e2e2e2
;
border-bottom
:
1px
solid
#e2e2e2
;}
.article-next
{
border
:
1px
solid
#e2e2e2
;
border-top-color
:
#fefefe
;}
.article-next
{
border
:
1px
solid
#e2e2e2
;
border-top-color
:
#fefefe
;}
.article-next
:hover
{
background-color
:
#f2f2f2
;
border
:
1px
solid
#e2e2e2
;}
.article-next
:hover
{
background-color
:
#f2f2f2
;
border
:
1px
solid
#e2e2e2
;}
#tags
a
,
.archives
>
div
,
.dynamic
.module
,
.form
input
[
type
=
text
],
.form
input
[
type
=
password
],
.form
textarea
,
.article-relative
{
border
:
1px
solid
#f2f2f2
;}
.comment-body-ref
{
border
:
1px
solid
#e2e2e2
;}
.article-relative
{
width
:
363px
;}
#tags
a
,
.archives
>
div
,
.dynamic
.module
,
.form
input
[
type
=
"text"
],
.form
input
[
type
=
"password"
],
.form
textarea
,
.article-relative
{
border
:
1px
solid
#f2f2f2
;}
.comment-body-ref
,
#tags
a
:hover
,
.archives
>
div
:hover
,
.dynamic
.module
:hover
,
.form
input
:focus
,
.form
textarea
:focus
,
.article-relative
:hover
{
border
:
1px
solid
#e2e2e2
;}
#tags
a
:hover
,
.archives
>
div
:hover
,
.dynamic
.module
:hover
,
.form
input
:focus
,
.form
textarea
:focus
,
.article-relative
:hover
{
border
:
1px
solid
#e2e2e2
;}
\ No newline at end of file
.article-relative
{
width
:
363px
;}
war/src/main/webapp/skins/ease/css/ease.css
View file @
7df58422
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
* skin ease style
* skin ease style
*
*
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @version 1.0.1.
6, Jul 24
, 2012
* @version 1.0.1.
7, Jul 25
, 2012
*/
*/
/* start base */
/* start base */
html
,
body
,
div
,
ul
,
li
{
html
,
body
,
div
,
ul
,
li
{
...
@@ -185,7 +185,7 @@ sup {
...
@@ -185,7 +185,7 @@ sup {
cursor
:
pointer
;
cursor
:
pointer
;
float
:
right
;
float
:
right
;
height
:
16px
;
height
:
16px
;
margin
:
-3px
0
0
15px
;
;
margin
:
-3px
0
0
15px
;
padding
:
1px
;
padding
:
1px
;
width
:
16px
;
width
:
16px
;
}
}
...
...
war/src/main/webapp/skins/ease/css/ease.min.css
View file @
7df58422
This diff is collapsed.
Click to expand it.
war/src/main/webapp/skins/ease/js/ease.min.js
View file @
7df58422
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment