From bae0bff58a600b02dea21687296cb32c25654feb Mon Sep 17 00:00:00 2001 From: Jad Date: Mon, 3 Aug 2020 12:50:20 +0000 Subject: [PATCH] init commit --- count.db | Bin 20480 -> 20480 bytes views/index.pug | 45 ++++++++++++++++++++++++++++++++++++--------- 2 files changed, 36 insertions(+), 9 deletions(-) diff --git a/count.db b/count.db index 8ce49b45d72a371583db2b4b1ee075c95ed0f10f..d30f128bd6d7566a82eab1581c2adbd56403150d 100644 GIT binary patch delta 257 zcmZozz}T>Wae@>RpY}u%^{}ldv{FnKU^Y7>1!M}!oA%81>%4S6Y z4}M#@*)=Q-_KeZ_Nm;4MB?=xPzCNCL1*IjfIjOm+c_p!&JdJ)V4AP7hnTh#1nR)Eo zj4TY|OqqEpsTEwllNZX{*z<@mu`sAJr)QRAlqTsFr6#82rZTLEVPIh35oZJ|tmgu9 zxcCn-@c-fe#{Yr;75@{Ub8hfo;y=ZIXtSciGJXzrW+o=yKfHe?pVGJD;o@&&;6KX0 giGMeL+h#t4GJbhEW_u=_PUQWwd8vJ*027}k05vB~=l}o! delta 180 zcmZozz}T>Wae@>R@2!b4PC#;F!V-QlPX1N~{we(T_%HJx=ikr2gMSVGLjKmxiVE5M zGCYlbEDX|&6`6_oIhlFv+>9&?;!K%&DXA4)0+ScY+t@ORFtISGGpA>kWRxc96{RMo z`8V + code <img src="https://count.getloli.com/get/@:name" alt=":name" /> h5 Markdown - code. - [:name](https://count.getloli.com/get/@:name) + code ![:name](https://count.getloli.com/get/@:name) - h4 eg: + h3 eg: Kawaii Count! + h3 Credits + ul + li + a(href='https://repl.it/') https://repl.it/ + li + a(href='https://konachan.com/') http://konachan.com/ + | NSFW + + h3 Tool + .tool + code https://count.getloli.com/get/@ + input#name(type='text', placeholder=':name', style='display: inline-block;width: 80px;height: 1.4em;line-height: 1.4em;margin: 0 4px;vertical-align: middle;') + button#get(style='margin: 10px 0') Get + img#result(style='display: block; width: 315px; height: 100px') + + script. + var btn = document.getElementById('get'), + img = document.getElementById('result') + + btn.addEventListener('click', function() { + var name = document.getElementById('name') + var text = name.value ? name.value.trim() : '' + if(!text) { + alert('Please input counter name.') + return + } + + img.src = 'https://count.getloli.com/get/@' + text + }) + p.copy - a(href='') \ No newline at end of file + a(href='https://repl.it/@journeyad/kawaii-counter') source code \ No newline at end of file