CreateEntityLayoutView_tmpl.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. <form name="entityDefinitionform">
  18. <div class="clearfix">
  19. <div class="col-sm-12 form-group" data-id="entitySelectionBox">
  20. <div class="row">
  21. {{#if guid}}
  22. <div class="col-sm-8">
  23. <label class="col-sm-6 row-margin-bottom" data-id="assetName"></label>
  24. </div>
  25. {{else}}
  26. <div class="col-sm-8">
  27. <select class="form-control col-sm-6 row-margin-bottom" data-id="entityList"></select>
  28. </div>
  29. {{/if}}
  30. <div class="col-sm-4 toggleRequiredSwitch">
  31. <span class="pull-left">必须</span>
  32. <label class="switch pull-left">
  33. <input type="checkbox" class="switch-input" name="toggleRequired" value="text">
  34. <div class="switch-slider"></div>
  35. </label>
  36. <span class="pull-left">All</span>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="col-sm-12 entityInputData create-entity-form form-group" data-id="entityInputData"></div>
  41. </div>
  42. </form>
  43. <div class="fontLoader-relative entityLoader" style="display:none">
  44. <i class="fa fa-refresh fa-spin-custom"></i>
  45. </div>