Skip to content

Commit

Permalink
r0b08x [chore] 12/4/2023, 4:28:29 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
p3x-robot committed Dec 4, 2023
1 parent 81fc1b0 commit e3ebc53
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2023.10.125
[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2023.10.126

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@



# 🤖 P3X Gitlist - A decorated enhanced elegant, feature rich and modern private git ui repository viewer v2023.10.125
# 🤖 P3X Gitlist - A decorated enhanced elegant, feature rich and modern private git ui repository viewer v2023.10.126



Expand Down Expand Up @@ -167,7 +167,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2023.10.125
[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2023.10.126

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion artifacts/php-7.2-ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2023.10.125
[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2023.10.126

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion artifacts/screenshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2023.10.125
[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2023.10.126

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion change-break.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2023.10.125
[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2023.10.126

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion change-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2023.10.125
[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2023.10.126

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "p3x-gitlist",
"version": "2023.10.126",
"version": "2023.10.127",
"corifeus": {
"prod-dir": "prod",
"css-postfix": "49127d5e63e7892020d8e4a89ccb3096753eedde10ae84df1b002c027fb40698",
Expand Down
3 changes: 2 additions & 1 deletion src/browser/js/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ function copyToClipboard(textToCopy) {
}
}

window.p3xGitlistCopy = async(code) => {
window.p3xGitlistCopy = async(codeId) => {
try {
const code = document.getElementById(`markdown-code-${codeId}`).innerText;
await copyToClipboard(code);
$.snackbar({ content: 'Copied!' })
} catch(e) {
Expand Down
6 changes: 5 additions & 1 deletion src/browser/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ markdownRenderer.image = function (href, title, text) {
return result;
};

let codeIndex = 0;

markdownRenderer.code = (code, language) => {
if (language === undefined) {
language = 'text';
Expand All @@ -116,7 +118,9 @@ We are not loading everything, since it is about 500kb`)
language: language,
}).value : code;

return `<div class="p3x-gitlist-markdown-code"><div class="p3x-gitlist-markdown-code-copy-paste" onclick='window.p3xGitlistCopy(${JSON.stringify(code)})'><i class="far fa-copy fa-lg"></i></div><pre><code class="hljs ${language}">${highlighted}</code></pre></div>`
codeIndex++;

return `<div class="p3x-gitlist-markdown-code"><div class="p3x-gitlist-markdown-code-copy-paste" onclick='window.p3xGitlistCopy(${codeIndex})'><i class="far fa-copy fa-lg"></i></div><pre><code class="hljs ${language}" id="markdown-code-${codeIndex}">${highlighted}</code></pre></div>`
//return `<pre><code class="hljs ${language}">${highlighted}</code></pre>`;
};

Expand Down
2 changes: 1 addition & 1 deletion todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2023.10.125
[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2023.10.126

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down

0 comments on commit e3ebc53

Please sign in to comment.