gh-pages
PJ568 1 year ago
commit d27973f97c

@ -0,0 +1,52 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name='description' content='568_Calc 是一个简单的多平台支持的计算器。'>
<meta http-equiv='content-language' content='zh-Hans-CN'>
<link rel="stylesheet" href="/css/loading.css">
<script src="/js/loading.js"></script>
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/translate.css">
<script src="//res.zvo.cn/translate/translate.js"></script>
<title class="notTranslate">404</title>
<link rel="icon" href="/assets/favicon.svg">
<link rel="stylesheet" href="/css/hack/dist/hack.css">
<link rel="stylesheet" href="/css/hack/dist/standard.css">
<script src="/js/include.js"></script>
<script src="/js/giscus.js"></script>
</head>
<body class="standard">
<div id="loading">
<div id="Calc-loading_bg">
<img alt="正在加载" class="Calc-loader" src="/css/loading.svg"/>
</div>
</div>
<div class="main container">
<a href="//github.com/PJ-568/568_Calc" target="_blank" class="github-corner"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#795548; color:#101010; position: absolute; top: 0; border: 0; right: 0;"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
<a href="/"><p align="center"><img alt="Hamud language" src="assets/favicon.svg" width="40%" style="max-width:256px"/></p></a>
<h1 class="notTranslate">404</h1>
<p>未找到相应信息,或许您应该尝试返回主页。</p>
<div class="btn-group">
<button onclick="window.location.href='/';startLoading()" class="btn btn-success btn-ghost">回到主页</button>
<button onclick="javascript:history.back(-1);" class="btn btn-success btn-ghost">返回</button>
</div>
<h2>反馈</h2>
<div id="giscus-container"></div>
<br/>
<div class="btn-group">
<button onclick="window.location.href='/';startLoading()" class="btn btn-success btn-ghost">回到主页</button>
<button onclick="window.location.href='#'" class="btn btn-success btn-ghost">返回页顶</button>
<button onclick="javascript:history.back(-1);" class="btn btn-success btn-ghost">返回</button>
</div>
<br/>
<include src="/footer.html"></include>
</div>
</body>
</html>

