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,54 +19,61 @@
|
||||
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;">
|
||||
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>
|
||||
<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>
|
||||
This program is distributed in the hope that it will be useful,<br>
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
|
||||
GNU General Public License for more details.<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>
|
||||
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;">
|
||||
<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 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>
|
||||
This program is distributed in the hope that it will be useful,<br>
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
|
||||
GNU General Public License for more details.<br>
|
||||
<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;">
|
||||
<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>
|
||||
</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,54 +19,62 @@
|
||||
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;">
|
||||
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>
|
||||
|
||||
<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>
|
||||
This program is distributed in the hope that it will be useful,<br>
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
|
||||
GNU General Public License for more details.<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>
|
||||
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;">
|
||||
<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 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>
|
||||
This program is distributed in the hope that it will be useful,<br>
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of<br>
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>
|
||||
GNU General Public License for more details.<br>
|
||||
<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;">
|
||||
<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>
|
||||
</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