Add a .highlight span in each li

This commit is contained in:
Jon Rohan 2012-12-24 17:16:17 -08:00
parent fbbe59714e
commit 3863e73df8
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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