Refactored domain list interface.

Added new logo and icon.
pull/124/head
Revertron 3 years ago
parent 827f7477a5
commit 7665a2af3f

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 33 KiB

@ -1,163 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg8"
version="1.1"
viewBox="0 0 8.4666665 8.4666669"
height="32"
width="32">
<defs
id="defs2" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
style="display:inline"
transform="translate(0,-288.53332)"
id="layer1">
<circle
r="3.9766991"
cy="292.76666"
cx="4.2333331"
id="path817"
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:0.51326865;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path931"
d="m 0.26458333,293.03124 c 0,0 0.70181087,-0.52523 1.32287447,-0.77974 0.6210636,-0.25451 1.4349541,-0.5356 2.1429566,-0.71315 0.7080025,-0.17755 1.7776373,-0.3592 2.0904189,-0.3592 1.5912012,0.0846 2.3812499,0.79375 2.3812499,0.79375"
style="fill:none;stroke:#000000;stroke-width:0.26458332;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path931-8"
d="m 1.8520833,295.94165 c 0,0 0.1832143,-0.74043 0.79375,-1.5875 0.6105357,-0.84707 2.327927,-2.56446 3.175,-3.175 0.847073,-0.61054 1.5874999,-0.79375 1.5874999,-0.79375"
style="fill:none;stroke:#000000;stroke-width:0.26458332;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path931-8-7"
d="m 3.7041666,296.7354 c 0,0 0.6102358,-0.41817 1.0583333,-1.32291 0.4480975,-0.90474 1.3123834,-3.0298 1.0583334,-4.23334 C 5.5667833,289.97561 3.96875,288.7979 3.96875,288.7979"
style="fill:none;stroke:#000000;stroke-width:0.26458332;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
style="display:inline"
id="layer2">
<g
transform="matrix(1.5,0,0,1.4999999,-0.52916665,-435.4458)"
id="g866"
style="display:inline">
<ellipse
style="opacity:1;fill:#fe0400;fill-opacity:1;stroke:#000000;stroke-width:0.15119049;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path827"
cx="1.5875"
cy="292.76666"
rx="0.45357141"
ry="0.45357144" />
<circle
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.13229166;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path847"
cx="1.5875"
cy="292.76666"
r="0.13229166" />
</g>
<g
transform="matrix(1.5,0,0,1.5,0.5291666,-433.59376)"
id="g866-5"
style="display:inline">
<ellipse
style="opacity:1;fill:#02a2fc;fill-opacity:1;stroke:#000000;stroke-width:0.15119049;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path827-0"
cx="1.5875"
cy="292.76666"
rx="0.45357141"
ry="0.45357144" />
<circle
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.13229166;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path847-5"
cx="1.5875"
cy="292.76666"
r="0.13229166" />
</g>
<g
transform="matrix(1.5,0,0,1.4999999,2.6458333,-432.79996)"
id="g866-5-4"
style="display:inline">
<ellipse
style="opacity:1;fill:#00feeb;fill-opacity:1;stroke:#000000;stroke-width:0.15119049;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path827-0-9"
cx="1.5875"
cy="292.76666"
rx="0.45357141"
ry="0.45357144" />
<circle
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.13229166;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path847-5-9"
cx="1.5875"
cy="292.76666"
r="0.13229166" />
</g>
<g
transform="matrix(1.5000459,0,0,1.499954,3.4395348,-436.49067)"
id="g866-5-0"
style="display:inline">
<ellipse
style="opacity:1;fill:#e1fe00;fill-opacity:1;stroke:#000000;stroke-width:0.15119049;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path827-0-5"
cx="1.5875"
cy="292.76666"
rx="0.45357141"
ry="0.45357144" />
<circle
style="opacity:1;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.13229166;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path847-5-8"
cx="1.5875"
cy="292.76666"
r="0.13229166" />
</g>
</g>
<g
style="display:inline"
id="layer3">
<text
transform="matrix(0.96595873,-0.25881023,0.25882786,0.96589293,0,0)"
id="text1089"
y="3.6441112"
x="1.6789116"
style="font-style:normal;font-weight:normal;font-size:0.70555562px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26459232"
xml:space="preserve"><tspan
style="font-weight:bold;font-size:0.70555562px;stroke-width:0.26459232"
y="3.6441112"
x="1.6789116"
id="tspan1087">.mesh</tspan></text>
<text
transform="rotate(-75)"
id="text1089-3"
y="6.2375188"
x="-3.9566467"
style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
xml:space="preserve"><tspan
style="font-weight:bold;font-size:0.70555568px;stroke-width:0.26458332"
y="6.2375188"
x="-3.9566467"
id="tspan1087-4">.ygg</tspan></text>
<text
transform="rotate(-45)"
id="text1089-3-4"
y="5.5114136"
x="-0.59456676"
style="font-style:normal;font-weight:normal;font-size:10.58333302px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.26458332"
xml:space="preserve"><tspan
style="font-weight:bold;font-size:0.70555568px;stroke-width:0.26458332"
y="5.5114136"
x="-0.59456676"
id="tspan1087-4-3">.yy</tspan></text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 6.8 KiB

