ai-view.html 7.16 KB
<div class="bodyWrap row no-scroll">
    <div ng-include="'app/widget/MainMenu.html'" />
    <div class="main" id="imgParent" style="" ng-init="loadAIModuleById(13)">
        <div class="row">
            <div class="col-sm-12 stickey-area" style="padding-left:25px; width:99%">
                <div class="breadcrumb" style="padding-bottom:5px;">
                    <div class="row" align="center">
                        <form class="form-inline padd5">
                            <div class="form-group">
                                <label for="exampleInputName2" class="text-primary">Search</label>
                                <input type="text" ng-model="query.SearchText" class="form-control input-sm col-sm" id="txtSerachInput" placeholder="">
                            </div>
                            <button type="button" class="btn btn-primary btn-sm" ng-click="ApplySearch(query)" style="margin-right:2px; width: 65px" >
                                <i class="fa fa-search"></i>
                            </button>
                        </form>
                        <nav>
                            <ul class="pagination pagination-sm no-margin" style="cursor: pointer;">
                                <li><span id="A" ng-click="ApplySearchByAlphabet('A')"> A</span></li>
                                <li><span id="B" ng-click="ApplySearchByAlphabet('B')"> B</span></li>
                                <li><span id="C" ng-click="ApplySearchByAlphabet('C')"> C</span></li>
                                <li><span id="D" ng-click="ApplySearchByAlphabet('D')"> D</span></li>
                                <li><span id="E" ng-click="ApplySearchByAlphabet('E')"> E</span></li>
                                <li><span id="F" ng-click="ApplySearchByAlphabet('F')"> F</span></li>
                                <li><span id="G" ng-click="ApplySearchByAlphabet('G')"> G</span></li>
                                <li><span id="H" ng-click="ApplySearchByAlphabet('H')"> H</span></li>
                                <li><span id="I" ng-click="ApplySearchByAlphabet('I')"> I</span></li>
                                <li><span id="J" ng-click="ApplySearchByAlphabet('J')"> J</span></li>
                                <li><span id="K" ng-click="ApplySearchByAlphabet('K')"> K</span></li>
                                <li><span id="L" ng-click="ApplySearchByAlphabet('L')"> L</span></li>
                                <li><span id="M" ng-click="ApplySearchByAlphabet('M')"> M</span></li>
                                <li><span id="N" ng-click="ApplySearchByAlphabet('N')"> N</span></li>
                                <li><span id="O" ng-click="ApplySearchByAlphabet('O')"> O</span></li>
                                <li><span id="P" ng-click="ApplySearchByAlphabet('P')"> P</span></li>
                                <li><span id="Q" ng-click="ApplySearchByAlphabet('Q')"> Q</span></li>
                                <li><span id="R" ng-click="ApplySearchByAlphabet('R')"> R</span></li>
                                <li><span id="S" ng-click="ApplySearchByAlphabet('S')"> S</span></li>
                                <li><span id="T" ng-click="ApplySearchByAlphabet('T')"> T</span></li>
                                <li><span id="U" ng-click="ApplySearchByAlphabet('U')"> U</span></li>
                                <li><span id="V" ng-click="ApplySearchByAlphabet('V')"> V</span></li>
                                <li><span id="W" ng-click="ApplySearchByAlphabet('W')"> W</span></li>
                                <li><span id="X" ng-click="ApplySearchByAlphabet('X')"> X</span></li>
                                <li><span id="Y" ng-click="ApplySearchByAlphabet('Y')"> Y</span></li>
                                <li><span id="Z" ng-click="ApplySearchByAlphabet('Z')"> Z</span></li>

                            </ul>
                            <button type="button" class="btn btn-primary btn-sm" ng-click="Reset(query)" style="margin-bottom:23px"><i class="fa fa-eye"></i>Show All</button>
                        </nav>

                    </div>

                </div>
            </div>
        </div>
        <div class="row tab-content" style="padding-left:25px; width:99%">
            <div class="customTable" role="tabpanel" ng-class="{'tab-pane active' : activeTab === 1,'tab-pane' : activeTab !==1 }" id="grid-view">
            </div>
            <div class="customTable" role="tabpanel" ng-class="{'tab-pane active' : activeTab === 2,'tab-pane' : activeTab !==2 }" 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>
                            </tr>
                        </thead>
                        <tbody id="ListViewDiv" ng-if="!filterstring" class="clstbody">
                            <tr id="{{item._id}}" ng-class="{selected: item._id === idSelected}" ng-click="showItem(item._id)" ng-dblclick="OpenAdamImage($event)" ng-repeat="item in selectedAIListViewData">
                                <td width="20%">
                                    {{item._Title}}
                                </td>
                            </tr>
                        </tbody>
                        <tbody id="ListViewDiv" ng-if="filterstring" class="clstbody">
                            <tr id="{{item._id}}" ng-click="showItem(item._id)" ng-class="{selected: item._id === idSelected}" ng-dblclick="OpenAdamImage($event)" ng-repeat="item in searchAIListViewData">
                                <td width="20%">
                                    {{item._Title}}
                                </td>
                            </tr>

                        </tbody>
                    </table>
                </div>
                <div class="col-sm-12" ng-show="hiderow" style="padding-left:25px;padding-top:10px;">
                    <div class="row well">
                        <div title="{{SelectedAITitle}}" class="col-sm-3 col-lg-2 no-padding">
                            <div class="thumbnail no-margin">
                                <img id="{{SelectedAIId}}" src="{{SelectedAIthumbImage}}" alt="" title="{{SelectedAITitle}}" data-ng-click="OpenAdamImage($event)">                                
                            </div>
                        </div>
                        <div class="col-sm-9 col-lg-9" style="padding-left:10px;">
                            <p class="f11" ng-bind-html="SelectedCISummary"></p>
                            <button id="{{SelectedAIId}}" type="button" class="btn btn-primary btn-sm pull-right" data-ng-click="OpenAdamImage($event)">Open</button>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <div id="aiSpinner" class="spinner" ng-show="isLoading" style="visibility: hidden; opacity: 1; width: 100%; height: 100%; top: 0; bottom: 0%; left: 0; right: 0%; margin-left: 0px;">
        <img id="img-spinner" class="spinner" src="content/images/common/loading.gif" alt="Loading" />
    </div>
</div>