tile-view.html 8.58 KB
<div class="bodyWrap row ">
    <div ng-include="'app/widget/MainMenu.html'" />
    <div class="main" ng-init="loadForModuleById(1)">
        <!--<div class="main">-->
        <div class="col-sm-12" style="padding-left:25px; width:100%">
            <div class="breadcrumb">
                <div class="row center-block">
                    <h5 class="text-center text-primary txt-white f15">Display Image By</h5>
                    <div class="col-md-2 col-sm-4 pad-lftrgt3">
                        <div class="form-group">
                            <h6 class="text-center text-primary txt-white f11">Body Region</h6>
                            <select id="region" class="form-control input-sm" ng-model="query.selectedbodyregion" ng-options="item for item in AllBodyRegion track by item">
                                <option value="">All</option>
                            </select>
                        </div>
                    </div>
                    <div class="col-md-2 col-sm-4 pad-lftrgt3">
                        <div class="form-group">
                            <h6 class="text-center text-primary txt-white f11">Body System</h6>
                            <select id="system" class="form-control input-sm" ng-model="query.selectedbodysystem" ng-options="item for item in AllBodySystem track by item">
                                <option value="">All</option>
                            </select>
                        </div>
                    </div>

                    <div class="col-md-2 col-sm-4 pad-lftrgt3">
                        <div class="form-group">
                            <h6 class="text-center text-primary txt-white f11">View Orientation</h6>
                            <select id="orientation" class="form-control input-sm" ng-model="query.selectedorientation" ng-options="item for item in AllOrientation track by item">
                                <option value="">All</option>
                            </select>
                        </div>
                    </div>
                    <div class="col-md-2 col-sm-4 pad-lftrgt3">
                        <div class="form-group">
                            <h6 class="text-center text-primary txt-white f11">Image Type</h6>
                            <select id="Type" class="form-control input-sm" ng-model="query.selectedimagetype" ng-options="item for item in AllImageType track by item">
                                <option value="">All</option>
                            </select>
                        </div>
                    </div>
                    <div class="col-md-2 col-sm-4 pad-lftrgt3">
                        <div class="form-group">
                            <div class="col-xs-12" style="padding:0;">
                                <div class="col-xs-5" style="padding:0 2px 0 0;">
                                    <h6 class="text-center text-primary txt-white f11">Search</h6>
                                    <button type="button" class="btn btn-primary btn-sm col-xs-12" id="searchBtnAA" ng-click="FilterByImage(1, query)">
                                        <i class="fa fa-search"></i>
                                    </button>
                                </div>
                                <div class="col-xs-7" style="padding:0;">
                                    <h6 class="text-center text-primary txt-white f11" style="padding:0;">Show All</h6>
                                    <button type="button" class="btn btn-primary btn-sm col-xs-12" ng-click="Reset(1, query)"><i class="fa fa-eye"></i></button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row tab-content" id="viewList">
               
                <div class="customTable" role="tabpanel" class="tab-pane active" id="grid-view">                   
                </div>
                <div class="customTable" role="tabpanel" id="list-view">          
                    <div class="panel col-sm-12 table-responsive">
                        <table class="table table-hover table-fixed bg-white table-txt12">
                            <thead class="clsthead">
                                <tr class="active">
                                    <th width="20%">Title</th>
                                    <th width="20%">Region</th>
                                    <th width="20%">System</th>
                                    <th width="10%">View</th>
                                    <th>Type</th>
                                </tr>
                            </thead>
                            <tbody id="ListViewDiv" ng-if="!filterstring" class="clstbody">
                                <tr id="{{val._Id}}" ng-class="{selected: val._Id === idSelected}" onclick="openListViewModuleItem(event)" ondblclick=" openModuleItemView(event)" ng-repeat="(key,val) in moduleLandingData.data.root.Item | orderBy:'_Title'">
                                    <td width="20%">
                                        {{val._Title}}
                                    </td>
                                    <td width="20%">
                                        {{val._BodyRegion}}
                                    </td>
                                    <td width="20%">
                                        {{val._BodySystem}}
                                    </td>
                                    <td width="10%">
                                        {{val._ViewOrientation}}
                                    </td>
                                    <td>
                                        {{val._ImageType}}
                                    </td>
                                </tr>
                            </tbody>
                            <tbody id="ListViewDiv" ng-if="filterstring" class="clstbody">
                                <tr id="{{item._Id}}" ng-class="{selected: item._Id === idSelected}" onclick="openListViewModuleItem(event)" ondblclick="openModuleItemView(event)" ng-repeat="item in searchAAListViewData">
                                    <td width="20%">
                                        {{item._Title}}
                                    </td>
                                    <td width="20%">
                                        {{item._BodyRegion}}
                                    </td>
                                    <td width="20%">
                                        {{item._BodySystem}}
                                    </td>
                                    <td width="10%">
                                        {{item._ViewOrientation}}
                                    </td>
                                    <td>
                                        {{item._ImageType}}
                                    </td>
                                </tr>                             
                            </tbody>
                        </table>
                        </div>
                        <!--</div>-->
                        <div class="col-sm-12" ng-show="hiderow" style="padding-left:25px;padding-top:10px;height:174px">
                            <div class="row well">
                                <div title="{{SelectedAATitle}}" class="col-sm-3 col-lg-2 no-padding">
                                    <div class="thumbnail no-margin">
                                        <img id="{{SelectedAAId}}" src="{{SelectedAAthumbImage}}" alt="" title="{{SelectedAATitle}}" data-ng-click="openCurrentView($event)">
                                    </div>
                                </div>
                                <div class="col-sm-9 col-lg-9" style="padding-left:10px;">
                                    <p class="f11" ng-bind-html="SelectedAASummary"></p>
                                    <button id="{{SelectedAAId}}" type="button" class="btn btn-primary btn-sm pull-right" data-ng-click="openCurrentView($event)">Open</button>
                                </div>
                            </div>

                        </div>
                    </div>
            </div>
        </div>
    </div>
</div>
<script>
    $(function () {

        $(function () {
            $('[data-toggle="tooltip"]').tooltip();
        })
    });
</script>
<script>
    (function ($) {
        $(window).load(function () {
            $(".sidebar").mCustomScrollbar({
                autoHideScrollbar: true,
                //theme:"rounded"
            });
        });
    })(jQuery);
</script>
<script>
    $(function () {
        $(".modal").draggable();
    });
</script>