mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-11 04:48:44 +03:00
Add a .highlight span in each li
This commit is contained in:
parent
fbbe59714e
commit
3863e73df8
@ -11,6 +11,7 @@ class DirectoryView extends View
|
||||
@div outlet: 'header', class: 'header', =>
|
||||
@span '▸', class: 'disclosure-arrow', outlet: 'disclosureArrow'
|
||||
@span directory.getBaseName(), class: 'name', outlet: 'directoryName'
|
||||
@span "", class: 'highlight'
|
||||
|
||||
directory: null
|
||||
entries: null
|
||||
|
@ -5,7 +5,9 @@ Git = require 'git'
|
||||
module.exports =
|
||||
class FileView extends View
|
||||
@content: (file) ->
|
||||
@li file.getBaseName(), class: 'file entry'
|
||||
@li class: 'file entry', =>
|
||||
@span file.getBaseName(), class: 'name'
|
||||
@span "", class: 'highlight'
|
||||
|
||||
file: null
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user