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
632f1d84
Commit
632f1d84
authored
Aug 24, 2012
by
Vanessa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed #66
parent
b8790ce8
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
20 deletions
+14
-20
war/src/main/webapp/article-pwd.ftl
war/src/main/webapp/article-pwd.ftl
+1
-1
war/src/main/webapp/js/common.js
war/src/main/webapp/js/common.js
+5
-11
war/src/main/webapp/kill-browser.ftl
war/src/main/webapp/kill-browser.ftl
+1
-1
war/src/main/webapp/login.ftl
war/src/main/webapp/login.ftl
+6
-6
war/src/main/webapp/top-bar.ftl
war/src/main/webapp/top-bar.ftl
+1
-1
No files found.
war/src/main/webapp/article-pwd.ftl
View file @
632f1d84
...
...
@@ -50,7 +50,7 @@
<div
class=
"footerWrapper"
>
<div
class=
"footer"
>
©
${year} -
<a
href=
"
http://
${blogHost}"
>
${blogTitle}
</a><br/>
©
${year} -
<a
href=
"${blogHost}"
>
${blogTitle}
</a><br/>
Powered by
<a
href=
"http://b3log.org"
target=
"_blank"
>
${b3logLabel}
...
...
war/src/main/webapp/js/common.js
View file @
632f1d84
...
...
@@ -19,7 +19,7 @@
*
* @author <a href="mailto:LLY219@gmail.com">Liyuan Li</a>
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @version 1.0.2.
2, Jul 23
, 2012
* @version 1.0.2.
3, Aug 24
, 2012
*/
/**
...
...
@@ -164,17 +164,11 @@ var Util = {
* @description topbar 清除缓存按钮事件
*/
clearCache
:
function
(
all
)
{
var
data
=
{}
;
var
data
=
''
;
if
(
all
===
"
all
"
)
{
data
=
{
"
all
"
:
"
all
"
,
"
URI
"
:
""
};
data
=
'
{"all": "all", "URI": ""}
'
;
}
else
{
data
=
{
"
all
"
:
""
,
"
URI
"
:
window
.
location
.
pathname
};
data
=
'
{"all": "all", "URI": "
'
+
window
.
location
.
pathname
+
'
"}
'
;
}
$
.
ajax
({
...
...
@@ -182,7 +176,7 @@ var Util = {
url
:
latkeConfig
.
servePath
+
"
/clear-cache.do
"
,
cache
:
false
,
contentType
:
"
application/json
"
,
data
:
JSON
.
stringify
(
data
)
,
data
:
data
,
success
:
function
(
result
){
window
.
location
.
reload
();
}
...
...
war/src/main/webapp/kill-browser.ftl
View file @
632f1d84
...
...
@@ -35,7 +35,7 @@
<div
class=
"footerWrapper"
>
<div
class=
"footer"
>
©
${year} -
<a
href=
"
http://
${blogHost}"
>
${blogTitle}
</a><br/>
©
${year} -
<a
href=
"${blogHost}"
>
${blogTitle}
</a><br/>
Powered by
<a
href=
"http://b3log.org"
target=
"_blank"
>
${b3logLabel}
...
...
war/src/main/webapp/login.ftl
View file @
632f1d84
...
...
@@ -69,7 +69,7 @@
</div>
<div
class=
"footerWrapper"
>
<div
class=
"footer"
>
©
${year} -
<a
href=
"
http://
${blogHost}"
>
${blogTitle}
</a><br/>
©
${year} -
<a
href=
"${blogHost}"
>
${blogTitle}
</a><br/>
Powered by
<a
href=
"http://b3log.org"
target=
"_blank"
>
${b3logLabel}
...
...
@@ -96,16 +96,16 @@
return
;
}
var
requestJSONObject
=
{
"
userEmail
"
:
$
(
"
#userEmail
"
).
val
(),
"
userPassword
"
:
$
(
"
#userPassword
"
).
val
()
}
;
var
requestJSONObject
=
'
{
'
+
'
"userEmail":
'
+
$
(
"
#userEmail
"
).
val
()
+
'
,
'
+
'
"userPassword":
'
+
$
(
"
#userPassword
"
).
val
()
+
'
}
'
;
$
.
ajax
({
url
:
"
${servePath}/login
"
,
type
:
"
POST
"
,
contentType
:
"
application/json
"
,
data
:
JSON
.
stringify
(
requestJSONObject
)
,
data
:
requestJSONObject
,
error
:
function
(){
// alert("Login error!");
},
...
...
war/src/main/webapp/top-bar.ftl
View file @
632f1d84
...
...
@@ -67,7 +67,7 @@
<a href="https://github.com/b3log/b3log-solo" target="_blank" class="hover">
B3log Solo
</a>
${onlineVisitor1Label}${onlineVisitorCnt}
<span class="left"> ${onlineVisitor1Label}${onlineVisitorCnt}</span>
<span class="right" id="admin">
<#if isLoggedIn>
<span>${userName}</span>
...
...
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