index.html 1.2 KB

123456789101112131415161718192021222324252627282930
  1. <include file="public@header"/>
  2. </head>
  3. <body>
  4. <div class="wrap js-check-wrap">
  5. <ul class="nav nav-tabs">
  6. <li class="active"><a href="{:url('storage/index')}">{:lang('ADMIN_STORAGE_INDEX')}</a></li>
  7. </ul>
  8. <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('storage/settingPost')}">
  9. <div class="form-group">
  10. <label for="input-type" class="col-sm-2 control-label">存储类型</label>
  11. <div class="col-md-6 col-sm-10">
  12. <select class="form-control" name="type" id="input-type">
  13. <foreach name="storages" item="vo">
  14. <php>$type_selected=isset($type)&&$type==$key?"selected":"";</php>
  15. <option value="{$key}" {$type_selected}>{$vo.name}</option>
  16. </foreach>
  17. </select>
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <div class="col-sm-offset-2 col-sm-10">
  22. <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="0">{:lang('SAVE')}</button>
  23. </div>
  24. </div>
  25. </form>
  26. </div>
  27. <script src="__STATIC__/js/admin.js"></script>
  28. </body>
  29. </html>