1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <!--
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- -->
- <div class="col-sm-12 {{#unless isAssignView}}add-seperator{{/unless}}">
- <div class="row">
- {{#unless isAssignView}}
- <div class="col-sm-7 no-padding" style="margin-top: 5px;">
- <span class="pull-left">术语</span>
- <label class="switch pull-left">
- <input type="checkbox" class="switch-input" name="glossaryView" value="text" />
- <span class="switch-slider"></span>
- </label>
- <span class="pull-left">类别</span>
- </div>
- <div class="{{#if isAssignView}}col-sm-2{{else}}col-sm-5{{/if}} no-padding-right">
- <button type="button" class="btn btn-action btn-md pull-right" title="刷新" data-id="refreshGlossary" onclick="this.blur();" type="button"><i class="fa fa-refresh"></i></button>
- <button type="button" class="btn btn-action btn-md pull-right" data-id="createGlossary" type="button"><i class="fa fa-plus"></i></button>
- <div class="dropdown pull-right">
- <button type="button" data-toggle="dropdown" class="btn btn-action btn-md dropdown-toggle" type="button"><i class="fa fa-paperclip"></i></button>
- <ul class="dropdown-menu">
- <li><a href="{{importTmplUrl}}">下载导入模板</a></li>
- <li><a href="javascript:void(0)" data-id="importGlossary">导入术语表与术语</a></li>
- </ul>
- </div>
- <!-- -->
- {{/unless}}
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-sm-12">
- <div class="col-sm-12 text-center" data-id='glossaryTreeLoader'>
- <i class="fa fa-refresh fa-spin-custom"></i>
- </div>
- <div data-id='glossaryTreeView'>
- <div class="no-padding col-sm-12 term-view">
- <div>
- <input type="text" class="form-control" data-id="searchTerm" placeholder="{{#if isAssignView}}搜索术语{{else}}搜索术语表, 术语{{/if}}">
- </div>
- <div data-id="termTree" style="margin-top: 5px;padding-bottom: 25px;overflow-x: auto;overflow-y:hidden;">
- </div>
- </div>
- <div class="col-sm-12 no-padding category-view" style="display: none;">
- <div>
- <input type="text" class="form-control" data-id="searchCategory" placeholder="{{#if isAssignView}}搜索目录{{else}}搜索术语表,类别{{/if}}">
- </div>
- <div data-id="categoryTree" style="margin-top: 5px;padding-bottom: 25px;overflow-x: auto;overflow-y: hidden;">
- </div>
- </div>
- </div>
- </div>
- </div>
|