Commit 34e7d52c authored by svilayphiou's avatar svilayphiou
Browse files

Tree listing: <li> element for each item (before it was one <ul> element

per item...)
parent 4764bbd3
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
<section id="tree" class="repo-views" > <section id="tree" class="repo-views" >
<h3>Tree</h3> <h3>Tree</h3>
<a href="#" v-on:click.prevent="tree('up', upPath)">↑↑ Parent directory</a> <a href="#" v-on:click.prevent="tree('up', upPath)">↑↑ Parent directory</a>
<ul v-for="blob in fileList"> <ul>
<li v-bind:class="blob.type"> <li v-bind:class="blob.type" v-for="blob in fileList">
<a v-on:click.prevent="tree(blob.type, blob.path, blob.id)" href="#"> <a v-on:click.prevent="tree(blob.type, blob.path, blob.id)" href="#">
<span v-if="blob.type === 'tree'"></span> <span v-if="blob.type === 'tree'"></span>
[[ blob.name ]] [[ blob.name ]]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment