diff --git a/Scripts/Dependencies.Runtime.sh b/Scripts/Dependencies.Runtime.sh index 7ee02f8..d80dfea 100755 --- a/Scripts/Dependencies.Runtime.sh +++ b/Scripts/Dependencies.Runtime.sh @@ -5,8 +5,12 @@ cd "${swd}/.." mkdir -p ./static/res/lib cd ./static/res/lib -wget --continue "https://spaccinc.gitlab.io/SpaccDotWeb/SpaccDotWeb.Alt.min.js" -wget --continue "https://uicdn.toast.com/editor/latest/toastui-editor-all.min.js" -wget --continue "https://uicdn.toast.com/editor/latest/toastui-editor.min.css" +downloadfile(){ + wget -O "./$2" "https://$1/$2" +} + +downloadfile spaccinc.gitlab.io/SpaccDotWeb SpaccDotWeb.Alt.min.js +downloadfile uicdn.toast.com/editor/latest toastui-editor-all.min.js +downloadfile uicdn.toast.com/editor/latest toastui-editor.min.css cd "${owd}" diff --git a/content/it/miscellanea/Percent-Encoding.md b/content/it/miscellanea/Percent-Encoding.md new file mode 100644 index 0000000..b21a587 --- /dev/null +++ b/content/it/miscellanea/Percent-Encoding.md @@ -0,0 +1,14 @@ ++++ +Title = "Codifica URL" ++++ +
+ + + + +

+ +

+ + +
diff --git a/static/res/Percent-Encoding.css b/static/res/Percent-Encoding.css new file mode 100644 index 0000000..5c03def --- /dev/null +++ b/static/res/Percent-Encoding.css @@ -0,0 +1,6 @@ +.Percent-Encoding > div { + /* display: grid; + grid-template-columns: auto auto; */ +} +.Percent-Encoding textarea { width: 100%; min-height: 10em; } + diff --git a/static/res/Percent-Encoding.js b/static/res/Percent-Encoding.js new file mode 100644 index 0000000..4b8e2df --- /dev/null +++ b/static/res/Percent-Encoding.js @@ -0,0 +1,19 @@ +(function(stepsEl){ + +function convertText (sourceEl, destinationEl, handler) { + var text = sourceEl.value; + for (var i=0; i -window.sitoctt = {}; +window.sitoctt = { utils: {} }; window.Void = (function Void(){}); {{- with resources.Get "SiteProps.toml" -}} {{- with . | transform.Unmarshal -}} @@ -8,6 +8,7 @@ window.Void = (function Void(){}); {{- end -}} window.sitoctt.localStorage = (function localStorage(key, value){ return SpaccDotWeb.LocalStorage('org.eu.octt.sitoctt', key, value); }); +