mirror of
https://github.com/kiwix/kiwix-js-pwa.git
synced 2025-09-15 15:27:11 -04:00
Build
Former-commit-id: dfc748c52f9db3d802580b2685d4184996f7922b [formerly 005aa05696482bae00a25100993497b1ba1f33f5] Former-commit-id: f72ebe7f6787f236a8e30e342434abc1e1263de4
This commit is contained in:
parent
5295af46a1
commit
dd337be227
@ -116,6 +116,9 @@
|
||||
<Content Include="images\Wide310x150Logo.scale-400.png" />
|
||||
<Content Include="www\-\s\css_modules\ext.cite.a11y.css" />
|
||||
<Content Include="www\-\s\css_modules\ext.cite.styles.css" />
|
||||
<Content Include="www\-\s\css_modules\ext.scribunto.logs.css" />
|
||||
<Content Include="www\-\s\css_modules\ext.timeline.styles.css" />
|
||||
<Content Include="www\-\s\css_modules\mediawiki.page.gallery.styles.css" />
|
||||
<Content Include="www\-\s\css_modules\mediawiki.toc.css" />
|
||||
<Content Include="www\-\s\style-mobile.css" />
|
||||
<Content Include="www\-\s\style.css" />
|
||||
|
Binary file not shown.
@ -32,7 +32,7 @@
|
||||
<AppXManifest Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\bin\Release\AppxManifest.xml">
|
||||
<PackagePath>AppxManifest.xml</PackagePath>
|
||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
||||
<Modified>2017-07-10T16:02:59.952</Modified>
|
||||
<Modified>2017-07-10T17:02:01.327</Modified>
|
||||
</AppXManifest>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
@ -297,6 +297,18 @@
|
||||
<PackagePath>www\-\s\css_modules\ext.cite.styles.css</PackagePath>
|
||||
<Modified>2017-07-09T20:07:35.865</Modified>
|
||||
</AppxPackagedFile>
|
||||
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\-\s\css_modules\ext.scribunto.logs.css">
|
||||
<PackagePath>www\-\s\css_modules\ext.scribunto.logs.css</PackagePath>
|
||||
<Modified>2017-07-10T16:53:20.370</Modified>
|
||||
</AppxPackagedFile>
|
||||
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\-\s\css_modules\ext.timeline.styles.css">
|
||||
<PackagePath>www\-\s\css_modules\ext.timeline.styles.css</PackagePath>
|
||||
<Modified>2017-07-10T16:45:46.762</Modified>
|
||||
</AppxPackagedFile>
|
||||
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\-\s\css_modules\mediawiki.page.gallery.styles.css">
|
||||
<PackagePath>www\-\s\css_modules\mediawiki.page.gallery.styles.css</PackagePath>
|
||||
<Modified>2017-07-10T16:59:16.695</Modified>
|
||||
</AppxPackagedFile>
|
||||
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\-\s\css_modules\mediawiki.toc.css">
|
||||
<PackagePath>www\-\s\css_modules\mediawiki.toc.css</PackagePath>
|
||||
<Modified>2017-07-09T20:06:05.109</Modified>
|
||||
@ -359,11 +371,11 @@
|
||||
</AppxPackagedFile>
|
||||
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\js\app.js">
|
||||
<PackagePath>www\js\app.js</PackagePath>
|
||||
<Modified>2017-07-10T16:02:28.314</Modified>
|
||||
<Modified>2017-07-10T17:00:39.343</Modified>
|
||||
</AppxPackagedFile>
|
||||
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\js\init.js">
|
||||
<PackagePath>www\js\init.js</PackagePath>
|
||||
<Modified>2017-07-10T15:57:20.553</Modified>
|
||||
<Modified>2017-07-10T16:37:03.525</Modified>
|
||||
</AppxPackagedFile>
|
||||
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\js\lib\abstractFilesystemAccess.js">
|
||||
<PackagePath>www\js\lib\abstractFilesystemAccess.js</PackagePath>
|
||||
@ -428,7 +440,7 @@
|
||||
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\bin\Release\ReverseMap\resources.pri">
|
||||
<PackagePath>resources.pri</PackagePath>
|
||||
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
|
||||
<Modified>2017-07-10T15:23:00.830</Modified>
|
||||
<Modified>2017-07-10T17:02:01.227</Modified>
|
||||
</AppxPackagedFile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -0,0 +1 @@
|
||||
.scribunto-limitreport-logs{margin:0;white-space:pre-wrap}
|
@ -0,0 +1 @@
|
||||
.timeline-wrapper{max-width:100%;overflow:auto}
|
@ -0,0 +1 @@
|
||||
@media print{li.gallerybox{vertical-align:top;display:inline-block}ul.gallery,li.gallerybox{zoom:1;*display:inline}ul.gallery{margin:2px;padding:2px;display:block}li.gallerycaption{font-weight:bold;text-align:center;display:block;word-wrap:break-word}li.gallerybox div.thumb{text-align:center;border:1px solid #ccc;margin:2px}div.gallerytext{overflow:hidden;font-size:94%;padding:2px 4px;word-wrap:break-word}}li.gallerybox{vertical-align:top;display:-moz-inline-box;display:inline-block}ul.gallery,li.gallerybox{zoom:1;*display:inline}ul.gallery{margin:2px;padding:2px;display:block}li.gallerycaption{font-weight:bold;text-align:center;display:block;word-wrap:break-word}li.gallerybox div.thumb{text-align:center;border:1px solid #c8ccd1;background-color:#f8f9fa;margin:2px}li.gallerybox div.thumb img{display:block;margin:0 auto}div.gallerytext{overflow:hidden;font-size:94%;padding:2px 4px;word-wrap:break-word}.galleryfilename{display:block}.galleryfilename-truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}ul.mw-gallery-nolines li.gallerybox div.thumb{background-color:transparent;border:0}ul.mw-gallery-nolines li.gallerybox div.gallerytext{text-align:center}ul.mw-gallery-packed li.gallerybox div.thumb,ul.mw-gallery-packed-overlay li.gallerybox div.thumb,ul.mw-gallery-packed-hover li.gallerybox div.thumb{background-color:transparent;border:0}ul.mw-gallery-packed li.gallerybox div.thumb img,ul.mw-gallery-packed-overlay li.gallerybox div.thumb img,ul.mw-gallery-packed-hover li.gallerybox div.thumb img{margin:0 auto}ul.mw-gallery-packed-hover li.gallerybox,ul.mw-gallery-packed-overlay li.gallerybox{position:relative}ul.mw-gallery-packed-hover div.gallerytextwrapper{overflow:hidden;height:0}ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper,ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper,ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper{position:absolute;background:#fff;background:rgba( 255,255,255,0.8 );padding:5px 10px;bottom:0;left:0;height:auto;max-height:40%;overflow:hidden;font-weight:bold;margin:2px}ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper p,ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper p,ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}ul.mw-gallery-packed-hover li.gallerybox div.gallerytextwrapper:hover,ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper:hover,ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper:hover{overflow:visible;max-height:none}ul.mw-gallery-packed-hover li.gallerybox div.gallerytextwrapper:hover p,ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper:hover p,ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper:hover p{text-overflow:clip;white-space:normal;overflow:visible}ul.mw-gallery-packed-hover,ul.mw-gallery-packed-overlay,ul.mw-gallery-packed{text-align:center}ul.gallery.mw-gallery-slideshow{display:block;margin:4em 0}ul.gallery.mw-gallery-slideshow .gallerycaption{font-size:1.3em;margin:0}ul.gallery.mw-gallery-slideshow .gallerycarousel.mw-gallery-slideshow-thumbnails-toggled{margin-bottom:1.3em}ul.gallery.mw-gallery-slideshow .mw-gallery-slideshow-buttons{opacity:0.5;padding:1.3em 0}ul.gallery.mw-gallery-slideshow .mw-gallery-slideshow-buttons .oo-ui-buttonElement{margin:0 2em}.mw-gallery-slideshow li.gallerybox.slideshow-current{background:#efefef}.mw-gallery-slideshow .gallerybox > div{max-width:120px}ul.mw-gallery-slideshow li.gallerybox div.thumb{border:0;background:transparent}ul.mw-gallery-slideshow li.gallerycarousel{display:block;text-align:center}.mw-gallery-slideshow-img-container a{display:block}
|
@ -798,6 +798,9 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies','abstractFiles
|
||||
(zimLink.match(/-\/s\/style\.css/i) ||
|
||||
zimLink.match(/-\/s\/css_modules\/mediawiki\.toc\.css/i) ||
|
||||
zimLink.match(/-\/s\/css_modules\/ext\.cite\.styles\.css/i) ||
|
||||
zimLink.match(/-\/s\/css_modules\/ext\.timeline\.styles\.css/i) ||
|
||||
zimLink.match(/-\/s\/css_modules\/ext\.scribunto\.logs\.css/i) ||
|
||||
zimLink.match(/-\/s\/css_modules\/mediawiki\.page\.gallery\.styles\.css/i) ||
|
||||
zimLink.match(/-\/s\/css_modules\/ext\.cite\.a11y\.css/i))) {
|
||||
blobArray[i] = zimLink.match(/-\/s\/style\.css/i) && module.config().cssSource == "mobile" ? "../-/s/style-mobile.css" : zimLink;
|
||||
console.log("Matched #" + i + " [" + blobArray[i] + "] from local filesystem");
|
||||
@ -818,7 +821,7 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies','abstractFiles
|
||||
selectedArchive.getDirEntryByTitle(title).then(
|
||||
function (dirEntry) {
|
||||
selectedArchive.readBinaryFile(dirEntry, function (readableTitle, content) {
|
||||
//var cssContent = util.uintToString(content);
|
||||
var cssContent = util.uintToString(content); //Uncomment this line and break on next to capture cssContent for local filesystem cache
|
||||
var cssBlob = new Blob([content], { type: 'text/css' });
|
||||
var newURL = URL.createObjectURL(cssBlob);
|
||||
blobArray[index] = newURL;
|
||||
|
@ -23,7 +23,7 @@
|
||||
'use strict';
|
||||
var params = {};
|
||||
var results = params['results'] || 10; //Number of search results to display
|
||||
var cssSource = params['cssSource'] || "mobile"; //One of "zimfile", "local" or "mobile""
|
||||
var cssSource = params['cssSource'] || "local"; //One of "zimfile", "local" or "mobile""
|
||||
|
||||
require.config({
|
||||
baseUrl: 'js/lib',
|
||||
|
@ -232,6 +232,15 @@
|
||||
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\-\s\css_modules\ext.cite.styles.css">
|
||||
<PackagePath>www\-\s\css_modules\ext.cite.styles.css</PackagePath>
|
||||
</AppxPackagedFile>
|
||||
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\-\s\css_modules\ext.scribunto.logs.css">
|
||||
<PackagePath>www\-\s\css_modules\ext.scribunto.logs.css</PackagePath>
|
||||
</AppxPackagedFile>
|
||||
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\-\s\css_modules\ext.timeline.styles.css">
|
||||
<PackagePath>www\-\s\css_modules\ext.timeline.styles.css</PackagePath>
|
||||
</AppxPackagedFile>
|
||||
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\-\s\css_modules\mediawiki.page.gallery.styles.css">
|
||||
<PackagePath>www\-\s\css_modules\mediawiki.page.gallery.styles.css</PackagePath>
|
||||
</AppxPackagedFile>
|
||||
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\-\s\css_modules\mediawiki.toc.css">
|
||||
<PackagePath>www\-\s\css_modules\mediawiki.toc.css</PackagePath>
|
||||
</AppxPackagedFile>
|
||||
|
Binary file not shown.
@ -798,6 +798,9 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies','abstractFiles
|
||||
(zimLink.match(/-\/s\/style\.css/i) ||
|
||||
zimLink.match(/-\/s\/css_modules\/mediawiki\.toc\.css/i) ||
|
||||
zimLink.match(/-\/s\/css_modules\/ext\.cite\.styles\.css/i) ||
|
||||
zimLink.match(/-\/s\/css_modules\/ext\.timeline\.styles\.css/i) ||
|
||||
zimLink.match(/-\/s\/css_modules\/ext\.scribunto\.logs\.css/i) ||
|
||||
zimLink.match(/-\/s\/css_modules\/mediawiki\.page\.gallery\.styles\.css/i) ||
|
||||
zimLink.match(/-\/s\/css_modules\/ext\.cite\.a11y\.css/i))) {
|
||||
blobArray[i] = zimLink.match(/-\/s\/style\.css/i) && module.config().cssSource == "mobile" ? "../-/s/style-mobile.css" : zimLink;
|
||||
console.log("Matched #" + i + " [" + blobArray[i] + "] from local filesystem");
|
||||
@ -818,7 +821,7 @@ define(['jquery', 'zimArchiveLoader', 'util', 'uiUtil', 'cookies','abstractFiles
|
||||
selectedArchive.getDirEntryByTitle(title).then(
|
||||
function (dirEntry) {
|
||||
selectedArchive.readBinaryFile(dirEntry, function (readableTitle, content) {
|
||||
//var cssContent = util.uintToString(content);
|
||||
//var cssContent = util.uintToString(content); //Uncomment this line and break on next to capture cssContent for local filesystem cache
|
||||
var cssBlob = new Blob([content], { type: 'text/css' });
|
||||
var newURL = URL.createObjectURL(cssBlob);
|
||||
blobArray[index] = newURL;
|
||||
|
@ -23,7 +23,7 @@
|
||||
'use strict';
|
||||
var params = {};
|
||||
var results = params['results'] || 10; //Number of search results to display
|
||||
var cssSource = params['cssSource'] || "zimfile"; //One of "zimfile", "local" or "mobile""
|
||||
var cssSource = params['cssSource'] || "mobile"; //One of "zimfile", "local" or "mobile""
|
||||
|
||||
require.config({
|
||||
baseUrl: 'js/lib',
|
||||
|
@ -50,6 +50,9 @@ images\Wide310x150Logo.scale-200.png
|
||||
images\Wide310x150Logo.scale-400.png
|
||||
www\-\s\css_modules\ext.cite.a11y.css
|
||||
www\-\s\css_modules\ext.cite.styles.css
|
||||
www\-\s\css_modules\ext.scribunto.logs.css
|
||||
www\-\s\css_modules\ext.timeline.styles.css
|
||||
www\-\s\css_modules\mediawiki.page.gallery.styles.css
|
||||
www\-\s\css_modules\mediawiki.toc.css
|
||||
www\-\s\style.css
|
||||
www\-\s\style-mobile.css
|
||||
|
@ -50,6 +50,9 @@ images\Wide310x150Logo.scale-200.png
|
||||
images\Wide310x150Logo.scale-400.png
|
||||
www\-\s\css_modules\ext.cite.a11y.css
|
||||
www\-\s\css_modules\ext.cite.styles.css
|
||||
www\-\s\css_modules\ext.scribunto.logs.css
|
||||
www\-\s\css_modules\ext.timeline.styles.css
|
||||
www\-\s\css_modules\mediawiki.page.gallery.styles.css
|
||||
www\-\s\css_modules\mediawiki.toc.css
|
||||
www\-\s\style.css
|
||||
www\-\s\style-mobile.css
|
||||
|
Loading…
x
Reference in New Issue
Block a user