mirror of
https://git.zx2c4.com/cgit
synced 2025-08-04 10:04:32 +02:00
ui-tree: unify with ui-view, use path to select tree/blob
This teaches ui-tree to show both trees and blobs, thereby making ui-view superfluous. At the same time, ui-tree is extended to honour the specified path instead of requiering a tree/blob sha1.
This commit is contained in:
parent
849f0f0f02
commit
ffc69736a6
8 changed files with 180 additions and 118 deletions
16
cgit.css
16
cgit.css
|
@ -199,10 +199,22 @@ td.filemode {
|
|||
font-family: monospace;
|
||||
}
|
||||
|
||||
td.blob {
|
||||
table.blob {
|
||||
margin-top: 0.5em;
|
||||
border-top: solid 1px black;
|
||||
}
|
||||
|
||||
table.blob td.no {
|
||||
border-right: solid 1px black;
|
||||
color: black;
|
||||
background-color: #eee;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
table.blob td.txt {
|
||||
white-space: pre;
|
||||
font-family: monospace;
|
||||
background-color: white;
|
||||
padding-left: 0.5em;
|
||||
}
|
||||
|
||||
table.nowrap td {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue