commit
75c95ea6fd
|
@ -12,8 +12,7 @@
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:1em;color:#000;background-color:#f7f7f9;background-image:url("<?php echo getConfig('background')?getConfig('background'):($_SERVER['base_disk_path'].'background.jpg'); ?>");background-repeat:no-repeat;background-size:cover;background-size:100%;background-attachment:fixed}
|
body{font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px;line-height:1em;color:#000;background-color:#f7f7f9;background-image:url("<?php echo getConfig('background')?getConfig('background'):($_SERVER['base_disk_path'].'background.jpg'); ?>");background-repeat:no-repeat;background-size:cover;background-size:100%;background-attachment:fixed}
|
||||||
a{color:#24292e;cursor:pointer;text-decoration:none}
|
a{color:#24292e;cursor:pointer;text-decoration:none}
|
||||||
a:hover{color:#24292e}
|
ion-icon{font-size:15px;vertical-align:bottom}
|
||||||
.login ion-icon{vertical-align:bottom}
|
|
||||||
.changelanguage{position:absolute;right:5px;}
|
.changelanguage{position:absolute;right:5px;}
|
||||||
.title{text-align:center;margin-top:1rem;letter-spacing:2px;margin-bottom:2rem}
|
.title{text-align:center;margin-top:1rem;letter-spacing:2px;margin-bottom:2rem}
|
||||||
.title a{color:#333;text-decoration:none}
|
.title a{color:#333;text-decoration:none}
|
||||||
|
@ -24,25 +23,23 @@
|
||||||
.list-container,.list-header-container,.list-wrapper,a.back-link:hover,body{color:#24292e}
|
.list-container,.list-header-container,.list-wrapper,a.back-link:hover,body{color:#24292e}
|
||||||
.table-header{margin:0;border:0 none;padding:30px 60px;text-align:left;font-weight:400;color:#000;background-color:rgba(245,245,245,0.5);word-break: break-all;word-wrap: break-word;}
|
.table-header{margin:0;border:0 none;padding:30px 60px;text-align:left;font-weight:400;color:#000;background-color:rgba(245,245,245,0.5);word-break: break-all;word-wrap: break-word;}
|
||||||
.list-body-container{position:relative;left:0;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;background:rgba(245,245,245,0.5)}
|
.list-body-container{position:relative;left:0;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;background:rgba(245,245,245,0.5)}
|
||||||
.more-disk{margin:0;border:0 none;padding:30px 30px;text-align:left;font-weight:400;color:#000;background-color:rgba(245,245,245,0.5);}
|
.more-disk{margin:0;border:0 none;padding:30px 30px;text-align:left;font-weight:400;color:#000;background-color:rgba(245,245,245,0.5);white-space:nowrap;overflow:auto;}
|
||||||
.more-disk a{padding:5px;transition-duration: 0.4s;border-radius: 12px; background-color: white; color: black; border: 2px solid rgba(85,85,85,0.7); }
|
.more-disk a{padding:5px;transition-duration: 0.4s;border-radius: 12px; background-color: white; color: black; border: 2px solid rgba(85,85,85,0.7); }
|
||||||
.more-disk a:hover{ background-color: rgba(85,85,85,0.7); color: white; }
|
.more-disk a:hover{ background-color: rgba(85,85,85,0.7); color: white; }
|
||||||
.list-table{width:100%;padding:0 20px 20px 20px;border-spacing:0}
|
.list-table{width:100%;padding:0 20px 20px 20px;border-spacing:0}
|
||||||
.list-table tr{height:40px}
|
.list-table tr{height:40px}
|
||||||
.list-table tr[data-to]:hover{background:rgba(85,85,85,0.7);color:white;}
|
.list-table tr[data-to]:hover{background:rgba(85,85,85,0.7);color:white;}
|
||||||
.list-table tr[data-to]:hover a[name~="filelist"]{color:white}
|
.list-table tr[data-to]:hover a{color:white}
|
||||||
.list-table tr:first-child{background:rgba(245,245,245,0)}
|
.list-table tr:first-child{background:rgba(245,245,245,0)}
|
||||||
.list-table td,.list-table th{padding:0 10px;text-align:left}
|
.list-table td,.list-table th{padding:0 10px;text-align:left}
|
||||||
.list-table .size,.list-table .updated_at{text-align:right}
|
.list-table .size,.list-table .updated_at{text-align:right}
|
||||||
.list-table .file ion-icon{font-size:15px;/*margin-right:5px;*/vertical-align:bottom}
|
|
||||||
.mask{position:absolute;left:0px;top:0px;width:100%;background-color:#000;filter:alpha(opacity=50);opacity:0.5;z-index:2;}
|
.mask{position:absolute;left:0px;top:0px;width:100%;background-color:#000;filter:alpha(opacity=50);opacity:0.5;z-index:2;}
|
||||||
<?php if ($_SERVER['admin']) { ?>
|
<?php if ($_SERVER['admin']) { ?>
|
||||||
.operate{display:inline-table;margin:0;list-style:none}
|
.operate{display:inline-table;margin:0;margin-right:5px;list-style:none}
|
||||||
.operate ion-icon{vertical-align:bottom}
|
|
||||||
.operate ul{position:absolute;display:none;background:#fffaaa;border:0px #f7f7f7 solid;border-radius:5px;margin:-7px 0 0 0;padding:0 7px;color:#205D67;z-index:1;}
|
.operate ul{position:absolute;display:none;background:#fffaaa;border:0px #f7f7f7 solid;border-radius:5px;margin:-7px 0 0 0;padding:0 7px;color:#205D67;z-index:1;}
|
||||||
.operate:hover ul{position:absolute;display:inline-table;}
|
.operate:hover ul{position:absolute;display:inline-table;}
|
||||||
.operate ul li{padding:7px;list-style:none;display:inline-table;}
|
.operate ul li{padding:7px;list-style:none;display:block;}
|
||||||
.operate ul li ion-icon{vertical-align:bottom}
|
.list-table tr[data-to]:hover .operate ul li a{color:black}
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
.operatediv{position:absolute;border:1px #CCCCCC;background-color:#FFFFCC;z-index:2;}
|
.operatediv{position:absolute;border:1px #CCCCCC;background-color:#FFFFCC;z-index:2;}
|
||||||
.operatediv div{margin:16px}
|
.operatediv div{margin:16px}
|
||||||
|
@ -50,7 +47,6 @@
|
||||||
.readme{padding:8px;background-color:rgba(245,245,245,0.5);}
|
.readme{padding:8px;background-color:rgba(245,245,245,0.5);}
|
||||||
.markdown-body{padding:20px;text-align:left}
|
.markdown-body{padding:20px;text-align:left}
|
||||||
@media only screen and (max-width:480px){
|
@media only screen and (max-width:480px){
|
||||||
.more-disk{white-space:nowrap;overflow:auto;}
|
|
||||||
.title{margin-bottom:24px}
|
.title{margin-bottom:24px}
|
||||||
.list-wrapper{width:95%; margin-bottom:24px;}
|
.list-wrapper{width:95%; margin-bottom:24px;}
|
||||||
.list-table {padding:8px}
|
.list-table {padding:8px}
|
||||||
|
@ -209,9 +205,9 @@
|
||||||
$readme = false; ?>
|
$readme = false; ?>
|
||||||
<table class="list-table" id="list-table">
|
<table class="list-table" id="list-table">
|
||||||
<tr id="tr0">
|
<tr id="tr0">
|
||||||
<th class="file" onclick="sortby('a');"><?php echo getconstStr('File'); if ($_SERVER['USER']!='qcloud') { ?> <button onclick="showthumbnails(this);"><?php echo getconstStr('ShowThumbnails'); ?></button><?php } ?></th>
|
<th class="file"><a onclick="sortby('a');"><?php echo getconstStr('File'); ?></a><?php if ($_SERVER['USER']!='qcloud') { ?> <button onclick="showthumbnails(this);"><?php echo getconstStr('ShowThumbnails'); ?></button><?php } ?></th>
|
||||||
<th class="updated_at" width="25%" onclick="sortby('time');"><?php echo getconstStr('EditTime'); ?></th>
|
<th class="updated_at" width="25%"><a onclick="sortby('time');"><?php echo getconstStr('EditTime'); ?></a></th>
|
||||||
<th class="size" width="15%" onclick="sortby('size');"><?php echo getconstStr('Size'); ?></th>
|
<th class="size" width="15%"><a onclick="sortby('size');"><?php echo getconstStr('Size'); ?></a></th>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- Dirs -->
|
<!-- Dirs -->
|
||||||
<?php //echo json_encode($files['children'], JSON_PRETTY_PRINT);
|
<?php //echo json_encode($files['children'], JSON_PRETTY_PRINT);
|
||||||
|
@ -222,7 +218,7 @@
|
||||||
<tr data-to id="tr<?php echo $filenum;?>">
|
<tr data-to id="tr<?php echo $filenum;?>">
|
||||||
<td class="file">
|
<td class="file">
|
||||||
<?php if ($_SERVER['admin']) { ?>
|
<?php if ($_SERVER['admin']) { ?>
|
||||||
<li class="operate"><ion-icon name="construct"></ion-icon><?php echo getconstStr('Operate'); ?>
|
<li class="operate"><ion-icon name="construct"></ion-icon><a><?php echo getconstStr('Operate'); ?></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a onclick="showdiv(event,'encrypt',<?php echo $filenum;?>);"><ion-icon name="lock"></ion-icon><?php echo getconstStr('encrypt'); ?></a></li>
|
<li><a onclick="showdiv(event,'encrypt',<?php echo $filenum;?>);"><ion-icon name="lock"></ion-icon><?php echo getconstStr('encrypt'); ?></a></li>
|
||||||
<li><a onclick="showdiv(event, 'rename',<?php echo $filenum;?>);"><ion-icon name="create"></ion-icon><?php echo getconstStr('Rename'); ?></a></li>
|
<li><a onclick="showdiv(event, 'rename',<?php echo $filenum;?>);"><ion-icon name="create"></ion-icon><?php echo getconstStr('Rename'); ?></a></li>
|
||||||
|
@ -230,7 +226,7 @@
|
||||||
<li><a onclick="showdiv(event, 'copy',<?php echo $filenum;?>);"><ion-icon name="copy"></ion-icon><?php echo getconstStr('Copy'); ?></a></li>
|
<li><a onclick="showdiv(event, 'copy',<?php echo $filenum;?>);"><ion-icon name="copy"></ion-icon><?php echo getconstStr('Copy'); ?></a></li>
|
||||||
<li><a onclick="showdiv(event, 'delete',<?php echo $filenum;?>);"><ion-icon name="trash"></ion-icon><?php echo getconstStr('Delete'); ?></a></li>
|
<li><a onclick="showdiv(event, 'delete',<?php echo $filenum;?>);"><ion-icon name="trash"></ion-icon><?php echo getconstStr('Delete'); ?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<ion-icon name="folder"></ion-icon>
|
<ion-icon name="folder"></ion-icon>
|
||||||
<a id="file_a<?php echo $filenum;?>" name="filelist" href="<?php echo path_format($_SERVER['base_disk_path'] . '/' . $path . '/' . encode_str_replace($file['name']) . '/'); ?>"><?php echo str_replace('&','&', $file['name']);?></a>
|
<a id="file_a<?php echo $filenum;?>" name="filelist" href="<?php echo path_format($_SERVER['base_disk_path'] . '/' . $path . '/' . encode_str_replace($file['name']) . '/'); ?>"><?php echo str_replace('&','&', $file['name']);?></a>
|
||||||
|
@ -255,14 +251,14 @@
|
||||||
<tr data-to id="tr<?php echo $filenum;?>">
|
<tr data-to id="tr<?php echo $filenum;?>">
|
||||||
<td class="file">
|
<td class="file">
|
||||||
<?php if ($_SERVER['admin']) { ?>
|
<?php if ($_SERVER['admin']) { ?>
|
||||||
<li class="operate"><ion-icon name="construct"></ion-icon><?php echo getconstStr('Operate'); ?>
|
<li class="operate"><ion-icon name="construct"></ion-icon><a><?php echo getconstStr('Operate'); ?></a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a onclick="showdiv(event, 'rename',<?php echo $filenum;?>);"><ion-icon name="create"></ion-icon><?php echo getconstStr('Rename'); ?></a></li>
|
<li><a onclick="showdiv(event, 'rename',<?php echo $filenum;?>);"><ion-icon name="create"></ion-icon><?php echo getconstStr('Rename'); ?></a></li>
|
||||||
<li><a onclick="showdiv(event, 'move',<?php echo $filenum;?>);"><ion-icon name="move"></ion-icon><?php echo getconstStr('Move'); ?></a></li>
|
<li><a onclick="showdiv(event, 'move',<?php echo $filenum;?>);"><ion-icon name="move"></ion-icon><?php echo getconstStr('Move'); ?></a></li>
|
||||||
<li><a onclick="showdiv(event, 'copy',<?php echo $filenum;?>);"><ion-icon name="copy"></ion-icon><?php echo getconstStr('Copy'); ?></a></li>
|
<li><a onclick="showdiv(event, 'copy',<?php echo $filenum;?>);"><ion-icon name="copy"></ion-icon><?php echo getconstStr('Copy'); ?></a></li>
|
||||||
<li><a onclick="showdiv(event, 'delete',<?php echo $filenum;?>);"><ion-icon name="trash"></ion-icon><?php echo getconstStr('Delete'); ?></a></li>
|
<li><a onclick="showdiv(event, 'delete',<?php echo $filenum;?>);"><ion-icon name="trash"></ion-icon><?php echo getconstStr('Delete'); ?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<?php }
|
<?php }
|
||||||
$ext = strtolower(substr($file['name'], strrpos($file['name'], '.') + 1));
|
$ext = strtolower(substr($file['name'], strrpos($file['name'], '.') + 1));
|
||||||
if (in_array($ext, $exts['music'])) { ?>
|
if (in_array($ext, $exts['music'])) { ?>
|
||||||
|
|
Loading…
Reference in New Issue