Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
srvpro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
srvpro
Commits
3685f198
Commit
3685f198
authored
Feb 12, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3cb2d061
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
replay-dashboard.html
replay-dashboard.html
+9
-2
No files found.
replay-dashboard.html
View file @
3685f198
...
@@ -96,11 +96,18 @@ function loadreplays() {
...
@@ -96,11 +96,18 @@ function loadreplays() {
function
clearreplays
()
{
function
clearreplays
()
{
if
(
confirm
(
"
确实要清空记录吗?
"
))
{
if
(
confirm
(
"
确实要清空记录吗?
"
))
{
var
url
=
$
(
"
#http
"
).
val
()
+
"
://
"
+
$
(
"
#ip
"
).
val
()
+
"
:
"
+
$
(
"
#port
"
).
val
()
+
"
/api/clearlog?callback=?
"
+
(
$
(
"
#password
"
).
val
()
?
"
&pass=
"
+
$
(
"
#password
"
).
val
()
:
""
);
var
url
=
$
(
"
#http
"
).
val
()
+
"
://
"
+
$
(
"
#ip
"
).
val
()
+
"
:
"
+
$
(
"
#port
"
).
val
()
+
"
/api/clearlog?callback=?
"
+
(
$
(
"
#password
"
).
val
()
?
"
&pass=
"
+
$
(
"
#password
"
).
val
()
:
""
);
$
.
getJSON
(
url
,
listreplay
);
$
.
getJSON
(
url
,
clearreplays_success
);
$
(
"
#
open
_button
"
).
removeClass
(
"
btn-success
"
);
$
(
"
#
empty
_button
"
).
removeClass
(
"
btn-success
"
);
}
}
}
}
function
clearreplays_success
()
{
$
(
"
#empty_button
"
).
addClass
(
"
btn-success
"
);
$
(
"
#num
"
).
text
(
0
);
$
(
"
#rooms tbody
"
).
remove
();
$
(
"
#rooms
"
).
append
(
$
(
"
<tbody></tbody>
"
));
}
function
listreplay
(
data
)
{
function
listreplay
(
data
)
{
$
(
"
#open_button
"
).
addClass
(
"
btn-success
"
);
$
(
"
#open_button
"
).
addClass
(
"
btn-success
"
);
...
...
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