@ -0,0 +1,291 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="256"
height="256"
viewBox="0 0 67.733334 67.733333"
version="1.1"
id="svg5"
inkscape:version="1.2.1 (9c6d41e410, 2022-07-14)"
sodipodi:docname="568_Calc.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<sodipodi:namedview
id="namedview7"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="px"
showgrid="false"
inkscape:zoom="1.3340072"
inkscape:cx="31.109278"
inkscape:cy="100.07443"
inkscape:window-width="1440"
inkscape:window-height="878"
inkscape:window-x="-6"
inkscape:window-y="-6"
inkscape:window-maximized="1"
inkscape:current-layer="layer2" />
<defs
id="defs2">
<rect
x="22.5"
y="25.5"
width="163"
height="87"
id="rect1358" />
<rect
x="16.910268"
y="167.49218"
width="306.80057"
height="247.61464"
id="rect15590" />
<rect
x="8.0525085"
y="5.2341305"
width="240.77"
height="148.56878"
id="rect294" />
<filter
style="color-interpolation-filters:sRGB;"
inkscape:label="Drop Shadow"
id="filter15900"
x="-0.10629922"
y="-0.28346457"
width="1.2125984"
height="1.5669291">
<feFlood
flood-opacity="0.498039"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood15890" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite15892" />
<feGaussianBlur
in="composite1"
stdDeviation="3"
result="blur"
id="feGaussianBlur15894" />
<feOffset
dx="0"
dy="0"
result="offset"
id="feOffset15896" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite15898" />
</filter>
<filter
style="color-interpolation-filters:sRGB;"
inkscape:label="Drop Shadow"
id="filter15924"
x="-0.024810789"
y="-0.082203042"
width="1.0496216"
height="1.1644061">
<feFlood
flood-opacity="0.498039"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood15914" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite15916" />
<feGaussianBlur
in="composite1"
stdDeviation="2"
result="blur"
id="feGaussianBlur15918" />
<feOffset
dx="0"
dy="0"
result="offset"
id="feOffset15920" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite15922" />
</filter>
</defs>
<rect
style="fill:#212121;fill-opacity:1;stroke-width:0.160501"
id="rect344"
width="67.73333"
height="67.73333"
x="0"
y="0"
rx="0.1558632"
ry="0.12845317"
inkscape:label="背景"
sodipodi:insensitive="true" />
<metadata
id="metadata132">
<rdf:RDF>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
<cc:Work
rdf:about="">
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
<dc:creator>
<cc:Agent>
<dc:title>PJ568</dc:title>
</cc:Agent>
</dc:creator>
<dc:rights>
<cc:Agent>
<dc:title>PJ568</dc:title>
</cc:Agent>
</dc:rights>
<dc:contributor>
<cc:Agent>
<dc:title>PJ568</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer1"
inkscape:label="按钮"
sodipodi:insensitive="true">
<rect
style="fill:#8d6e63;fill-opacity:1;stroke-width:0.176929"
id="rect263-4"
width="27.516666"
height="27.516666"
x="35.983334"
y="35.983334"
inkscape:label="按钮_右下"
sodipodi:insensitive="true" />
<rect
style="fill:#616161;fill-opacity:1;stroke-width:0.176929"
id="rect263-0"
width="27.516666"
height="27.516666"
x="4.2333331"
y="35.983334"
inkscape:label="按钮_左下"
sodipodi:insensitive="true" />
<rect
style="fill:#616161;fill-opacity:1;stroke-width:0.176929"
id="rect263-6"
width="27.516666"
height="27.516666"
x="35.983334"
y="4.2333331"
inkscape:label="按钮_右上"
sodipodi:insensitive="true" />
<rect
style="fill:#616161;fill-opacity:1;stroke-width:0.17693"
id="rect263"
width="27.516666"
height="27.516666"
x="4.2333331"
y="4.2333331"
inkscape:label="按钮_左上"
sodipodi:insensitive="true" />
</g>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="内容"
sodipodi:insensitive="true">
<rect
style="fill:#795548;fill-opacity:1;stroke-width:0.16332"
id="rect263-8-4"
width="25.4"
height="25.4"
x="37.041668"
y="37.041668"
inkscape:label="内容_右下"
sodipodi:insensitive="true" />
<path
d="m 46.531742,47.331842 h 7.10565 l -0.2286,1.42875 h -7.10565 z m -0.4572,3.3909 h 7.10565 l -0.2286,1.42875 h -7.10565 z"
id="path1368"
inkscape:label="="
style="font-size:72px;font-family:'Smiley Sans';-inkscape-font-specification:'Smiley Sans';white-space:pre;shape-inside:url(#rect1358);display:inline;fill:#eeeeee;stroke-width:0.264583;fill-opacity:1"
sodipodi:insensitive="true" />
<rect
style="fill:#424242;fill-opacity:1;stroke-width:0.16332"
id="rect263-8-1"
width="25.4"
height="25.4"
x="5.2916665"
y="37.041668"
inkscape:label="内容_左下"
sodipodi:insensitive="true" />
<path
d="m 17.270756,57.533116 q -1.73355,0 -2.6289,-1.1811 -0.89535,-1.20015 -0.6477,-3.3909 0.17145,-1.50495 0.8763,-2.53365 0.70485,-1.047749 1.7145,-1.523999 -0.7239,-0.4572 -1.12395,-1.2954 -0.40005,-0.8382 -0.28575,-1.905 0.1905,-1.73355 1.1811,-2.7432 1.00965,-1.00965 2.57175,-1.00965 1.5621,0 2.4003,1.00965 0.85725,1.00965 0.6858,2.7432 -0.1143,1.1811 -0.74295,2.07645 -0.62865,0.8763 -1.524,1.2954 0.8382,0.51435 1.31445,1.543049 0.4953,1.00965 0.3429,2.34315 -0.24765,2.19075 -1.35255,3.3909 -1.08585,1.1811 -2.7813,1.1811 z m -0.1905,-11.734799 q -0.0762,0.97155 0.24765,1.6764 0.32385,0.6858 1.0668,0.6858 0.74295,0 1.1811,-0.6858 0.4572,-0.70485 0.5334,-1.6764 0.1143,-1.08585 -0.2667,-1.65735 -0.36195,-0.59055 -1.0287,-0.59055 -0.78105,0 -1.20015,0.59055 -0.4191,0.5715 -0.5334,1.65735 z m -1.1811,7.143749 q -0.17145,1.5621 0.2667,2.26695 0.43815,0.70485 1.23825,0.70485 0.78105,0 1.35255,-0.70485 0.5715,-0.70485 0.74295,-2.26695 0.1524,-1.31445 -0.24765,-2.1336 -0.381,-0.819149 -1.2192,-0.819149 -0.8763,0 -1.42875,0.800099 -0.55245,0.8001 -0.70485,2.15265 z"
id="path1366"
inkscape:label="8"
style="font-size:72px;font-family:'Smiley Sans';-inkscape-font-specification:'Smiley Sans';white-space:pre;shape-inside:url(#rect1358);display:inline;fill:#eeeeee;stroke-width:0.264583;fill-opacity:1"
sodipodi:insensitive="true" />
<rect
style="fill:#424242;fill-opacity:1;stroke-width:0.16332"
id="rect263-8-5"
width="25.4"
height="25.4"
x="37.041668"
y="5.2916665"
inkscape:label="内容_右上"
sodipodi:insensitive="true" />
<path
d="m 52.047775,13.572067 q -0.0381,-0.36195 -0.17145,-0.74295 -0.1143,-0.40005 -0.40005,-0.66675 -0.28575,-0.2667 -0.78105,-0.2667 -0.81915,0 -1.524,1.2192 -0.6858,1.20015 -1.12395,4.09575 0.40005,-0.5334 0.9906,-0.8382 0.6096,-0.32385 1.31445,-0.32385 0.85725,0 1.42875,0.43815 0.5715,0.43815 0.8763,1.1811 0.32385,0.7239 0.36195,1.65735 0.05715,0.93345 -0.13335,1.92405 -0.1524,0.8001 -0.47625,1.6002 -0.3048,0.8001 -0.81915,1.46685 -0.4953,0.66675 -1.20015,1.0668 -0.70485,0.40005 -1.6383,0.40005 -1.04775,0 -1.69545,-0.43815 -0.62865,-0.43815 -0.9525,-1.20015 -0.3048,-0.762 -0.381,-1.7526 -0.05715,-0.9906 0.0381,-2.11455 0.09525,-1.12395 0.2667,-2.286 0.36195,-2.4384 0.97155,-4.17195 0.6096,-1.7526 1.5621,-2.68605 0.97155,-0.93345 2.34315,-0.93345 1.0668,0 1.6764,0.4953 0.6096,0.4953 0.8763,1.20015 0.28575,0.70485 0.32385,1.35255 z m -0.9906,7.5438 q 0.1905,-0.9144 0.13335,-1.7145 -0.05715,-0.81915 -0.4191,-1.31445 -0.3429,-0.51435 -1.0668,-0.51435 -0.62865,0 -1.0668,0.40005 -0.43815,0.381 -0.70485,1.04775 -0.24765,0.6477 -0.381,1.4478 -0.1524,0.9906 -0.0762,1.80975 0.09525,0.81915 0.4191,1.31445 0.3429,0.47625 0.93345,0.47625 0.6858,0 1.12395,-0.43815 0.43815,-0.43815 0.70485,-1.1049 0.2667,-0.6858 0.40005,-1.4097 z"
id="path1364"
inkscape:label="6"
style="font-size:72px;font-family:'Smiley Sans';-inkscape-font-specification:'Smiley Sans';white-space:pre;shape-inside:url(#rect1358);display:inline;fill:#eeeeee;stroke-width:0.264583;fill-opacity:1"
sodipodi:insensitive="true" />
<rect
style="fill:#424242;fill-opacity:1;stroke-width:0.16332"
id="rect263-8"
width="25.4"
height="25.4"
x="5.2916665"
y="5.2916665"
inkscape:label="内容_左上"
sodipodi:insensitive="true" />
<path
d="m 15.136232,18.353617 1.4478,-8.05815 h 5.46735 l -0.36195,1.6764 h -3.7338 l -0.8001,4.2672 q 0.32385,-0.3048 0.74295,-0.4953 0.43815,-0.1905 0.93345,-0.1905 1.524,0 2.0955,1.35255 0.59055,1.35255 0.2667,3.6957 -0.3048,2.3622 -1.35255,3.7338 -1.04775,1.35255 -2.8956,1.35255 -1.61925,0 -2.34315,-1.0668 -0.7239,-1.0668 -0.66675,-2.76225 l 1.7145,-0.2286 q -0.01905,0.9525 0.32385,1.65735 0.3429,0.6858 1.12395,0.6858 0.93345,0 1.4478,-0.81915 0.51435,-0.8382 0.762,-2.4003 0.2286,-1.3716 0.1143,-2.1717 -0.1143,-0.8001 -0.43815,-1.143 -0.32385,-0.3429 -0.78105,-0.3429 -0.59055,0 -1.04775,0.4191 -0.43815,0.4191 -0.66675,1.12395 z"
id="path1362"
inkscape:label="5"
style="font-size:72px;font-family:'Smiley Sans';-inkscape-font-specification:'Smiley Sans';white-space:pre;shape-inside:url(#rect1358);fill:#eeeeee;stroke-width:0.264583;fill-opacity:1"
sodipodi:insensitive="true" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 11 KiB

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2016 EGOIST 0x142857@gmail.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
html{font-size:14px}.standard{font-family:-apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica,helvetica neue,Ubuntu,segoe ui,arial,sans-serif}.standard h1{font-size:2em;font-weight:700;margin:.67em 0}.standard h2{font-size:1.5em;font-weight:700;margin:.83em 0}.standard h3{font-size:1.17em;font-weight:700}.standard h3,.standard p{margin:1.75rem 0}.standard ol,.standard ul{display:block;list-style-type:disc;padding-left:20px;margin:1.75rem 0}.standard ol ul,.standard ul ul{margin:.75rem 0;list-style-type:square}.standard ol{list-style-type:decimal}.standard li{display:list-item;padding-left:0}.standard blockquote{margin:1.75rem 0;padding-left:10px;border-left:5px solid #f0f0f0}.standard pre{margin:1.75rem 0;white-space:pre}.standard hr{border:0;height:1px;display:block;background-color:#e2e2e2;margin:1.75rem 0}

@ -0,0 +1,31 @@
#loading {
position: fixed;
background-color: #212121;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
z-index: 1000000
}
#Calc-loading_bg{
background-color: rgba(0,0,0,0.7);
}
.Calc-loader {
line-height: 50px;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
font-family: helvetica, arial, sans-serif;
text-transform: uppercase;
font-weight: 900;
color: #0277BD;
letter-spacing: 0.2em;
}
@media screen and (max-width: 980px){.Clac-loader{width:80%}}
@media screen and (min-width: 980px){.Clac-loader{width:25rem}}

