SHARE
TWEET

Untitled

a guest Feb 20th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="col-sm-8 col-sm-pull-4">
  2.  
  3.       <div class="input-group gn-form-any">
  4.         <input type="text"
  5.                class="form-control input-lg"
  6.                autofocus=""
  7.                data-ng-model="homeAnyField"
  8.                data-ng-model-options="modelOptions"
  9.                placeholder="{{'anyPlaceHolder' | translate}}"
  10.                aria-label="{{'anyPlaceHolder' | translate}}"
  11.                data-ng-keyup="$event.keyCode == 13 && goToSearch(homeAnyField)"
  12.                data-typeahead="address for address in getAnySuggestions($viewValue)"
  13.                data-typeahead-loading="anyLoading"
  14.                data-typeahead-min-length="1"/>
  15.         <span class="input-group-btn">
  16.           <a class="btn btn-primary btn-lg"
  17.              type="button"
  18.              data-ng-href="#/search?any={{homeAnyField}}">
  19.             <i class="fa fa-search"></i>
  20.             <span class="sr-only" data-translate="">search</span>
  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.  
  31.   <form class="form-horizontal"
  32.         role="grid"
  33.         data-ng-controller="gnsSearchTopEntriesController"
  34.         data-ng-search-form=""
  35.         data-runSearch="true"
  36.         data-ng-show="searchResults.records.length > 0">
  37.     <div class="row gn-top-records" role="row">
  38.       <h4 data-translate="">topMaps</h4>
  39.  
  40.         <input type="hidden" name="_csrf" value="{{csrf}}"/>
  41.  
  42.         <div data-ng-show="searchResults.records.length > 0"
  43.              data-gn-results-container=""
  44.              data-search-results="searchResults"
  45.              data-template-url="resultTemplate"></div>
  46.     </div>
  47.   </form>
  48.  
  49.   <div class="row" data-ng-show="searchInfo.count == 0">
  50.     <div data-ng-show="searchInfo.count == 0"
  51.          class="col-md-offset-4 col-md-4 alert alert-warning">
  52.       <span data-translate="">noDataInCatalog</span>
  53.       <div data-gn-need-help="user-guide/quick-start/index.html"></div>
  54.     </div>
  55.   </div>
  56.  
  57.  
  58.   <!--<div class="row" data-ng-show="searchInfo.count > 0">
  59.     <div class="col-sm-8" data-ng-show="browse !== ''"> -->
  60.     <div class="row gn-row-topics" data-ng-show="searchInfo.count > 0">
  61.     <div class="col-sm-12 col-md-9" data-ng-show="browse !== ''">
  62.       <h4>
  63.         <span data-translate="">browseBy</span>
  64.        <!-- <span
  65.           data-ng-show="searchInfo.facet['inspireThemes'].length > 0 && searchInfo.facet['topicCats'].length > 0"> -->
  66.        <span
  67.      data-ng-show="(searchInfo.facet['inspireThemes'].length > 0 && searchInfo.facet['topicCats'].length > 0) ||
  68.                       (searchInfo.facet['inspireThemes'].length > 0 && searchInfo.facet['categories'].length > 0) ||
  69.                       (searchInfo.facet['topicCats'].length > 0 && searchInfo.facet['categories'].length > 0)">
  70. <!--
  71.           <label data-ng-show="searchInfo.facet['inspireThemes'].length > 0">
  72.             <input type="radio" name="browse" value="inspire" data-ng-model="browse"/>
  73.             <span data-translate="">inspireThemes</span>
  74.           </label>
  75.           <label data-ng-show="searchInfo.facet['topicCats'].length > 0">
  76.             <input type="radio" name="browse" value="topics" data-ng-model="browse"/>
  77.             <span data-translate="">topics</span>
  78.           </label>
  79.           <label data-ng-show="searchInfo.facet['categories'].length > 0">
  80.           <input type="radio" name="browse" value="categories" data-ng-model="browse"/>
  81.           <span data-translate="">categories</span>
  82.         </label> -->
  83.         </span>
  84. <!--        <label
  85.           data-ng-show="searchInfo.facet['categories'].length > 0 && searchInfo.facet['topicCats'].length == 0 && searchInfo.facet['inspireThemes'].length == 0"><span
  86.           data-translate="">inspireThemes</span></label>
  87.         <label
  88.           data-ng-show="searchInfo.facet['topicCats'].length > 0 && searchInfo.facet['inspireThemes'].length == 0 && searchInfo.facet['categories'].length == 0"><span
  89.           data-translate="">topics</span></label>
  90.         <label
  91.         data-ng-show="searchInfo.facet['categories'].length > 0 && searchInfo.facet['inspireThemes'].length == 0 && searchInfo.facet['categories'].length == 0"><span
  92.         data-translate="">categories</span></label> -->
  93.       </h4>
  94.  
  95.  
  96.  
  97. <!--       <div class="row">
  98.         <span id="chips-card" data-ng-repeat="(key, facet) in searchInfo.facet['categories']"
  99.               class="col-xs-6 col-sm-4 col-lg-3" data-ng-show="browse === 'categories'"> -->
  100.        <div class="row">
  101.         <span data-ng-repeat="(key, facet) in searchInfo.facet['categories']"
  102.             <!--  data-ng-show="browse === 'category'" -->
  103.               class="col-xs-12 col-sm-6 col-md-4 chips-card">
  104.           <div class="badge-result badge-result-topic clearfix">
  105.             <a class="pull-left clearfix"
  106.                title="{{facet['@label']}}"
  107.                role="link"
  108.                data-ng-href="#/search?facet.q=category%2F{{facet['@name']}}">
  109.               <span class="badge-icon badge-result-topic pull-left">
  110.                 <i class="fa fa-3x fa-table gn-icon gn-icon-{{facet['@name']}}"></i>
  111.               </span>
  112.               <span class="badge-text pull-left">
  113.                 <span class="gn-icon-label">{{facet['@label']}}</span>
  114.               </span>
  115.             </a>
  116.             <span class="badge pull-left">{{facet['@count']}}</span>
  117.           </div>
  118.         </span>
  119.  
  120. <!--        <span data-ng-repeat="(key, facet) in searchInfo.facet['topicCats']"
  121.               data-ng-show="browse === 'topics'"
  122.               class="col-xs-12 col-sm-6 col-md-4 chips-card">
  123.           <div class="badge-result badge-result-topic clearfix">
  124.             <a class="pull-left clearfix"
  125.                title="{{facet['@label']}}"
  126.                role="link"
  127.                data-ng-href="#/search?facet.q=topicCat%2F{{facet['@name']}}">
  128.               <span class="badge-icon badge-result-topic pull-left">
  129.                 <i class="fa fa-3x fa-table gn-icon gn-icon-{{facet['@name']}}"></i>
  130.               </span>
  131.               <span class="badge-text pull-left">
  132.                 <span class="gn-icon-label">{{facet['@label']}}</span>
  133.               </span>
  134.             </a>
  135.             <span class="badge pull-left">{{facet['@count']}}</span>
  136.           </div>
  137.         </span>
  138.         <span data-ng-repeat="(key, facet) in searchInfo.facet['inspireThemesURI'] track by $index"
  139.               data-ng-show="browse === 'inspire'"
  140.               class="col-xs-12 col-sm-6 col-md-4 chips-card">
  141.           <div class="badge-result badge-result-inspire clearfix">
  142.             <a class="pull-left clearfix bg-iti-{{facet['@name'].slice(facet['@name'].lastIndexOf('/')+1)}}"
  143.                title="{{facet['@label']}}"
  144.                data-ng-href="#/search?facet.q=inspireThemeURI%2F{{facet['@name'] | encodeURIComponent | encodeURIComponent}}">
  145.               <span class="badge-icon pull-left">
  146.                  <i class="fa fa-3x gn-icon iti-{{facet['@name'].slice(facet['@name'].lastIndexOf('/')+1)}}"></i>
  147.               </span>
  148.               <span class="badge-text pull-left">
  149.                 <span class="gn-icon-label">{{facet['@label']}}</span>
  150.               </span>
  151.             </a>
  152.             <span class="badge pull-left">{{facet['@count']}}</span>
  153.           </div>
  154.         </span>
  155.       </div>-->
  156.     </div>
  157. </div>
  158.     <div class="col-sm-12 col-md-3" data-ng-show="searchInfo.facet['types'].length > 0">
  159.       <h4>
  160.         <span data-translate="">browseTypes</span>
  161.       </h4>
  162.       <div class="row">
  163.           <span data-ng-repeat="(key, facet) in searchInfo.facet['types']"
  164.                 data-ng-show="facet['@label']"
  165.                 class="col-xs-12 col-sm-6 col-md-12 chips-card">
  166.             <div class="badge-result badge-result-type pull-left">
  167.               <a title="{{facet['@label']}}"
  168.                  class="pull-left clearfix"
  169.                  data-ng-href="#/search?facet.q=type%2F{{facet['@name']}}">
  170.                 <span class="badge-icon pull-left">
  171.                   <i class="fa fa-3x fa-table gn-icon gn-icon-{{facet['@name']}}"></i>
  172.                 </span>
  173.                 <span class="badge-text pull-left">
  174.                   <span class="gn-icon-label">{{facet['@label']}}</span>
  175.                 </span>
  176.               </a>
  177.               <span class="badge pull-left">{{facet['@count']}}</span>
  178.             </div>
  179.           </span>
  180.       </div>
  181.     </div>
  182.   </div>
  183.  
  184.   <div class="row gn-row-info"
  185.        data-ng-show="searchInfo.count > 0"
  186.        data-ng-class="{'gn-info-list-blocks': type === 'blocks' || type === undefined, 'gn-info-list-large': type === 'large', 'gn-info-list-small': type === 'small'}">
  187.     <div class="col-sm-12">
  188.  
  189.       <!-- toggle buttons -->
  190.       <div id="info-toggle-buttons" class="btn-group pull-right" data-toggle="buttons">
  191.         <button id="btn-toggle-blocks" type="button" class="btn btn-default"
  192.                 data-ng-click="toggleListType('blocks')"
  193.                 data-ng-model="type"
  194.                 data-ng-class="{'active': type === 'blocks' || type === undefined}"
  195.                 aria-label="{{'listTypeBlocks' | translate}}">
  196.           <i class="fa fa-th-large" aria-hidden="true"></i>
  197.         </button>
  198.         <button id="btn-toggle-large" type="button" class="btn btn-default"
  199.                 data-ng-click="toggleListType('large')"
  200.                 data-ng-model="type"
  201.                 data-ng-class="{'active': type === 'large'}"
  202.                 aria-label="{{'listTypeLarge' | translate}}">
  203.           <i class="fa fa-bars" aria-hidden="true"></i>
  204.         </button>
  205.         <button id="btn-toggle-small" type="button" class="btn btn-default"
  206.                 data-ng-click="toggleListType('small')"
  207.                 data-ng-model="type"
  208.                 data-ng-class="{'active': type === 'small'}"
  209.                 aria-label="{{'listTypeSmall' | translate}}">
  210.           <i class="fa fa-align-justify" aria-hidden="true"></i>
  211.         </button>
  212.       </div>
  213.  
  214.       <tabset id="info-tabset pull-left" type="pills" justified="false">
  215.         <tab heading="{{'lastRecords' | translate}}"
  216.              role="tab"
  217.              active="infoTabs.lastRecords.active">
  218.           <form class="form-horizontal"
  219.                 role="form"
  220.                 data-ng-controller="gnsSearchLatestController"
  221.                 data-ng-search-form=""
  222.                 data-runSearch="true"
  223.                 data-ng-show="searchResults.records.length > 0">
  224.               <input type="hidden" name="_csrf" value="{{csrf}}"/>
  225.  
  226.             <div data-gn-info-list=""></div>
  227.           </form>
  228.         </tab>
  229.         <tab heading="{{'preferredRecords' | translate}}"
  230.              role="tab"
  231.              active="infoTabs.preferredRecords.active">
  232.           <form class="form-horizontal"
  233.                 role="form"
  234.                 data-ng-controller="gnsSearchPopularController"
  235.                 data-ng-search-form=""
  236.                 data-runSearch="true"
  237.                 data-ng-show="searchResults.records.length > 0">
  238.               <input type="hidden" name="_csrf" value="{{csrf}}"/>
  239.             <div data-gn-info-list=""></div>
  240.           </form>
  241.         </tab>
  242.         <tab heading="{{'Comments' | translate}}"
  243.              data-ng-if="isUserFeedbackEnabled"
  244.              active="infoTabs.commentsalt.active"
  245.              role="tab">
  246.           <form class="form-horizontal">
  247.             <div class="data-gn-userfeedbacklasthome"
  248.                   data-nb-of-comments="10"></div>
  249.           </form>
  250.         </tab>
  251.       </tabset>
  252.     </div>
  253.   </div>
  254.   <!-- /.gn-row-info -->
  255.  
  256. </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
 
Top