Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
hexbee
Cloudreve
提交
21518300
C
Cloudreve
项目概览
hexbee
/
Cloudreve
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
Cloudreve
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
21518300
编写于
3月 07, 2018
作者:
H
HFO4
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
定义移动端导航栏主题色
上级
99759b5a
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
12 addition
and
0 deletion
+12
-0
application/index/view/header.html
application/index/view/header.html
+1
-0
application/index/view/header_home.html
application/index/view/header_home.html
+1
-0
application/index/view/header_public.html
application/index/view/header_public.html
+1
-0
application/index/view/home/home.html
application/index/view/home/home.html
+1
-0
static/js/login.js
static/js/login.js
+8
-0
未找到文件。
application/index/view/header.html
浏览文件 @
21518300
...
...
@@ -6,6 +6,7 @@
<meta
http-equiv=
"x-ua-compatible"
content=
"ie=edge"
>
<meta
name=
"keywords"
content=
"{$options.siteKeywords}"
/>
<meta
name=
"description"
content=
"{$options.siteDes}"
/>
<meta
name=
"theme-color"
content=
"#4e64d9"
/>
<title>
{$options.siteName} - {$options.siteTitle}
</title>
<!-- Font Awesome -->
...
...
application/index/view/header_home.html
浏览文件 @
21518300
...
...
@@ -3,6 +3,7 @@
<head>
<meta
name=
"viewport"
content=
"initial-scale=1.0, user-scalable=no"
>
<meta
charset=
"utf-8"
>
<meta
name=
"theme-color"
content=
"#4e64d9"
/>
<title>
{block name="title"}{/block}
</title>
<script
src=
"/static/js/jquery.min.js"
></script>
<link
rel=
"stylesheet"
href=
"/static/css/bootstrap.min.css"
/>
...
...
application/index/view/header_public.html
浏览文件 @
21518300
...
...
@@ -2,6 +2,7 @@
<head>
<meta
name=
"viewport"
content=
"initial-scale=1.0, user-scalable=no"
>
<meta
charset=
"utf-8"
>
<meta
name=
"theme-color"
content=
"#4e64d9"
/>
<title>
{block name="title"}{/block}
</title>
<!-- third party -->
<script
src=
"/static/js/jquery.min.js"
></script>
...
...
application/index/view/home/home.html
浏览文件 @
21518300
...
...
@@ -3,6 +3,7 @@
<head>
<meta
name=
"viewport"
content=
"initial-scale=1.0, user-scalable=no"
>
<meta
charset=
"utf-8"
>
<meta
name=
"theme-color"
content=
"#4e64d9"
/>
<title>
我的文件 - {$options.siteName}
</title>
<script
src=
"/static/js/angular.min.js"
></script>
<script
src=
"/static/js/angular-translate.min.js"
></script>
...
...
static/js/login.js
浏览文件 @
21518300
...
...
@@ -26,8 +26,13 @@ changeColor("#4e64d9","#3f51b5");
$
(
"
.captcha_img
"
).
click
(
function
()
{
$
(
"
[alt='captcha']:visible
"
).
attr
(
'
src
'
,
"
/captcha
"
);
})
function
updateMetaThemeColor
(
themeColor
)
{
$
(
'
meta[name=theme-color]
'
).
remove
();
$
(
'
head
'
).
append
(
'
<meta name="theme-color" content="
'
+
themeColor
+
'
">
'
);
}
function
switchToReg
(){
changeColor
(
"
#46adff
"
,
"
#2196F3
"
);
updateMetaThemeColor
(
"
#2196F3
"
);
$
(
"
#logForm
"
).
hide
();
$
(
"
#regForm
"
).
show
();
$
(
"
[alt='captcha']:visible
"
).
attr
(
'
src
'
,
"
/captcha
"
);
...
...
@@ -36,6 +41,7 @@ function switchToReg(){
}
function
switchToLog
(){
changeColor
(
"
#4e64d9
"
,
"
#3f51b5
"
);
updateMetaThemeColor
(
"
#3f51b5
"
);
$
(
"
#regForm
"
).
hide
();
$
(
"
#forgetForm
"
).
hide
();
$
(
"
#logForm
"
).
show
();
...
...
@@ -45,6 +51,7 @@ function switchToLog(){
}
function
switchToEmail
(){
changeColor
(
"
#009688
"
,
"
#4CAF50
"
);
updateMetaThemeColor
(
"
#4CAF50
"
);
$
(
"
#regForm
"
).
hide
();
$
(
"
#emailCheck
"
).
show
();
$
(
"
#emailCheck
"
).
removeClass
(
"
animated zoomIn
"
);
...
...
@@ -52,6 +59,7 @@ function switchToEmail(){
}
function
switchToForget
(){
changeColor
(
"
#FF9800
"
,
"
#F44336
"
);
updateMetaThemeColor
(
"
#F44336
"
);
$
(
"
#regForm
"
).
hide
();
$
(
"
#logForm
"
).
hide
();
$
(
"
#forgetForm
"
).
show
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录