Render a resource preview view with more information about the

resource, such as its summary, its mime type, a preview (available
for some image/* and text/* mime types) and a list of pages where
the specific resource revision is used.
This commit is contained in:
Thomas Keller
2011-11-26 23:25:46 +01:00
parent ff2b19d587
commit 58ccb93f2d
5 changed files with 178 additions and 1 deletions

View File

@@ -802,6 +802,15 @@ p.desc {
width: 60%;
}
p.preview img {
max-width: 60%;
}
p.preview iframe {
width: 60%;
height: 300px;
}
div.old-rev {
padding: 1em 1em 0.1em 1em;
margin-bottom: 1em;
@@ -824,6 +833,9 @@ div.deprecated-page {
-webkit-border-radius: 5px;
}
li.old-rev {
font-style: italic;
}
.delp {
float: right;