Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
8a8ec979
Commit
8a8ec979
authored
Jun 28, 2019
by
LianaHus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standard
parent
ecda8a37
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
fileManager.js
src/app/files/fileManager.js
+9
-7
tooltip.js
src/app/ui/tooltip.js
+0
-0
No files found.
src/app/files/fileManager.js
View file @
8a8ec979
...
...
@@ -138,19 +138,20 @@ class FileManager extends FileSystemApi {
if
(
this
.
currentRequest
)
{
let
reject
=
false
let
saveAsCopy
=
false
let
actions
=
(
toaster
)
=>
{
return
yo
`
let
actions
=
(
toaster
)
=>
{
return
yo
`
<div class="container ml-1">
<button class="btn btn-primary btn-sm m-1" onclick=
${(
e
)
=>
{
reject
=
false
;
e
.
target
.
innerHTML
=
'Accepted'
;
toaster
.
hide
();
reject
=
false
e
.
target
.
innerHTML
=
'Accepted'
toaster
.
hide
()
toaster
.
forceResolve
()
}}
>
Accept
<
/button
>
<
button
class
=
"btn btn-primary btn-sm m-1"
onclick
=
$
{(
e
)
=>
{
reject
=
true
;
e
.
target
.
innerHTML
=
'Canceled'
;
reject
=
true
e
.
target
.
innerHTML
=
'Canceled'
toaster
.
hide
()
}}
>
Cancel
...
...
@@ -175,7 +176,8 @@ class FileManager extends FileSystemApi {
Save
As
Copy
<
/button
>
<
/div
>
`}
`
}
await toaster(yo`
<
div
>
<
i
class
=
"fas fa-exclamation-triangle text-danger mr-1"
><
/i
>
...
...
src/app/ui/tooltip.js
View file @
8a8ec979
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