Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Trèfle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
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
Open source
Trèfle
Commits
20991bec
Commit
20991bec
authored
Sep 28, 2018
by
David Foucher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explorer : change api path to relative
parent
71d2f586
Pipeline
#2073
failed with stage
in 1 minute and 5 seconds
Changes
7
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
6 deletions
+7
-6
.gitignore
.gitignore
+1
-0
trefle/explorer/app.js
trefle/explorer/app.js
+1
-1
trefle/explorer/components/catalog.tag.html
trefle/explorer/components/catalog.tag.html
+1
-1
trefle/explorer/components/financements.tag.html
trefle/explorer/components/financements.tag.html
+1
-1
trefle/explorer/components/glossary.tag.html
trefle/explorer/components/glossary.tag.html
+1
-1
trefle/explorer/components/rules.tag.html
trefle/explorer/components/rules.tag.html
+1
-1
trefle/explorer/components/simulate.tag.html
trefle/explorer/components/simulate.tag.html
+1
-1
No files found.
.gitignore
View file @
20991bec
...
...
@@ -7,3 +7,4 @@ build/
dist/
.coverage
htmlcov/
.envrc
trefle/explorer/app.js
View file @
20991bec
...
...
@@ -16,7 +16,7 @@ function renderLabel (key, value) {
function
init
()
{
fetch
(
'
/explore/schema
'
)
fetch
(
'
..
/explore/schema
'
)
.
then
((
response
)
=>
response
.
json
())
.
then
((
data
)
=>
{
SCHEMA
=
data
...
...
trefle/explorer/components/catalog.tag.html
View file @
20991bec
...
...
@@ -16,7 +16,7 @@
this
.
results
=
[]
this
.
get
=
(
id
)
=>
{
fetch
(
`/explore/catalog?id=
${
id
}
`
)
fetch
(
`
..
/explore/catalog?id=
${
id
}
`
)
.
then
((
response
)
=>
response
.
text
())
.
then
((
data
)
=>
{
this
.
xml
=
data
...
...
trefle/explorer/components/financements.tag.html
View file @
20991bec
...
...
@@ -13,7 +13,7 @@
this
.
on
(
'
mount
'
,
()
=>
this
.
load
())
this
.
load
=
()
=>
{
fetch
(
'
/explore/financements
'
)
fetch
(
'
..
/explore/financements
'
)
.
then
((
response
)
=>
response
.
json
())
.
then
(
data
=>
{
this
.
financements
=
data
...
...
trefle/explorer/components/glossary.tag.html
View file @
20991bec
...
...
@@ -12,7 +12,7 @@
<script>
this
.
items
=
[]
fetch
(
'
/explore/glossary
'
)
fetch
(
'
..
/explore/glossary
'
)
.
then
((
response
)
=>
response
.
json
())
.
then
((
data
)
=>
{
this
.
items
=
data
...
...
trefle/explorer/components/rules.tag.html
View file @
20991bec
...
...
@@ -32,7 +32,7 @@
this
.
load
=
()
=>
{
if
(
RULES
)
return
this
.
load_data
(
RULES
)
fetch
(
'
/explore/rules
'
)
fetch
(
'
..
/explore/rules
'
)
.
then
((
response
)
=>
response
.
json
())
.
then
(
this
.
load_data
)
}
...
...
trefle/explorer/components/simulate.tag.html
View file @
20991bec
...
...
@@ -62,7 +62,7 @@
}
this
.
decodeLBFURL
=
(
url
,
callback
)
=>
{
fetch
(
`/explore/decode-lbf-url?url=
${
encodeURIComponent
(
url
)}
`
)
fetch
(
`
..
/explore/decode-lbf-url?url=
${
encodeURIComponent
(
url
)}
`
)
.
then
((
response
)
=>
this
.
handleResponse
(
response
,
callback
))
}
...
...
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