@ -0,0 +1,14 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="margin: auto; background: #212121; display: block;" width="200px" height="200px" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">
<rect x="17.5" y="30" width="15" height="40" fill="#424242">
<animate attributeName="y" repeatCount="indefinite" dur="1s" calcMode="spline" keyTimes="0;0.5;1" values="18;30;30" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="-0.2s"></animate>
<animate attributeName="height" repeatCount="indefinite" dur="1s" calcMode="spline" keyTimes="0;0.5;1" values="64;40;40" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="-0.2s"></animate>
</rect>
<rect x="42.5" y="30" width="15" height="40" fill="#795548">
<animate attributeName="y" repeatCount="indefinite" dur="1s" calcMode="spline" keyTimes="0;0.5;1" values="20.999999999999996;30;30" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="-0.1s"></animate>
<animate attributeName="height" repeatCount="indefinite" dur="1s" calcMode="spline" keyTimes="0;0.5;1" values="58.00000000000001;40;40" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="-0.1s"></animate>
</rect>
<rect x="67.5" y="30" width="15" height="40" fill="#616161">
<animate attributeName="y" repeatCount="indefinite" dur="1s" calcMode="spline" keyTimes="0;0.5;1" values="20.999999999999996;30;30" keySplines="0 0.5 0.5 1;0 0.5 0.5 1"></animate>
<animate attributeName="height" repeatCount="indefinite" dur="1s" calcMode="spline" keyTimes="0;0.5;1" values="58.00000000000001;40;40" keySplines="0 0.5 0.5 1;0 0.5 0.5 1"></animate>
</rect>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