@ -0,0 +1,30 @@
<?xml version="1.0"?>
<svg width="164" height="164" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<title>Alfis logo</title>
<defs>
<linearGradient id="paint0_linear" x1="0.997969" x2="0.057969" y1="0" y2="0.999422">
<stop stop-color="#4254DC"/>
<stop offset="0.494792" stop-color="#3EAFDE"/>
<stop offset="1" stop-color="#56DDA1"/>
</linearGradient>
<linearGradient id="paint1_linear" x1="0.870025" x2="0.114921" y1="1.084078" y2="-0.159618">
<stop stop-color="#983AE2"/>
<stop offset="0.505208" stop-color="#6173F8"/>
<stop offset="1" stop-color="#4ED3F9"/>
</linearGradient>
<linearGradient id="paint2_linear" x1="0.166674" x2="0.953815" y1="1.06557" y2="-0.053071">
<stop stop-color="#D13587"/>
<stop offset="0.520833" stop-color="#F2496C"/>
<stop offset="1" stop-color="#FD7B68"/>
</linearGradient>
</defs>
<g class="layer">
<title>Layer 1</title>
<path clip-rule="evenodd" d="m82.1,2.5c-13.807,0 -25,11.193 -25,25l0,45.8l10,-5.8l0,-40c0,-8.284 6.716,-15 15,-15c8.284,0 15,6.716 15,15l0,22c0,2.761 2.239,5 5,5c2.762,0 5,-2.239 5,-5l0,-22c0,-13.807 -11.193,-25 -25,-25zm-7.415,98.043l0,0.098l17.08,9.922c9.008,-3.779 15.335,-12.682 15.335,-23.063l0,-24c0,-2.761 -2.238,-5 -5,-5c-2.761,0 -5,2.239 -5,5l0,24c0,8.284 -6.716,15 -15,15c-2.437,0 -4.724,-0.577 -6.747,-1.598c-0.226,-0.114 -0.449,-0.234 -0.668,-0.359z" fill="url(#paint0_linear)" fill-rule="evenodd" id="svg_2"/>
<circle cx="82.1" cy="151.5" fill="#D13587" id="svg_3" r="10"/>
<path clip-rule="evenodd" d="m155.9,130.151c6.903,-11.957 2.807,-27.247 -9.151,-34.151l-39.664,-22.9l0.023,11.56l34.641,20c7.175,4.143 9.633,13.316 5.491,20.491c-4.142,7.174 -13.316,9.632 -20.491,5.49l-19.052,-11c-2.392,-1.38 -5.45,-0.561 -6.83,1.83c-1.381,2.392 -0.562,5.45 1.83,6.831l19.052,11c11.958,6.903 27.247,2.806 34.151,-9.151zm-81.201,-55.443l-0.085,-0.049l-17.132,9.831c-1.231,9.691 3.316,19.621 12.306,24.812l20.784,12c2.392,1.38 5.45,0.561 6.83,-1.831c1.381,-2.391 0.562,-5.449 -1.83,-6.83l-20.784,-12c-7.175,-4.142 -9.633,-13.316 -5.491,-20.49c1.219,-2.111 2.863,-3.803 4.758,-5.044c0.212,-0.139 0.427,-0.272 0.644,-0.399z" fill="url(#paint1_linear)" fill-rule="evenodd" id="svg_4"/>
<circle cx="26.862" cy="55.651" fill="#4254DC" id="svg_5" r="10" transform="rotate(120, 26.862, 55.651)"/>
<path clip-rule="evenodd" d="m8.5,130.25c6.904,11.957 22.193,16.054 34.151,9.15l39.664,-22.9l-10.023,-5.76l-34.641,20c-7.175,4.142 -16.349,1.684 -20.491,-5.49c-4.142,-7.175 -1.684,-16.349 5.491,-20.491l19.052,-11c2.392,-1.38 3.211,-4.438 1.83,-6.83c-1.38,-2.391 -4.438,-3.211 -6.83,-1.83l-19.052,11c-11.958,6.904 -16.055,22.193 -9.151,34.151zm88.615,-42.601l0.085,-0.049l0.053,-19.752c-7.777,-5.912 -18.651,-6.939 -27.641,-1.749l-20.784,12c-2.392,1.381 -3.211,4.439 -1.831,6.83c1.381,2.392 4.439,3.211 6.831,1.83l20.784,-12c7.175,-4.142 16.348,-1.684 20.491,5.491c1.218,2.11 1.862,4.38 1.989,6.642c0.014,0.252 0.022,0.505 0.023,0.757z" fill="url(#paint2_linear)" fill-rule="evenodd" id="svg_6"/>
<circle cx="137.538" cy="55.749" fill="#983AE2" id="svg_7" r="9.999992" transform="rotate(-120, 137.538, 55.7489)"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

