parent
c4a54b5c8f
commit
8d2853c53e
@ -7,27 +7,9 @@
|
|||||||
body {
|
body {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
a {
|
||||||
a:link {
|
text-decoration:none;
|
||||||
color: #FF4081;
|
|
||||||
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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -37,54 +19,61 @@
|
|||||||
document.getElementById("build_time").innerHTML = "Build time: " + time;
|
document.getElementById("build_time").innerHTML = "Build time: " + time;
|
||||||
document.getElementById("git_commit").innerHTML = "Git commit: " + gitCommit;
|
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>
|
</script>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<br>
|
<div style="padding:40px 0;">
|
||||||
<img width="100" height="100" src="itxtech.png"/><br>
|
<img width="100" height="100" src="itxtech.png"/><br>
|
||||||
<div style="font-size:25px"><a href="https://itxtech.org">iTX Technologies</a></div>
|
<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>
|
|
||||||
(at your option) any later version.<br>
|
|
||||||
<br>
|
<br>
|
||||||
This program is distributed in the hope that it will be useful,<br>
|
<img width="100" height="100" src="icon.png"><br>
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
|
<div style="font-size: 25px;"><a href="https://github.com/iTXTech/Daedalus">Daedalus</a></div>
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
|
<div id="version" style="font-size: 10px; color: gray;">Version: Unknown</div>
|
||||||
GNU General Public License for more details.<br>
|
<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>
|
<br>
|
||||||
You should have received a copy of the GNU General Public License<br>
|
<div style="font-size: 12px; color: gray;">Users must comply with local laws and regulations.</div>
|
||||||
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>
|
<br>
|
||||||
</div>
|
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2018 iTX Technologies <a href="mailto:admin@itxtech.org">admin@itxtech.org</a>
|
||||||
<br>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<div style="font-size: 16px; color: gray;">Open Source Licenses</div>
|
<div style="font-size: 10px; color: gray;">
|
||||||
<br>
|
This program is free software: you can redistribute it and/or modify<br>
|
||||||
<div style="font-size: 14px; color: gray;">
|
it under the terms of the GNU General Public License as published by<br>
|
||||||
<a href="https://github.com/MrFuFuFu/ClearEditText">ClearEditText</a>: <a
|
the Free Software Foundation, either version 3 of the License, or<br>
|
||||||
href="https://github.com/MrFuFuFu/ClearEditText">APL 2.0</a><br>
|
(at your option) any later version.<br>
|
||||||
<a href="https://github.com/julian-klode/dns66">DNS66</a>: <a
|
<br>
|
||||||
href="https://github.com/julian-klode/dns66/blob/master/COPYING">GPLv3</a><br>
|
This program is distributed in the hope that it will be useful,<br>
|
||||||
<a href="https://github.com/kaitoy/pcap4j">Pcap4J</a>: <a href="https://github.com/kaitoy/pcap4j">MIT</a><br>
|
but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
|
||||||
<a href="https://github.com/rtreffer/minidns">MiniDNS</a>: <a
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
|
||||||
href="https://github.com/rtreffer/minidns/blob/master/LICENCE_LGPL2.1">LGPLv2.1</a><br>
|
GNU General Public License for more details.<br>
|
||||||
<a href="https://github.com/google/gson">Gson</a>: <a
|
<br>
|
||||||
href="https://github.com/google/gson/blob/master/LICENSE">APL 2.0</a><br>
|
You should have received a copy of the GNU General Public License<br>
|
||||||
<a href="https://github.com/shadowsocks/shadowsocks-android">Shadowsocks</a>: <a
|
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>
|
||||||
href="https://github.com/shadowsocks/shadowsocks-android/blob/master/LICENSE">GPLv3</a>
|
</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
|
||||||
|
href="https://github.com/julian-klode/dns66/blob/master/COPYING">GPLv3</a><br>
|
||||||
|
<a href="https://github.com/kaitoy/pcap4j">Pcap4J</a>: <a href="https://github.com/kaitoy/pcap4j">MIT</a><br>
|
||||||
|
<a href="https://github.com/rtreffer/minidns">MiniDNS</a>: <a
|
||||||
|
href="https://github.com/rtreffer/minidns/blob/master/LICENCE_LGPL2.1">LGPLv2.1</a><br>
|
||||||
|
<a href="https://github.com/google/gson">Gson</a>: <a
|
||||||
|
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>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,27 +7,9 @@
|
|||||||
body {
|
body {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
a {
|
||||||
a:link {
|
text-decoration:none;
|
||||||
color: #FF4081;
|
|
||||||
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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@ -37,54 +19,62 @@
|
|||||||
document.getElementById("build_time").innerHTML = "构建时间:" + time;
|
document.getElementById("build_time").innerHTML = "构建时间:" + time;
|
||||||
document.getElementById("git_commit").innerHTML = "Git commit:" + gitCommit;
|
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>
|
</script>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<br>
|
|
||||||
<img width="100" height="100" src="itxtech.png"/><br>
|
<div style="padding: 40px 0;">
|
||||||
<div style="font-size:25px"><a href="https://itxtech.org">iTX Technologies</a></div>
|
<img width="100" height="100" src="itxtech.png"/><br>
|
||||||
<br>
|
<div style="font-size:25px"><a href="https://itxtech.org">iTX Technologies</a></div>
|
||||||
<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>
|
|
||||||
(at your option) any later version.<br>
|
|
||||||
<br>
|
<br>
|
||||||
This program is distributed in the hope that it will be useful,<br>
|
<img width="100" height="100" src="icon.png"><br>
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
|
<div style="font-size: 25px;"><a href="https://github.com/iTXTech/Daedalus">Daedalus</a></div>
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
|
<div id="version" style="font-size: 10px; color: gray;">Version: Unknown</div>
|
||||||
GNU General Public License for more details.<br>
|
<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>
|
<br>
|
||||||
You should have received a copy of the GNU General Public License<br>
|
<div style="font-size: 12px; color: gray;">使用者必须遵守当地法律法规。</div>
|
||||||
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>
|
<br>
|
||||||
</div>
|
<div style="font-size: 12px; color: gray;">Copyright (C) 2017-2018 iTX Technologies <a href="mailto:admin@itxtech.org">admin@itxtech.org</a>
|
||||||
<br>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<div style="font-size: 16px; color: gray;">Open Source Licenses</div>
|
<div style="font-size: 10px; color: gray;">
|
||||||
<br>
|
This program is free software: you can redistribute it and/or modify<br>
|
||||||
<div style="font-size: 14px; color: gray;">
|
it under the terms of the GNU General Public License as published by<br>
|
||||||
<a href="https://github.com/MrFuFuFu/ClearEditText">ClearEditText</a>: <a
|
the Free Software Foundation, either version 3 of the License, or<br>
|
||||||
href="https://github.com/MrFuFuFu/ClearEditText">APL 2.0</a><br>
|
(at your option) any later version.<br>
|
||||||
<a href="https://github.com/julian-klode/dns66">DNS66</a>: <a
|
<br>
|
||||||
href="https://github.com/julian-klode/dns66/blob/master/COPYING">GPLv3</a><br>
|
This program is distributed in the hope that it will be useful,<br>
|
||||||
<a href="https://github.com/kaitoy/pcap4j">Pcap4J</a>: <a href="https://github.com/kaitoy/pcap4j">MIT</a><br>
|
but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
|
||||||
<a href="https://github.com/rtreffer/minidns">MiniDNS</a>: <a
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
|
||||||
href="https://github.com/rtreffer/minidns/blob/master/LICENCE_LGPL2.1">LGPLv2.1</a><br>
|
GNU General Public License for more details.<br>
|
||||||
<a href="https://github.com/google/gson">Gson</a>: <a
|
<br>
|
||||||
href="https://github.com/google/gson/blob/master/LICENSE">APL 2.0</a><br>
|
You should have received a copy of the GNU General Public License<br>
|
||||||
<a href="https://github.com/shadowsocks/shadowsocks-android">Shadowsocks</a>: <a
|
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>
|
||||||
href="https://github.com/shadowsocks/shadowsocks-android/blob/master/LICENSE">GPLv3</a>
|
</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
|
||||||
|
href="https://github.com/julian-klode/dns66/blob/master/COPYING">GPLv3</a><br>
|
||||||
|
<a href="https://github.com/kaitoy/pcap4j">Pcap4J</a>: <a href="https://github.com/kaitoy/pcap4j">MIT</a><br>
|
||||||
|
<a href="https://github.com/rtreffer/minidns">MiniDNS</a>: <a
|
||||||
|
href="https://github.com/rtreffer/minidns/blob/master/LICENCE_LGPL2.1">LGPLv2.1</a><br>
|
||||||
|
<a href="https://github.com/google/gson">Gson</a>: <a
|
||||||
|
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>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -61,6 +61,7 @@ public class AboutFragment extends ToolbarFragment {
|
|||||||
public void onPageFinished(WebView view, String url) {
|
public void onPageFinished(WebView view, String url) {
|
||||||
super.onPageFinished(view, url);
|
super.onPageFinished(view, url);
|
||||||
try {
|
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 + "')");
|
mWebView.loadUrl("javascript:changeVersionInfo('" + Daedalus.getInstance().getPackageManager().getPackageInfo(Daedalus.getInstance().getPackageName(), 0).versionName + "', '" + BuildConfig.BUILD_TIME + "', '" + BuildConfig.GIT_COMMIT + "')");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
Log.e("DAboutActivity", e.toString());
|
Log.e("DAboutActivity", e.toString());
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<color name="colorPrimary">#3F51B5</color>
|
<color name="colorPrimary">#3F51B5</color>
|
||||||
<color name="colorPrimaryDark">#303F9F</color>
|
<color name="colorPrimaryDark">#2f42b5</color>
|
||||||
<color name="colorAccent">#FF4081</color>
|
<color name="colorPrimaryLight">#3F81f1</color>
|
||||||
|
<color name="colorAccent">#3F51B5</color>
|
||||||
|
<color name="colorAccentMark">#f2f2f2</color>
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -8,9 +8,9 @@
|
|||||||
<item name="colorAccent">@color/colorAccent</item>
|
<item name="colorAccent">@color/colorAccent</item>
|
||||||
</style>
|
</style>
|
||||||
<style name="AppTheme.Dark" parent="Theme.AppCompat.NoActionBar">
|
<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="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||||
<item name="colorAccent">@color/colorAccent</item>
|
<item name="colorAccent">@color/colorPrimaryLight</item>
|
||||||
</style>
|
</style>
|
||||||
<style name="AppTheme.NoActionBar">
|
<style name="AppTheme.NoActionBar">
|
||||||
<item name="windowActionBar">false</item>
|
<item name="windowActionBar">false</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user