-
Notifications
You must be signed in to change notification settings - Fork 988
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue: Add general link to documentation in admin interface (T145)
- Loading branch information
Showing
15 changed files
with
147 additions
and
50 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
<li class="dropdown larger-dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> | ||
<span class="fa fa-question-circle" ></span> | ||
<?php eT('Help');?> | ||
<span class="caret"></span> | ||
</a> | ||
<ul class="dropdown-menu larger-dropdown" id="help-dropdown"> | ||
<?php $this->renderPartial( "/admin/super/_tutorial_menu", []); ?> | ||
<li> | ||
<a href="http://manual.limesurvey.org/" target="_blank"> | ||
<span class="fa fa-question-circle" ></span> | ||
<?php eT('LimeSurvey Manual');?> | ||
<i class="fa fa-external-link pull-right"></i> | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://bugs.limesurvey.org/" target="_blank"> | ||
<span class="fa fa-bug" ></span> | ||
<?php eT('Report bugs');?> | ||
<i class="fa fa-external-link pull-right"></i> | ||
</a> | ||
</li> | ||
<li> | ||
<a href="https://limesurvey.org/" target="_blank"> | ||
<span class="fa fa-star" ></span> | ||
<?php eT('LimeSurvey Homepage');?> | ||
<i class="fa fa-external-link pull-right"></i> | ||
</a> | ||
</li> | ||
</ul> | ||
</li> |
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
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,54 @@ | ||
<?php | ||
$pageSize=Yii::app()->user->getState('pageSize',Yii::app()->params['defaultPageSize']); | ||
|
||
// DO NOT REMOVE This is for automated testing to validate we see that page | ||
echo viewHelper::getViewTestTag('tutorialentries'); | ||
|
||
?> | ||
<div class="container-fluid ls-space padding left-50 right-50"> | ||
<div class="ls-flex-column ls-space padding left-35 right-35"> | ||
<div class="col-12 h1 pagetitle"> | ||
<?php eT('Tutorialentries')?> | ||
</div> | ||
<div class="col-12"> | ||
<a class="btn btn-primary pull-right col-xs-6 col-sm-3 col-md-2" id="createnewtutorialentry" > | ||
<i class="fa fa-plus"></i> <?php eT('New') ?> | ||
</a> | ||
<?php if(Permission::model()->hasGlobalPermission('superadmin','read')):?> | ||
<a class="btn btn-danger pull-right ls-space margin right-10 col-xs-6 col-sm-3 col-md-2" href="#restoremodal" data-toggle="modal"> | ||
<i class="fa fa-refresh"></i> | ||
<?php eT('Reset') ?> | ||
</a> | ||
<?php endif; ?> | ||
</div> | ||
<div class="col-12 ls-space margin top-15"> | ||
<div class="col-12 ls-flex-item"> | ||
<?php $this->widget('bootstrap.widgets.TbGridView', array( | ||
'dataProvider' => $model->search(), | ||
// Number of row per page selection | ||
'id' => 'tutorial-grid', | ||
'columns' => $model->getColumns(), | ||
'filter' => $model, | ||
'emptyText'=>gT('No customizable entries found.'), | ||
'summaryText'=>gT('Displaying {start}-{end} of {count} result(s).').' '. sprintf(gT('%s rows per page'), | ||
CHtml::dropDownList( | ||
'pageSize', | ||
$pageSize, | ||
Yii::app()->params['pageSizeOptions'], | ||
array('class'=>'changePageSize form-control', 'style'=>'display: inline; width: auto') | ||
) | ||
), | ||
'rowHtmlOptionsExpression' => '["data-tutorialentry-id" => $data->teid]', | ||
'htmlOptions' => array('class'=> 'table-responsive'), | ||
'itemsCssClass' => 'table table-responsive table-striped', | ||
'htmlOptions'=>array('style'=>'cursor: pointer;', 'class'=>'hoverAction grid-view'), | ||
'ajaxType' => 'POST', | ||
'ajaxUpdate' => true, | ||
'template' => "{items}\n<div id='tokenListPager'><div class=\"col-sm-4\" id=\"massive-action-container\"></div><div class=\"col-sm-4 pager-container ls-ba \">{pager}</div><div class=\"col-sm-4 summary-container\">{summary}</div></div>", | ||
'afterAjaxUpdate'=>'bindAction', | ||
)); | ||
?> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
File renamed without changes.
File renamed without changes.