1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Res: Add resources from xowa_app_windows_64_v4.5.26.1810

This commit is contained in:
gnosygnu
2018-11-02 09:58:55 -04:00
parent a672fd8340
commit 5721913241
6057 changed files with 1156950 additions and 0 deletions

View File

@@ -0,0 +1,73 @@
.cur_head_text {
width: calc(100% - 32px);
}
.cur_head_btns {
width: 32px;
}
.cur_head_text_2 {
width: calc(100% - 64px);
}
.cur_head_btns_2 {
width: 64px;
}
.cur_head_text__available__caption {
width: calc(100% - 32px);
}
.cur_head_text__available__combo {
width: calc(100% - 120px);
}
.task_tbl {
width: 100%;
margin: 0px 0px 8px; /* vertical-space inbetween tables */
font-size: .85em;/* needed for kit-kat else text will overflow */
}
.head_name {
display: inline-block;
width: calc(100% - 32px);
font-weight: bold;
}
.task_name {
display: inline-block;
width: calc(100% - 32px);
}
.work_row {
display:block !important;
height: 100%;
}
.work_btn_disabled {opacity: .2;}
/* pbar */
.pbar_row {
width: 100%;
height: 100%; /* depend on auto-size */
padding: 2px 0 2px;
}
.pbar_row_1 {
margin: -4px 0px 2px;
}
.pbar_step {
padding: 0px 0px 0px 44px;
}
.pbar_proc {
padding: 0px 0px 0px 44px;
font-variant: small-caps;
}
.pbar_div {
height: 2px;
margin: 2px 4px 2px 44px;
width: calc(100% - 50px);
background-color: #f5f5f5;
border-radius: 4px;
}
.pbar_bar {
width: 0%;
height: 100%;
background-color: #5cb85c;
border-radius: 4px;
}

View File

