内容目录
因为谷歌引用国内加载太慢的原因,我们在使用capri皮肤时非常缓慢,需要删除谷歌引用的文件
我们找到登录的具体页面:/usr/local/directadmin/data/templates/login.html
然后删除谷歌的引用文件就很快了
或者陈捷推荐你换个简洁版,这个提供一个简洁版的代码,可以直接替换登录文件的全部代码
基于响应式哦。
- <!DOCTYPE html>
- <html lang=“en”>
- <head>
- <meta charset=“utf-8”>
- <meta name=“viewport” content=“width=device-width, initial-scale=1.0”>
- <meta name=“description” content=“DirectAdmin”>
- <meta name=“author” content=“DirectAdmin”>
- <link rel=“shortcut icon” href=“/IMG_FAVICON”>
- <title>DirectAdmin – Login</title>
- <link href=“//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css” rel=“stylesheet”>
- <style>
- body { background–color: #f5f5f5; padding: 50px 0 50px 0; }
- h3 { font–family: ‘Open Sans’, sans–serif; font–weight: 300; line–height: 1.1; font–size: 20px; line–height: 24px; padding: 0; margin: 0; }
- .content–box { margin–bottom: 20px; }
- .content–box–body { background–color: #ffffff; padding: 15px; border: 1px solid #e0e4e8; }
- .content–box–footer { padding: 10px 15px 10px 15px; background–color: #f9fafc; border-left: 1px solid #e0e4e8; border-right: 1px solid #e0e4e8; border-bottom: 1px solid #e0e4e8; text-align: right;}
- .btn–default { color: #ffffff; background-color: #232323; border-color: #111111; }
- .btn–default:hover { color: #ffffff; background-color: #3f3f3f; border-color: #111111; }
- </style>
- </head>
- <body>
- <div class=“container”>
- <div class=“row”>
- <div class=“col-lg-6 col-lg-offset-3 col-md-6 col-md-offset-3 col-sm-6 col-sm-offset-3 col-xs-12”>
- <div class=“content-box”>
- <div class=“content-box-body”>
- <h3>Login</h3>
- <hr />
- <form action=“/CMD_LOGIN” method=“POST” role=“form”>
- <input type=“hidden” name=“referer” value=“/CMD>#95LOGIN”>
- <div class=“form-group”>
- <label>Username:</label>
- <input type=“text” name=“username” class=“form-control”>
- </div>
- <div class=“form-group”>
- <label>Password:</label>
- <input type=“password” name=“password” class=“form-control”>
- </div>
- </div>
- <div class=“content-box-footer”>
- <button type=“submit” class=“btn btn-default”>Login</button>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- </body>
- </html>