@ -0,0 +1,32 @@
<?xml version="1.0"?>
<svg width="410" height="164" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<title>Alfis logo</title>
<!-- <rect width="640" height="420" fill="white"/> -->
<defs>
<linearGradient id="paint0_linear" x1="0.997969" x2="0.057969" y1="0" y2="0.999422">
<stop stop-color="#4254DC"/>
<stop offset="0.494792" stop-color="#3EAFDE"/>
<stop offset="1" stop-color="#56DDA1"/>
</linearGradient>
<linearGradient id="paint1_linear" x1="0.870025" x2="0.114921" y1="1.084078" y2="-0.159618">
<stop stop-color="#983AE2"/>
<stop offset="0.505208" stop-color="#6173F8"/>
<stop offset="1" stop-color="#4ED3F9"/>
</linearGradient>
<linearGradient id="paint2_linear" x1="0.166674" x2="0.953815" y1="1.06557" y2="-0.053071">
<stop stop-color="#D13587"/>
<stop offset="0.520833" stop-color="#F2496C"/>
<stop offset="1" stop-color="#FD7B68"/>
</linearGradient>
</defs>
<g class="layer">
<title>Layer 1</title>
<path d="m192.03,102.37c-0.987,0 -1.801,-0.321 -2.442,-0.962c-0.592,-0.641 -0.888,-1.431 -0.888,-2.368c0,-0.395 0.123,-0.888 0.37,-1.48l18.87,-44.548c0.395,-0.888 0.937,-1.603 1.628,-2.146c0.74,-0.592 1.628,-0.888 2.664,-0.888l0.74,0c1.036,0 1.899,0.296 2.59,0.888c0.74,0.543 1.307,1.258 1.702,2.146l18.87,44.548c0.247,0.592 0.37,1.085 0.37,1.48c0,0.937 -0.321,1.727 -0.962,2.368c-0.592,0.641 -1.381,0.962 -2.368,0.962c-0.691,0 -1.332,-0.173 -1.924,-0.518c-0.543,-0.395 -0.962,-0.913 -1.258,-1.554l-4.81,-11.544l-25.16,0l-4.81,11.544c-0.296,0.641 -0.74,1.159 -1.332,1.554c-0.543,0.345 -1.159,0.518 -1.85,0.518zm10.582,-19.758l19.98,0l-9.99,-24.05l-9.99,24.05zm53.139,19.388c-1.283,0 -2.393,-0.444 -3.33,-1.332c-0.888,-0.937 -1.332,-2.047 -1.332,-3.33l0,-43.956c0,-0.937 0.321,-1.727 0.962,-2.368c0.641,-0.691 1.431,-1.036 2.368,-1.036c0.937,0 1.727,0.345 2.368,1.036c0.691,0.641 1.036,1.431 1.036,2.368l0,41.884l24.198,0c0.937,0 1.727,0.345 2.368,1.036c0.691,0.641 1.036,1.431 1.036,2.368c0,0.937 -0.345,1.727 -1.036,2.368c-0.641,0.641 -1.431,0.962 -2.368,0.962l-26.27,0zm45.005,0.37c-0.938,0 -1.727,-0.321 -2.368,-0.962c-0.642,-0.641 -0.962,-1.431 -0.962,-2.368l0,-45.288c0,-0.937 0.32,-1.727 0.962,-2.368c0.641,-0.691 1.43,-1.036 2.368,-1.036l28.786,0c0.888,0 1.628,0.321 2.22,0.962c0.641,0.592 0.962,1.332 0.962,2.22c0,0.888 -0.321,1.628 -0.962,2.22c-0.592,0.592 -1.332,0.888 -2.22,0.888l-25.382,0l0,16.354l22.792,0c0.888,0 1.628,0.321 2.22,0.962c0.641,0.592 0.962,1.332 0.962,2.22c0,0.888 -0.321,1.628 -0.962,2.22c-0.592,0.592 -1.332,0.888 -2.22,0.888l-22.792,0l0,19.758c0,0.937 -0.346,1.727 -1.036,2.368c-0.642,0.641 -1.431,0.962 -2.368,0.962zm48.721,0c-0.937,0 -1.727,-0.321 -2.368,-0.962c-0.641,-0.641 -0.962,-1.431 -0.962,-2.368l0,-45.658c0,-0.937 0.321,-1.727 0.962,-2.368c0.641,-0.691 1.431,-1.036 2.368,-1.036c0.937,0 1.727,0.345 2.368,1.036c0.691,0.641 1.036,1.431 1.036,2.368l0,45.658c0,0.937 -0.345,1.727 -1.036,2.368c-0.641,0.641 -1.431,0.962 -2.368,0.962zm37.752,0.37c-6.266,0 -12.136,-1.184 -17.612,-3.552c-0.592,-0.247 -1.086,-0.641 -1.48,-1.184c-0.395,-0.592 -0.592,-1.209 -0.592,-1.85c0,-0.839 0.271,-1.554 0.814,-2.146c0.592,-0.641 1.332,-0.962 2.22,-0.962c0.493,0 0.962,0.099 1.406,0.296c4.538,2.023 9.398,3.034 14.578,3.034c8.633,0 12.95,-2.837 12.95,-8.51c0,-1.48 -0.568,-2.713 -1.702,-3.7c-1.086,-0.987 -2.442,-1.751 -4.07,-2.294c-1.628,-0.592 -3.947,-1.283 -6.956,-2.072c-3.996,-1.036 -7.228,-2.023 -9.694,-2.96c-2.467,-0.987 -4.588,-2.442 -6.364,-4.366c-1.776,-1.924 -2.664,-4.489 -2.664,-7.696c0,-2.812 0.74,-5.353 2.22,-7.622c1.48,-2.319 3.65,-4.144 6.512,-5.476c2.91,-1.381 6.388,-2.072 10.434,-2.072c5.426,0 10.335,0.814 14.726,2.442c1.381,0.493 2.072,1.48 2.072,2.96c0,0.789 -0.272,1.505 -0.814,2.146c-0.543,0.641 -1.258,0.962 -2.146,0.962c-0.296,0 -0.691,-0.099 -1.184,-0.296c-3.848,-1.332 -7.82,-1.998 -11.914,-1.998c-3.898,0 -7.08,0.74 -9.546,2.22c-2.418,1.48 -3.626,3.552 -3.626,6.216c0,1.776 0.567,3.231 1.702,4.366c1.184,1.085 2.639,1.949 4.366,2.59c1.776,0.592 4.168,1.233 7.178,1.924c3.897,0.937 7.03,1.875 9.398,2.812c2.417,0.937 4.464,2.393 6.142,4.366c1.726,1.973 2.59,4.637 2.59,7.992c0,2.763 -0.79,5.254 -2.368,7.474c-1.579,2.171 -3.799,3.873 -6.66,5.106c-2.862,1.233 -6.167,1.85 -9.916,1.85z" fill="#2B357D" id="svg_1"/>
<path clip-rule="evenodd" d="m80.1,2c-13.807,0 -25,11.193 -25,25l0,45.8l10,-5.8l0,-40c0,-8.284 6.716,-15 15,-15c8.284,0 15,6.716 15,15l0,22c0,2.761 2.239,5 5,5c2.762,0 5,-2.239 5,-5l0,-22c0,-13.807 -11.193,-25 -25,-25zm-7.415,98.043l0,0.098l17.08,9.922c9.008,-3.779 15.335,-12.682 15.335,-23.063l0,-24c0,-2.761 -2.238,-5 -5,-5c-2.761,0 -5,2.239 -5,5l0,24c0,8.284 -6.716,15 -15,15c-2.437,0 -4.724,-0.577 -6.747,-1.598c-0.226,-0.114 -0.449,-0.234 -0.668,-0.359z" fill="url(#paint0_linear)" fill-rule="evenodd" id="svg_2"/>
<circle cx="80.1" cy="151" fill="#D13587" id="svg_3" r="10"/>
<path clip-rule="evenodd" d="m153.9,129.651c6.903,-11.957 2.807,-27.247 -9.151,-34.151l-39.664,-22.9l0.023,11.56l34.641,20c7.175,4.143 9.633,13.316 5.491,20.491c-4.142,7.174 -13.316,9.632 -20.491,5.49l-19.052,-11c-2.392,-1.38 -5.45,-0.561 -6.83,1.83c-1.381,2.392 -0.562,5.45 1.83,6.831l19.052,11c11.958,6.903 27.247,2.806 34.151,-9.151zm-81.201,-55.443l-0.085,-0.049l-17.132,9.831c-1.231,9.691 3.316,19.621 12.306,24.812l20.784,12c2.392,1.38 5.45,0.561 6.83,-1.831c1.381,-2.391 0.562,-5.449 -1.83,-6.83l-20.784,-12c-7.175,-4.142 -9.633,-13.316 -5.491,-20.49c1.219,-2.111 2.863,-3.803 4.758,-5.044c0.212,-0.139 0.427,-0.272 0.644,-0.399z" fill="url(#paint1_linear)" fill-rule="evenodd" id="svg_4"/>
<circle cx="24.862" cy="55.151" fill="#4254DC" id="svg_5" r="10" transform="rotate(120, 24.8619, 55.151)"/>
<path clip-rule="evenodd" d="m6.5,129.75c6.904,11.957 22.193,16.054 34.151,9.15l39.664,-22.9l-10.023,-5.76l-34.641,20c-7.175,4.142 -16.349,1.684 -20.491,-5.49c-4.142,-7.175 -1.684,-16.349 5.491,-20.491l19.052,-11c2.392,-1.38 3.211,-4.438 1.83,-6.83c-1.38,-2.391 -4.438,-3.211 -6.83,-1.83l-19.052,11c-11.958,6.904 -16.055,22.193 -9.151,34.151zm88.615,-42.601l0.085,-0.049l0.053,-19.752c-7.777,-5.912 -18.651,-6.939 -27.641,-1.749l-20.784,12c-2.392,1.381 -3.211,4.439 -1.831,6.83c1.381,2.392 4.439,3.211 6.831,1.83l20.784,-12c7.175,-4.142 16.348,-1.684 20.491,5.491c1.218,2.11 1.862,4.38 1.989,6.642c0.014,0.252 0.022,0.505 0.023,0.757z" fill="url(#paint2_linear)" fill-rule="evenodd" id="svg_6"/>
<circle cx="135.538" cy="55.249" fill="#983AE2" id="svg_7" r="9.999992" transform="rotate(-120, 135.538, 55.2489)"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.3 KiB

@ -354,7 +354,7 @@ fn load_domains(context: &mut MutexGuard<Context>, handle: &Handle<()>) {
debug!("Domains: {:?}", &domains.values());
for (_identity, (domain, timestamp, data)) in domains {
let d = serde_json::to_string(&data).unwrap();
let command = format!("addMyDomain('{}', {}, '{}');", &domain, timestamp, &d);
let command = format!("addMyDomain('{}', {}, {}, '{}');", &domain, timestamp, timestamp + DOMAIN_LIFETIME, &d);
let _ = handle.dispatch(move |web_view|{
web_view.eval(&command)
});

@ -82,18 +82,53 @@
</div>
</div>
<p class="help">To mine domains you need to mine a strong pair of signing keys and a pair of encryption keys.</p>
<div class="notification is-warning mt-4">
<!--<button class="delete"></button>-->
If you have old keys in 32 or 64 byte format <strong>you need to save them to a new TOML format</strong>, otherwise you may encounter grave consequences!
<div style="width: 100%; height: 100%; align-items: center; display: flex;">
<svg width="410" height="164" style="margin-left: auto;margin-right: auto;" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="paint0_linear" x1="0.997969" x2="0.057969" y1="0" y2="0.999422">
<stop stop-color="#4254DC"/>
<stop offset="0.494792" stop-color="#3EAFDE"/>
<stop offset="1" stop-color="#56DDA1"/>
</linearGradient>
<linearGradient id="paint1_linear" x1="0.870025" x2="0.114921" y1="1.084078" y2="-0.159618">
<stop stop-color="#983AE2"/>
<stop offset="0.505208" stop-color="#6173F8"/>
<stop offset="1" stop-color="#4ED3F9"/>
</linearGradient>
<linearGradient id="paint2_linear" x1="0.166674" x2="0.953815" y1="1.06557" y2="-0.053071">
<stop stop-color="#D13587"/>
<stop offset="0.520833" stop-color="#F2496C"/>
<stop offset="1" stop-color="#FD7B68"/>
</linearGradient>
</defs>
<g class="layer">
<path d="m192.03,102.37c-0.987,0 -1.801,-0.321 -2.442,-0.962c-0.592,-0.641 -0.888,-1.431 -0.888,-2.368c0,-0.395 0.123,-0.888 0.37,-1.48l18.87,-44.548c0.395,-0.888 0.937,-1.603 1.628,-2.146c0.74,-0.592 1.628,-0.888 2.664,-0.888l0.74,0c1.036,0 1.899,0.296 2.59,0.888c0.74,0.543 1.307,1.258 1.702,2.146l18.87,44.548c0.247,0.592 0.37,1.085 0.37,1.48c0,0.937 -0.321,1.727 -0.962,2.368c-0.592,0.641 -1.381,0.962 -2.368,0.962c-0.691,0 -1.332,-0.173 -1.924,-0.518c-0.543,-0.395 -0.962,-0.913 -1.258,-1.554l-4.81,-11.544l-25.16,0l-4.81,11.544c-0.296,0.641 -0.74,1.159 -1.332,1.554c-0.543,0.345 -1.159,0.518 -1.85,0.518zm10.582,-19.758l19.98,0l-9.99,-24.05l-9.99,24.05zm53.139,19.388c-1.283,0 -2.393,-0.444 -3.33,-1.332c-0.888,-0.937 -1.332,-2.047 -1.332,-3.33l0,-43.956c0,-0.937 0.321,-1.727 0.962,-2.368c0.641,-0.691 1.431,-1.036 2.368,-1.036c0.937,0 1.727,0.345 2.368,1.036c0.691,0.641 1.036,1.431 1.036,2.368l0,41.884l24.198,0c0.937,0 1.727,0.345 2.368,1.036c0.691,0.641 1.036,1.431 1.036,2.368c0,0.937 -0.345,1.727 -1.036,2.368c-0.641,0.641 -1.431,0.962 -2.368,0.962l-26.27,0zm45.005,0.37c-0.938,0 -1.727,-0.321 -2.368,-0.962c-0.642,-0.641 -0.962,-1.431 -0.962,-2.368l0,-45.288c0,-0.937 0.32,-1.727 0.962,-2.368c0.641,-0.691 1.43,-1.036 2.368,-1.036l28.786,0c0.888,0 1.628,0.321 2.22,0.962c0.641,0.592 0.962,1.332 0.962,2.22c0,0.888 -0.321,1.628 -0.962,2.22c-0.592,0.592 -1.332,0.888 -2.22,0.888l-25.382,0l0,16.354l22.792,0c0.888,0 1.628,0.321 2.22,0.962c0.641,0.592 0.962,1.332 0.962,2.22c0,0.888 -0.321,1.628 -0.962,2.22c-0.592,0.592 -1.332,0.888 -2.22,0.888l-22.792,0l0,19.758c0,0.937 -0.346,1.727 -1.036,2.368c-0.642,0.641 -1.431,0.962 -2.368,0.962zm48.721,0c-0.937,0 -1.727,-0.321 -2.368,-0.962c-0.641,-0.641 -0.962,-1.431 -0.962,-2.368l0,-45.658c0,-0.937 0.321,-1.727 0.962,-2.368c0.641,-0.691 1.431,-1.036 2.368,-1.036c0.937,0 1.727,0.345 2.368,1.036c0.691,0.641 1.036,1.431 1.036,2.368l0,45.658c0,0.937 -0.345,1.727 -1.036,2.368c-0.641,0.641 -1.431,0.962 -2.368,0.962zm37.752,0.37c-6.266,0 -12.136,-1.184 -17.612,-3.552c-0.592,-0.247 -1.086,-0.641 -1.48,-1.184c-0.395,-0.592 -0.592,-1.209 -0.592,-1.85c0,-0.839 0.271,-1.554 0.814,-2.146c0.592,-0.641 1.332,-0.962 2.22,-0.962c0.493,0 0.962,0.099 1.406,0.296c4.538,2.023 9.398,3.034 14.578,3.034c8.633,0 12.95,-2.837 12.95,-8.51c0,-1.48 -0.568,-2.713 -1.702,-3.7c-1.086,-0.987 -2.442,-1.751 -4.07,-2.294c-1.628,-0.592 -3.947,-1.283 -6.956,-2.072c-3.996,-1.036 -7.228,-2.023 -9.694,-2.96c-2.467,-0.987 -4.588,-2.442 -6.364,-4.366c-1.776,-1.924 -2.664,-4.489 -2.664,-7.696c0,-2.812 0.74,-5.353 2.22,-7.622c1.48,-2.319 3.65,-4.144 6.512,-5.476c2.91,-1.381 6.388,-2.072 10.434,-2.072c5.426,0 10.335,0.814 14.726,2.442c1.381,0.493 2.072,1.48 2.072,2.96c0,0.789 -0.272,1.505 -0.814,2.146c-0.543,0.641 -1.258,0.962 -2.146,0.962c-0.296,0 -0.691,-0.099 -1.184,-0.296c-3.848,-1.332 -7.82,-1.998 -11.914,-1.998c-3.898,0 -7.08,0.74 -9.546,2.22c-2.418,1.48 -3.626,3.552 -3.626,6.216c0,1.776 0.567,3.231 1.702,4.366c1.184,1.085 2.639,1.949 4.366,2.59c1.776,0.592 4.168,1.233 7.178,1.924c3.897,0.937 7.03,1.875 9.398,2.812c2.417,0.937 4.464,2.393 6.142,4.366c1.726,1.973 2.59,4.637 2.59,7.992c0,2.763 -0.79,5.254 -2.368,7.474c-1.579,2.171 -3.799,3.873 -6.66,5.106c-2.862,1.233 -6.167,1.85 -9.916,1.85z" fill="#2B357D" id="svg_1"/>
<path clip-rule="evenodd" d="m80.1,2c-13.807,0 -25,11.193 -25,25l0,45.8l10,-5.8l0,-40c0,-8.284 6.716,-15 15,-15c8.284,0 15,6.716 15,15l0,22c0,2.761 2.239,5 5,5c2.762,0 5,-2.239 5,-5l0,-22c0,-13.807 -11.193,-25 -25,-25zm-7.415,98.043l0,0.098l17.08,9.922c9.008,-3.779 15.335,-12.682 15.335,-23.063l0,-24c0,-2.761 -2.238,-5 -5,-5c-2.761,0 -5,2.239 -5,5l0,24c0,8.284 -6.716,15 -15,15c-2.437,0 -4.724,-0.577 -6.747,-1.598c-0.226,-0.114 -0.449,-0.234 -0.668,-0.359z" fill="url(#paint0_linear)" fill-rule="evenodd" id="svg_2"/>
<circle cx="80.1" cy="151" fill="#D13587" id="svg_3" r="10"/>
<path clip-rule="evenodd" d="m153.9,129.651c6.903,-11.957 2.807,-27.247 -9.151,-34.151l-39.664,-22.9l0.023,11.56l34.641,20c7.175,4.143 9.633,13.316 5.491,20.491c-4.142,7.174 -13.316,9.632 -20.491,5.49l-19.052,-11c-2.392,-1.38 -5.45,-0.561 -6.83,1.83c-1.381,2.392 -0.562,5.45 1.83,6.831l19.052,11c11.958,6.903 27.247,2.806 34.151,-9.151zm-81.201,-55.443l-0.085,-0.049l-17.132,9.831c-1.231,9.691 3.316,19.621 12.306,24.812l20.784,12c2.392,1.38 5.45,0.561 6.83,-1.831c1.381,-2.391 0.562,-5.449 -1.83,-6.83l-20.784,-12c-7.175,-4.142 -9.633,-13.316 -5.491,-20.49c1.219,-2.111 2.863,-3.803 4.758,-5.044c0.212,-0.139 0.427,-0.272 0.644,-0.399z" fill="url(#paint1_linear)" fill-rule="evenodd" id="svg_4"/>
<circle cx="24.862" cy="55.151" fill="#4254DC" id="svg_5" r="10" transform="rotate(120, 24.8619, 55.151)"/>
<path clip-rule="evenodd" d="m6.5,129.75c6.904,11.957 22.193,16.054 34.151,9.15l39.664,-22.9l-10.023,-5.76l-34.641,20c-7.175,4.142 -16.349,1.684 -20.491,-5.49c-4.142,-7.175 -1.684,-16.349 5.491,-20.491l19.052,-11c2.392,-1.38 3.211,-4.438 1.83,-6.83c-1.38,-2.391 -4.438,-3.211 -6.83,-1.83l-19.052,11c-11.958,6.904 -16.055,22.193 -9.151,34.151zm88.615,-42.601l0.085,-0.049l0.053,-19.752c-7.777,-5.912 -18.651,-6.939 -27.641,-1.749l-20.784,12c-2.392,1.381 -3.211,4.439 -1.831,6.83c1.381,2.392 4.439,3.211 6.831,1.83l20.784,-12c7.175,-4.142 16.348,-1.684 20.491,5.491c1.218,2.11 1.862,4.38 1.989,6.642c0.014,0.252 0.022,0.505 0.023,0.757z" fill="url(#paint2_linear)" fill-rule="evenodd" id="svg_6"/>
<circle cx="135.538" cy="55.249" fill="#983AE2" id="svg_7" r="9.999992" transform="rotate(-120, 135.538, 55.2489)"/>
</g>
</svg>
</div>
</div>
<!-- Domain mining -->
<div class="tab row page is-hidden" id="tab_domains" style="align-items: center;">
<div id="my_domains" class="container is-fluid cards-container mt-0">
<table class="table is-hoverable is-fullwidth">
<thead>
<tr>
<th>Domain</th>
<th>Records</th>
<th>Last mined</th>
<th>Expires</th>
</tr>
</thead>
<tbody id="my_domains">
<!-- Here will be our domains -->
</div>
</tbody>
</table>
<button class="button is-link mt-2" onclick="showNewDomainDialog()" style="max-width: 200px;">New domain</button>
</div>

@ -119,17 +119,31 @@ function clearMyDomains() {
myDomains = [];
}
function addMyDomain(name, timestamp, data) {
myDomains.push({name: name, timestamp: timestamp, data: data});
function addMyDomain(name, timestamp, expire, data) {
myDomains.push({name: name, timestamp: timestamp, expire: expire, data: data});
}
function formatDate(date) {
var month = date.getMonth() + 1;
if (month < 10) {
month = "0" + month;
}
var day = date.getDate();
if (day < 10) {
day = "0" + day;
}
return "{y}-{m}-{d}".replace("{y}", date.getFullYear()).replace("{m}", month).replace("{d}", day);
}
function refreshMyDomains() {
var card = '<div class="card is-clickable is-inline-block" onclick="editDomain(\'{domain}\', event);"><div class="card-content p-3"><div class="content is-small"><h3>{title}</h3><div class="tags">{tags}</div></div></div></div>';
var row = '<tr class="is-clickable" onclick="editDomain(\'{domain}\', event);"><td class="has-text-weight-semibold">{title}</td><td class="w100"><div class="tags">{tags}</div></td><td>{date1}</td><td>{date2}</td></tr>';
var tag = '<span class="tag" title="{ip}">{domain}</span>';
var cards = "";
var rows = "";
myDomains.forEach(function(value, index, array) {
var title = value.name;
var domain_data = JSON.parse(value.data);
var start = formatDate(new Date(value.timestamp * 1000));
var expire = formatDate(new Date(value.expire * 1000));
var tags = "";
if (typeof domain_data.records !== 'undefined') {
domain_data.records.forEach(function(v, i, a) {
@ -146,9 +160,9 @@ function refreshMyDomains() {
} else {
tags = tag.replace("{domain}", "No records").replace("{ip}", "");
}
cards = cards + card.replace("{title}", title).replace("{domain}", title).replace("{tags}", tags);
rows = rows + row.replace("{title}", title).replace("{domain}", title).replace("{tags}", tags).replace("{date1}", start).replace("{date2}", expire);
});
document.getElementById("my_domains").innerHTML = cards;
document.getElementById("my_domains").innerHTML = rows;
}
function editDomain(domain, event) {

@ -114,11 +114,19 @@ body {
margin-right: 0.8rem;
}
.w100 {
width: 100%;
}
th, td {
white-space: nowrap;
}
.list {
overflow-y: auto;
}
path {
.icon > svg > path {
fill: #4a4a4a;
}

Loading…
Cancel
Save