1
0

crosslinks

This commit is contained in:
Mike Schwörer 2018-01-26 21:00:50 +01:00
parent 3ecbaf0bff
commit c3566d9338
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
9 changed files with 151 additions and 76 deletions

View File

@ -115,6 +115,31 @@ body {
.button:hover { .button:hover {
background-color: #555; } background-color: #555; }
.iconbutton {
display: flex;
justify-content: center;
align-items: center;
background: #222;
color: #CCC;
text-decoration: none;
border: 1px solid #000;
margin: 5px 0; }
.iconbutton:hover {
cursor: pointer;
background-color: #555; }
.iconbutton svg {
width: 14pt;
height: 14pt;
margin: 0 4px;
fill: #CCC; }
.iconbutton span {
flex-grow: 1;
text-align: center;
font-size: 14pt; }
/* 400px */ /* 400px */
#headerdiv { #headerdiv {
z-index: 999; z-index: 999;
@ -805,37 +830,12 @@ html, body {
display: flex; display: flex;
justify-content: right; } justify-content: right; }
.prgv_dl_btn {
display: flex;
justify-content: center;
align-items: center;
background: #222;
color: #CCC;
text-decoration: none;
border: 1px solid #000;
margin: 5px 0; }
.prgv_dl_download { .prgv_dl_download {
background: #442222; } background: #442222; }
.prgv_dl_github { .prgv_dl_github {
background: #4078C0; } background: #4078C0; }
.prgv_dl_btn:hover {
cursor: pointer;
background-color: #555; }
.prgv_dl_btn svg {
width: 14pt;
height: 14pt;
margin: 0 4px;
fill: #CCC; }
.prgv_dl_btn span {
flex-grow: 1;
text-align: center;
font-size: 14pt; }
.prgv_right_lang img { .prgv_right_lang img {
display: inline; display: inline;
height: 16pt; height: 16pt;
@ -969,6 +969,15 @@ html, body {
text-decoration: none; text-decoration: none;
color: #22F; } color: #22F; }
.about_circles {
display: flex;
flex-direction: column; }
.about_circles a {
margin: 5px 0; }
.about_circles .iconbutton span {
text-align: left; }
/* 400px */ /* 400px */
.admincontent { .admincontent {
display: block; display: block;

View File

@ -23,6 +23,10 @@ body{background-color:#EEE;color:#CCC;font-family:serif}
.boxedcontent .bc_data{padding:8px} .boxedcontent .bc_data{padding:8px}
.button{color:#DDD;text-decoration:none;background-color:#222;font-size:1rem;border:1px solid black;height:36px;line-height:36px;padding:2px 2rem} .button{color:#DDD;text-decoration:none;background-color:#222;font-size:1rem;border:1px solid black;height:36px;line-height:36px;padding:2px 2rem}
.button:hover{background-color:#555} .button:hover{background-color:#555}
.iconbutton{display:flex;justify-content:center;align-items:center;background:#222;color:#CCC;text-decoration:none;border:1px solid #000;margin:5px 0}
.iconbutton:hover{cursor:pointer;background-color:#555}
.iconbutton svg{width:14pt;height:14pt;margin:0 4px;fill:#CCC}
.iconbutton span{flex-grow:1;text-align:center;font-size:14pt}
#headerdiv{z-index:999;background-color:#333;display:flex;border-bottom:1px solid #111;box-shadow:0 0 8px #000;position:fixed;width:100%} #headerdiv{z-index:999;background-color:#333;display:flex;border-bottom:1px solid #111;box-shadow:0 0 8px #000;position:fixed;width:100%}
#headerdiv .logowrapper{flex:initial;margin:0;padding:0;height:42px} #headerdiv .logowrapper{flex:initial;margin:0;padding:0;height:42px}
#headerdiv .logowrapper .logo{min-width:197.5px;height:30px;margin:4px 0 8px 6px;flex:initial} #headerdiv .logowrapper .logo{min-width:197.5px;height:30px;margin:4px 0 8px 6px;flex:initial}
@ -204,12 +208,8 @@ html,body{margin:0;padding:0;height:100%}
.prgv_right_value a:hover{color:#339;text-decoration:none} .prgv_right_value a:hover{color:#339;text-decoration:none}
.prgv_right_comb{grid-column:1 / span 2} .prgv_right_comb{grid-column:1 / span 2}
.prgv_right_lang{display:flex;justify-content:right} .prgv_right_lang{display:flex;justify-content:right}
.prgv_dl_btn{display:flex;justify-content:center;align-items:center;background:#222;color:#CCC;text-decoration:none;border:1px solid #000;margin:5px 0}
.prgv_dl_download{background:#422} .prgv_dl_download{background:#422}
.prgv_dl_github{background:#4078c0} .prgv_dl_github{background:#4078c0}
.prgv_dl_btn:hover{cursor:pointer;background-color:#555}
.prgv_dl_btn svg{width:14pt;height:14pt;margin:0 4px;fill:#CCC}
.prgv_dl_btn span{flex-grow:1;text-align:center;font-size:14pt}
.prgv_right_lang img{display:inline;height:16pt;max-width:32px;margin:1px 2px 0 2px} .prgv_right_lang img{display:inline;height:16pt;max-width:32px;margin:1px 2px 0 2px}
.prgv_center{margin:0 8px 8px 8px;padding:16px;background:#EEE;border:1px solid rgba(0,0,0,0.15)} .prgv_center{margin:0 8px 8px 8px;padding:16px;background:#EEE;border:1px solid rgba(0,0,0,0.15)}
.prgv_sep{margin:40px 0 40px 0;display:block;border:0;color:white;height:1px;background:#666666FF;background:-moz-radial-gradient(circle,#666,#FFFFFF00);background:-webkit-radial-gradient(circle,#666 0,#FFFFFF00 100%)} .prgv_sep{margin:40px 0 40px 0;display:block;border:0;color:white;height:1px;background:#666666FF;background:-moz-radial-gradient(circle,#666,#FFFFFF00);background:-webkit-radial-gradient(circle,#666 0,#FFFFFF00 100%)}
@ -238,6 +238,9 @@ html,body{margin:0;padding:0;height:100%}
.egg_footer{margin-top:5px;text-align:right;margin-right:5px;margin-bottom:5px;color:#888} .egg_footer{margin-top:5px;text-align:right;margin-right:5px;margin-bottom:5px;color:#888}
.egg_footer>a{text-decoration:none;color:inherit} .egg_footer>a{text-decoration:none;color:inherit}
.egg_footer>a:hover{text-decoration:none;color:#22F} .egg_footer>a:hover{text-decoration:none;color:#22F}
.about_circles{display:flex;flex-direction:column}
.about_circles a{margin:5px 0}
.about_circles .iconbutton span{text-align:left}
.admincontent{display:block;width:100%} .admincontent{display:block;width:100%}
.admincontent .boxedcontent{margin-bottom:20px} .admincontent .boxedcontent{margin-bottom:20px}
.egh_ajaxOutput{display:flex;box-sizing:border-box;width:100%;align-self:center;justify-self:center;margin-left:auto;margin-right:auto;resize:none;height:300px} .egh_ajaxOutput{display:flex;box-sizing:border-box;width:100%;align-self:center;justify-self:center;margin-left:auto;margin-right:auto;resize:none;height:300px}

View File

@ -102,3 +102,16 @@
text-decoration: none; text-decoration: none;
color: #22F; color: #22F;
} }
.about_circles {
display: flex;
flex-direction: column;
}
.about_circles {
a { margin: 5px 0; }
.iconbutton span {text-align: left;}
}

View File

@ -120,3 +120,36 @@ body {
.button:hover { .button:hover {
background-color: #555; background-color: #555;
} }
.iconbutton {
display: flex;
justify-content: center;
align-items: center;
background: #222;
color: $COL_TEXT_NORMAL;
text-decoration: none;
border: 1px solid #000;
margin: 5px 0;
}
.iconbutton:hover {
cursor: pointer;
background-color: #555;
}
.iconbutton svg {
width: 14pt;
height: 14pt;
margin: 0 4px;
fill: $COL_TEXT_NORMAL;
}
.iconbutton span {
flex-grow: 1;
text-align: center;
font-size: 14pt;
}

View File

@ -84,42 +84,9 @@
justify-content: right; justify-content: right;
} }
.prgv_dl_btn {
display: flex;
justify-content: center;
align-items: center;
background: #222;
color: $COL_TEXT_NORMAL;
text-decoration: none;
border: 1px solid #000;
margin: 5px 0;
}
.prgv_dl_download { background: #442222; } .prgv_dl_download { background: #442222; }
.prgv_dl_github { background: $COL_GITHUB; } .prgv_dl_github { background: $COL_GITHUB; }
.prgv_dl_btn:hover {
cursor: pointer;
background-color: #555;
}
.prgv_dl_btn svg {
width: 14pt;
height: 14pt;
margin: 0 4px;
fill: $COL_TEXT_NORMAL;
}
.prgv_dl_btn span {
flex-grow: 1;
text-align: center;
font-size: 14pt;
}
.prgv_right_lang img { .prgv_right_lang img {
display: inline; display: inline;
height: 16pt; height: 16pt;

View File

@ -9,4 +9,8 @@
<path id="wiki" class="svg_path" d="M22.5 16.875V1.125c0-.623-.502-1.125-1.125-1.125H6C3.516 0 1.5 2.016 1.5 4.5v15c0 2.484 2.016 4.5 4.5 4.5h15.375c.623 0 1.125-.502 1.125-1.125v-.75c0-.352-.164-.67-.417-.877-.197-.722-.197-2.78 0-3.502.253-.202.417-.52.417-.872zM7.5 6.281c0-.155.127-.281.281-.281h9.938c.155 0 .281.127 .281.281v.938c0 .155-.127.281-.281.281H7.781c-.155 0-.281-.127-.281-.281v-.937zm0 3c0-.155.127-.281.281-.281h9.938c.155 0 .281.127 .281.281v.938c0 .155-.127.281-.281.281H7.781c-.155 0-.281-.127-.281-.281v-.937zm11.878 11.719H6c-.83 0-1.5-.67-1.5-1.5 0-.825.675-1.5 1.5-1.5h13.378c-.089.802-.089 2.198 0 3z"/> <path id="wiki" class="svg_path" d="M22.5 16.875V1.125c0-.623-.502-1.125-1.125-1.125H6C3.516 0 1.5 2.016 1.5 4.5v15c0 2.484 2.016 4.5 4.5 4.5h15.375c.623 0 1.125-.502 1.125-1.125v-.75c0-.352-.164-.67-.417-.877-.197-.722-.197-2.78 0-3.502.253-.202.417-.52.417-.872zM7.5 6.281c0-.155.127-.281.281-.281h9.938c.155 0 .281.127 .281.281v.938c0 .155-.127.281-.281.281H7.781c-.155 0-.281-.127-.281-.281v-.937zm0 3c0-.155.127-.281.281-.281h9.938c.155 0 .281.127 .281.281v.938c0 .155-.127.281-.281.281H7.781c-.155 0-.281-.127-.281-.281v-.937zm11.878 11.719H6c-.83 0-1.5-.67-1.5-1.5 0-.825.675-1.5 1.5-1.5h13.378c-.089.802-.089 2.198 0 3z"/>
<path id="windows" class="svg_path" d="M0 3.449L9.75 2.1v9.451H0m10.949-9.602L24 0v11.4H10.949M0 12.6h9.75v9.451L0 20.699M10.949 12.6H24V24l-12.9-1.801"/> <path id="windows" class="svg_path" d="M0 3.449L9.75 2.1v9.451H0m10.949-9.602L24 0v11.4H10.949M0 12.6h9.75v9.451L0 20.699M10.949 12.6H24V24l-12.9-1.801"/>
<path id="alternativeto" class="svg_path" d="M10.664 3.548c-1.58.136-2.686.614-3.005 1.303-.103.211-.112.3-.112.914 0 .787.047 .938.356 1.111.258 .15.623 .141 1.284-.033 1.838-.473 3.389-.408 4.031.173 .281.253 .408.478 .497.9 .098.469 .103.459-.202.492-1.003.117-2.208.384-3.014.666-2.93 1.017-4.406 3.056-4.406 6.075 0 1.542.548 2.855 1.612 3.872.67 .633 1.481 1.055 2.419 1.256.609 .131 1.767.122 2.297-.023.516-.136 1.167-.45 1.519-.722l.277-.22.127 .248c.089.183 .173.272 .328.361 .206.113 .239.117 1.27.131 .708.009 1.13-.005 1.266-.037.258-.07.53-.338.6-.586.07-.262.07-11.081 0-11.672-.272-2.213-1.664-3.6-4.064-4.055-.872-.164-2.213-.23-3.08-.155zm3.108 10.045c-.014 1.636-.023 1.725-.122 2.006-.131.361-.277.605-.506.825-.652.633-1.903.572-2.475-.127-.427-.525-.591-1.359-.431-2.236.248-1.369 1.12-2.095 3.122-2.602l.398-.098.014 .258c.009.145 .009 1.031 0 1.973z"/> <path id="alternativeto" class="svg_path" d="M10.664 3.548c-1.58.136-2.686.614-3.005 1.303-.103.211-.112.3-.112.914 0 .787.047 .938.356 1.111.258 .15.623 .141 1.284-.033 1.838-.473 3.389-.408 4.031.173 .281.253 .408.478 .497.9 .098.469 .103.459-.202.492-1.003.117-2.208.384-3.014.666-2.93 1.017-4.406 3.056-4.406 6.075 0 1.542.548 2.855 1.612 3.872.67 .633 1.481 1.055 2.419 1.256.609 .131 1.767.122 2.297-.023.516-.136 1.167-.45 1.519-.722l.277-.22.127 .248c.089.183 .173.272 .328.361 .206.113 .239.117 1.27.131 .708.009 1.13-.005 1.266-.037.258-.07.53-.338.6-.586.07-.262.07-11.081 0-11.672-.272-2.213-1.664-3.6-4.064-4.055-.872-.164-2.213-.23-3.08-.155zm3.108 10.045c-.014 1.636-.023 1.725-.122 2.006-.131.361-.277.605-.506.825-.652.633-1.903.572-2.475-.127-.427-.525-.591-1.359-.431-2.236.248-1.369 1.12-2.095 3.122-2.602l.398-.098.014 .258c.009.145 .009 1.031 0 1.973z"/>
<path id="reddit" class="svg_path" d="M2.204 14.049c-.06.276-.091.56-.091.847 0 3.443 4.402 6.249 9.814 6.249 5.41 0 9.812-2.804 9.812-6.249 0-.274-.029-.546-.082-.809l-.015-.032c-.021-.055-.029-.11-.029-.165-.302-1.175-1.117-2.241-2.296-3.103-.045-.016-.088-.039-.126-.07-.026-.02-.045-.042-.067-.064-1.792-1.234-4.356-2.008-7.196-2.008-2.815 0-5.354.759-7.146 1.971-.014.018-.029.033-.049.049-.039.033-.084.06-.13.075-1.206.862-2.042 1.937-2.354 3.123 0 .058-.014.114-.037.171l-.008.015zm9.773 5.441c-1.794 0-3.057-.389-3.863-1.197-.173-.174-.173-.457 0-.632.176-.165.46-.165.635 0 .63.629 1.685.943 3.228.943 1.542 0 2.591-.3 3.219-.929.165-.164.45-.164.629 0 .165.18.165.465 0 .645-.809.808-2.065 1.198-3.862 1.198l.014-.028zm-3.606-7.573c-.914 0-1.677.765-1.677 1.677 0 .91.763 1.65 1.677 1.65s1.651-.74 1.651-1.65c0-.912-.739-1.677-1.651-1.677zm7.233 0c-.914 0-1.678.765-1.678 1.677 0 .91.764 1.65 1.678 1.65s1.651-.74 1.651-1.65c0-.912-.739-1.677-1.651-1.677zm4.548-1.595c1.037.833 1.8 1.821 2.189 2.904.45-.336.719-.864.719-1.449 0-1.002-.815-1.816-1.818-1.816-.399 0-.778.129-1.09.363v-.002zM2.711 9.963c-1.003 0-1.817.816-1.817 1.818 0 .543.239 1.048.644 1.389.401-1.079 1.172-2.053 2.213-2.876-.302-.21-.663-.329-1.039-.329v-.002zm9.217 12.079c-5.906 0-10.709-3.205-10.709-7.142 0-.275.023-.544.068-.809C.494 13.598 0 12.729 0 11.777c0-1.496 1.227-2.713 2.725-2.713.674 0 1.303.246 1.797.682 1.856-1.191 4.357-1.941 7.112-1.992l1.812-5.524.404.095s.016 0 .016.002l4.223.993c.344-.798 1.138-1.36 2.065-1.36 1.229 0 2.231 1.004 2.231 2.234 0 1.232-1.003 2.234-2.231 2.234s-2.23-1.004-2.23-2.23l-3.851-.912-1.467 4.477c2.65.105 5.047.854 6.844 2.021.494-.464 1.144-.719 1.833-.719 1.498 0 2.718 1.213 2.718 2.711 0 .987-.54 1.886-1.378 2.365.029.255.059.494.059.749-.015 3.938-4.806 7.143-10.72 7.143l-.034.009zm8.179-19.187c-.74 0-1.34.599-1.34 1.338 0 .738.6 1.34 1.34 1.34.732 0 1.33-.6 1.33-1.334 0-.733-.598-1.332-1.347-1.332l.017-.012z"/>
<path id="stackoverflow" class="svg_path" d="M18.986 21.865v-6.404h2.134V24H1.844v-8.539h2.13v6.404h15.012zM6.111 19.731H16.85v-2.137H6.111v2.137zm.259-4.852l10.48 2.189.451-2.07-10.478-2.187-.453 2.068zm1.359-5.056l9.705 4.53.903-1.95-9.706-4.53-.902 1.936v.014zm2.715-4.785l8.217 6.855 1.359-1.62-8.216-6.853-1.35 1.617-.01.001zM15.751 0l-1.746 1.294 6.405 8.604 1.746-1.294L15.749 0h.002z"/>
<path id="goodreads" class="svg_path" d="M19.525 15.977V.49h-2.059v2.906h-.064c-.211-.455-.481-.891-.842-1.307-.36-.412-.767-.777-1.232-1.094-.466-.314-.962-.561-1.519-.736C13.256.09 12.669 0 12.038 0c-1.21 0-2.3.225-3.246.67-.947.447-1.743 1.057-2.385 1.83-.642.773-1.133 1.676-1.47 2.711-.336 1.037-.506 2.129-.506 3.283 0 1.199.141 2.326.425 3.382.286 1.057.737 1.976 1.368 2.762.631.78 1.412 1.397 2.375 1.833.961.436 2.119.661 3.471.661 1.248 0 2.33-.315 3.262-.946s1.638-1.473 2.119-2.525h.061v2.284c0 2.044-.421 3.607-1.264 4.705-.84 1.081-2.224 1.638-4.146 1.638-.572 0-1.128-.061-1.669-.181-.542-.12-1.036-.315-1.487-.57-.437-.271-.827-.601-1.143-1.038-.316-.435-.526-.961-.632-1.593H5.064c.067.887.315 1.654.737 2.3.424.646.961 1.172 1.602 1.593.641.406 1.367.706 2.172.902.811.194 1.639.3 2.494.3 1.383 0 2.541-.195 3.486-.555.947-.376 1.714-.902 2.301-1.608.601-.708 1.021-1.549 1.293-2.556.27-1.007.42-2.134.42-3.367l-.044.062zm-7.484-.557c-.955 0-1.784-.189-2.479-.571-.697-.38-1.277-.882-1.732-1.503-.467-.621-.797-1.332-1.022-2.139s-.332-1.633-.332-2.484c0-.871.105-1.725.301-2.563.21-.84.54-1.587.992-2.24.451-.652 1.037-1.182 1.728-1.584s1.533-.605 2.51-.605 1.803.209 2.495.621c.676.415 1.247.959 1.683 1.634.436.677.751 1.429.947 2.255.195.826.285 1.656.285 2.482 0 .852-.12 1.678-.345 2.484-.226.807-.572 1.518-1.038 2.139-.465.621-1.021 1.123-1.698 1.503-.676.382-1.458.571-2.359.571h.064z"/>
<path id="delphipraxis" class="svg_path" d="M3.301 5.558.603 18.442H5.147C6.289 18.442 7.136 18.378 7.687 18.249 8.66 18.015 9.453 17.651 10.069 17.159 10.871 16.526 11.537 15.674 12.064 14.602 12.288 14.148 12.465 13.666 12.595 13.157L11.488 18.442H14.142L15.171 13.529H16.867C18.009 13.529 18.789 13.5 19.205 13.442 19.92 13.342 20.488 13.198 20.91 13.011 21.332 12.817 21.724 12.536 22.088 12.167 22.457 11.798 22.767 11.306 23.019 10.69 23.271 10.075 23.397 9.442 23.397 8.792 23.397 8.089 23.239 7.485 22.923 6.981 22.606 6.472 22.176 6.108 21.631 5.892 21.092 5.669 20.356 5.558 19.424 5.558H14.186L12.739 12.468C12.822 11.97 12.864 11.448 12.864 10.901 12.864 10.257 12.796 9.665 12.662 9.126 12.527 8.581 12.333 8.101 12.081 7.685 11.835 7.269 11.539 6.914 11.194 6.621 10.854 6.322 10.473 6.091 10.051 5.927 9.635 5.763 9.16 5.654 8.627 5.602 8.358 5.572 7.74 5.558 6.773 5.558H3.301zM16.392 7.676H18.291C19.152 7.676 19.706 7.723 19.952 7.817 20.204 7.904 20.397 8.048 20.532 8.247 20.673 8.446 20.743 8.701 20.743 9.012 20.743 9.475 20.608 9.899 20.338 10.286 20.069 10.673 19.7 10.954 19.231 11.13 18.762 11.306 17.828 11.394 16.428 11.394H15.61L16.392 7.676zM5.498 7.685H7.037C7.816 7.685 8.358 7.737 8.662 7.843 9.096 7.995 9.459 8.303 9.752 8.766 10.051 9.223 10.201 9.908 10.201 10.822 10.201 11.895 10.022 12.826 9.664 13.617 9.307 14.408 8.868 15.041 8.346 15.516 7.983 15.844 7.581 16.069 7.142 16.192 6.708 16.31 6.005 16.368 5.033 16.368H3.688L5.498 7.685z"/>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -191,4 +191,3 @@ try {
//TODO programs add [license] //TODO programs add [license]
//TODO last 3 blog entries on /index/ (?) //TODO last 3 blog entries on /index/ (?)
//TODO global uncached error logger -> send by mail //TODO global uncached error logger -> send by mail
//TODO crosslinks to /about/ (goodreads, github, reddit, gitea, delphipraxis, stackoverflow)

View File

@ -23,19 +23,24 @@ global $OPTIONS;
<div class="contentheader"><h1>About mikescher.com</h1><hr/></div> <div class="contentheader"><h1>About mikescher.com</h1><hr/></div>
<!------------------------------------------>
<div class="boxedcontent"> <div class="boxedcontent">
<div class="bc_header">About me</div> <div class="bc_header">About me</div>
<div class="bc_data"> <div class="bc_data">
<p>Welcome to my private homepage.</p> <p>Welcome to my Mikescher.com</p>
<p>My name is Mike, and this is my homepage. I use it to upload programs I have written and sometimes for a little bit of blogging.</p> <p>This is my personal homepage, I use it to upload programs I have written, web serials I have style-setted and sometimes for a little bit of blogging.</p>
<p>There are also sections about Project Euler, self-printed books and more</p> <p>Its mostly just a collection of stuff I wanted to put only, but I guess thats the core of most personal homepages</p>
</div> </div>
</div> </div>
<!------------------------------------------>
<div class="boxedcontent"> <div class="boxedcontent">
<div class="bc_header">My git timeline</div> <div class="bc_header">My git timeline</div>
@ -47,6 +52,48 @@ global $OPTIONS;
</div> </div>
<!------------------------------------------>
<div class="boxedcontent">
<div class="bc_header">Other addresses</div>
<div class="bc_data about_circles">
<a class="iconbutton" href="https://github.com/Mikescher">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
<use xlink:href="/data/images/icons.svg#github"></use>
</svg>
<span>Github</span>
</a>
<a class="iconbutton" href="https://www.goodreads.com/C4terpillar">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
<use xlink:href="/data/images/icons.svg#goodreads"></use>
</svg>
<span>Goodreads</span>
</a>
<a class="iconbutton" href="https://stackoverflow.com/users/1761622/mikescher">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
<use xlink:href="/data/images/icons.svg#stackoverflow"></use>
</svg>
<span>Stackoverflow</span>
</a>
<a class="iconbutton" href="https://www.reddit.com/user/M1kescher/">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
<use xlink:href="/data/images/icons.svg#reddit"></use>
</svg>
<span>Reddit</span>
</a>
<a class="iconbutton" href="http://www.delphipraxis.net/members/46235-mikescher.html">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
<use xlink:href="/data/images/icons.svg#delphipraxis"></use>
</svg>
<span>Delphi-Praxis</span>
</a>
</div>
</div>
</div> </div>
</div> </div>

View File

@ -52,16 +52,16 @@ if ($prog === NULL) httpError(404, 'Program not found');
<?php <?php
foreach ($prog['urls'] as $type => $url) foreach ($prog['urls'] as $type => $url)
{ {
if ($type === 'download') echo '<a class="prgv_dl_btn prgv_dl_download" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#download" /></svg><span>Download</span></a>'; if ($type === 'download') echo '<a class="iconbutton prgv_dl_download" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#download" /></svg><span>Download</span></a>';
if ($type === 'github') echo '<a class="prgv_dl_btn prgv_dl_github" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#github" /></svg><span>Github</span></a>'; if ($type === 'github') echo '<a class="iconbutton prgv_dl_github" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#github" /></svg><span>Github</span></a>';
if ($type === 'homepage') echo '<a class="prgv_dl_btn prgv_dl_homepage" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#home" /></svg><span>Homepage</span></a>'; if ($type === 'homepage') echo '<a class="iconbutton prgv_dl_homepage" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#home" /></svg><span>Homepage</span></a>';
if ($type === 'wiki') echo '<a class="prgv_dl_btn prgv_dl_wiki" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#wiki" /></svg><span>Wiki</span></a>'; if ($type === 'wiki') echo '<a class="iconbutton prgv_dl_wiki" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#wiki" /></svg><span>Wiki</span></a>';
if ($type === 'playstore') echo '<a class="prgv_dl_btn prgv_dl_playstore" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#playstore" /></svg><span>Google Playstore</span></a>'; if ($type === 'playstore') echo '<a class="iconbutton prgv_dl_playstore" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#playstore" /></svg><span>Google Playstore</span></a>';
if ($type === 'amazonappstore') echo '<a class="prgv_dl_btn prgv_dl_amznstore" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#amazon" /></svg><span>Amazon Appstore</span></a>'; if ($type === 'amazonappstore') echo '<a class="iconbutton prgv_dl_amznstore" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#amazon" /></svg><span>Amazon Appstore</span></a>';
if ($type === 'windowsstore') echo '<a class="prgv_dl_btn prgv_dl_winstore" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#windows" /></svg><span>Microsoft Store</span></a>'; if ($type === 'windowsstore') echo '<a class="iconbutton prgv_dl_winstore" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#windows" /></svg><span>Microsoft Store</span></a>';
if ($type === 'itunesstore') echo '<a class="prgv_dl_btn prgv_dl_appstore" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#apple" /></svg><span>App Store</span></a>'; if ($type === 'itunesstore') echo '<a class="iconbutton prgv_dl_appstore" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#apple" /></svg><span>App Store</span></a>';
if ($type === 'sourceforge') echo '<a class="prgv_dl_btn prgv_dl_sourceforge" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#sourceforge" /></svg><span>Sourceforge</span></a>'; if ($type === 'sourceforge') echo '<a class="iconbutton prgv_dl_sourceforge" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#sourceforge" /></svg><span>Sourceforge</span></a>';
if ($type === 'alternativeto') echo '<a class="prgv_dl_btn prgv_dl_alternativeto" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#alternativeto"/></svg><span>AlternativeTo</span></a>'; if ($type === 'alternativeto') echo '<a class="iconbutton prgv_dl_alternativeto" href="'.$url.'"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24"><use xlink:href="/data/images/icons.svg#alternativeto"/></svg><span>AlternativeTo</span></a>';
} }
?> ?>
</div> </div>