fix file padding bug in task detail page
This commit is contained in:
parent
6465050135
commit
4ce24c0421
|
@ -246,7 +246,7 @@
|
|||
<div class="task-table-body">
|
||||
<div class="row" ng-repeat="file in task.files | fileOrderBy: getFileListOrderType()"
|
||||
ng-if="!context.collapsedDirs[file.relativePath]" data-file-index="{{file.index}}">
|
||||
<div class="col-sm-10" ng-if="file.isDir" style="{{'padding-left: ' + (file.level * 16) + 'px'}}">
|
||||
<div class="col-sm-10" ng-if="file.isDir" style="{{(task.multiDir ? ('padding-left: ' + (file.level * 16) + 'px') : '')}}">
|
||||
<i class="icon-dir-expand pointer-cursor fa" ng-click="collapseDir(file)"
|
||||
ng-class="{true: 'fa-plus', false: 'fa-minus'}[!!context.collapsedDirs[file.nodePath]]"
|
||||
title="{{(context.collapsedDirs[file.nodePath] ? 'Expand' : 'Collapse') | translate}}">
|
||||
|
@ -256,7 +256,7 @@
|
|||
<label for="{{'node_' + file.nodePath}}" class="allow-word-break" ng-bind="file.nodeName" title="{{file.nodeName}}"></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-8" ng-if="!file.isDir" style="{{'padding-left: ' + (11 + 6 + file.level * 16) + 'px'}}">
|
||||
<div class="col-sm-8" ng-if="!file.isDir" style="{{(task.multiDir ? ('padding-left: ' + (11 + 6 + file.level * 16) + 'px') : '')}}">
|
||||
<div class="checkbox checkbox-primary">
|
||||
<input id="{{'file_' + file.index}}" type="checkbox" ng-disabled="!task || !task.files || task.files.length <= 1 || (task.status !== 'waiting' && task.status !== 'paused')"
|
||||
ng-model="file.selected" ng-change="setSelectedFile(true)"/>
|
||||
|
|
Reference in a new issue