convert preview to list
This commit is contained in:
parent
df6af65b09
commit
74011e3fc6
@ -21,7 +21,7 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
OCP\Util::addStyle( 'office', 'style');
|
//OCP\Util::addStyle( 'office', 'style');
|
||||||
|
|
||||||
OCP\App::register(array('order' => 70, 'id' => 'office', 'name' => 'Office'));
|
OCP\App::register(array('order' => 70, 'id' => 'office', 'name' => 'Office'));
|
||||||
OCP\App::registerAdmin('office', 'settings');
|
OCP\App::registerAdmin('office', 'settings');
|
||||||
|
@ -1,13 +1,15 @@
|
|||||||
#emptyfolder { position:absolute; margin:10em 0 0 10em; font-size:1.5em; font-weight:bold; color:#888; text-shadow:#fff 0 1px 0; }
|
#emptyfolder { position:absolute; margin:10em 0 0 10em; font-size:1.5em; font-weight:bold; color:#888; text-shadow:#fff 0 1px 0; }
|
||||||
|
|
||||||
.documentslist { padding:5px; width:100%;}
|
.documentslist { padding:5px; }
|
||||||
.documentslist li{
|
.documentslist li{
|
||||||
float:left;
|
margin:4px;
|
||||||
margin:40px;
|
|
||||||
}
|
}
|
||||||
.documentslist li img{
|
.documentslist li img {
|
||||||
width:256px;
|
width:32px;
|
||||||
height:256px;
|
height:32px;
|
||||||
|
}
|
||||||
|
.documentslist li .document-info {
|
||||||
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
#office-content{
|
#office-content{
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<div id="emptyfolder"><?php p('No documents are found. Please upload a document!');?></div>
|
<div id="emptyfolder"><?php p('No documents are found. Please upload a document!');?></div>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<div id="editor-content">
|
<div id="editor-content">
|
||||||
<ul class="documentslist" style="overflow:hidden">
|
<ul class="documentslist">
|
||||||
<li>
|
<li>
|
||||||
<img class="svg" src="<?php p(\OCP\Util::imagePath('core','actions/add.svg')) ?>" />
|
<img class="svg" src="<?php p(\OCP\Util::imagePath('core','actions/add.svg')) ?>" />
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user