mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-23 04:06:35 +01:00
3511e0401b
- CLoses #1568
72 lines
2.6 KiB
HTML
72 lines
2.6 KiB
HTML
<html><head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<title>%TITLE%</title>
|
|
<style>
|
|
html {background: #dddddd;font-family: sans-serif;color: #525c66;}
|
|
html * {font-size: 100%;line-height: 1.6;}
|
|
#box {max-width:650px;min-width:400px;overflow:auto;margin: 25px auto 10px auto;padding: 10px 40px;border-width: 20px;-webkit-border-image: url(%BOX-BORDER%) 25;text-align: %LEFT_STR%;direction: %DIRECTION%;}
|
|
h1 {color:#1a4ba4;font-size:120%;margin-bottom:0px;word-wrap:break-word;}
|
|
a{text-decoration:none;}
|
|
a:hover{text-decoration:underline;}
|
|
p{margin-bottom:0;}
|
|
h1 a{ border-bottom: 1px solid rgba(0, 130, 217, 0.196); color: #0082D9;}
|
|
h1 a:hover{ text-decoration:none; border-bottom: 1px solid rgba(0, 130, 217, 1); color: #0082D9;}
|
|
|
|
.dir-up{float:%LEFT_STR%;padding-%LEFT_STR%:22px;font-size:105%;height:30px;background:transparent url(data:image/png;base64,%UP-IMG%) no-repeat;background-position-x:%LEFT_STR%}
|
|
.show-hidden{float:%RIGHT_STR%;font-size:105%;height:30px;}
|
|
.tr-hidden{display:none;}
|
|
.tr-visible{display:table-row;}
|
|
.file-table{width:95%;margin-left:auto;margin-right:auto;}
|
|
.file-table th{font-size:105%;}
|
|
.file-table td{padding-%LEFT_STR%:8px;}
|
|
.name{width:100%;text-align:%LEFT_STR%;}
|
|
.size{min-width:80px;}
|
|
.modif{min-width:120px;}
|
|
.td-size{text-align:%RIGHT_STR%;}
|
|
.td-name{padding-%LEFT_STR%:20px !important;background-color:transparent;background-repeat:no-repeat;background-position:center %LEFT_STR%;}
|
|
</style>
|
|
<script>
|
|
function showHidden()
|
|
{
|
|
var hElems = document.getElementsByClassName('tr-hidden');
|
|
var vElems = document.getElementsByClassName('tr-visible');
|
|
var dest = new Array();
|
|
|
|
if (hElems.length > 0) {
|
|
for(var i = 0; i < hElems.length; ++i)
|
|
dest[i] = hElems[i];
|
|
for (var s = 0; s < dest.length; ++s)
|
|
dest[s].className = "tr-visible";
|
|
}
|
|
else if (vElems.length > 0) {
|
|
for(var i = 0; i < vElems.length; ++i)
|
|
dest[i] = vElems[i];
|
|
for (var s = 0; s < dest.length; ++s)
|
|
dest[s].className = "tr-hidden";
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="box">
|
|
<h1>%CLICKABLE-TITLE%</h1>
|
|
|
|
<p class="dir-up" style="display:%UP-DIR-DISPLAY%"><a href="%UP-DIR-LINK%">%UP-DIR-TEXT%</a></p>
|
|
<p class="show-hidden" style="display:%SHOW-HIDDEN-DISPLAY%"><label><input type="checkbox" onchange="showHidden()">%SHOW-HIDDEN-TEXT%</label></p>
|
|
<span style="clear:both;display:block;visibility:hidden;"></span>
|
|
<table class="file-table">
|
|
<thead>
|
|
<tr>
|
|
<th class="name">%NAME%</th>
|
|
<th class="size">%SIZE%</th>
|
|
<th class="modif" colspan="2">%MODIFIED%</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
%T-BODY%
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
</body></html>
|