-
Notifications
You must be signed in to change notification settings - Fork 71
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
1 parent
e5a6699
commit 3745aa7
Showing
2 changed files
with
46 additions
and
0 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
43 changes: 43 additions & 0 deletions
43
invenio_communities/templates/semantic-ui/invenio_communities/macros/community_uploads.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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{# | ||
Copyright (C) 2024 CERN | ||
|
||
Invenio App RDM is free software; you can redistribute it and/or modify it | ||
under the terms of the MIT License; see LICENSE file for more details. | ||
#} | ||
|
||
{% macro community_uploads( | ||
title="Recent uploads", | ||
fetch_url="" | ||
) | ||
%} | ||
<div id="records-list" data-fetch-url="{{ fetch_url }}" data-title="{{ title }}" | ||
class="ui stackable container rel-mt-2"> | ||
|
||
<h2 class="ui header">{{ title }}</h2> | ||
<div class="ui divider"></div> | ||
|
||
<div class="ui fluid equal width stackable grid"> | ||
{% for n in range(3) %} | ||
<div class="column"> | ||
<div class="ui placeholder"> | ||
<div class="header"> | ||
<div class="line"></div> | ||
<div class="line"></div> | ||
</div> | ||
<div class="paragraph"> | ||
<div class="line"></div> | ||
<div class="line"></div> | ||
</div> | ||
<div class="header"> | ||
<div class="line"></div> | ||
</div> | ||
<div class="paragraph"> | ||
<div class="short line"></div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
|
||
{% endmacro %} |