SHARE
TWEET

Untitled

a guest Jun 22nd, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="container-fluid">
  2.   <div class="row gn-row-main">
  3.     <div class="col-sm-8 col-sm-offset-2">
  4.  
  5.       <div class="input-group gn-form-any">
  6.         <input type="text"
  7.                class="form-control input-lg"
  8.                autofocus=""
  9.                data-ng-model="homeAnyField"
  10.                data-ng-model-options="modelOptions"
  11.                placeholder="{{'anyPlaceHolder' | translate}}"
  12.                data-ng-keyup="$event.keyCode == 13 && goToSearch(homeAnyField)"
  13.                data-typeahead="address for address in getAnySuggestions($viewValue)"
  14.                data-typeahead-loading="anyLoading"
  15.                data-typeahead-min-length="1"/>
  16.         <span class="input-group-btn">
  17.           <a class="btn btn-primary btn-lg"
  18.              type="button"
  19.              data-ng-href="#/search?any={{homeAnyField}}">
  20.             <i class="fa fa-search"></i>
  21.           </a>
  22.         </span>
  23.       </div>
  24.  
  25.       <div data-translate="" class="search-over"
  26.            data-translate-values="{records: '{{searchInfo.count}}'}">searchOver</div>
  27.  
  28.     </div>
  29.   </div>
  30.   <div class="row" data-ng-show="searchInfo.count == 0">
  31.     <div data-ng-show="searchInfo.count == 0"
  32.          class="col-md-offset-4 col-md-4 alert alert-warning">
  33.       <span data-translate="">noDataInCatalog</span>
  34.       <div data-gn-need-help="user-guide/quick-start/index.html"></div>
  35.     </div>
  36.   </div>
  37.   <div class="row" data-ng-show="searchInfo.count > 0">
  38.     <div class="col-sm-8" data-ng-show="browse !== ''">
  39.       <span data-translate="">browseBy</span>
  40.        <span
  41.         data-ng-show="searchInfo.facet['inspireThemes'].length > 0 && searchInfo.facet['category'].length > 0">
  42.         <label data-ng-show="searchInfo.facet['inspireThemes'].length > 0">
  43.           <input type="radio" name="browse" value="inspire" data-ng-model="browse"/>
  44.           <span data-translate="">inspireThemes</span>
  45.         </label>
  46.       <!--  <label data-ng-show="searchInfo.facet['topicCats'].length > 0">
  47.           <input type="radio" name="browse" value="topics" data-ng-model="browse"/>
  48.           <span data-translate="">topics</span>
  49.         </label> -->
  50.       <label data-ng-show="searchInfo.facet['category'].length > 0">
  51.           <input type="radio" name="browse" value="category" data-ng-model="browse"/>
  52.           <span data-translate="">category</span>
  53.         </label>
  54.       </span>
  55.        <label
  56.         data-ng-show="searchInfo.facet['inspireThemes'].length > 0 && searchInfo.facet['category'].length == 0"><span
  57.         data-translate="">inspireThemes</span></label>
  58.       <!-- <label
  59.         data-ng-show="searchInfo.facet['topicCats'].length > 0 && searchInfo.facet['inspireTheme'].length == 0"><span
  60.         data-translate="">topics</span></label> -->
  61.      <label
  62.         data-ng-show="searchInfo.facet['category'].length > 0 && searchInfo.facet['inspireTheme'].length == 0"><span
  63.         data-translate="">category</span></label>
  64.       <div class="row">
  65.        <!--  <span id="chips-card" data-ng-repeat="(key, facet) in searchInfo.facet['topicCats']"
  66.               class="col-xs-6 col-sm-4 col-lg-3" data-ng-show="browse === 'topics'">
  67.             <div class="badge-icon">
  68.               <a data-ng-href="#/search?facet.q=topicCat%2F{{facet['@name']}}">
  69.                 <span class="badge-result badge-result-topic">
  70.                   <i class="fa fa-3x fa-table gn-icon gn-icon-{{facet['@name']}}"></i>
  71.                 </span>
  72.               </a>
  73.             </div>
  74.             <div class="badge-text">
  75.               <a title="{{facet['@label']}}"
  76.                  data-ng-href="#/search?facet.q=topicCat%2F{{facet['@name']}}">
  77.                 <span class="gn-icon-label">{{facet['@label']}}</span><br>
  78.                 <span class="badge">{{facet['@count']}}</span>
  79.               </a>
  80.             </div>
  81.         </span> -->
  82.          <span id="chips-card" data-ng-repeat="(key, facet) in searchInfo.facet['category']"
  83.               class="col-xs-6 col-sm-4 col-lg-3" data-ng-show="browse === 'cat'">
  84.             <div class="badge-icon">
  85.               <a data-ng-href="#/search?facet.q=category%2F{{facet['@name']}}">
  86.                 <span class="badge-result badge-result-topic">
  87.                   <i class="fa fa-3x fa-table gn-icon gn-icon-{{facet['@name']}}"></i>
  88.                 </span>
  89.               </a>
  90.             </div>
  91.             <div class="badge-text">
  92.               <a title="{{facet['@label']}}"
  93.                  data-ng-href="#/search?facet.q=category%2F{{facet['@name']}}">
  94.                 <span class="gn-icon-label">{{facet['@label']}}</span><br>
  95.                 <span class="badge">{{facet['@count']}}</span>
  96.               </a>
  97.             </div>
  98.         </span>
  99.          <span id="chips-card"
  100.               data-ng-repeat="(key, facet) in searchInfo.facet['inspireThemesURI'] track by $index"
  101.               class="col-xs-6 col-sm-6 col-lg-4" data-ng-show="browse === 'inspire'">
  102.             <div class="badge-icon col-xs-3">
  103.               <a title="{{facet['@label']}}"
  104.                  data-ng-href="#/search?facet.q=inspireThemeURI%2F{{facet['@name'] | encodeURIComponent | encodeURIComponent}}">
  105.                 <span class="badge-result badge-result-inspire">
  106.                    <i
  107.                      class="fa fa-3x gn-icon iti-{{facet['@name'].slice(facet['@name'].lastIndexOf('/')+1)}}"></i>
  108.                 </span>
  109.               </a>
  110.             </div>
  111.             <div class="badge-text col-xs-9">
  112.               <a title="{{facet['@label']}}"
  113.                  data-ng-href="#/search?facet.q=inspireThemeURI%2F{{facet['@name'] | encodeURIComponent | encodeURIComponent}}">
  114.                 <span class="gn-icon-label">{{facet['@label']}}</span><br>
  115.                 <span class="badge">{{facet['@count']}}</span>
  116.               </a>
  117.             </div>
  118.         </span>
  119.       </div>
  120.     </div>
  121.     <div class="col-sm-4" data-ng-show="searchInfo.facet['types'].length > 0">
  122.       <span data-translate="">browseTypes</span>
  123.       <div class="row">
  124.           <span id="chips-card" data-ng-repeat="(key, facet) in searchInfo.facet['types']"
  125.                 data-ng-show="facet['@label']"
  126.                 class="col-xs-6 col-sm-6 col-lg-6">
  127.             <div class="badge-icon">
  128.               <a data-ng-href="#/search?facet.q=type%2F{{facet['@name']}}">
  129.                 <span class="badge-result badge-result-type">
  130.                   <i class="fa fa-3x fa-table gn-icon gn-icon-{{facet['@name']}}"></i>
  131.                 </span>
  132.               </a>
  133.             </div>
  134.             <div class="badge-text">
  135.               <a title="{{facet['@label']}}"
  136.                  data-ng-href="#/search?facet.q=type%2F{{facet['@name']}}">
  137.                 <span class="gn-icon-label">{{facet['@label']}}</span><br>
  138.                 <span class="badge">{{facet['@count']}}</span>
  139.               </a>
  140.             </div>
  141.           </span>
  142.       </div>
  143.     </div>
  144.   </div>
  145.   <div class="row gn-row-info" data-ng-show="searchInfo.count > 0">
  146.     <div class="col-xs-12">
  147.       <tabset id="info-tabset">
  148.         <tab heading="{{'lastRecords' | translate}}"
  149.              active="infoTabs.lastRecords.active">
  150.           <form class="form-horizontal"
  151.                 role="nav"
  152.                 data-ng-controller="gnsSearchLatestController"
  153.                 data-ng-search-form=""
  154.                 data-runSearch="true"
  155.                 data-ng-show="searchResults.records.length > 0">
  156.  
  157.             <div data-gn-info-list=""></div>
  158.           </form>
  159.         </tab>
  160.         <tab heading="{{'preferredRecords' | translate}}"
  161.              active="infoTabs.preferredRecords.active">
  162.           <form class="form-horizontal"
  163.                 role="nav"
  164.                 data-ng-controller="gnsSearchPopularController"
  165.                 data-ng-search-form=""
  166.                 data-runSearch="true"
  167.                 data-ng-show="searchResults.records.length > 0">
  168.             <div data-gn-info-list=""></div>
  169.           </form>
  170.         </tab>
  171.       </tabset>
  172.     </div>
  173.   </div>
  174. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top