Format copyright, correct GitHub Pages & etc. (#71)
* format copyright * correct GitHub Pages * add EN Hormone Converterpull/73/head
parent
fc2a0bbfd3
commit
9b453961db
|
@ -28,7 +28,7 @@ As for the original intention of building this website, in addition to providing
|
|||
|
||||
## Acknowledgement
|
||||
|
||||
We run a [Hugo][hugo-url] on [github pages][wiki-url] with theme [zdoc][zdoc-url]. Thanks for them.
|
||||
We run a [Hugo][hugo-url] on [GitHub Pages][wiki-url] with theme [zdoc][zdoc-url]. Thanks for them.
|
||||
|
||||
Many materials were referred to during the process of writing this project, we would like to say thank you here.
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ En cuanto al propósito original de construir este sitio, además de proporciona
|
|||
|
||||
## Agradecimiento
|
||||
|
||||
Ejecutamos [Hugo][hugo-url] en [github pages][wiki-url]. Tema visual [zdoc][zdoc-url]. Muchas gracias.
|
||||
Ejecutamos [Hugo][hugo-url] en [GitHub Pages][wiki-url]. Tema visual [zdoc][zdoc-url]. Muchas gracias.
|
||||
|
||||
En la elaboración de este proyecto se han hecho numerosas referencias, que se agradecen.
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ MtF Wiki 致力於成為一個免費開放且持續更新的跨性別知識整
|
|||
|
||||
## 致謝
|
||||
|
||||
本專案目前採用 [Hugo][hugo-url] 部署在 [github pages][wiki-url]。主題使用 [zdoc][zdoc-url],對此表示感謝!
|
||||
本專案目前採用 [Hugo][hugo-url] 部署在 [GitHub Pages][wiki-url]。主題使用 [zdoc][zdoc-url],對此表示感謝!
|
||||
|
||||
本專案在編寫過程中參考了諸多資料,在此一併致謝。
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ MtF Wiki 致力于成为一个免费开放且持续更新的跨性别知识整
|
|||
|
||||
## 致谢
|
||||
|
||||
本项目目前采用 [Hugo][hugo-url] 部署在 [github pages][wiki-url]。主题使用 [zdoc][zdoc-url],对此表示感谢!
|
||||
本项目目前采用 [Hugo][hugo-url] 部署在 [GitHub Pages][wiki-url]。主题使用 [zdoc][zdoc-url],对此表示感谢!
|
||||
|
||||
本项目在编写过程中参考了诸多资料,在此一并致谢。
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ defaultContentLanguage = "zh-cn"
|
|||
defaultContentLanguageInSubdir = true
|
||||
hasCJKLanguage = true
|
||||
|
||||
copyright = "©{year}, All Rights Reserved"
|
||||
copyright = "©{year} MtF Wiki. All Rights Reserved"
|
||||
timeout = 10000
|
||||
enableEmoji = true
|
||||
paginate = 13
|
||||
|
|
|
@ -44,6 +44,6 @@ footer:
|
|||
markdown:
|
||||
|
|
||||
<h2><span style="color:#5bcefa">M</span><span style="color:#f6a8b8">t</span>F <span style="color:#f6a8b8">Wi</span><span style="color:#5bcefa">ki</span></h2>
|
||||
<p>Copyright © 2020-2021. All rights reserved.</p>
|
||||
<p>Copyright © 2020-2021 MtF Wiki. All rights reserved.</p>
|
||||
<blockquote>If you can remember my name, if you can all remember my name, maybe I or "we", will be able to live freely one day.</blockquote>
|
||||
---
|
||||
|
|
|
@ -0,0 +1,129 @@
|
|||
---
|
||||
title: "Hormone Converter"
|
||||
description: "Hormone Converter"
|
||||
date: 2020-10-26T04:15:05+08:00
|
||||
draft: false
|
||||
---
|
||||
<div style="
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
">
|
||||
<style>
|
||||
input {
|
||||
color: #495057;
|
||||
border: 1px solid #ced4da;
|
||||
border-radius: 0.25rem;
|
||||
/*transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;*/
|
||||
padding: 1px;
|
||||
height: 1.5em;
|
||||
}
|
||||
|
||||
select {
|
||||
color: #495057;
|
||||
border: 1px solid #ced4da;
|
||||
border-radius: 0.25rem;
|
||||
/*transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;*/
|
||||
padding: 1px;
|
||||
height: 1.5em;
|
||||
}
|
||||
|
||||
input:focus {
|
||||
color: #495057;
|
||||
outline: 0;
|
||||
border-image: url(/images/shadow-i.png) 30 30 stretch;
|
||||
border-image-width: 3px;
|
||||
border-image-outset: 0px;
|
||||
}
|
||||
</style>
|
||||
<div style="margin:auto;align-items:baseline">
|
||||
<span>Original: </span>
|
||||
<input type="text" id="val1" onkeyup="changed()" style="width: 10ex" />
|
||||
<select id="in1" oninput="changed()">
|
||||
<option value="1">pg</option>
|
||||
<option value="1000">ng</option>
|
||||
<option value="1000000">ug</option>
|
||||
<option value="mol">pmol</option>
|
||||
<option value="mol1000">nmol</option>
|
||||
</select>
|
||||
<span>/</span>
|
||||
<select id="in2" oninput="changed()">
|
||||
<option value="1">mL</option>
|
||||
<option value="100">dL</option>
|
||||
<option value="1000">L</option>
|
||||
</select>
|
||||
<select id="in3" oninput="changed()" style="visibility: hidden;">
|
||||
<option value="272.38">Estradiol (E2)</option>
|
||||
<option value="288.43">Testosterone</option>
|
||||
<option value="23000">Prolactin (PRL)</option>
|
||||
<option value="314.46">Progesterone (P4)</option>
|
||||
</select>
|
||||
</div>
|
||||
<div style="margin:auto;">
|
||||
<span>Result: </span>
|
||||
<input id="result" style="width: 10ex" value="" readonly="true" />
|
||||
<select id="out1" oninput="changed()">
|
||||
<option value="1">pg</option>
|
||||
<option value="1000">ng</option>
|
||||
<option value="1000000">ug</option>
|
||||
<option value="mol">pmol</option>
|
||||
<option value="mol1000">nmol</option>
|
||||
</select>
|
||||
<span>/</span>
|
||||
<select id="out2" oninput="changed()">
|
||||
<option value="1">mL</option>
|
||||
<option value="100">dL</option>
|
||||
<option value="1000">L</option>
|
||||
</select>
|
||||
<select id="iv" style="visibility: hidden">
|
||||
<option value="272.38">Estradiol (E2)</option>
|
||||
<option value="288.43">Testosterone</option>
|
||||
<option value="23000">Prolactin (PRL)</option>
|
||||
<option value="314.46">Progesterone (P4)</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function changed() {
|
||||
var val = Number(window.document.getElementById("val1").value);
|
||||
var in1 = window.document.getElementById("in1").value;
|
||||
var in2 = window.document.getElementById("in2").value;
|
||||
var in3 = Number(window.document.getElementById("in3").value);
|
||||
var out1 = window.document.getElementById("out1").value;
|
||||
var out2 = window.document.getElementById("out2").value;
|
||||
window.document.getElementById("in3").style.visibility = "hidden";
|
||||
switch (in1) {
|
||||
case "mol":
|
||||
window.document.getElementById("in3").style.visibility = "visible";
|
||||
val = val * in3;
|
||||
break;
|
||||
case "mol1000":
|
||||
window.document.getElementById("in3").style.visibility = "visible";
|
||||
val = val * 1000 * in3;
|
||||
break;
|
||||
default:
|
||||
//window.document.getElementById("in3").style.visibility = "hidden";
|
||||
val = val * Number(in1);
|
||||
}
|
||||
switch (out1) {
|
||||
case "mol":
|
||||
window.document.getElementById("in3").style.visibility = "visible";
|
||||
val = val / in3;
|
||||
break;
|
||||
case "mol1000":
|
||||
window.document.getElementById("in3").style.visibility = "visible";
|
||||
val = (val * 0.001) / in3;
|
||||
break;
|
||||
default:
|
||||
//window.document.getElementById("in3").style.visibility = "hidden";
|
||||
val = val / Number(out1);
|
||||
}
|
||||
val = (val * out2) / in2;
|
||||
if (isNaN(val)) {
|
||||
window.document.getElementById("result").value = "数值错误"; // output
|
||||
} else {
|
||||
window.document.getElementById("result").value = val; // output
|
||||
}
|
||||
return;
|
||||
}
|
||||
</script>
|
|
@ -40,6 +40,6 @@ footer:
|
|||
markdown:
|
||||
|
|
||||
<h2><span style="color:#5bcefa">M</span><span style="color:#f6a8b8">t</span>F <span style="color:#f6a8b8">Wi</span><span style="color:#5bcefa">ki</span></h2>
|
||||
<p>Copyright © 2020-2021. All rights reserved.</p>
|
||||
<p>Copyright © 2020-2021 MtF Wiki. All rights reserved.</p>
|
||||
<blockquote>Si puedes recordar mi nombre, si todos podéis recordarlo, tal vez yo o «nosotras», un día, vivamos libres.</blockquote>
|
||||
---
|
||||
|
|
|
@ -44,6 +44,6 @@ footer:
|
|||
markdown:
|
||||
|
|
||||
<h2><span style="color:#5bcefa">M</span><span style="color:#f6a8b8">t</span>F <span style="color:#f6a8b8">Wi</span><span style="color:#5bcefa">ki</span></h2>
|
||||
<p>Copyright © 2020-2021. All rights reserved.</p>
|
||||
<p>Copyright © 2020-2021 MtF Wiki. All rights reserved.</p>
|
||||
<blockquote>如果你能记住我的名字,如果你们都能记住我的名字,也许我或者“我们”,终有一天能自由地生存着。</blockquote>
|
||||
---
|
||||
|
|
|
@ -51,7 +51,7 @@ weight: 0
|
|||
|
||||
## 致谢
|
||||
|
||||
本项目目前采用 [Hugo][hugo-url] 部署在 Github Pages.主题使用 [zdoc][zdoc-url],对此表示感谢!
|
||||
本项目目前采用 [Hugo][hugo-url] 部署在 GitHub Pages.主题使用 [zdoc][zdoc-url],对此表示感谢!
|
||||
|
||||
本项目在编写过程中参考了诸多资料,在此一并致谢。
|
||||
|
||||
|
|
|
@ -44,6 +44,6 @@ footer:
|
|||
markdown:
|
||||
|
|
||||
<h2><span style="color:#5bcefa">M</span><span style="color:#f6a8b8">t</span>F <span style="color:#f6a8b8">Wi</span><span style="color:#5bcefa">ki</span></h2>
|
||||
<p>Copyright © 2020-2021. All rights reserved.</p>
|
||||
<p>Copyright © 2020-2021 MtF Wiki. All rights reserved.</p>
|
||||
<blockquote>如果你能記住我的名字,如果你們都能記住我的名字,也許我或者“我們”,終有一天能自由地生存著。</blockquote>
|
||||
---
|
||||
|
|
|
@ -51,7 +51,7 @@ weight: 0
|
|||
|
||||
## 致謝
|
||||
|
||||
本專案目前採用 [Hugo][hugo-url] 部署在 Github Pages.主題使用 [zdoc][zdoc-url],對此表示感謝!
|
||||
本專案目前採用 [Hugo][hugo-url] 部署在 GitHub Pages.主題使用 [zdoc][zdoc-url],對此表示感謝!
|
||||
|
||||
本專案在編寫過程中參考了諸多資料,在此一併致謝。
|
||||
|
||||
|
|
Loading…
Reference in New Issue