写html文件

login.html文件

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Login</title>
    <link type="text/css" href="/static/css/Login.css" rel="stylesheet" />
    <script src="/static/js/Login.js"></script>
    <script src="/static/js/jquery.js"></script>
</head>
<body>
    <div id="login-box">
        <h1>用户登录</h1>
        <div class="form">
            <div class="item">
                <input id="login_name" type="text" placeholder="用户名">
            </div>
            <div class="item">
                <input id="login_password" type="password" placeholder="密码">
            </div>
        </div>
            <button onclick="login()">登录</button>
            <br>
            <button onclick="location.href='/cloud1/signin/'">注册</button>
        </div>
    </body>
</html>

signin.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Login</title>
    <link type="text/css" href="/static/css/Login.css" rel="stylesheet" />
    <script src="/static/js/Signin.js"></script>
    <script src="/static/js/jquery.js"></script>
</head>
<body>
    <div id="login-box">
        <h1>用户注册</h1>
        <div class="form">
            <div class="item">
                <input id="sign_name" type="text" placeholder="用户名">
            </div>
            <div class="item">
                <input id="sign_password1" type="password" placeholder="输入密码">
            </div>
            <div class="item">
                <input id="sign_password2" type="password" placeholder="确认密码">
            </div>
        </div>
            <button onclick="Sign()">注册</button>
            <br>
            <button onclick="location.href='/cloud1/login/'">登录</button>
        </div>
    </body>
</html>

control.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>控制中心</title>
    <link type="text/css" href="/static/css/Control.css" rel="stylesheet" />
    <script src="/static/js/Control.js"></script>
    <script src="/static/js/jquery.js"></script>
</head>
<body>
    <div id="ctr">
        <div class="fun" onclick="add_1()">查询主机状态</div>
        <div class="fun" onclick="add_2()">创建虚拟机</div>
        <div class="fun" onclick="add_3()">删除虚拟机</div>
        <div class="fun" onclick="add_4()">虚拟机查看</div>
        <div class="fun" onclick="add_5()">启动虚拟机</div>
        <div class="fun" onclick="add_6()">关闭虚拟机</div>
        <div class="fun" onclick="add_7()">运行并行程序</div>
    </div>
    <div id="show_table">
        <table id="table1">
            <caption>查询主机状态</caption>
            <thead>
                <tr>
                    <th>物理机</th>
                    <th>CPU架构</th>
                    <th>内存/G</th>
                    <th>CPU个数</th>
                    <th>虚拟类型</th>
                </tr>
            </thead>
            <tbody>
            </tbody>
        </table>
        <div id="table2">
            <h2>创建虚拟机</h2>
            <h3>主机
                <input type="text" id="hostname_2">
                域名称
                <input type="text" id="name_2">
                内存
                <input type="text" id="run_memory">
                磁盘空间
                <input type="text" id="disk_memory">
                <button onclick="add_2_add()" style="position: center">提交</button>
            </h3>
        </div>
        <div id="table3">
            <h2>删除虚拟机</h2>
            <h3>主机
                <input type="text" id="hostname_3">
                域名称
                <input type="text" id="name_3">
                <button onclick="add_3_add()" style="position: center">删除</button>
            </h3>
        </div>
        <table id="table4">
            <caption>虚拟机查看</caption>
            <thead>
                <tr>
                    <th>主机名</th>
                    <th>域名称</th>
                    <th>状态</th>
                    <th>内存/G</th>
                    <th>CPUs</th>
                    <th>IP</th>
                </tr>
            </thead>
            <tbody>
            </tbody>
        </table>
        <div id="table5">
            <h2>启动虚拟机</h2>
            <h3>主机
                <input type="text" id="hostname_5">
                域名称
                <input type="text" id="name_5">
                <button onclick="add_5_add()" style="position: center">启动</button>
            </h3>
        </div>
        <div id="table6">
            <h2>关闭虚拟机</h2>
            <h3>主机
                <input type="text" id="hostname_6">
                域名称
                <input type="text" id="name_6">
                <button onclick="add_6_add()" style="position: center">关闭</button>
            </h3>
        </div>
        <div id="table7">
            <h2>运行并行程序</h2>
            <button onclick="add_7_add()" style="position: center">运行</button>
            </h3>
        </div>
    </div>
</body>
</html>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值