mirror of
https://gitlab.com/octtspacc/OcttKB
synced 2025-03-18 17:40:04 +01:00
[Manual] Try again
This commit is contained in:
parent
16e883db7d
commit
d29725b74a
@ -248,8 +248,8 @@ Error message and password prompt
|
||||
{"created":"20230126082147025","creator":"Octt","text":"#!/bin/sh\ncd ./public\n\n# Build single-page no-JS wiki\ntiddlywiki \\\n\t--load index.html \\\n\t--output ./ \\\n\t--rendertiddler $:/core/templates/static.template.css Style.css text/plain \\\n\t--rendertiddler $:/core/templates/alltiddlers.template.html Static.html text/plain\n\n# Fix errors in the resulting HTML\ncat \u003C\u003C EOF | python3\nfrom bs4 import BeautifulSoup;\nfrom re import sub;\nFile = 'Static.html'\ndef Fix1(m): return f'\u003Cdetails>\u003Ca name=\"{m.group(1)}\">\u003C/a>\u003Csummary>{m.group(2)}\u003C/summary>';\nSource = str(BeautifulSoup(open(File, 'r'), 'html5lib'));\nopen(File, 'w').write(sub('\u003Cdetails>\u003Ca name=\"(.+)\">\u003Csummary>(.+)\u003C\\/summary>\\s*\u003C\\/a>', Fix1, Source));\nEOF\n","title":"$:/OcttKB/Repo/Build.sh","modified":"20230225230248038","modifier":"Octt","type":"text/plain"},
|
||||
{"created":"20230126082330667","creator":"Octt","text":"#!/bin/sh\nURL=\"https://kb.octt.eu.org\"\ncd ./public\nwget -O \"./-1.html\" \"$URL\" || true\nwget -O \"./-2.html\" \"$URL/-1.html\" || true\n","title":"$:/OcttKB/Repo/DeployOld.sh","modified":"20230126082445095","modifier":"Octt","type":"text/plain"},
|
||||
{"created":"20230228080039630","creator":"Octt","text":"#!/bin/sh\nsh ./Main.sh\n","tags":"","title":"$:/OcttKB/Repo/GitHub.Main.sh","modified":"20230228080122141","modifier":"Octt","type":"text/plain"},
|
||||
{"created":"20230228075916930","creator":"Octt","text":"#!/bin/sh\nsh ./Main.sh\nsh ./SetupGitProfile.sh\nCommitCheck=\"$(git log -1 --pretty=%B)\"\nCommitMsg0=\"OcttKB Cross-Repo Sync\"\n[ \"$CommitCheck\" != \"$CommitMsg0 (HTML to Raw)\" ] && [ \"$CommitCheck\" != \"$CommitMsg0 (Raw to HTML)\" ] && sh ./GitLab.CrossRepoSync.sh\n","tags":"","title":"$:/OcttKB/Repo/GitLab.Main.sh","modified":"20230228093123078","modifier":"Octt","type":"text/plain"},
|
||||
{"created":"20230126081754717","creator":"Octt","text":"#!/bin/sh\nsh ./Build.sh\nsh ./DeployOld.sh\n","tags":"","title":"$:/OcttKB/Repo/Main.sh","modified":"20230228075239520","modifier":"Octt","type":"text/plain"},
|
||||
{"created":"20230228075916930","creator":"Octt","text":"#!/bin/sh\nsh ./Main.sh\nsh ./SetupGitProfile.sh || true\nCommitCheck=\"$(git log -1 --pretty=%B)\"\nCommitMsg0=\"OcttKB Cross-Repo Sync\"\n[ \"$CommitCheck\" != \"$CommitMsg0 (HTML to Raw)\" ] && [ \"$CommitCheck\" != \"$CommitMsg0 (Raw to HTML)\" ] && sh ./GitLab.CrossRepoSync.sh || true\n","tags":"","title":"$:/OcttKB/Repo/GitLab.Main.sh","modified":"20230228095455279","modifier":"Octt","type":"text/plain"},
|
||||
{"created":"20230126081754717","creator":"Octt","text":"#!/bin/sh\nsh ./Build.sh\nsh ./DeployOld.sh || true\n","tags":"","title":"$:/OcttKB/Repo/Main.sh","modified":"20230228095521738","modifier":"Octt","type":"text/plain"},
|
||||
{"created":"20230228081951095","creator":"Octt","text":"#!/bin/sh\ngit config --global user.email \"$GitUserEmail\"\ngit config --global user.name \"$GitUserName\"\ngit config --global credential.helper store\necho \"https://$GitUserName:$GitPassword@gitlab.com\" > ~/.git-credentials\n","title":"$:/OcttKB/Repo/SetupGitProfile.sh","modified":"20230228082144682","modifier":"Octt","type":"text/plain","tags":""},
|
||||
{"created":"20230227073225540","creator":"Octt","text":"\u003Cdiv>\n\u003C$link to=\"OcttKB\" class=\"StartHere-Button\">[img[$:/ThirdParty/Icons/Windows/9x-Start.png]] \u003Cspan>here!\u003C/span>\u003C/$link>\n\u003C/div>","tags":"","title":"$:/OcttKB/StartButton","modified":"20230227073319615","modifier":"Octt"},
|
||||
{"created":"20230112221909714","creator":"Octt","text":"\u003Cdiv style=\"Padding-Left:16px; Padding-Right:16px;\">\n\u003Ch1 class=\"tc-site-title\">\n[[OcttKB]]\n\u003C/h1>\n\u003Cdiv class=\"tc-site-subtitle\">\nOctt Knowledge Base || Powered by [[TiddlyWiki|TiddlyWiki]].\u003C/div>\n\u003Cp>\n\u003Cb>Note\u003C/b>: You're viewing the no-JS version of this site, some features will be missing. For the best experience, \u003Ca href=\"./\">load the full version\u003C/a>.\n\u003C/p>\n\u003C/div>\n\n{{$:/OcttKB/StartButton}}","modified":"20230227073428911","title":"$:/OcttKB/StaticBanner","tags":"","modifier":"Octt"},
|
||||
@ -643,7 +643,7 @@ Error message and password prompt
|
||||
{"created":"20220920211944968","text":"{{$:/OcttKB/StaticBanner}}","tags":"","title":"$:/StaticBanner","modified":"20230112221911675"},
|
||||
{"title":"$:/status/RequireReloadDueToPluginChange","text":"no"},
|
||||
{"created":"20230117123049592","creator":"O","title":"$:/status/UserName","text":"Octt","modified":"20230117123050206","modifier":"Oct"},
|
||||
{"title":"$:/StoryList","created":"20230228072927378","creator":"Octt","text":"","list":"","modified":"20230228092757232","modifier":"Octt"},
|
||||
{"title":"$:/StoryList","created":"20230228072927378","creator":"Octt","text":"","list":"","modified":"20230228095425461","modifier":"Octt"},
|
||||
{"created":"20230114161404958","text":"/*\\\nCredits: 1337box by Leah Rowe, Creative Commons Zero 1.0\nInfo: \u003Chttps://vimuser.org/1337box.html>\n\\*/\n.f, .f * {\n position: fixed;\n max-width: 100%;\n max-height: 100%;\n top: 50%;\n left: 50%\n}\n.f * { transform: translate(-50%,-50%) }\n.f {\n display: none;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 999;\n background:rgba(0,0,0,0.8);\n}\n*:focus + .f { display:block; }\nimg { cursor:pointer; }\n","title":"$:/Styles/1337box/shadow.css","modified":"20230114163044372","type":"text/css","tags":""},
|
||||
{"created":"20230124224040783","creator":"Octt","text":"\u003C!-- Original image is by \u003Chttps://bilibili.com> -->\n\u003C!-- \u003Cdiv -->\n\u003Ca\nclass=\"bilibili-back-to-top\"\ntitle=\"Cute little lolis from bilibili to help you reach the top of the page...\"\nstyle=\"\n\ndisplay: block; \nposition: fixed;\n/*\nbottom: 100px;\nright: 20px;\n*/\nz-index: 9999;\nbottom: 2px;\nleft: 2px;\ntransform: translateY(0px);\nwidth: 62px;\nheight: 85px;\n/*\nmargin-left: 602px;\n*/\ntransform: scale(0.5);\ncursor: pointer;\nbackground-image: url(https://s1.hdslb.com/bfs/static/jinkela/space/assets/space-to-top.png);\nbackground-position: -40px -44px;\n\n\" href=\"javascript:(function(){\n\nvar Select = [\n '.tc-story-river > .story-backdrop',\n '.tc-sidebar-scrollable .tc-sidebar-header .tc-site-title',\n];\nfor (var i=0; i \u003C Select.length; i++) {\n var Elem = document.querySelectorAll(Select[i])[0];\n Elem.scrollIntoView({behavior: 'smooth'});\n};\n/*alert('TODO animation');*/\n\n})();\">\u003C/a>\n\u003C!--\n\" onclick=\"\n\">\u003C/div>\n-->","tags":"$:/tags/AboveStory","title":"$:/Styles/bilibili-back-to-top.html","modified":"20230218174510343","modifier":"Octt"},
|
||||
{"created":"20230126091040410","creator":"Octt","text":"\\import [[$:/Macros/Styles]]\n\n\\define River() .tc-story-river\n\\define SRiver() .tc-static-story-river\n\\define Frame() .tc-tiddler-frame\n\\define Titler() .tc-tiddler-title\n\n\u003C\u003CRiver>> > \u003C\u003CFrame>> \u003C\u003CTitler>> .tc-title { \u003C\u003CNoDisp>> }\n\n.tc-story-river > .tc-tiddler-frame > .View-Breadcrumbs {\n opacity: 0.80;\n/*\n font-size: xx-large;\n margin-top: 0px;\n margin-bottom: -1.5em;\n position: sticky;\n z-index: 512;\n*/\n}\n.tc-story-river > .tc-tiddler-frame:not(.tc-tiddler-missing) > .View-Breadcrumbs > * {\n /*font-style: normal !important;*/\n opacity: 0.40;\n}\n.tc-story-river > .tc-tiddler-frame:not(.tc-tiddler-missing) > .View-Breadcrumbs:hover > * { opacity: 0.80; }\n.tc-story-river > .tc-tiddler-frame .View-Breadcrumbs > .Inline-Icon > * {\n width: 1em;\n height: 1em;\n vertical-align: top;\n}\n\n/*.View-Breadcrumbs { display: inline-flex; }*/\n\n/*.View-Breadcrumbs > .Inline-Sep:not(.View-Breadcrumbs > .Inline-Sep:last-of-type):before*/\n.View-Breadcrumbs > .Inline-Sep { padding-left: 0.3em; padding-right: 0.3em; }\n.View-Breadcrumbs > .Inline-Sep:after { content: '>'; font-size: smaller; }\n.View-Breadcrumbs > .Inline-Sep > span { font-size: 0px; }\n\n.View-Breadcrumbs > .Path-Elem[data-path-elem=\"$:\"] > a,\n.View-Breadcrumbs > .Path-Elem[data-path-elem=\"$:\"] + .Inline-Sep\n{ color: gray; padding-left: 0em; }\n\n.View-Breadcrumbs > .Path-Elem[data-path-elem=\"$:\"] + .Inline-Sep:after { content: ''; }\n.View-Breadcrumbs > .Path-Elem[data-path-elem=\"$:\"] + .Inline-Sep > span { font-size: revert; font-size: smaller; }\n\n.View-Breadcrumbs > .Path-Elem:last-of-type { cursor: pointer; }\n.View-Breadcrumbs details { display: inline; vertical-align: top; }\n\n.tc-static-story-river > .tc-tiddler-frame > .tc-tiddler-title details > summary,\n.View-Breadcrumbs details > summary {\n list-style: none;\n}\n\n.tc-static-story-river > .tc-tiddler-frame > .tc-tiddler-title details > .tc-tree,\n.View-Breadcrumbs details > .tc-tree {\n font-size: initial; line-height: 1rem;\n}\n\n.tc-static-story-river > .tc-tiddler-frame > .tc-tiddler-title details > .tc-tree > span,\n.View-Breadcrumbs details > .tc-tree > span {\n display: none;\n}\n\n.tc-static-story-river > .tc-tiddler-frame > .tc-tiddler-title .Path-Copy { display: none; }\n\n.View-Breadcrumbs > .Path-Copy {\n margin-left: 0.3em;\n margin-right: 0.3em;\n text-decoration: none;\n font-size: smaller;\n}\n","title":"$:/Styles/Breadcrumbs","modified":"20230226210549362","modifier":"Octt","tags":"$:/tags/Stylesheet"},
|
||||
|
Loading…
x
Reference in New Issue
Block a user