Skip to content

Commit

Permalink
fixed sTeX browser
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazzpirate committed Sep 21, 2023
1 parent afc8763 commit 6f04249
Show file tree
Hide file tree
Showing 4 changed files with 163 additions and 205 deletions.
15 changes: 8 additions & 7 deletions src/mmt-api/resources/mmt-web/stex/mmt-viewer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,28 @@
// If 'SHOW_FILE_BROWSER' is set to 'TRUE', then the filebrowser is displayed and all other values are ignored.
window.SHOW_FILE_BROWSER = 'SHOW_FILE_BROWSER_PLACEHOLDER';
// If USE_EMBEDDED is true, it uses the html it renders the content in 'embedding' element of this doc. 'CONTENT_URL' is ignored.
window.USE_EMBEDDED = 'false';
window.USE_EMBEDDED = 'FALSE';
// Eg. /:sTeX/document?archive=MiKoMH/GenCS&filepath=dmath/mod/addition-function.en.xhtml
// NOTE: CONTENT_URL must be empty if tours are to be displayed.
window.CONTENT_URL = 'CONTENT_URL_PLACEHOLDER';
// Eg. http://mathhub.info/smglom/sets/mod?subsupset
window.TOUR_ID = 'TOUR_ID_PLACEHOLDER';
// Eg. en or de
window.LANGUAGE = 'LANGUAGE_PLACEHOLDER';
// Eg. If 'NO_FRILLS' is set to 'TRUE', the sidepanel etc will not be shown
// Eg. If 'NO_FRILLS' is set to 'TRUE', the sidepanel etc will not be shown
window.NO_FRILLS = 'NO_FRILLS_PLACEHOLDER';
}
window.onpaint = preloadFunc();
</script>
<meta charset="utf-8" />
<title>sTeX Viewer</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="/stex/mmt-viewer/favicon.ico" />
<link rel="stylesheet" href="/stex/mmt-viewer/styles.e4e14622fc5599b3.css"><link rel="stylesheet" href="/stex/mmt-viewer/main.420346012a7e8d87.css">
<link rel="stylesheet" href="CONTENT_CSS_PLACEHOLDER">
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link rel="stylesheet" href="/stex/mmt-viewer/styles.17b9ee704abcc86c.css"><link rel="stylesheet" href="/stex/mmt-viewer/main.420346012a7e8d87.css">
<link rel="stylesheet" href="CONTENT_CSS_PLACEHOLDER">
<link rel="stylesheet" href="/stex/fonts.css">
</head>
</head>

<div style="display: none;">
<div id="embedding">
Expand All @@ -39,6 +40,6 @@

<body>
<div id="root"></div>
<script src="/stex/mmt-viewer/runtime.ef661e1f8606875b.js" type="module"></script><script src="/stex/mmt-viewer/styles.97c1288dfae7ac4e.js" type="module"></script><script src="/stex/mmt-viewer/main.ef4210ba482fe0f6.js" type="module"></script></body>
<script src="/stex/mmt-viewer/runtime.ef661e1f8606875b.js" type="module"></script><script src="/stex/mmt-viewer/styles.97c1288dfae7ac4e.js" type="module"></script><script src="/stex/mmt-viewer/main.a7de4abe6131954b.js" type="module"></script></body>

</html>
154 changes: 154 additions & 0 deletions src/mmt-api/resources/mmt-web/stex/mmt-viewer/main.a7de4abe6131954b.js

Large diffs are not rendered by default.

154 changes: 0 additions & 154 deletions src/mmt-api/resources/mmt-web/stex/mmt-viewer/main.ef4210ba482fe0f6.js

This file was deleted.

Loading

0 comments on commit 6f04249

Please sign in to comment.