view_d4f7e93e71a93ce1254a9da965f0b3d8.c 2.35 KB
/*
   Generated from client/settings/advanced/dynamicParameters.esp
 */
#include "esp.h"

static void view_d4f7e93e71a93ce1254a9da965f0b3d8(HttpConn *conn) {
  espRenderBlock(conn, "<!DOCTYPE html>\r\n\
<html>\r\n\
\r\n\
<head>\r\n\
    <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n\
    <title>动态参数</title>\r\n\
    <link href=\"../../css/frame.css\" rel=\"stylesheet\" />\r\n\
    <link href=\"../../scripts/easyui/themes/default/easyui.css\" rel=\"stylesheet\" />\r\n\
    <style type=\"text/css\">\r\n\
        .textbox-addon-right {\r\n\
            float: right;\r\n\
        }\r\n\
    </style>\r\n\
</head>\r\n\
\r\n\
<body>\r\n\
    <div class=\"easyui-layout\" data-options=\"fit:true\">\r\n\
        <div data-options=\"region:'west',title:'参数树',split:true\" style=\"width:400px;\">\r\n\
            <div id=\"ptree\" class=\"easyui-tree\" data-options=\"fit:true,lines:true,onClick:clickTreeNode\">\r\n\
            </div>\r\n\
        </div>\r\n\
        <div data-options=\"region:'center',title:'参数设置'\" style=\"padding:5px;background:#eee;\">\r\n\
            <div id=\"pgrid\" class=\"easyui-propertygrid\" data-options=\"showGroup:false,fit:true,fitColumns:true,\r\n\
                 columns:myColumns,onAfterEdit:onEndEditParameter,onClickRow:onClickPropertyRow\">\r\n\
            </div>\r\n\
        </div>\r\n\
        <div data-options=\"region:'south',border:false\" style=\"height: 40px;padding:8px;\">\r\n\
            <a href=\"#\" id=\"saveAllChanged\" class=\"settingBtn\">保存</a>\r\n\
        </div>\r\n\
    </div>\r\n\
    ", 1266);
inputSecurityToken();   espRenderBlock(conn, "\r\n\
        <script src=\"../../scripts/console-polyfill/index.js\"></script>\r\n\
        <script src=\"../../scripts/easyui/jquery.min.js\"></script>\r\n\
        <script src=\"../../scripts/easyui/jquery.easyui.min.js\"></script>\r\n\
        <script src=\"../../scripts/easyui/jquery.easyui.extension.js\"></script>\r\n\
        <script src=\"../../scripts/My97DatePicker/WdatePicker.js\"></script>\r\n\
        <script src=\"dynamicParameterTree.js\"></script>\r\n\
</body>\r\n\
\r\n\
</html>", 451);
}

ESP_EXPORT int esp_view_d4f7e93e71a93ce1254a9da965f0b3d8(HttpRoute *route, MprModule *module) {
   espDefineView(route, "client/settings/advanced/dynamicParameters.esp", view_d4f7e93e71a93ce1254a9da965f0b3d8);
   return 0;
}