Geen omschrijving

index.html 13KB

    <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title></title> <link href="../css/common.css" rel="stylesheet" type="text/css" /> <link href="../ajax/dyn/auth.css" rel="stylesheet" type="text/css" /> <style> .page-head { width: 100%; padding: 0 20px; color: #999; height: 60px; background-color: #444; min-width: 1040px; /*overflow: hidden;*/ } .page-logo { display: block; width: 140px; height: 60px; background: url("../images/logo.png") left center no-repeat; } .page-home { padding: 10px 15px; } .page-home i { font-size: 40px; } .page-head-right .logout, .page-head-right .help, .page-head-right .user-msg { height: 30px; margin: 15px; cursor: pointer; } .page-head-right div i { font-size: 30px; } .user-info { height: 40px; margin: 10px; font-size: 15px; color: #fff !important; text-align: center; position: relative; } .user-info .login-user-head { height: 40px; width: 40px; border-radius: 50%; } .user-info .login-user-name { margin-left: 10px; } .user-info i { margin-top: 15px; } .page-menu { position: absolute; top: 60px; left: 0; width: 240px; bottom: 0; font-size: 20px; background-color: #fafafa; border: 1px solid #c7c7c7; overflow-x: visible; } .spa-main { position: absolute; top: 60px; left: 240px; right: 0px; bottom: 0; padding: 10px; } #g_info { top: 60px; } .user-info.dd-ctn .dd-drop { top: 100%; z-index: 100; color: #000000; } .user-info.dd-ctn .dd-drop li { padding: 5px; cursor: pointer; } </style> </head> <body class="spa-page" resource="../ajax/sys/resource/user" menu="../ajax/user/config/menu" style="padding: 0;"> <div class="page-head"> <div class="page-head-left pull-left"> <a class="page-logo pull-left"></a> <div class="page-home pull-left"> <i class="icon-home"></i> </div> </div> <div class="page-head-right pull-right"> <div class="logout pull-right"> <i class="icon-signout opt-logout"></i> </div> <div class="help pull-right"> <i class="icon-question-sign"></i> </div> <div class="user-msg pull-right"> <i class="icon-envelope"></i> </div> <a class="user-info pull-right dd-ctn "> <img class="login-user-head" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAABuCAIAAABJObGsAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZS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2grTjHkS6h8PIPCHU0HVmpiFQKMUC1XKpWyulg7sbjP0oE2OJs1h+OBoLw8Js30AyNYz7vCTubjUwq9c18aTZftrsDTTceuC6ECKnT6yOqhbJv1jfy+SxsaHRRIgJfLled3gCTfmxrfNhBr3sfUsNiIccxzF0rDLCNsqriaSs35GQf0zVRN4zT9vlwPN5tbtU3qsgvfWyA5BtK+BNI4kmr/U2zeKdg0hRORmcwLJfyjWrFvuNN4HlgepEFgfXT7jwou3dkQIh6sLvT2KhyPt2Qxx+UcM2t806708UPT0+83C4bwzGxa41ahbrtonyCjiIVtu5QcEho+USZwsmezuZ/aJ8lWd7dbqaSPpSNaT84KidnbSjO93C8GsZPpnOkjLEby2Tu/1IQyZE40/zYN4AJY9qY/ENaZgeOEo7ltHXe6iDE82eHMhWjBsKkNxzRt6GEaYNqj8YiWUbzw8ph2pg8aKrfvZ31u6YD09bu9lrnXb96anr1R3E2F8biDYNLeizDywtjUiP2JNSXD8XkcQgAan3fmuXTUcKuIfQ9Pm352yQMiEzLgoaL84XjOJeCCacEfz1AsDqdm7blb/EMnv2sfQ4r/T27vJ+Ocr5Y+mVlbvofWMt2b4jw6FKNiX+3rO5wtFytgsipYTdxON9zF5knzgkRL+QDmUwQaQPs4FKSuwPBC04vVx1gzqD4kqwG1A0Th4O86MlXnD1xToilEUUG1LeOcksbSD0H4wmsh4eSWMkJOMrBXWmBwznv9saiGB5KcrMsYQSawZUGPBXW3Z2DHkrDMGck+LcDrZhBwftD4Wk3K3zKtERxNhpPrCD36JD+WQyTy6Q5lvXEkNzohOdDaHQrTmfCeBwGSojJSBRXvt5B+RaU7i4i4CNW0q2tg2k+l2VZ1naCXbFB4jsYjp4gKI9GuVgsRXFqrWPbGB3W8uFitZo//sZq/xdgADfSdJj29ZmGAAAAAElFTkSuQmCC" /> <span class="login-user-name dd-hand">linux linux</span> <i class="icon-caret-down"></i> <ul class="dd-drop"> <li class="opt-user-info-cfg">个人信息设置</li> <li class="opt-user-menu-cfg">个人菜单设置</li> <li class="opt-user-cp-cfg">修改密码</li> </ul> </a> </div> </div> <div class="page-menu"> <div class="spa-menu menu"></div> </div> <div class="spa-main"></div> <div class="page-foot"></div> <div id='g_info'> <div id='g_err'></div> <div id='g_warn'></div> <div id='g_msg'></div> </div> <div id='g_loading' style="display: none;"> <div> <i class='icon icon-spin icon-spinner-snake'></i> </div> </div> </body> <script type="text/javascript" src="../js/jquery-1.12.4.js"></script> <script type="text/javascript" src="../js/common.js"></script> <script type="text/javascript" src="../js/form.js"></script> <script type="text/javascript" src="../js/dict.js"></script> <script type="text/javascript" src="../js/text.js"></script> <script type="text/javascript" src="../js/textarea.js"></script> <script type="text/javascript" src="../js/dropdown.js"></script> <script type="text/javascript" src="../js/select.js"></script> <script type="text/javascript" src="../js/date.js"></script> <script type="text/javascript" src="../js/pager.js"></script> <script type="text/javascript" src="../js/codehtml.js"></script> <script type="text/javascript" src="../js/datagrid.js"></script> <script type="text/javascript" src="../js/pageDataGrid.js"></script> <script type="text/javascript" src="../js/spa.js"></script> <script type="text/javascript" src="../js/upload.js"></script> <script type="text/javascript" src="../js/dyn-select.js"></script> <script type="text/javascript" src="../js/validate.js" ></script> <script type="text/javascript" src="../js/echarts.common.min.js"></script> <script type="text/javascript" src="../js/typeahead.js"></script> <script type="text/javascript" src="../js/webuploader.js"></script> <script type="text/javascript" src="../js/city.min.js"></script> <script> $(function() { $.use(["spa", "util"], function(spa, util) { util.get("../ajax/sys/user", null, function(data) { util.data("loginUser", data); $(".login-user-name").text(data.name); if(data.head) { $(".login-user-head").attr("src", "../data/" + data.head); } }, {}); spa.build(); $(".opt-logout").on("click", function() { util.get("../ajax/sys/user/logout", null, function() { window.location.href = "login.html"; }, {}); }); var g_max_menu_id = 1, g_m = function(ret, items) { if(items && items.length) { var chs = ret.children = []; items.forEach(function(item) { var rd = {}; ++g_max_menu_id; rd.code = g_max_menu_id; rd.caption = item.caption; if(item.res) { rd.res = item.res rd.icon = item.icon || "book"; } else { rd.icon = item.icon || "branch"; } if(item.modal) { rd.modal = true; } g_m(rd, item.children); chs.push(rd); }); } } $(".opt-user-menu-cfg").on("click", function() { var pData = {}, show = function() { if(pData.children && pData.reses) { spa.showModal("sys_user_menu_cfg", pData); } }; util.get("../ajax/user/config/menu", null, function(data) { g_m(pData, data); show(); }); util.get("../ajax/sys/resource/user", null, function(data) { var reses = pData.reses = []; data.forEach(function(item) { if(item.main) { var rd = { code: item.id, caption: item.name, enabled: true }; reses.push(rd); } }); show(); }); }); $(".opt-user-info-cfg").on("click", function() { util.get("../ajax/sys/user/id/" + util.data("loginUser").id, null, function(data) { spa.showModal("sys_user_edit", { data: data}) },{}); }); $(".opt-user-cp-cfg").on("click", function() { spa.showModal("sys_user_cp"); }); }); }); </script> </html> </html>