Profiler/Completions

* show completion info for claimed characters in infobox on
      appropriate db pages
This commit is contained in:
Sarjuuk 2025-11-03 18:00:50 +01:00
parent 37380ff515
commit e3d6f7b3a7
25 changed files with 640 additions and 39 deletions

View file

@ -4260,3 +4260,33 @@ a.button-red.fa-clipboard > em > span {
.fav-star-1 {
background-position: -65px center;
}
/* imported from lists */
.compact-completion-display a {
margin-left: 2px;
vertical-align: text-top; /* middle; */
}
.progress-icon {
/* background: url(/images/ListManager/completion.png?4) no-repeat; */
background: url(../images/ui/check.png) no-repeat -1px -15px;
border-radius: 99px;
display: inline-block;
height: 13px; /* 16px; */
line-height: 16px;
vertical-align: sub; /* bottom; */
width: 13px; /* 16px; */
}
.progress-icon:focus {
box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}
/* newer atlas has 9 icons */
.progress-icon.progress-8 {
background-position: -1px 0px;
}
.progress-icon.with-text {
padding-left: 16px;
}

View file

@ -8538,10 +8538,15 @@ function ProfilerCompletion(_parent) {
_tabsListview.show((_subtotal[_category].complete[_subcategory] ? 2 : 3));
if (_opt.subname) {
_listview.createIndicator($WH.sprintf(LANG['lvnote_' + _mode + 'ind'], _category, _subcategory, _opt.subname(_subcategory)), Listview.headerFilter.bind(_listview, _listview.columns[_listview.columns.length - 2], ''));
_excluded.createIndicator($WH.sprintf(LANG['lvnote_' + _mode + 'ind'], _category, _subcategory, _opt.subname(_subcategory)), Listview.headerFilter.bind(_excluded, _listview.columns[_listview.columns.length - 2], ''));
setTimeout(Listview.headerFilter.bind(_listview, _listview.columns[_listview.columns.length - 2], _opt.subname(_subcategory)), 1);
setTimeout(Listview.headerFilter.bind(_excluded, _excluded.columns[_excluded.columns.length - 2], _opt.subname(_subcategory)), 1);
// aowow - adressing col by offset breaks everytime we add/remove cols in a listview template
// _listview.createIndicator($WH.sprintf(LANG['lvnote_' + _mode + 'ind'], _category, _subcategory, _opt.subname(_subcategory)), Listview.headerFilter.bind(_listview, _listview.columns[_listview.columns.length - 2], ''));
// _excluded.createIndicator($WH.sprintf(LANG['lvnote_' + _mode + 'ind'], _category, _subcategory, _opt.subname(_subcategory)), Listview.headerFilter.bind(_excluded, _listview.columns[_listview.columns.length - 2], ''));
// setTimeout(Listview.headerFilter.bind(_listview, _listview.columns[_listview.columns.length - 2], _opt.subname(_subcategory)), 1);
// setTimeout(Listview.headerFilter.bind(_excluded, _excluded.columns[_excluded.columns.length - 2], _opt.subname(_subcategory)), 1);
_listview.createIndicator($WH.sprintf(LANG['lvnote_' + _mode + 'ind'], _category, _subcategory, _opt.subname(_subcategory)), Listview.headerFilter.bind(_listview, _listview.columns.find((x) => x.id == (_opt.catgcol || 'category')), ''));
_excluded.createIndicator($WH.sprintf(LANG['lvnote_' + _mode + 'ind'], _category, _subcategory, _opt.subname(_subcategory)), Listview.headerFilter.bind(_excluded, _listview.columns.find((x) => x.id == (_opt.catgcol || 'category')), ''));
setTimeout(Listview.headerFilter.bind(_listview, _listview.columns.find((x) => x.id == (_opt.catgcol || 'category')), _opt.subname(_subcategory)), 1);
setTimeout(Listview.headerFilter.bind(_excluded, _excluded.columns.find((x) => x.id == (_opt.catgcol || 'category')), _opt.subname(_subcategory)), 1);
}
}
}

View file

@ -4899,6 +4899,12 @@ var LANG = {
/* AoWoW: start custom */
// Profiler completions import
completion: 'Vervollständigung', // WH.TERMS.completion
complete: 'Vollständig', // WH.TERMS.complete
incomplete: 'Unvollständig', // WH.TERMS.incomplete
parens_format: '$1 ($2)', // WH.TERMS.parens_format
// click to copy fn
copied: 'Kopiert',
clickToCopy: 'Klicke zum Kopieren',

View file

@ -4947,6 +4947,12 @@ var LANG = {
/* AoWoW: start custom */
// Profiler completions import
completion: 'Completion', // WH.TERMS.completion
complete: 'Complete', // WH.TERMS.complete
incomplete: 'Incomplete', // WH.TERMS.incomplete
parens_format: '$1 ($2)', // WH.TERMS.parens_format
// click to copy fn
copied: 'Copied',
clickToCopy: 'Click to Copy',

View file

@ -4901,6 +4901,12 @@ var LANG = {
/* AoWoW: start custom */
// Profiler completions import
completion: 'Terminación', // WH.TERMS.completion
complete: 'Completo', // WH.TERMS.complete
incomplete: 'Incompleto', // WH.TERMS.incomplete
parens_format: '$1 ($2)', // WH.TERMS.parens_format
// click to copy fn
copied: 'Copiado',
clickToCopy: 'Click para copiar',

View file

@ -4901,6 +4901,12 @@ var LANG = {
/* AoWoW: start custom */
// Profiler completions import
completion: 'Achèvement', // WH.TERMS.completion
complete: 'Complète', // WH.TERMS.complete
incomplete: 'Incomplet', // WH.TERMS.incomplete
parens_format: '$1 ($2)', // WH.TERMS.parens_format
// click to copy fn
copied: 'Copié',
clickToCopy: 'Cliquer pour Copier',

View file

@ -4903,6 +4903,12 @@ var LANG = {
/* AoWoW: start custom */
// Profiler completions import
completion: 'Завершено', // WH.TERMS.completion
complete: 'Завершено', // WH.TERMS.complete
incomplete: 'Не завершено', // WH.TERMS.incomplete
parens_format: '$1 ($2)', // WH.TERMS.parens_format
// click to copy fn
copied: 'Скопировано',
clickToCopy: 'Нажмите, чтобы скопировать',

View file

@ -4927,6 +4927,12 @@ var LANG = {
/* AoWoW: start custom */
// Profiler completions import
completion: '达成', // WH.TERMS.completion
complete: '完成', // WH.TERMS.complete
incomplete: '未完成', // WH.TERMS.incomplete
parens_format: '$1$2', // WH.TERMS.parens_format
// click to copy fn
copied: '已复制',
clickToCopy: '点击复制',