parent
c4a54b5c8f
commit
8d2853c53e
@ -7,27 +7,9 @@
|
||||
body {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: #FF4081;
|
||||
text-decoration: none;
|
||||
a {
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #FF4081;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #FF4081;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: #FF4081;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@ -37,25 +19,31 @@
|
||||
document.getElementById("build_time").innerHTML = "Build time: " + time;
|
||||
document.getElementById("git_commit").innerHTML = "Git commit: " + gitCommit;
|
||||
}
|
||||
function changeColor(color){
|
||||
var aList = document.getElementsByTagName("a");
|
||||
for(var i = 0; i < aList.length;i++){
|
||||
aList[i].style.color = color;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<body>
|
||||
<br>
|
||||
<img width="100" height="100" src="itxtech.png"/><br>
|
||||
<div style="font-size:25px"><a href="https://itxtech.org">iTX Technologies</a></div>
|
||||
<br>
|
||||
<img width="100" height="100" src="icon.png"><br>
|
||||
<div style="font-size: 25px;"><a href="https://github.com/iTXTech/Daedalus">Daedalus</a></div>
|
||||
<div id="version" style="font-size: 10px; color: gray;">Version: Unknown</div>
|
||||
<div id="build_time" style="font-size: 10px; color: gray;">Build time: Unknown</div>
|
||||
<div id="git_commit" style="font-size: 10px; color: gray;">Git commit: Unknown</div>
|
||||
<br>
|
||||
<div style="font-size: 12px; color: gray;">Users must comply with local laws and regulations.</div>
|
||||
<br>
|
||||
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2018 iTX Technologies <a href="mailto:admin@itxtech.org">admin@itxtech.org</a>
|
||||
</div>
|
||||
<br>
|
||||
<div style="font-size: 10px; color: gray;">
|
||||
<div style="padding:40px 0;">
|
||||
<img width="100" height="100" src="itxtech.png"/><br>
|
||||
<div style="font-size:25px"><a href="https://itxtech.org">iTX Technologies</a></div>
|
||||
<br>
|
||||
<img width="100" height="100" src="icon.png"><br>
|
||||
<div style="font-size: 25px;"><a href="https://github.com/iTXTech/Daedalus">Daedalus</a></div>
|
||||
<div id="version" style="font-size: 10px; color: gray;">Version: Unknown</div>
|
||||
<div id="build_time" style="font-size: 10px; color: gray;">Build time: Unknown</div>
|
||||
<div id="git_commit" style="font-size: 10px; color: gray;">Git commit: Unknown</div>
|
||||
<br>
|
||||
<div style="font-size: 12px; color: gray;">Users must comply with local laws and regulations.</div>
|
||||
<br>
|
||||
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2018 iTX Technologies <a href="mailto:admin@itxtech.org">admin@itxtech.org</a>
|
||||
</div>
|
||||
<br>
|
||||
<div style="font-size: 10px; color: gray;">
|
||||
This program is free software: you can redistribute it and/or modify<br>
|
||||
it under the terms of the GNU General Public License as published by<br>
|
||||
the Free Software Foundation, either version 3 of the License, or<br>
|
||||
@ -68,12 +56,12 @@
|
||||
<br>
|
||||
You should have received a copy of the GNU General Public License<br>
|
||||
along with this program. If not, see <a href="http://www.gnu.org/licenses/gpl-3.0.en.html">http://www.gnu.org/licenses/</a>.<br>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<div style="font-size: 16px; color: gray;">Open Source Licenses</div>
|
||||
<br>
|
||||
<div style="font-size: 14px; color: gray;">
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<div style="font-size: 16px; color: gray;">Open Source Licenses</div>
|
||||
<br>
|
||||
<div style="font-size: 14px; color: gray;">
|
||||
<a href="https://github.com/MrFuFuFu/ClearEditText">ClearEditText</a>: <a
|
||||
href="https://github.com/MrFuFuFu/ClearEditText">APL 2.0</a><br>
|
||||
<a href="https://github.com/julian-klode/dns66">DNS66</a>: <a
|
||||
@ -85,6 +73,7 @@
|
||||
href="https://github.com/google/gson/blob/master/LICENSE">APL 2.0</a><br>
|
||||
<a href="https://github.com/shadowsocks/shadowsocks-android">Shadowsocks</a>: <a
|
||||
href="https://github.com/shadowsocks/shadowsocks-android/blob/master/LICENSE">GPLv3</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -7,27 +7,9 @@
|
||||
body {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a:link {
|
||||
color: #FF4081;
|
||||
text-decoration: none;
|
||||
a {
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #FF4081;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #FF4081;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:active {
|
||||
color: #FF4081;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@ -37,25 +19,32 @@
|
||||
document.getElementById("build_time").innerHTML = "构建时间:" + time;
|
||||
document.getElementById("git_commit").innerHTML = "Git commit:" + gitCommit;
|
||||
}
|
||||
function changeColor(color){
|
||||
var aList = document.getElementsByTagName("a");
|
||||
for(var i = 0; i < aList.length;i++){
|
||||
aList[i].style.color = color;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<body>
|
||||
<br>
|
||||
<img width="100" height="100" src="itxtech.png"/><br>
|
||||
<div style="font-size:25px"><a href="https://itxtech.org">iTX Technologies</a></div>
|
||||
<br>
|
||||
<img width="100" height="100" src="icon.png"><br>
|
||||
<div style="font-size: 25px;"><a href="https://github.com/iTXTech/Daedalus">Daedalus</a></div>
|
||||
<div id="version" style="font-size: 10px; color: gray;">Version: Unknown</div>
|
||||
<div id="build_time" style="font-size: 10px; color: gray;">Build time: Unknown</div>
|
||||
<div id="git_commit" style="font-size: 10px; color: gray;">Git commit: Unknown</div>
|
||||
<br>
|
||||
<div style="font-size: 12px; color: gray;">使用者必须遵守当地法律法规。</div>
|
||||
<br>
|
||||
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2018 iTX Technologies <a href="mailto:admin@itxtech.org">admin@itxtech.org</a>
|
||||
</div>
|
||||
<br>
|
||||
<div style="font-size: 10px; color: gray;">
|
||||
|
||||
<div style="padding: 40px 0;">
|
||||
<img width="100" height="100" src="itxtech.png"/><br>
|
||||
<div style="font-size:25px"><a href="https://itxtech.org">iTX Technologies</a></div>
|
||||
<br>
|
||||
<img width="100" height="100" src="icon.png"><br>
|
||||
<div style="font-size: 25px;"><a href="https://github.com/iTXTech/Daedalus">Daedalus</a></div>
|
||||
<div id="version" style="font-size: 10px; color: gray;">Version: Unknown</div>
|
||||
<div id="build_time" style="font-size: 10px; color: gray;">Build time: Unknown</div>
|
||||
<div id="git_commit" style="font-size: 10px; color: gray;">Git commit: Unknown</div>
|
||||
<br>
|
||||
<div style="font-size: 12px; color: gray;">使用者必须遵守当地法律法规。</div>
|
||||
<br>
|
||||
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2018 iTX Technologies <a href="mailto:admin@itxtech.org">admin@itxtech.org</a>
|
||||
</div>
|
||||
<br>
|
||||
<div style="font-size: 10px; color: gray;">
|
||||
This program is free software: you can redistribute it and/or modify<br>
|
||||
it under the terms of the GNU General Public License as published by<br>
|
||||
the Free Software Foundation, either version 3 of the License, or<br>
|
||||
@ -68,12 +57,12 @@
|
||||
<br>
|
||||
You should have received a copy of the GNU General Public License<br>
|
||||
along with this program. If not, see <a href="http://www.gnu.org/licenses/gpl-3.0.en.html">http://www.gnu.org/licenses/</a>.<br>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<div style="font-size: 16px; color: gray;">Open Source Licenses</div>
|
||||
<br>
|
||||
<div style="font-size: 14px; color: gray;">
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<div style="font-size: 16px; color: gray;">Open Source Licenses</div>
|
||||
<br>
|
||||
<div style="font-size: 14px; color: gray;">
|
||||
<a href="https://github.com/MrFuFuFu/ClearEditText">ClearEditText</a>: <a
|
||||
href="https://github.com/MrFuFuFu/ClearEditText">APL 2.0</a><br>
|
||||
<a href="https://github.com/julian-klode/dns66">DNS66</a>: <a
|
||||
@ -85,6 +74,7 @@
|
||||
href="https://github.com/google/gson/blob/master/LICENSE">APL 2.0</a><br>
|
||||
<a href="https://github.com/shadowsocks/shadowsocks-android">Shadowsocks</a>: <a
|
||||
href="https://github.com/shadowsocks/shadowsocks-android/blob/master/LICENSE">GPLv3</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -61,6 +61,7 @@ public class AboutFragment extends ToolbarFragment {
|
||||
public void onPageFinished(WebView view, String url) {
|
||||
super.onPageFinished(view, url);
|
||||
try {
|
||||
mWebView.loadUrl("javascript:changeColor('"+(Daedalus.isDarkTheme() ? "#FFFFFF" : "#000000")+"')");
|
||||
mWebView.loadUrl("javascript:changeVersionInfo('" + Daedalus.getInstance().getPackageManager().getPackageInfo(Daedalus.getInstance().getPackageName(), 0).versionName + "', '" + BuildConfig.BUILD_TIME + "', '" + BuildConfig.GIT_COMMIT + "')");
|
||||
} catch (Exception e) {
|
||||
Log.e("DAboutActivity", e.toString());
|
||||
|
@ -1,6 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="colorPrimary">#3F51B5</color>
|
||||
<color name="colorPrimaryDark">#303F9F</color>
|
||||
<color name="colorAccent">#FF4081</color>
|
||||
<color name="colorPrimaryDark">#2f42b5</color>
|
||||
<color name="colorPrimaryLight">#3F81f1</color>
|
||||
<color name="colorAccent">#3F51B5</color>
|
||||
<color name="colorAccentMark">#f2f2f2</color>
|
||||
</resources>
|
||||
|
@ -8,9 +8,9 @@
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
</style>
|
||||
<style name="AppTheme.Dark" parent="Theme.AppCompat.NoActionBar">
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimary">@color/colorPrimaryLight</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<item name="colorAccent">@color/colorPrimaryLight</item>
|
||||
</style>
|
||||
<style name="AppTheme.NoActionBar">
|
||||
<item name="windowActionBar">false</item>
|
||||
|
Loading…
Reference in New Issue
Block a user