SHARE
TWEET

Untitled

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