@ -0,0 +1,4 @@
html {
color: #DDD;
background-color: #111;
}

@ -0,0 +1,12 @@
#translate>.translateSelectLanguage {
cursor:pointer;
position:absolute;
padding:0.3rem;
padding-left:0.5rem;
padding-right:0.5rem;
color: #DDD;
background-color: #795548;
border:2px solid #8D6E63;
}
@media screen and (max-width: 980px){#translate>.translateSelectLanguage {left:1rem;top:1rem;font-size:.8rem;width:6rem}}
@media screen and (min-width: 980px){#translate>.translateSelectLanguage {left:2rem;top:2rem;font-size:1rem}}

@ -0,0 +1,3 @@
<footer class="footer">
<!-- <a href="//icp.gov.moe/?keyword=2023XXXX" target="_blank">萌 ICP 备 2023XXXX 号</a>、 -->
<a href="//status.pj568.eu.org/" target="_blank">网站状态</a></footer>

@ -0,0 +1,61 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name='description' content='568_Calc 是一个简单的多平台支持的计算器。'>
<meta http-equiv='content-language' content='zh-Hans-CN'>
<link rel="stylesheet" href="css/loading.css">
<script src="js/loading.js"></script>
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/translate.css">
<script src="//res.zvo.cn/translate/translate.js"></script>
<title class="notTranslate">568_Calc</title>
<link rel="icon" href="assets/favicon.svg">
<link rel="stylesheet" href="css/hack/dist/hack.css">
<link rel="stylesheet" href="css/hack/dist/standard.css">
<script src="js/include.js"></script>
<script src="js/giscus.js"></script>
</head>
<body class="standard">
<div id="loading">
<div id="Calc-loading_bg">
<img alt="正在加载" class="Calc-loader" src="css/loading.svg"/>
</div>
</div>
<div class="main container">
<a href="//github.com/PJ-568/568_Calc" target="_blank" class="github-corner"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#795548; color:#101010; position: absolute; top: 0; border: 0; right: 0;"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
<a href="/"><p align="center"><img alt="Hamud language" src="assets/favicon.svg" width="40%" style="max-width:256px"/></p></a>
<h1 class="notTranslate">568_Calc</h1>
<p>568_Calc 是一个简单的多平台支持的计算器。</p>
<!-- <h2>应用程序</h2>
<p>点击可下载对应应用程序。</p>
<div class="btn-group">
<button onclick="window.location.href='//github.com/PJ-568/568_Calc/releases/download/v0.0.0.0/568_Calc_x64.msi'" class="btn btn-success btn-ghost notTranslate">Windows x86_64 .msi</button>
<button onclick="window.location.href='//github.com/PJ-568/568_Calc/releases/download/v0.0.0.0/568_Calc.dmg'" class="btn btn-success btn-ghost notTranslate">MacOS .dmg</button>
<button onclick="window.location.href='//github.com/PJ-568/568_Calc/releases/download/v0.0.0.0/568_Calc_x86_64.AppImage'" class="btn btn-success btn-ghost notTranslate">Linux x86_64 .AppImage</button>
<button onclick="window.location.href='//github.com/PJ-568/568_Calc/releases/download/v0.0.0.0/568_Calc_x86_64.deb'" class="btn btn-success btn-ghost notTranslate">Linux x86_64 .deb</button>
<button onclick="window.location.href='//github.com/PJ-568/568_Calc/releases/download/v0.0.0.0/568_Calc_First_Release.apk'" class="btn btn-success btn-ghost">安卓 .apk</button>
</div> -->
<h2>贡献者</h2>
<p>感谢所有提供贡献的人!</p>
<a href="//github.com/PJ-568/568_Calc/graphs/contributors" target="_blank"><img alt="贡献者的头像图片" src="//contrib.rocks/image?repo=PJ-568/568_Calc" loading="lazy"/></a>
<h2>讨论区</h2>
<p>请留下您的宝贵建议。</p>
<div id="giscus-container"></div>
<br/>
<div class="alert alert-info">项目将持续推进,期待<a onclick="startLoading()" href="//Github.com/PJ-568/568_Calc">您的贡献</a></div>
<br/>
<div class="btn-group">
<button onclick="window.location.href='#'" class="btn btn-success btn-ghost">返回页顶</button>
</div>
<br/>
<include src="footer.html"></include>
</div>
</body>
</html>

@ -0,0 +1,56 @@
// 获取用户使用的语种。
var lang = translate.language.getCurrent();
var giscus_lang = "zh-CN";
switch (lang) {
case "chinese_traditional":
giscus_lang = "zh-TW";
break;
case "english":
giscus_lang = "en";
break;
case "spanish":
giscus_lang = "es";
break;
case "japanese":
giscus_lang = "ja";
break;
case "korean":
giscus_lang = "ko";
break;
case "french":
giscus_lang = "fr";
break;
case "arabic":
giscus_lang = "ar";
break;
default:
giscus_lang = "zh-CN";
break;
}
var giscus = function () {
const script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://giscus.app/client.js";
script.setAttribute("data-repo", "PJ-568/568_Calc");
script.setAttribute("data-repo-id", "R_kgDOKgTh_A");
script.setAttribute("data-category", "Announcements");
script.setAttribute("data-category-id", "DIC_kwDOKgTh_M4CaKUO");
script.setAttribute("data-mapping", "title");
script.setAttribute("data-strict", "1");
script.setAttribute("data-reactions-enabled", "1");
script.setAttribute("data-emit-metadata", "0");
script.setAttribute("data-input-position", "top");
script.setAttribute("data-theme", "transparent_dark");
script.setAttribute("data-lang", giscus_lang);
script.setAttribute("data-loading", "lazy");
script.crossOrigin = "anonymous";
script.async = true;
document.getElementById("giscus-container").appendChild(script);
};
window.addEventListener('load', giscus);

@ -0,0 +1,26 @@
function includeHTML() {
var elements = document.getElementsByTagName("include");
for (var i = 0; i < elements.length; i++) {
var element = elements[i];
var file = element.getAttribute("src");
if (file) {
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState === 4 && this.status === 200) {
element.innerHTML = this.responseText;
// 执行加载的JavaScript代码
var scripts = element.getElementsByTagName("script");
for (var j = 0; j < scripts.length; j++) {
var script = document.createElement("script");
script.innerHTML = scripts[j].innerHTML;
document.body.appendChild(script);
}
}
};
xhttp.open("GET", file, true);
xhttp.send();
}
}
}
document.addEventListener("DOMContentLoaded", includeHTML);

@ -0,0 +1,43 @@
// const sleep = (delay) => new Promise((resolve) => setTimeout(resolve, delay))
document.onreadystatechange=function () {
if (document.readyState=="complete"){
loadingFade();
}
}
function startLoading() {
const position = document.getElementById('loading');
var loadingBackground=document.getElementById('Calc-loading_bg');
position.style.display = 'block';
loadingBackground.style.opacity=1;
setTimeout(() => loadingFade(), 30000)
}
function loadingFade() {
var opacity=1;
const position = document.getElementById('loading');
var loadingBackground=document.getElementById('Calc-loading_bg');
var time=setInterval(function () {
if (opacity<=0){
clearInterval(time);
position.style.display = 'none';
try{
translate.listener.start();
translate.language.setLocal('chinese_simplified');
translate.setAutoDiscriminateLocalLanguage();
translate.language.setUrlParamControl();
translate.ignore.class.push('notTranslate');
}
catch(e){console.log(e);}
translate.setUseVersion2();
translate.nomenclature.append('chinese_simplified','english',`
568_Calc=568_Calc
`);
translate.execute();
}
loadingBackground.style.opacity=opacity;
opacity-=0.4;
},100);
}
Loading…
Cancel
Save