app_edit.html 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <div class='appbox'>
  2. <form method="post">
  3. <div class='appline name'>
  4. <div class='left'>{{LNG.name}}</div>
  5. <div class='right'>
  6. <input name='title' type='text' value='{{data.title}}'/>
  7. </div>
  8. <div style='clear: both;'></div>
  9. </div>
  10. <div class='appline desc'>
  11. <div class='left'>{{LNG.app_desc}}</div>
  12. <div class='right'>
  13. <textarea name='description'>{{data.description}}</textarea>
  14. </div>
  15. <div style='clear: both;'></div>
  16. </div>
  17. <div class='appline icon'>
  18. <div class='left'>{{LNG.app_icon}}</div>
  19. <div class='right'>
  20. <input name='icon' type='text' value='{{data.icon}}'/>
  21. {{LNG.app_icon_show}}
  22. <a class='button open'
  23. href='javascript:core.openIE("http://explorer.vbdsm.com/upload.html",{title:"设置应用图标",width:550,height:160});'>
  24. <img src='/images/app/computer.png'/>
  25. </a>
  26. </div>
  27. <div style='clear: both;'></div>
  28. </div>
  29. <div class='appline type'>
  30. <div class='left'>{{LNG.app_type}}</div>
  31. <div class='right'>
  32. <input apptype='type_3' checked="checked" class='w20' id='type_3_{{uuid}}' name='type' type='radio'
  33. value='3'/>
  34. <label for='type_3_{{uuid}}'>{{LNG.app_type_menu}}</label>
  35. <input apptype='type_2' class='w20' id='type_2_{{uuid}}' name='type' type='radio' value='2'/>
  36. <label for='type_2_{{uuid}}'>{{LNG.app_type_code}}</label>
  37. <input apptype='type_1' class='w20' id='type_1_{{uuid}}' name='type' type='radio' value='1'/>
  38. <label for='type_1_{{uuid}}'>{{LNG.app_type_url}}</label>
  39. </div>
  40. <div style='clear: both;'></div>
  41. </div>
  42. <div class='appline content'>
  43. <div class='left hidden' data-type='type_1'>{{LNG.app_url}}</div>
  44. <div class='left hidden' data-type='type_2'>{{LNG.app_code}}</div>
  45. <div class='left ' data-type='type_3'>{{LNG.app_type_menu_desc}}</div>
  46. <div class='right'>
  47. <input appcontent="type_3" class="" style="width: 300px;" type="text"/>
  48. <ul class="ztree" id="menu_select_tree_{{uuid}}" style="display: none;"></ul>
  49. <textarea appcontent="type_2" class="hidden"></textarea>
  50. <input appcontent="type_1" class="hidden" style="width: 300px;" type="text"/>
  51. </div>
  52. <div style='clear: both;'></div>
  53. </div>
  54. <div class='appline category'>
  55. <div class='left'>{{LNG.app_category}}</div>
  56. <div class='right'>
  57. <select id='category' name='categoryId'
  58. style="border:1px solid #ccc; width:310px; height:28px;"></select>
  59. </div>
  60. <div style='clear: both;'></div>
  61. </div>
  62. <div class='appline'>
  63. <div class='left'>指定站点可见</div>
  64. <div class='right'>
  65. <input data-id="{{data.siteIds}}" name='siteIds' style="width: 300px;" type='text' uuid="{{uuid}}"/>
  66. <ul class="siteIdSelector"
  67. style="display: none;overflow:hidden; overflow-y: scroll;max-height: 120px;"></ul>
  68. </div>
  69. </div>
  70. <div class='appline'>
  71. <div class='left'>指定用户可见</div>
  72. <div class='right'>
  73. <input data-id="{{data.roleIds}}" name='roleIds' style="width: 300px;" type='text' uuid="{{uuid}}"/>
  74. <ul class="roleSelector"
  75. style="display: none; overflow:hidden; overflow-y: scroll;max-height: 100px;"></ul>
  76. </div>
  77. </div>
  78. <div class='appline'>
  79. <div class='left'>{{LNG.app_size}}</div>
  80. <div class='right'>
  81. {{LNG.width}}:&nbsp;&nbsp;<input class='w30' name='width' type='text'/>
  82. {{LNG.height}}:&nbsp;&nbsp;<input class='w30' name='height' type='text'/>
  83. </div>
  84. <div style='clear: both;'></div>
  85. </div>
  86. <div class='appline'>
  87. <div class='left'>{{LNG.app_display}}</div>
  88. <div class='right'>
  89. <input class='w20' id='simple{{uuid}}' name='border' type='checkbox'/>
  90. <label for='simple{{uuid}}'>{{LNG.app_display_border}}</label>
  91. <input class='w20' id='resize{{uuid}}' name='resize' type='checkbox'/>
  92. <label for='resize{{uuid}}'>{{LNG.app_display_size}}</label>
  93. <br/>
  94. <input class='w20' id='reopen{{uuid}}' name='reopen' type='checkbox'/>
  95. <label for='reopen{{uuid}}'>不允许重复打开窗口</label>
  96. <input class='w20' id='fullable{{uuid}}' name='fullable' type='checkbox'/>
  97. <label for='fullable{{uuid}}'>默认全屏</label>
  98. </div>
  99. <div style='clear: both;'></div>
  100. </div>
  101. </form>
  102. </div>