123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>idsOOS</title>
- <style>
- body {
- font-family: Arial, Helvetica, sans-serif;
- margin: 0;
- padding: 0;
- background-color: #f5f5f5;
- color: #333;
- }
- h1 {
- text-align: center;
- font-size: 36px;
- margin: 30px 0;
- background-image: linear-gradient(to right, #FF0000 0%, #FF7F00 15%, #FFFF00 30%, #00FF00 45%, #0000FF 60%, #4B0082 75%, #8F00FF 100%);
- -webkit-background-clip: text;
- -webkit-text-fill-color: transparent;
- text-shadow: 2px 2px #ccc;
- }
- h2 {
- text-align: center;
- color: #007bff;
- margin-bottom: 20px;
- }
- form {
- max-width: 400px;
- margin: 20px auto;
- padding: 15px;
- background-color: white;
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
- border-radius: 5px;
- }
- label {
- display: block;
- margin-bottom: 5px;
- }
- input {
- width: 100%;
- padding: 10px;
- margin-bottom: 15px;
- box-sizing: border-box;
- }
- button {
- background-color: #007bff;
- color: white;
- padding: 10px 15px;
- border: none;
- border-radius: 5px;
- cursor: pointer;
- }
- button:hover {
- background-color: #0056b3;
- }
- code {
- font-size: 16px;
- display: block;
- margin-top: 20px;
- text-align: center;
- color: #28a745; /* 突出链接颜色 */
- font-weight: bold;
- text-transform: uppercase;
- background-color: #f8f9fa;
- border-radius: 5px;
- padding: 10px;
- }
- a {
- color: #007bff;
- text-decoration: none;
- transition: color 0.3s ease-in-out;
- }
- a:hover {
- color: #0056b3;
- }
- /* 自定义 checkbox 样式 */
- input[type="checkbox"] {
- appearance: none;
- -webkit-appearance: none;
- -moz-appearance: none;
- width: 20px;
- height: 20px;
- border: 1px solid #999;
- border-radius: 4px;
- margin-right: 5px;
- cursor: pointer;
- }
- input[type="checkbox"]:checked {
- background-color: #007bff;
- border-color: #007bff;
- }
- </style>
- </head>
- <body>
- <h1>idsOOS</h1>
- <h2>注册表单</h2>
- <form action="http://www.sencorsta.com:7779/user/register" method="post" onsubmit="return validateForm()">
- <label for="account">账号:</label>
- <input type="text" id="account" name="account" required><br>
- <label for="email">邮箱:</label>
- <input type="email" id="email" name="email" required><br>
- <label for="phone">手机:</label>
- <input type="tel" id="phone" name="phone" required><br>
- <label for="password">密码:</label>
- <input type="password" id="password" name="password" required><br>
- <label for="confirmPassword">确认密码:</label>
- <input type="password" id="confirmPassword" name="confirmPassword" required>
- <br>
- <button type="submit">提交</button>
- </form>
- <script>
- function validateForm() {
- // 获取输入框的值
- var password = document.getElementById('password').value;
- var confirmPassword = document.getElementById('confirmPassword').value;
- // 检查密码和确认密码是否一致
- if (password !== confirmPassword) {
- alert('密码和确认密码不一致');
- return false;
- }
- return true;
- }
- </script>
- <h2>登录表单</h2>
- <form action="http://www.sencorsta.com:7779/user/loginAccount" method="post">
- <label for="account">账号:</label>
- <input type="text" id="account" name="account" required><br>
- <label for="password">密码:</label>
- <input type="password" id="password" name="password" required><br>
- <button type="submit">提交</button>
- </form>
- <h2>多文件上传</h2>
- <form id="uploadForm" action="http://www.sencorsta.com:7780/idsOos/uploadFile" method="post"
- enctype="multipart/form-data">
- <!-- 添加上传文件的input -->
- <input type="file" name="files" id="fileInput" multiple>
- <label for="token">token:</label>
- <input type="text" id="token" name="token" required><br>
- <label for="path">路径(默认/):</label>
- <input type="text" id="path" name="path"><br>
- <label for="isPublic">是否公开:</label>
- <input type="checkbox" id="isPublic" name="isPublic">
- <br>
- <button type="submit">上传</button>
- </form>
- <h2>查看我的文件</h2>
- <form id="myFilesForm" action="http://www.sencorsta.com:7780/idsOos/myFiles" method="post">
- <label for="token">token:</label>
- <input type="text" id="token" name="token" required><br>
- <label for="uuid">唯一id:</label>
- <input type="text" id="uuid" name="uuid"><br>
- <label for="fileName">文件名搜索:</label>
- <input type="text" id="fileName" name="fileName"><br>
- <label for="path">路径搜索:</label>
- <input type="text" id="path" name="path"><br>
- <br>
- <button type="submit">搜索</button>
- </form>
- <code>本网站基于IDS2.0开发,仅供演示和学习使用。更多资源请访问 <a href="http://www.sencorsta.com:2203/ice/Ids" target="_blank">官方网站</a> 或 <a
- href="http://www.sencorsta.com:2203/ice/Ids" target="_blank">社区论坛</a>。</code>
- </body>
- </html>
|