@@ -0,0 +1,128 @@
<div id='cur_help_div' class='xohelp_div'>
<div id='cur_help_msg' class='xohelp_msg'>
<b>Quick start</b>
<div>
<div class='xohelp_row'><span class='xoimg_help_x24 xoimg_list_add'>&nbsp;</span><span class='xohelp_row_text'>Add <b>Simple Wikipedia - Articles</b> to the queue</span></div>
<div class='xohelp_row'><span class='xoimg_help_x24 xoimg_media_play'>&nbsp;</span><span class='xohelp_row_text'>Download <b>Simple Wikipedia - Articles</b></span></div>
{{#app_is_drd}}
<div class='xohelp_row'><span class='xohelp_bullet'>&nbsp;</span><span class='xohelp_row_text'>Choose XOWA from the menu and open "simple.wikipedia.org"</span></div>
{{/app_is_drd}}
{{^app_is_drd}}
<div class='xohelp_row'><span class='xohelp_bullet'>&nbsp;</span><span class='xohelp_row_text'>Reload the page, open the wikis menu in the left-hand nav and click "simple.wikipedia.org"</span></div>
{{/app_is_drd}}
</div>
<br/>
<b>Notes</b>
<div>
<div class='xohelp_row'><span class='xohelp_bullet'>&nbsp;</span><span class='xohelp_row_text'>Please make sure you are on Wi-Fi when downloading! Most wikis will be many MB or even GB.</span></div>
<div class='xohelp_row'><span class='xohelp_bullet'>&nbsp;</span><span class='xohelp_row_text'>Download Central supports pause and resume. Pause the task (or close the app) and resume later.</span></div>
</div>
<br/>
<b>Buttons</b>
<div>
<div class='xohelp_row'><span class='xoimg_help_x24 xoimg_fsys_dir'>&nbsp;</span><span class='xohelp_row_text'>Select a folder location for the wikis</span></div>
<div class='xohelp_row'><span class='xoimg_help_x24 xoimg_inet_download'>&nbsp;</span><span class='xohelp_row_text'>Download the latest list of wikis from archive.org</span></div>
<div class='xohelp_row'><span class='xoimg_help_x24 xoimg_list_add'>&nbsp;</span>
<span class='xohelp_row_text'>Move a task to the queue</span>
</div>
<div class='xohelp_row'><span class='xoimg_help_x24 xoimg_list_remove'>&nbsp;</span>
<span class='xohelp_row_text'>(In the queue table) Remove a task from the queue. All work will be lost</span>
</div>
<div class='xohelp_row'><span class='xoimg_help_x24 xoimg_list_remove'>&nbsp;</span>
<span class='xohelp_row_text'>(In the imported table) Remove the task from imported and place it back in the available table</span>
</div>
<div class='xohelp_row'><span class='xoimg_help_x24 xoimg_media_play'>&nbsp;</span>
<span class='xohelp_row_text'>Start the queue</span>
</div>
<div class='xohelp_row'><span class='xoimg_help_x24 xoimg_media_pause'>&nbsp;</span>
<span class='xohelp_row_text'>Pause the queue</span>
</div>
<div class='xohelp_row'><span class='xoimg_help_x24 xoimg_list_refresh'>&nbsp;</span>
<span class='xohelp_row_text'>Restart a failed task from the last known step</span>
</div>
</div>
{{^app_is_drd}}
<br/>
<b>Links</b>
<div>
<div class='xohelp_row'><span class='xohelp_link'>&nbsp;</span><span class='xohelp_row_text'><b>Help</b>: <a href='{{link_help}}'>Information about Download Central</a></span></div>
</div>
{{/app_is_drd}}
</div>
</div>
<div class='main_body' id='main_body'>
<div class='task_tbl' data-name='work__tbl'>
<div class='xotbl_head_row'>
<div class='xotbl_head_text cur_head_text_2'>Queue</div>
<div class='xotbl_head_btns cur_head_btns_2'>
<a class='xoimg_btn_x24 xoimg_fsys_dir' title='select xowa folder' href="/site/home/wiki/Special:XowaRootDir">&nbsp;</a>
<a class='xoimg_btn_x24 xoimg_help_tip' title='view help' href='javascript:void(0)' onclick='return xo.help.toggle("cur")'>&nbsp;</a>
</div>
</div>
<div id='head__row'></div>
<div id="work__tbl"></div>
</div>
<div class='task_tbl' data-name='todo__tbl'>
<div class='xotbl_head_row'>
<div class='xotbl_head_text cur_head_text__available__caption'>Available</div>
<div class='xotbl_head_btns cur_head_btns'>
<a class='xoimg_btn_x24 xoimg_inet_download' title='download database' href='javascript:void(0)'
data_alertify_msg='Please confirm that you want to download the latest list of wikis from archive.org.<br/><br/>Please note that updates are usually released on a weekly basis.'
data_alertify_ok='Download'
data_alertify_cancel='Cancel'
data_alertify_func='xo.bldr.todo.download_db__send();'
onclick='return xo.alertify.confirm_func(this);'>&nbsp;</a>
</div>
</div>
<div class='xotbl_head_row'>
<div class='xotbl_head_text'>Lang:
<select id='filter_langs' href='javascript:void(0)' onchange='xo.bldr.todo.filter__send();'>
<option value='*' selected='selected'>All</option>
<option value='en'>English</option>
<option value='de'>German</option>
<option value='fr'>French</option>
<option value='pl'>Polish</option>
<option value='ar'>Arabic</option>
<option value='cs'>Czech</option>
<option value='ht'>Haitian</option>
</select>
</div>
<div class='xotbl_head_text'>Type:
<select id='filter_types' href='javascript:void(0)' onchange='xo.bldr.todo.filter__send();'>
<option value='*' selected='selected'>All</option>
<option value='wikipedia'>Wikipedia</option>
<option value='wiktionary'>Wiktionary</option>
<option value='wikisource'>Wikisource</option>
<option value='wikivoyage'>Wikivoyage</option>
<option value='wikiquote'>Wikiquote</option>
<option value='wikibooks'>Wikibooks</option>
<option value='wikiversity'>Wikiversity</option>
<option value='wikinews'>Wikinews</option>
<option value='wikimisc'>Others</option>
</select>
</div>
</div>
<div id='todo__tbl'></div>
</div>
<div class='task_tbl' data-name='done__tbl'>
<div class='xotbl_head_row'>
<div class='xotbl_head_text cur_head_text'>Imported</div>
</div>
<div id='done__tbl'></div>
</div>
<div style='display:none;' data-name='test panel'>
<div id='xowa_err_div'></div>
<div style='padding-bottom:5px;'>
<button class='admin_btn' accesskey='a' id='admin__add_work__btn'>add work</button>&nbsp;
</div>
<div>
<button class='admin_btn' accesskey='d' id='admin__del_work__btn'>del work</button>&nbsp;
</div>
<div>
<button class='admin_btn' accesskey='r' id='admin__run_next__btn'>run next</button>&nbsp;
</div>
<div>
<button class='admin_btn' accesskey='p' id='admin__stop_cur__btn'>stop all</button>&nbsp;
</div>
</div>
</div>

View File

@@ -0,0 +1,45 @@
{{#row_is_work}}
<div class='xotbl_data_row work_row' id='{{row_type}}:{{task_id}}:row' data-sort='{{task_sort}}'>
<div class='flex_div'>
<a id='{{row_type}}:{{task_id}}:del_work' class='xoimg_btn_x24 xoimg_list_remove' href='javascript:void(0)' onclick='xo.bldr.work.del_work__send("{{task_id}}");'>&nbsp;</a>
<div class='task_name' id='{{row_type}}:{{task_id}}:name'>{{{task_name}}}</div>
</div>
<div class='pbar_row flex_div pbar_row_1' id='{{row_type}}:{{task_id}}:step-row'>
<span class='pbar_step' id='{{row_type}}:{{task_id}}:step-name'>{{{step.step_name}}}</span>
</div>
<div class='pbar_row' id='{{row_type}}:{{task_id}}:pbar-row'>
<div class='pbar_proc' id='{{row_type}}:{{task_id}}:pbar-txt'>{{{prog_msg}}}</div>
<div class='pbar_div'>
<div class="pbar_bar" id='{{row_type}}:{{task_id}}:pbar-bar'>
</div>
</div>
</div>
</div>
{{/row_is_work}}
{{^row_is_work}}
<div class='xotbl_data_row flex_div' id='{{row_type}}:{{task_id}}:row' data-sort='{{task_sort}}'>
{{#row_is_head}}
<a id='{{row_type}}:{{task_id}}:run_next' class='xoimg_btn_x24 xoimg_media_play work_btn_disabled' href='javascript:void(0)' onclick='xo.bldr.work.run_next__send("{{task_id}}");'>&nbsp;</a>
{{/row_is_head}}
{{#row_is_todo}}
<a id='{{row_type}}:{{task_id}}:add_work' class='xoimg_btn_x24 xoimg_list_add' href='javascript:void(0)' onclick='xo.bldr.todo.add_work__send("{{task_id}}");'>&nbsp;</a>
{{/row_is_todo}}
{{#row_is_done}}
<a id='{{row_type}}:{{task_id}}:del_done' class='xoimg_btn_x24 xoimg_list_remove' href='javascript:void(0)' onclick='xo.bldr.done.del_done__send("{{task_id}}");'>&nbsp;</a>
{{/row_is_done}}
{{#row_is_head}}
<div class="head_name">
<span id='{{row_type}}:{{task_id}}:name'>{{{task_name}}}</span>
<!--&nbsp;&middot;<span id='{{row_type}}:{{task_id}}:size'>{{prog_data_end_str}}</span>-->
<!--&middot;<span id='{{row_type}}:{{task_id}}:time'>{{prog_time_end_str}}</span>-->
</div>
{{/row_is_head}}
{{^row_is_head}}
<div class='task_name' id='{{row_type}}:{{task_id}}:name'>{{{task_name}}}</div>
{{#row_is_todo}}
<a id='{{row_type}}:{{task_id}}:add_work' class='xoimg_btn_x24 xoimg_list_remove' href='javascript:void(0)' onclick='xo.bldr.todo.del_todo__send("{{task_id}}");'>&nbsp;</a>
{{/row_is_todo}}
<a class='xoimg_btn_x24 xoimg_help_info' href='/site/home/wiki/Special:XowaDownloadCentralInfo?task_id={{task_id}}'>&nbsp;</a>
{{/row_is_head}}
</div>
{{/row_is_work}}