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
44ef41b2
Commit
44ef41b2
authored
Jan 24, 2013
by
Liang Ding
Browse files
Options
Browse Files
Download
Plain Diff
c
parents
67281acb
692cfe01
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
14 deletions
+41
-14
war/src/main/webapp/admin-plugin-list.ftl
war/src/main/webapp/admin-plugin-list.ftl
+2
-2
war/src/main/webapp/js/admin/latkeAdmin.js
war/src/main/webapp/js/admin/latkeAdmin.js
+23
-0
war/src/main/webapp/js/admin/latkeAdmin.min.js
war/src/main/webapp/js/admin/latkeAdmin.min.js
+5
-1
war/src/main/webapp/js/admin/pluginList.js
war/src/main/webapp/js/admin/pluginList.js
+11
-11
No files found.
war/src/main/webapp/admin-plugin-list.ftl
View file @
44ef41b2
...
...
@@ -2,7 +2,7 @@
</div>
<div id="pluginPagination" class="margin12 right">
</div>
<div class="clear"></div>
<div id="PluginSetting" class="none">
<div id="pluginSetting" class="none">
</div>
<div class="clear"></div>
${plugins}
war/src/main/webapp/js/admin/latkeAdmin.js
View file @
44ef41b2
...
...
@@ -3017,6 +3017,12 @@ admin.pluginList = {
}]);
this
.
tablePagination
.
initPagination
();
$
(
"
#pluginSetting
"
).
dialog
({
width
:
700
,
height
:
180
,
"
modal
"
:
true
,
"
hideFooter
"
:
true
});
this
.
getList
(
page
);
},
...
...
@@ -3062,7 +3068,11 @@ admin.pluginList = {
}
});
},
<<<<<<<
HEAD
=======
>>>>>>>
692
cfe019926f553440bb6a3e2517360118353a7
toSetting
:
function
(
pluginId
){
$
(
"
#loadMsg
"
).
text
(
Label
.
loadingLabel
);
...
...
@@ -3078,6 +3088,7 @@ admin.pluginList = {
success
:
function
(
result
,
textStatus
){
$
(
"
#tipMsg
"
).
text
(
result
.
msg
);
<<<<<<<
HEAD
$
(
"
#PluginSetting
"
).
html
(
result
);
$
(
"
#PluginSetting
"
).
dialog
({
width
:
700
,
...
...
@@ -3086,13 +3097,21 @@ admin.pluginList = {
"
hideFooter
"
:
true
});
$
(
"
#PluginSetting
"
).
dialog
(
"
open
"
);
=======
$
(
"
#pluginSetting
"
).
html
(
result
);
$
(
"
#pluginSetting
"
).
dialog
(
"
open
"
);
>>>>>>>
692
cfe019926f553440bb6a3e2517360118353a7
$
(
"
#loadMsg
"
).
text
(
""
);
}
});
},
<<<<<<<
HEAD
=======
>>>>>>>
692
cfe019926f553440bb6a3e2517360118353a7
changeStatus
:
function
(
pluginId
,
status
)
{
if
(
status
===
"
ENABLED
"
)
{
status
=
"
DISABLED
"
;
...
...
@@ -3135,7 +3154,11 @@ admin.register["plugin-list"] = {
"
refresh
"
:
function
()
{
$
(
"
#loadMsg
"
).
text
(
""
);
}
<<<<<<<
HEAD
}
=======
}
>>>>>>>
692
cfe019926f553440bb6a3e2517360118353a7
/*
* Copyright (c) 2009, 2010, 2011, 2012, 2013, B3log Team
*
...
...
war/src/main/webapp/js/admin/latkeAdmin.min.js
View file @
44ef41b2
This source diff could not be displayed because it is too large. You can
view the blob
instead.
war/src/main/webapp/js/admin/pluginList.js
View file @
44ef41b2
...
...
@@ -56,6 +56,12 @@ admin.pluginList = {
}]);
this
.
tablePagination
.
initPagination
();
$
(
"
#pluginSetting
"
).
dialog
({
width
:
700
,
height
:
180
,
"
modal
"
:
true
,
"
hideFooter
"
:
true
});
this
.
getList
(
page
);
},
...
...
@@ -101,7 +107,7 @@ admin.pluginList = {
}
});
},
toSetting
:
function
(
pluginId
){
$
(
"
#loadMsg
"
).
text
(
Label
.
loadingLabel
);
...
...
@@ -117,21 +123,15 @@ admin.pluginList = {
success
:
function
(
result
,
textStatus
){
$
(
"
#tipMsg
"
).
text
(
result
.
msg
);
$
(
"
#PluginSetting
"
).
html
(
result
);
$
(
"
#PluginSetting
"
).
dialog
({
width
:
700
,
height
:
190
,
"
modal
"
:
true
,
"
hideFooter
"
:
true
});
$
(
"
#PluginSetting
"
).
dialog
(
"
open
"
);
$
(
"
#pluginSetting
"
).
html
(
result
);
$
(
"
#pluginSetting
"
).
dialog
(
"
open
"
);
$
(
"
#loadMsg
"
).
text
(
""
);
}
});
},
changeStatus
:
function
(
pluginId
,
status
)
{
if
(
status
===
"
ENABLED
"
)
{
status
=
"
DISABLED
"
;
...
...
@@ -174,4 +174,4 @@ admin.register["plugin-list"] = {
"
refresh
"
:
function
()
{
$
(
"
#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