Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zuiketang
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
zuiketang
Commits
998e8657
Commit
998e8657
authored
Oct 18, 2016
by
汪波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改注册登录样式
parent
bd054262
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
38 additions
and
21 deletions
+38
-21
main.php
src/frontend/views/layouts/main.php
+1
-1
login.php
src/frontend/views/site/login.php
+2
-1
requestPasswordResetToken.php
src/frontend/views/site/requestPasswordResetToken.php
+7
-5
signup.php
src/frontend/views/site/signup.php
+8
-9
login.css
src/frontend/web/css/login.css
+20
-5
No files found.
src/frontend/views/layouts/main.php
View file @
998e8657
...
@@ -19,7 +19,7 @@ $baseUrl = \yii\helpers\Url::base();
...
@@ -19,7 +19,7 @@ $baseUrl = \yii\helpers\Url::base();
<meta
charset=
"
<?=
Yii
::
$app
->
charset
?>
"
>
<meta
charset=
"
<?=
Yii
::
$app
->
charset
?>
"
>
<meta
name=
"description"
content=
""
>
<meta
name=
"description"
content=
""
>
<meta
name=
"keywords"
content=
""
>
<meta
name=
"keywords"
content=
""
>
<
!-- Use latest IE randering angine and switch on chrome Frame if available --
>
<
meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<link
rel=
"shortcut icon"
href=
"
<?=
AppAsset
::
getStaticUrl
(
'img/favicon.ico'
)
?>
"
>
<link
rel=
"shortcut icon"
href=
"
<?=
AppAsset
::
getStaticUrl
(
'img/favicon.ico'
)
?>
"
>
<?=
Html
::
csrfMetaTags
()
?>
<?=
Html
::
csrfMetaTags
()
?>
...
...
src/frontend/views/site/login.php
View file @
998e8657
...
@@ -12,6 +12,7 @@ $baseUrl = \yii\helpers\Url::base();
...
@@ -12,6 +12,7 @@ $baseUrl = \yii\helpers\Url::base();
<h3>
云涯
</h3>
<h3>
云涯
</h3>
<p>
欢迎来到最课堂,专注在线直播
</p>
<p>
欢迎来到最课堂,专注在线直播
</p>
<div
id=
"myTab"
class=
"tab-a"
>
<div
id=
"myTab"
class=
"tab-a"
>
<ul>
<ul>
<li
class=
"active"
><a
href=
"
<?=
$baseUrl
.
"/site/login"
?>
"
data-toggle=
"tab"
>
登录
</a></li>
<li
class=
"active"
><a
href=
"
<?=
$baseUrl
.
"/site/login"
?>
"
data-toggle=
"tab"
>
登录
</a></li>
...
@@ -19,6 +20,7 @@ $baseUrl = \yii\helpers\Url::base();
...
@@ -19,6 +20,7 @@ $baseUrl = \yii\helpers\Url::base();
</ul>
</ul>
</div>
</div>
<div
class=
"tab-content"
id=
"myTabContent"
>
<div
class=
"tab-content"
id=
"myTabContent"
>
<div
class=
"tab-pane fade in active"
id=
"login"
>
<div
class=
"tab-pane fade in active"
id=
"login"
>
...
@@ -36,7 +38,6 @@ $baseUrl = \yii\helpers\Url::base();
...
@@ -36,7 +38,6 @@ $baseUrl = \yii\helpers\Url::base();
<div
class=
" input-wrapper last-wrapper"
>
<div
class=
" input-wrapper last-wrapper"
>
<input
name=
"password"
type=
"password"
class=
""
placeholder=
"密码"
>
<input
name=
"password"
type=
"password"
class=
""
placeholder=
"密码"
>
<span
class=
"tips tip-vcode"
>
<?=
$model
->
getFirstError
(
'password'
)
?>
</span>
<span
class=
"tips tip-vcode"
>
<?=
$model
->
getFirstError
(
'password'
)
?>
</span>
</div>
</div>
</div>
</div>
...
...
src/frontend/views/site/requestPasswordResetToken.php
View file @
998e8657
...
@@ -36,12 +36,14 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js');
...
@@ -36,12 +36,14 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js');
<input
name=
"telephone"
type=
"text"
class=
""
placeholder=
"请输入注册的手机号码"
required=
""
autofocus=
""
>
<input
name=
"telephone"
type=
"text"
class=
""
placeholder=
"请输入注册的手机号码"
required=
""
autofocus=
""
>
<!--<span class="tips">手机号或者密码错误</span>-->
<!--<span class="tips">手机号或者密码错误</span>-->
</div>
</div>
<div
style=
"margin-top: 20px;margin-bottom: 20px"
>
</div>
<div
class=
"v-geetest"
>
<div
id=
"embed-captcha"
></div>
<div
id=
"embed-captcha"
></div>
<p
id=
"wait"
class=
"show"
>
正在加载验证码......
</p>
<p
id=
"wait"
class=
"show"
>
正在加载验证码......
</p>
<p
id=
"notice"
class=
"hide"
>
请先拖动验证码到相应位置
</p>
<p
id=
"notice"
class=
"hide"
>
请先拖动验证码到相应位置
</p>
</div>
</div>
</div>
<div
class=
"foot-reg-btn"
>
<div
class=
"foot-reg-btn"
>
<button
id=
"submit"
class=
"btn btn-log"
type=
"submit"
>
获取验证码
</button>
<button
id=
"submit"
class=
"btn btn-log"
type=
"submit"
>
获取验证码
</button>
...
...
src/frontend/views/site/signup.php
View file @
998e8657
...
@@ -13,8 +13,7 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js');
...
@@ -13,8 +13,7 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js');
<div
class=
"container"
>
<div
class=
"container"
>
<div
class=
"z-m-center"
>
<div
class=
"z-m-center"
>
<h3>
云涯
</h3>
<h3>
云涯
</h3>
<p>
欢迎来到最课堂,专注在线直播
</p>
<p>
欢迎来到云涯,专注在线直播
</p>
<div
id=
"myTab"
class=
"tab-a"
>
<div
id=
"myTab"
class=
"tab-a"
>
<ul>
<ul>
<li><a
href=
"
<?=
$baseUrl
.
"/site/login"
?>
"
data-toggle=
"tab"
>
登录
</a></li>
<li><a
href=
"
<?=
$baseUrl
.
"/site/login"
?>
"
data-toggle=
"tab"
>
登录
</a></li>
...
@@ -24,7 +23,6 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js');
...
@@ -24,7 +23,6 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js');
<div
class=
"tab-content"
id=
"myTabContent"
>
<div
class=
"tab-content"
id=
"myTabContent"
>
<div
class=
"tab-pane fade in active"
id=
"register"
>
<div
class=
"tab-pane fade in active"
id=
"register"
>
<?php
$form
=
ActiveForm
::
begin
([
'id'
=>
'form-signup'
]);
?>
<?php
$form
=
ActiveForm
::
begin
([
'id'
=>
'form-signup'
]);
?>
...
@@ -52,20 +50,21 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js');
...
@@ -52,20 +50,21 @@ $this->registerJsFile('http://static.geetest.com/static/tools/gt.js');
<span
class=
"tips tip-vcode"
>
<?=
$model
->
getFirstError
(
'rePassword'
)
?>
</span>
<span
class=
"tips tip-vcode"
>
<?=
$model
->
getFirstError
(
'rePassword'
)
?>
</span>
<span
id=
"repassword_tips"
class=
"tips"
>
<?=
$model
->
getFirstError
(
'rePassword'
)
?>
</span>
<span
id=
"repassword_tips"
class=
"tips"
>
<?=
$model
->
getFirstError
(
'rePassword'
)
?>
</span>
</div>
</div>
</div>
<div
style=
"margin-top: 20px;margin-bottom: 20px
"
>
<div
class=
"v-geetest
"
>
<div
id=
"embed-captcha"
></div>
<div
id=
"embed-captcha"
></div>
<p
id=
"wait"
class=
"show"
>
正在加载验证码......
</p>
<p
id=
"wait"
class=
"show"
>
正在加载验证码......
</p>
<p
id=
"notice"
class=
"hide"
>
请先拖动验证码到相应位置
</p>
<p
id=
"notice"
class=
"hide"
>
请先拖动验证码到相应位置
</p>
</div>
</div>
</div>
<div
id=
"submit"
class=
"foot-reg-btn"
>
<div
id=
"submit"
class=
"foot-reg-btn"
>
<button
class=
"btn btn-reg"
type=
"submit"
>
注册
</button>
<button
class=
"btn btn-reg"
type=
"submit"
>
注册
</button>
</div>
</div>
<?php
ActiveForm
::
end
();
?>
<?php
ActiveForm
::
end
();
?>
</div>
</div>
...
...
src/frontend/web/css/login.css
View file @
998e8657
...
@@ -12,26 +12,41 @@ a,a:hover,a:link {
...
@@ -12,26 +12,41 @@ a,a:hover,a:link {
box-shadow
:
0
0
30px
rgba
(
0
,
0
,
0
,
.05
);
box-shadow
:
0
0
30px
rgba
(
0
,
0
,
0
,
.05
);
}
}
.logo
{
.logo
{
line-height
:
5
0px
;
line-height
:
6
0px
;
margin-left
:
30px
;
margin-left
:
30px
;
}
}
.logo
a
{
color
:
#333
;
}
.yun-login-btn
{
.yun-login-btn
{
margin-right
:
30px
;
margin-right
:
30px
;
margin-bottom
:
0
;
}
.yun-login-btn
,
.yun-login-btn
li
{
list-style
:
none
;
}
.yun-login-btn
li
{
display
:
inline-block
;
height
:
60px
;
line-height
:
60px
;
padding
:
0
10px
;
}
}
.yun-login-btn
li
a
{
.yun-login-btn
li
a
{
color
:
#333
;
color
:
#333
;
display
:
block
;
}
}
.z-m-center
{
.z-m-center
{
text-align
:
center
;
text-align
:
center
;
margin-top
:
40px
;
}
}
.z-m-center
>
p
{
.z-m-center
>
p
{
font-size
:
12px
;
font-size
:
12px
;
padding
:
0
0
20px
;
color
:
#999
;
color
:
#999
;
}
}
.v-geetest
{
width
:
300px
;
margin
:
20px
auto
;
}
.tab-a
ul
,
li
,
.tab-a
ul
,
li
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment