Remove table headers from repo source dir view
This commit is contained in:
parent
0d3ccb3a38
commit
48d7e86684
2 changed files with 30 additions and 30 deletions
|
@ -43,21 +43,21 @@ $case sv
|
|||
^{body}
|
||||
$of SourceDir (DirectoryView mname ents mreadme)
|
||||
<h2>#{fromMaybe "Files" mname}
|
||||
<table>
|
||||
<tr>
|
||||
<th>Type
|
||||
<th>Name
|
||||
$forall DirEntry type' name <- ents
|
||||
<tr>
|
||||
<td>
|
||||
$case type'
|
||||
$of TypeBlob
|
||||
🗎
|
||||
$of TypeTree
|
||||
🗀
|
||||
<td>
|
||||
<a href=@{RepoSourceR user repo (dir ++ [name])}>
|
||||
#{name}
|
||||
$if null ents
|
||||
<p>No files!
|
||||
$else
|
||||
<table>
|
||||
$forall DirEntry type' name <- ents
|
||||
<tr>
|
||||
<td>
|
||||
$case type'
|
||||
$of TypeBlob
|
||||
🗎
|
||||
$of TypeTree
|
||||
🗀
|
||||
<td>
|
||||
<a href=@{RepoSourceR user repo (dir ++ [name])}>
|
||||
#{name}
|
||||
$maybe (readmeName, readmeWidget) <- mreadme
|
||||
<h2>#{readmeName}
|
||||
^{readmeWidget}
|
||||
|
|
|
@ -51,21 +51,21 @@ $case sv
|
|||
^{body}
|
||||
$of SourceDir (DirectoryView mname ents mreadme)
|
||||
<h2>#{fromMaybe "Files" mname}
|
||||
<table>
|
||||
<tr>
|
||||
<th>Type
|
||||
<th>Name
|
||||
$forall DirEntry type' name <- ents
|
||||
<tr>
|
||||
<td>
|
||||
$case type'
|
||||
$of TypeBlob
|
||||
🗎
|
||||
$of TypeTree
|
||||
🗀
|
||||
<td>
|
||||
<a href=@{RepoSourceR user repo (ref : (dir ++ [name]))}>
|
||||
#{name}
|
||||
$if null ents
|
||||
<p>No files!
|
||||
$else
|
||||
<table>
|
||||
$forall DirEntry type' name <- ents
|
||||
<tr>
|
||||
<td>
|
||||
$case type'
|
||||
$of TypeBlob
|
||||
🗎
|
||||
$of TypeTree
|
||||
🗀
|
||||
<td>
|
||||
<a href=@{RepoSourceR user repo (ref : (dir ++ [name]))}>
|
||||
#{name}
|
||||
$maybe (readmeName, readmeWidget) <- mreadme
|
||||
<h2>#{readmeName}
|
||||
^{readmeWidget}
|
||||
|
|
Loading…
Reference in a new issue