first commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{**
|
||||
* templates/controllers/grid/feature/collapsibleGridFeature.tpl
|
||||
*
|
||||
* Copyright (c) 2016-2021 Simon Fraser University
|
||||
* Copyright (c) 2000-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Control for the collpsible grid functionality.
|
||||
*}
|
||||
{include file="linkAction/linkAction.tpl" action=$controlLink contextId='collapsibleGridControl'}
|
||||
@@ -0,0 +1,21 @@
|
||||
{**
|
||||
* templates/controllers/grid/feature/featuresOptions.tpl
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2000-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Grid features js options.
|
||||
*}
|
||||
{ldelim}
|
||||
{foreach name=features from=$features item=feature}
|
||||
{$feature->getId()|json_encode}: {ldelim}
|
||||
JSClass: {$feature->getJSClass()|json_encode},
|
||||
options: {ldelim}
|
||||
{foreach name=featureOptions from=$feature->getOptions() key=optionName item=optionValue}
|
||||
{$optionName}: {if $optionValue}'{$optionValue|escape:javascript}'{else}false{/if}{if !$smarty.foreach.featureOptions.last},{/if}
|
||||
{/foreach}
|
||||
{rdelim}
|
||||
{rdelim}{if !$smarty.foreach.features.last},{/if}
|
||||
{/foreach}
|
||||
{rdelim}
|
||||
@@ -0,0 +1,17 @@
|
||||
{**
|
||||
* templates/controllers/grid/feature/gridOrderFinishControls.tpl
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2000-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Controls (button and link) to finish the ordering action in grids.
|
||||
*}
|
||||
<div class="grid_controls order_finish_controls">
|
||||
<a href="#" id="{$gridId|concat}-saveButton" class="saveButton">
|
||||
{translate key="common.done"}
|
||||
</a>
|
||||
<a href="#" id="{$gridId|concat}-cancel" class="cancelFormButton">
|
||||
{translate key="grid.action.cancelOrdering"}
|
||||
</a>
|
||||
</div>
|
||||
@@ -0,0 +1,11 @@
|
||||
{**
|
||||
* templates/controllers/grid/feature/gridOrderNonOrderableMessage.tpl
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2000-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Message to be presented while hovering for non orderable grid rows in ordering mode.
|
||||
*}
|
||||
|
||||
<div class="order_message">{$orderMessage}</div>
|
||||
@@ -0,0 +1,19 @@
|
||||
{**
|
||||
* templates/controllers/grid/feature/gridPaging.tpl
|
||||
*
|
||||
* Copyright (c) 2014-2021 Simon Fraser University
|
||||
* Copyright (c) 2000-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Grid paging markup.
|
||||
*}
|
||||
|
||||
<div class="gridPaging">
|
||||
<div class="gridItemsPerPage">
|
||||
{translate key="common.itemsPerPage"}:<select class="itemsPerPage"></select>
|
||||
</div>
|
||||
<div class="gridPages">
|
||||
{page_info iterator=$iterator itemsPerPage=$currentItemsPerPage}
|
||||
{page_links name=$grid->getId() iterator=$iterator}
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,20 @@
|
||||
{**
|
||||
* templates/controllers/grid/feature/infiniteScrolling.tpl
|
||||
*
|
||||
* Copyright (c) 2016-2021 Simon Fraser University
|
||||
* Copyright (c) 2000-2021 John Willinsky
|
||||
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
||||
*
|
||||
* Grid infinite scrolling markup.
|
||||
*}
|
||||
{if $iterator->getCount()}
|
||||
<div class="gridPagingScrolling">
|
||||
{if $moreItemsLinkAction}
|
||||
{include file="linkAction/linkAction.tpl" action=$moreItemsLinkAction}
|
||||
{/if}
|
||||
<span class="item_count">
|
||||
{translate key="navigation.items.shownTotal" shown=$shown total=$iterator->getCount()}
|
||||
</span>
|
||||
{include file="common/loadingContainer.tpl"}
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user