-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up base styles for content browser
- Loading branch information
Showing
5 changed files
with
16 additions
and
43 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
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
22 changes: 11 additions & 11 deletions
22
airlock/templates/file_browser/_includes/file_content.html
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,12 +1,12 @@ | ||
{% #card id="fileCard" title=path_item.name container=True custom_button=buttons %} | ||
<div class="content"> | ||
<iframe src="{{ path_item.contents_url }}" | ||
title="{{ path_item.relpath }}" | ||
frameborder=0 | ||
height=1000 | ||
style="width: 100%;" | ||
sandbox="{{ path_item.iframe_sandbox }} allow-same-origin" | ||
id="content-iframe" | ||
></iframe> | ||
</div> | ||
{% #card id="fileCard" title=path_item.name container=False custom_button=buttons %} | ||
<iframe | ||
class="w-full h-full bg-white border-t border-slate-200 pl-4" | ||
style="height: 400px;" | ||
frameborder="0" | ||
height="100" | ||
id="content-iframe" | ||
sandbox="{{ path_item.iframe_sandbox }} allow-same-origin" | ||
src="{{ path_item.contents_url }}" | ||
title="{{ path_item.relpath }}" | ||
></iframe> | ||
{% /card %} |
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
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