-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
93 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,88 @@ | ||
--- | ||
import { Icon } from "astro-icon"; | ||
import LinkContainer from "../components/base/LinkContainer.astro" | ||
import MorePage from "../components/MorePage.astro" | ||
--- | ||
|
||
<div class="FolderDesc" id="<!--FolderId-->"> | ||
<div> | ||
<!--constStr@File--> | ||
</div> | ||
<div style="width: 20%;text-align: right;"> | ||
<!--constStr@EditTime--> | ||
</div> | ||
<div style="width: 20%;text-align: right;"> | ||
<!--constStr@Size--> | ||
</div> | ||
<div class="FolderDesc" id="<!--FolderId-->"> | ||
<div class="FileName"> | ||
<!--constStr@File--> | ||
</div> | ||
|
||
|
||
|
||
<!--FolderListStart--> | ||
<div id="Folders"> | ||
<LinkContainer href="<!--FileEncodeReplaceUrl-->/"> | ||
<div class="ListItems"> | ||
<div data-FileId="<!--FileId-->"> | ||
<!--FileEncodeReplaceName--> | ||
</div> | ||
<div> | ||
<!--lastModifiedDateTime--> | ||
</div> | ||
<div> | ||
<!--size--> | ||
</div> | ||
</div> | ||
</LinkContainer> | ||
<div style="width: 20%;text-align: right;" class="EditTime"> | ||
<!--constStr@EditTime--> | ||
</div> | ||
<!--FolderListEnd--> | ||
|
||
<div style="width: 20%;text-align: right;" class="Size"> | ||
<!--constStr@Size--> | ||
</div> | ||
</div> | ||
|
||
<!--FolderListStart--> | ||
<div id="Folders"> | ||
<LinkContainer href="<!--FileEncodeReplaceUrl-->/"> | ||
<div class="ListItems"> | ||
<div data-FileId="<!--FileId-->"> | ||
<Icon name="heroicons:folder" /> | ||
<!--FileEncodeReplaceName--> | ||
</div> | ||
<div> | ||
<!--lastModifiedDateTime--> | ||
</div> | ||
<div> | ||
<!--size--> | ||
</div> | ||
</div> | ||
</LinkContainer> | ||
</div> | ||
<!--FolderListEnd--> | ||
|
||
<!--FileListStart--> | ||
<div id="Files"> | ||
<LinkContainer href="<!--FileEncodeReplaceUrl-->?preview"> | ||
<div class="ListItems"> | ||
<div data-FileId="<!--FileId-->"> | ||
<!--FileEncodeReplaceName--> | ||
</div> | ||
|
||
<div> | ||
<!--lastModifiedDateTime--> | ||
</div> | ||
|
||
<div> | ||
<!--size--> | ||
</div> | ||
|
||
<!--FileListStart--> | ||
<div id="Files"> | ||
<LinkContainer href="<!--FileEncodeReplaceUrl-->?preview"> | ||
<div class="ListItems"> | ||
<div data-FileId="<!--FileId-->"> | ||
<Icon name="heroicons:document" /> | ||
<!--FileEncodeReplaceName--> | ||
</div> | ||
</LinkContainer> | ||
</div> | ||
<!--FileListEnd--> | ||
<div> | ||
<!--lastModifiedDateTime--> | ||
</div> | ||
<div> | ||
<!--size--> | ||
</div> | ||
</div> | ||
</LinkContainer> | ||
</div> | ||
<!--FileListEnd--> | ||
|
||
<MorePage /> | ||
<!--MorePageStart--> | ||
<MorePage /> | ||
<!--MorePageEnd--> | ||
|
||
|
||
|
||
<style> | ||
.ListItems, | ||
<style lang="scss"> | ||
.FolderDesc { | ||
margin: 0 16px; | ||
} | ||
.FolderDesc, | ||
.ListItems { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
.FolderDesc { | ||
margin: 0 16px; | ||
} | ||
|
||
.ListItems div:nth-child(1), | ||
.FolderDesc div:nth-child(1) { | ||
text-align: left; | ||
width: 50%; | ||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
white-space: nowrap; | ||
} | ||
.ListItems div:nth-child(2), | ||
.FolderDesc div:nth-child(2) { | ||
width: 30%; | ||
text-align: right; | ||
} | ||
.ListItems div:nth-child(3), | ||
.FolderDesc div:nth-child(3), { | ||
width: 20%; | ||
text-align: right; | ||
div:nth-child(1) { | ||
text-align: left; | ||
width: 50%; | ||
text-overflow: ellipsis; | ||
overflow: hidden; | ||
white-space: nowrap; | ||
} | ||
div:nth-child(2) { | ||
width: 30%; | ||
text-align: right; | ||
} | ||
div:nth-child(3) { | ||
width: 20%; | ||
text-align: right; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters