2018-06-22

2018-06-22  本文已影响0人  李竺芹

开发阶段智能大棚管理系统网站总结

一、开发工程师的具体职责

智能大棚管理系统网站的系统设计和制作

二、该网站的开发使用了哪些技术,分别有什么用

1、HTML的基本语法

作用:

2、CSS层叠样式表

作用:

3、ASP.NET技术

作用:

三、网站的开发过程

1、在GitHub上寻找满意的项目,基于自己的需求修改(找到一个开源的项目)
【项目地址】: https://github.com/nauvalazhar/my-login

开源登录界面.png

2、根据HTML的基本语法、CSS层叠样式表、ASP.NET技术对开源项目进行修改

源代码

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="Content/my-login.css" rel="stylesheet" />
    <link href="Content/bootstrap.css" rel="stylesheet" />
</head>
<body class="my-login-page">
    <section class="h-100">
        <div class="container h-100">
            <div class="row justify-content-md-center h-100">
                <div class="card-wrapper">
                    <div class="brand">
                        <img src="Images/logo.png" />
                    </div>
                    <div class="card fat">
                        <div class="card-body">
                            <h4 class="card-title">登录</h4>
                            <form method="POST">

                                <div class="form-group">
                                    <label for="email">邮件地址</label>

                                    <input id="email" type="email" class="form-control" name="email" value="" required autofocus>
                                </div>

                                <div class="form-group">
                                    <label for="password">
                                        密码
                                    </label>
                                    <input id="password" type="password" class="form-control" name="password" required data-eye>
                                </div>

                                <div class="form-group">
                                    <label>
                                        <input type="checkbox" name="remember"> 记住我
                                        <a href="forgot.html" class="float-right">
                                            忘记密码?
                                        </a>
                                    </label>
                                </div>

                                <div class="form-group no-margin">
                                    <!--<button type="submit" class="btn btn-primary btn-block">
                                        登录
                                    </button>-->
                                    <input type="submit" class="btn btn-primary btn-block" value="登录" /> 
                                </div>
                                <div class="margin-top20 text-center">
                                    没有账户? <a href="register.html">注册</a>
                                </div>
                            </form>
                        </div>
                    </div>
                    <div class="footer">
                        Copyright &copy; 2018 &mdash; CQCET-IOT
                    </div>
                </div>
            </div>
        </div>
    </section>
</body>
</html>

源代码

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>登录</title>
    <link href="Content/my-login.css" rel="stylesheet" />
    <link href="Content/bootstrap.css" rel="stylesheet" />
</head>
<body class="my-login-page">
    <form id="form1" runat="server">
        <section class="h-100">
            <div class="container h-100">
                <div class="row justify-content-md-center h-100">
                    <div class="card-wrapper">
                        <div class="brand">
                            <img src="Images/logo.png" />
                        </div>
                        <div class="card fat">
                            <div class="card-body">
                                <h4 class="card-title">登录</h4>
                                <div class="form-group">
                                    <label for="email">邮件地址</label>
                                    <input id="email" type="email" class="form-control" name="email" value="" required autofocus runat="server"/>
                                </div>

                                <div class="form-group">
                                    <label for="password">
                                        密码
                                    </label>
                                    <input id="password" type="password" class="form-control" name="password" required data-eye runat="server"/>
                                </div>

                                <div class="form-group">
                                    <label>
                                        <input type="checkbox" name="remember" />
                                        记住我
                                        <a href="forgot.aspx" class="float-right">忘记密码?
                                        </a>
                                    </label>
                                </div>

                                <div class="form-group no-margin">
                                    <asp:Button ID="bt_Login" runat="server" Text="登录" CssClass="btn btn-primary btn-block" OnClick="bt_Login_Click"/>
                                </div>
                                <div class="margin-top20 text-center">
                                    没有账户? <a href="register.aspx">注册</a>
                                </div>
                            </div>
                        </div>
                        <div class="footer">
                            Copyright &copy; 2018 &mdash; CQCET-IOT
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </form>
</body>
</html>
image.png
上一篇下一篇

猜你喜欢

热点阅读