GlossaryLayoutView_tmpl.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!--
  2. * Licensed to the Apache Software Foundation (ASF) under one or more
  3. * contributor license agreements. See the NOTICE file distributed with
  4. * this work for additional information regarding copyright ownership.
  5. * The ASF licenses this file to You under the Apache License, Version 2.0
  6. * (the "License"); you may not use this file except in compliance with
  7. * the License. You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. -->
  17. <div class="col-sm-12 {{#unless isAssignView}}add-seperator{{/unless}}">
  18. <div class="row">
  19. {{#unless isAssignView}}
  20. <div class="col-sm-8 no-padding" style="margin-top: 5px;">
  21. <span class="pull-left">Terms</span>
  22. <label class="switch pull-left">
  23. <input type="checkbox" class="switch-input" name="glossaryView" value="text" />
  24. <span class="switch-slider"></span>
  25. </label>
  26. <span class="pull-left">Category</span>
  27. </div>
  28. <div class="{{#if isAssignView}}col-sm-2{{else}}col-sm-4{{/if}} no-padding-right">
  29. <button type="button" class="btn btn-action btn-md pull-right" title="Refresh" data-id="refreshGlossary" onclick="this.blur();" type="button"><i class="fa fa-refresh"></i></button>
  30. <button type="button" class="btn btn-action btn-md pull-right" data-id="createGlossary" type="button"><i class="fa fa-plus"></i></button>
  31. {{/unless}}
  32. </div>
  33. </div>
  34. </div>
  35. <div class="row">
  36. <div class="col-sm-12">
  37. <div class="no-padding col-sm-12 term-view">
  38. <div>
  39. <input type="text" class="form-control" data-id="searchTerm" placeholder="{{#if isAssignView}}搜索术语{{else}}搜索术语表以及术语{{/if}}">
  40. </div>
  41. <div data-id="termTree" style="margin-top: 5px;padding-bottom: 25px;overflow-x: auto;overflow-y:hidden;">
  42. </div>
  43. </div>
  44. <div class="col-sm-12 no-padding category-view" style="display: none;">
  45. <div>
  46. <input type="text" class="form-control" data-id="searchCategory" placeholder="{{#if isAssignView}}搜索目录{{else}}搜索术语表以及类别{{/if}}">
  47. </div>
  48. <div data-id="categoryTree" style="margin-top: 5px;padding-bottom: 25px;overflow-x: auto;overflow-y: hidden;">
  49. </div>
  50. </div>
  51. </div>
  52. </div>