Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
osp
tools.gitlabculture
Commits
056026ca
Commit
056026ca
authored
Feb 25, 2020
by
svilayphiou
Browse files
some cleaning in the vue test
parent
53a39f16
Changes
1
Hide whitespace changes
Inline
Side-by-side
vue.html
View file @
056026ca
...
...
@@ -11,7 +11,7 @@
<body>
<div
id=
"repos"
>
<div
class=
"repo"
v-for=
"repo in repos"
v-bind:class=
"repo.archived"
v-bind:key=
"repo.id"
>
<div
class=
"repo"
v-for=
"repo in repos"
v-bind:class=
"repo.archived"
>
<h2>
{{repo.name}}
</h2>
<div
class=
'iceberg'
>
<h3>
Iceberg
</h3>
...
...
@@ -19,6 +19,13 @@
<img
v-bind:src=
"image.src"
>
</div>
</div>
<!--<div class='processus'>-->
<!--<h3>Processus</h3>-->
<!--<img v-for="image in processus">-->
...
...
@@ -37,15 +44,15 @@
getMetadata
(
reposList
[
i
]);
getIceberg
(
i
,
reposList
[
i
]);
}
document
.
addEventListener
(
'
DOMContentLoaded
'
,
function
(){
console
.
log
(
repos
);
var
reposApp
=
new
Vue
({
el
:
'
#repos
'
,
data
:
{
repos
}
})
},
false
);
console
.
log
(
repos
);
var
reposApp
=
new
Vue
({
el
:
'
#repos
'
,
data
:
{
repos
}
})
// METADATA ///////////////////////////////
function
getMetadata
(
repoID
)
{
let
repo_url
=
"
https://gitlab.constantvzw.org/api/v4/projects/
"
+
repoID
;
...
...
@@ -85,6 +92,6 @@
</script>
<script
type=
"text/javascript"
charset=
"utf-8"
src=
"pad.js"
>
</script>
<script
type=
"text/javascript"
charset=
"utf-8"
src=
"
generator/templates/static/
pad.js"
>
</script>
</body>
</html>
Write
Preview
Supports
Markdown
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