summaryrefslogtreecommitdiff
path: root/public/views/html.hbs (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-03-16Templates: Remove lang and add translation parameterPhilip Molares1-2/+2
Since the interface is not always in english, we mostly removed the lang attribute from all html tags. Since the error messages in error.ejs are not translated, but always in english, there the global lang="en" should be kept. Also in the slide and editor template the div, which contains the user generated text, has the attribute translate="no" now, to avoid unwanted translations. Since on the publish view (pretty.ejs) only the user generated content is shown, we set the lang to the language defined in yaml (or 'en') as a default, but that was also moved to the corresponding markdown div instead of html. Fixes #881 See also #437 Signed-off-by: Philip Molares <philip.molares@udo.edu>
2020-11-27Fixed shortcut icon urls pointing to old (nonexistent) filesErik Michelson1-2/+6
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2019-05-06Update jQuery to version 3.4.1Sheogorath1-1/+1
2019-01-11Update bootstrap from 3.3.7 to 3.4.0Sheogorath1-2/+2
Seems like finally there is a new bootstrap version for old version 3. This patch implements this new version with CodiMD and this way fixes some possible security issues in the frontend code. See: https://snyk.io/vuln/SNYK-JS-BOOTSTRAP-72889 https://snyk.io/vuln/SNYK-JS-BOOTSTRAP-72890 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-10-10Remove dead package octiconSheogorath1-1/+0
Octicon no longer provides its CSS classes and this way is useless in CodiMD. Replacing all used classes in the UI and remove it from build system. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-10-05Replace font-awesome with fork-awesomeSheogorath1-1/+1
This patch replaces font-awesome with its fork called fork-awesome. Besides the fact that the newer versions of font-awesome can't be shipped with distros like debian due to license issues, fork-awesome also provides more FOSS related icons and builds on top of version 4.7.x of font-awesome, which we used until this patch. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-06-30Update highlight.jsSheogorath1-1/+1
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-06-30Update to octicon 4.4.0Sheogorath1-1/+1
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2017-05-09Fix to implement toggle of TOC in HTML templateWu Cheng-Han1-0/+23
2016-11-26Update dependency gist-embed to 2.6.0Wu Cheng-Han1-1/+1
2016-11-26Optimize slide page resource packing and load orders, fix possible wrong ↵Wu Cheng-Han1-1/+1
chunks orders and font awesome version
2016-11-04Fix slide highlighting styles not apply properly and add missing styles ↵Wu Cheng-Han1-0/+1
dependency of prism in html export
2016-10-23Use CDNJS by default with https and SRI supportPeter Dave Hello1-13/+13
2016-10-14Fix export html highlight style source is missing and should load emojify ↵Wu Cheng-Han1-1/+2
styles from CDN
2016-10-10Update npm and bower dependencies with related patchWu Cheng-Han1-2/+2
2016-08-15Fix toc id naming to avoid overlap with user tocWu Cheng-Han1-4/+4
2016-07-30Update bower dependencies and cdn versionWu Cheng-Han1-1/+1
2016-07-30Update bootstrap to 3.3.7 and jQuery to 3.1.0 with related patchesWu Cheng-Han1-6/+6
2016-07-13Update gist-embed to 2.5 and using bower to manage itWu Cheng-Han1-1/+1
2016-06-21Remove robot meta on note edit page and html template, add prevent crawling ↵Cheng-Han, Wu1-1/+0
header to enhance note privacy
2016-06-17Update all client dependencies and cdn versions, workaround sequence-diagram ↵Cheng-Han, Wu1-4/+4
svg to be resizable
2016-05-11Update font-awesome to 4.6.2Cheng-Han, Wu1-1/+1
2016-04-20Update to support octicon and change header anchor stylesCheng-Han, Wu1-0/+1
2016-04-20Updated to support ioniconsCheng-Han, Wu1-0/+1
2016-02-16Support set url path and use relative url, move raphael to bower and fixed ↵Cheng-Han, Wu1-2/+2
minor issue in history
2016-01-12Support show last change user with profile and support YAML config inside ↵Wu Cheng-Han1-1/+2
the note with robots, lang, dir, breaks options
2016-01-12Added polypill for IE supportWu Cheng-Han1-0/+7
2015-12-10Updated some lib versions in cdnsWu Cheng-Han1-4/+4
2015-09-25Added support of export to HTML, and changed the navbar menu for consistencyWu Cheng-Han1-0/+166