You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

232 lines
11 KiB
Plaintext

<%@ Page Title="" Language="C#" MasterPageFile="~/Web/Mld/Site1.Master" AutoEventWireup="true" CodeBehind="SysSettings.aspx.cs" Inherits="web.Web.Mld.SysSettings" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script type="text/javascript">
$(document).ready(function () {
$("#btnPwd").click(function () {
var oldpwd = $("#oldpwd").val();
var newpwd1 = $("#newpwd1").val();
var newpwd2 = $("#newpwd2").val();
var formData = new FormData();
formData.append('action', 'pwd');
formData.append('oldpwd', oldpwd);
formData.append('newpwd1', newpwd1);
formData.append('newpwd2', newpwd2);
$.ajax({
url: 'SysSettings.aspx',
type: 'post',
data: formData,
processData: false,
contentType: false,
async: true,
success: function (data) {
alert(data);
},
error: function () {
alert("操作失败!");
}
})
})
$("#btnComName").click(function () {
var comname = $("#txtComName").val();
var formData = new FormData();
formData.append('action', 'comname');
formData.append('comname', comname);
$.ajax({
url: 'SysSettings.aspx',
type: 'post',
data: formData,
processData: false,
contentType: false,
async: true,
success: function (data) {
alert(data);
},
error: function () {
alert("操作失败!");
}
})
})
});
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<a href="index.html" class="site_title"><i class="fa fa-paw"></i><span>o(* ̄︶ ̄*)o</span></a>
</div>
<div class="clearfix"></div>
<!-- menu profile quick info -->
<div class="profile clearfix">
<div class="profile_pic">
<img src="images/img.jpg" alt="..." class="img-circle profile_img">
</div>
<div class="profile_info">
<span>Welcome,</span>
<h2>John Doe</h2>
</div>
</div>
<!-- /menu profile quick info -->
<br />
<!-- sidebar menu -->
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
<div class="menu_section">
<h3>General</h3>
<ul class="nav side-menu">
<li><a><i class="fa fa-home"></i>网站设置 <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="MainHome.aspx">内容</a></li>
<li><a href="MainHomeOther.aspx">其他</a></li>
</ul>
</li>
<%--<li><a><i class="fa fa-edit"></i>提单管理 <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="MainBLNOSettings.aspx">主单管理</a></li>
<li><a href="MainCTNSettings.aspx">分单管理</a></li>
</ul>
</li>--%>
<li><a><i class="fa fa-gear"></i>系统设置 <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="SysSettings.aspx">基本信息设置</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- top navigation -->
<div class="top_nav">
<div class="nav_menu">
<nav>
<div class="nav toggle">
<a id="menu_toggle"><i class="fa fa-bars"></i></a>
</div>
<ul class="nav navbar-nav navbar-right">
<li class="">
<a href="Login.aspx" class="user-profile " aria-expanded="false">
<i class="glyphicon glyphicon-off"></i>
</a>
</li>
</ul>
</nav>
</div>
</div>
<!-- /top navigation -->
<!-- page content -->
<div class="right_col" role="main">
<!-- content home -->
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>管理员密码修改 <small>Admin PWD</small></h2>
<ul class="nav navbar-right panel_toolbox">
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
</li>
</ul>
<div class="clearfix"></div>
</div>
<div class="x_content">
<br>
<form id="demo-form2" data-parsley-validate="" class="form-horizontal form-label-left" novalidate="">
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">
原密码
</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input type="password" id="oldpwd" required="required" class="form-control col-md-7 col-xs-12" />
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">
新密码
</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input type="password" id="newpwd1" required="required" class="form-control col-md-7 col-xs-12" />
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">
旧密码
</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input type="password" id="newpwd2" name="last-name" required="required" class="form-control col-md-7 col-xs-12" />
</div>
</div>
<div class="ln_solid"></div>
<div class="ln_solid"></div>
<div class="form-group">
<div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3">
<button id="btnPwd" type="button" class="btn btn-success homesub">提交</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<!--COM Name-->
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>公司名称 <small>COMPANY NAME</small></h2>
<ul class="nav navbar-right panel_toolbox">
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
</li>
</ul>
<div class="clearfix"></div>
</div>
<div class="x_content">
<br>
<form id="demo-form2" data-parsley-validate="" class="form-horizontal form-label-left" novalidate="">
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">
公司名称
</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input type="text" id="txtComName" required="required" class="form-control col-md-7 col-xs-12" />
</div>
</div>
<div class="ln_solid"></div>
<div class="form-group">
<div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3">
<button id="btnComName" type="button" class="btn btn-success homesub">提交</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- /page content -->
</div>
</div>
</asp:Content>