Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
jijisa
/
porch
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
94fa005a
authored
Apr 03, 2017
by
Heechul Kim
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
https://git.iorchard.co.kr/jijisa/porch
parents
ce3bd422
7bbba345
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
2 additions
and
18 deletions
quasar/src/App.vue
quasar/src/components/Login.vue
quasar/src/components/app/Create.vue
quasar/src/components/machine/Create.vue
quasar/src/components/machine/Install.vue
quasar/src/components/machine/List.vue
quasar/src/components/os/List.vue
quasar/src/components/play/List.vue
quasar/src/components/section/Create.vue
quasar/src/App.vue
View file @
94fa005a
...
...
@@ -173,9 +173,7 @@ export default {
}
}
const
url
=
API_URL
+
'/account/refresh'
console
.
log
(
url
)
this
.
$http
.
post
(
url
,
{},
headers
).
then
(
response
=>
{
console
.
log
(
response
.
body
.
token
)
// this.$cookie.set('token', response.body.token)
this
.
$store
.
commit
(
'setToken'
,
response
.
body
.
token
)
},
response
=>
{
...
...
quasar/src/components/Login.vue
View file @
94fa005a
...
...
@@ -88,7 +88,6 @@ export default {
this
.
$router
.
push
(
'/section'
)
},
response
=>
{
console
.
log
(
response
.
body
)
Toast
.
create
.
negative
({
html
:
'로그인 실패: '
+
response
.
body
.
error
,
timeout
:
5000
...
...
quasar/src/components/app/Create.vue
View file @
94fa005a
...
...
@@ -105,7 +105,6 @@ export default {
desc
:
this
.
form
.
desc
}
if
(
!
payload
.
repo
)
{
console
.
log
(
payload
)
return
}
const
token
=
this
.
$store
.
state
.
token
...
...
@@ -118,7 +117,6 @@ export default {
this
.
$http
.
post
(
url
,
payload
,
headers
).
then
(
response
=>
{
this
.
$router
.
push
(
'/app'
)
},
response
=>
{
console
.
log
(
response
.
status
)
Toast
.
create
.
negative
(
'애플리케이션 정보 수신 실패'
)
this
.
$refs
.
name
.
focus
()
})
...
...
quasar/src/components/machine/Create.vue
View file @
94fa005a
...
...
@@ -230,7 +230,6 @@ export default {
preseed
:
''
}
if
(
!
payload
.
os
)
{
console
.
log
(
payload
)
return
}
const
token
=
this
.
$store
.
state
.
token
...
...
quasar/src/components/machine/Install.vue
View file @
94fa005a
...
...
@@ -170,7 +170,6 @@ export default {
}
}
let
url
=
API_URL
+
`/machine/
${
this
.
machine
}
/console/close`
console
.
log
(
url
)
this
.
$http
.
post
(
url
,
{},
headers
).
then
(
response
=>
{
},
response
=>
{
})
...
...
@@ -183,7 +182,6 @@ export default {
}
}
let
url
=
API_URL
+
`/machine/
${
row
.
name
}
/console`
console
.
log
(
url
)
this
.
$http
.
get
(
url
,
headers
).
then
(
response
=>
{
this
.
machine
=
row
.
name
this
.
consoleUrl
=
response
.
body
...
...
quasar/src/components/machine/List.vue
View file @
94fa005a
...
...
@@ -220,7 +220,6 @@ export default {
}
}
let
url
=
API_URL
+
`/machine/
${
this
.
machine
}
/console/close`
console
.
log
(
url
)
this
.
$http
.
post
(
url
,
{},
headers
).
then
(
response
=>
{
},
response
=>
{
})
...
...
@@ -233,7 +232,6 @@ export default {
}
}
let
url
=
API_URL
+
`/machine/
${
row
.
name
}
/console`
console
.
log
(
url
)
this
.
$http
.
get
(
url
,
headers
).
then
(
response
=>
{
this
.
machine
=
row
.
name
this
.
consoleUrl
=
response
.
body
...
...
quasar/src/components/os/List.vue
View file @
94fa005a
...
...
@@ -135,12 +135,10 @@ export default {
}
const
url
=
API_URL
+
'/machine/os'
this
.
$http
.
post
(
url
,
this
.
form
,
headers
).
then
(
response
=>
{
console
.
log
(
response
.
body
)
this
.
$router
.
push
(
'/log'
)
},
response
=>
{
console
.
log
(
response
.
statusText
)
// Toast.create.negative('서버 OS 배포 실패')
Toast
.
create
.
negative
(
'서버 OS 배포 실패'
)
})
this
.
$router
.
push
(
'/log'
)
},
toggle
:
function
()
{
let
selected
=
[]
...
...
quasar/src/components/play/List.vue
View file @
94fa005a
...
...
@@ -167,7 +167,6 @@ export default {
else
{
this
.
sameAsBefore
=
0
}
console
.
log
(
this
.
sameAsBefore
)
if
(
this
.
sameAsBefore
===
30
)
{
clearInterval
(
this
.
intervalLogObj
)
}
...
...
@@ -190,7 +189,6 @@ export default {
Toast
.
create
.
negative
(
'서버 애플리케이션 배포 실패'
)
return
})
// this.intervalLogObj = setInterval(this.getLog, 5 * 1000)
},
toggle
:
function
()
{
let
selected
=
[]
...
...
@@ -275,7 +273,6 @@ export default {
this
.
$http
.
get
(
url
,
headers
).
then
(
response
=>
{
let
self
=
this
let
result
=
response
.
body
console
.
log
(
result
)
result
.
forEach
(
function
(
element
)
{
self
.
sections
[
element
.
section
]
=
[]
})
...
...
quasar/src/components/section/Create.vue
View file @
94fa005a
...
...
@@ -115,7 +115,6 @@ export default {
}
}
this
.
$http
.
post
(
url
,
payload
,
headers
).
then
(
response
=>
{
console
.
log
(
response
.
status
)
this
.
$router
.
push
(
'/section'
)
},
response
=>
{
Toast
.
create
.
negative
(
'그룹 생성 실패'
)
...
...
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