Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
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-1
Commits
ce93fbfa
Commit
ce93fbfa
authored
Apr 10, 2017
by
Liang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🚧
#12256
parent
522c87df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
1 deletion
+40
-1
src/main/webapp/css/default-admin.css
src/main/webapp/css/default-admin.css
+8
-0
src/main/webapp/js/admin/categoryList.js
src/main/webapp/js/admin/categoryList.js
+32
-1
No files found.
src/main/webapp/css/default-admin.css
View file @
ce93fbfa
...
@@ -661,6 +661,14 @@ a[class*=" icon-"]:hover {
...
@@ -661,6 +661,14 @@ a[class*=" icon-"]:hover {
box-shadow
:
none
;
box-shadow
:
none
;
border-color
:
#1fb5ad
;
border-color
:
#1fb5ad
;
}
}
table
.form
label
{
margin
:
10px
0
0
0
;
}
table
.form
th
{
vertical-align
:
initial
;
}
/* end form */
/* end form */
/* start module */
/* start module */
...
...
src/main/webapp/js/admin/categoryList.js
View file @
ce93fbfa
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
*
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.
0.1.1, Apr 9
, 2017
* @version 1.
1.1.1, Apr 10
, 2017
* @since 2.0.0
* @since 2.0.0
*/
*/
...
@@ -64,6 +64,37 @@ admin.categoryList = {
...
@@ -64,6 +64,37 @@ admin.categoryList = {
"
modal
"
:
true
,
"
modal
"
:
true
,
"
hideFooter
"
:
true
"
hideFooter
"
:
true
});
});
// For tag auto-completion
$
.
ajax
({
// Gets all tags
url
:
latkeConfig
.
servePath
+
"
/console/tags
"
,
type
:
"
GET
"
,
cache
:
false
,
success
:
function
(
result
,
textStatus
)
{
$
(
"
#tipMsg
"
).
text
(
result
.
msg
);
if
(
!
result
.
sc
)
{
$
(
"
#loadMsg
"
).
text
(
""
);
return
;
}
if
(
0
>=
result
.
tags
.
length
)
{
return
;
}
var
tags
=
[];
for
(
var
i
=
0
;
i
<
result
.
tags
.
length
;
i
++
)
{
tags
.
push
(
result
.
tags
[
i
].
tagTitle
);
}
$
(
"
#categoryTags
"
).
completed
({
height
:
160
,
buttonText
:
Label
.
selectLabel
,
data
:
tags
}).
width
(
$
(
"
#categoryTags
"
).
parent
().
width
()
-
68
);
$
(
"
#loadMsg
"
).
text
(
""
);
}
});
},
},
/*
/*
* 根据当前页码获取列表
* 根据当前页码获取列表
...
...
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