info.html 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {extend name="main"}
  2. {block name="button"}
  3. {if auth('config')}
  4. <a class="layui-btn layui-btn-sm layui-btn-primary" data-modal="{:url('config')}">修改系统配置</a>
  5. {/if}
  6. {/block}
  7. {block name="content"}
  8. <div class="think-box-shadow margin-bottom-15">
  9. <span class="color-green font-w7 text-middle">文件存储引擎:</span>
  10. {foreach ['local'=>'本地服务器存储','oss'=>'阿里云OSS存储'] as $k=>$v}
  11. {if sysconf('storage_type') eq $k}
  12. {if auth('file')}<a data-modal="{:url('file')}?type={$k}" class="layui-btn layui-btn-sm">{$v}</a>{else}<a class="layui-btn layui-btn-sm">{$v}</a>{/if}
  13. {elseif auth('file')}<a data-modal="{:url('file')}?type={$k}" class="layui-btn layui-btn-sm layui-btn-primary">{$v}</a>{/if}
  14. {/foreach}
  15. </div>
  16. <div class="think-box-shadow padding-40">
  17. <div class="layui-form-item">
  18. <span class="color-green font-w7">网站名称 Website</span>
  19. <label class="relative block">
  20. <input readonly value="{:sysconf('site_name')}" class="layui-input layui-bg-gray">
  21. <a data-copy="{:sysconf('site_name')}" class="fa fa-copy right-btn"></a>
  22. </label>
  23. <p class="help-block">网站名称及网站图标,将显示在浏览器的标签上</p>
  24. </div>
  25. <div class="layui-form-item">
  26. <span class="color-green font-w7">管理程序名称 Name</span>
  27. <label class="relative block">
  28. <input readonly placeholder="请输入程序名称" value="{:sysconf('app_name')}" class="layui-input layui-bg-gray">
  29. <a data-copy="{:sysconf('app_name')}" class="fa fa-copy right-btn"></a>
  30. </label>
  31. <p class="help-block">管理程序名称,将显示在后台左上角标题</p>
  32. </div>
  33. <div class="layui-form-item">
  34. <span class="color-green font-w7">管理程序版本 Version</span>
  35. <label class="relative block">
  36. <input readonly value="{:sysconf('app_version')}" class="layui-input layui-bg-gray">
  37. <a data-copy="{:sysconf('app_version')}" class="fa fa-copy right-btn"></a>
  38. </label>
  39. <p class="help-block">管理程序版本,将显示在后台左上角标题</p>
  40. </div>
  41. <!-- <div class="layui-form-item">-->
  42. <!-- <span class="color-green font-w7">网站备案号 Miitbeian</span>-->
  43. <!-- <label class="relative block">-->
  44. <!-- <input readonly value="{:sysconf('miitbeian')}" class="layui-input layui-bg-gray">-->
  45. <!-- <a data-copy="{:sysconf('miitbeian')}" class="fa fa-copy right-btn"></a>-->
  46. <!-- </label>-->
  47. <!-- <p class="help-block">网站备案号,可以在<a target="_blank" href="http://beian.miit.gov.cn">备案管理中心</a>查询获取,将显示在登录页面下面</p>-->
  48. <!-- </div>-->
  49. <!-- <div class="layui-form-item">-->
  50. <!-- <span class="color-green font-w7">网站版权信息 Copyright</span>-->
  51. <!-- <label class="relative block">-->
  52. <!-- <input readonly value="{:sysconf('site_copy')}" class="layui-input layui-bg-gray">-->
  53. <!-- <a data-copy="{:sysconf('site_copy')}" class="fa fa-copy right-btn"></a>-->
  54. <!-- </label>-->
  55. <!-- <p class="help-block">网站版权信息,在后台登录页面显示版本信息并链接到备案到信息备案管理系统</p>-->
  56. <!-- </div>-->
  57. <div class="layui-form-item">
  58. <span class="color-green font-w7">邮箱 email</span>
  59. <label class="relative block">
  60. <input readonly value="{:sysconf('email')}" class="layui-input layui-bg-gray">
  61. <a data-copy="{:sysconf('email')}" class="fa fa-copy right-btn"></a>
  62. </label>
  63. <p class="help-block">邮箱</p>
  64. </div>
  65. <div class="layui-form-item">
  66. <span class="color-green font-w7">电话 phone</span>
  67. <label class="relative block">
  68. <input readonly value="{:sysconf('phone')}" class="layui-input layui-bg-gray">
  69. <a data-copy="{:sysconf('phone')}" class="fa fa-copy right-btn"></a>
  70. </label>
  71. <p class="help-block">电话</p>
  72. </div>
  73. <div class="layui-col-md12">
  74. <div class="layui-col-md3">
  75. <div class="layui-form-item">
  76. <span class="color-green font-w7">游客看到联系方式开关 switch</span>
  77. <label class="relative block">
  78. <input readonly value="{:sysconf('switch')}" class="layui-input layui-bg-gray">
  79. </label>
  80. <p class="help-block">游客看到联系方式开关 1:开 0:关</p>
  81. </div>
  82. </div>
  83. </div>
  84. <div class="layui-form-item">
  85. </div>
  86. </div>
  87. {/block}
  88. {block name='style'}
  89. <style>
  90. .right-btn {
  91. top: 0;
  92. right: 0;
  93. width: 38px;
  94. height: 38px;
  95. display: inline-block;
  96. position: absolute;
  97. text-align: center;
  98. line-height: 38px;
  99. }
  100. </style>
  101. {/block}