yangUI changes
[dlux.git] / modules / loader-resources / src / main / resources / assets / views / yangui / list-data-top.tpl.html
1 <button ng-click="shiftDisplayPrev()" ng-show="showPrevButton()" tooltip="{{ 'LIST_PREV_ITEM' | translate }}" class="yangButton iconPrev"></button>
2 <div class="listButtonWrapper" ng-repeat="offset in displayOffsets" ng-if="currentDisplayIndex + offset > -1 && node.listData.length > currentDisplayIndex + offset">
3     <button  class="btn btn-gray listElemButton add-row {{ (currentDisplayIndex + offset === node.actElemIndex ? 'btn-selected':'') }} ng-scope btn-slim" ng-click="node.changeActElementData(currentDisplayIndex + offset)" tooltip="{{getListName(offset, false).tooltip}}">
4         {{ node.localeLabel | translate}}&nbsp;{{ getListName(offset, true).name }}
5     </button>
6     <button class="yangButton iconClose" tooltip="{{ 'LIST_DELETE_ITEM' | translate }}" ng-click='removeListElem(currentDisplayIndex + offset,false)'></button>
7     <button class="yangButton iconDanger" tooltip="{{ 'LIST_INDEX_DUPLICATE' | translate }}" ng-show="node.doubleKeyIndexes.indexOf(currentDisplayIndex + offset)>-1"></button>
8 </div>
9 <button ng-click="shiftDisplayNext('listData')"  ng-show="showNextButton('listData')" tooltip="{{ 'LIST_NEXT_ITEM' | translate }}" class="yangButton iconNext"></button>