Commit graph

28 commits

Author SHA1 Message Date
bd29ffd43c
feat: add custom footer links to configuration
Introduced a new 'footer_links' configuration option allowing users to specify custom links to display in the footer. Each link includes 'text' and 'url'. This enhances the flexibility of the footer content, making it adaptable to various use cases.

Updated the index.php to dynamically generate these footer links if they are set in the configuration, ensuring they are rendered appropriately along with existing links.
2024-08-09 12:05:51 +02:00
fae1336444
feat: refactor input handling and copy button functionality
Refactored event listeners for XMR and fiat input fields, consolidating common logic and improving maintainability. Introduced explicit copy button IDs and enhanced their functionality by moving inline click handlers to addEventListener. These changes streamline form control interactions and ensure consistent behavior across different user inputs.

Additionally, removed redundant onchange handlers from the PHP file to simplify code and mitigate potential conflicts.
2024-08-08 16:34:03 +02:00
85d30389b1
feat: add optional attribution and servers' info display
Introduced a new configuration file allowing optional attribution
content and conditional display of the "Servers Guru" attribution
link. This enhances customizability and control over displayed
attributions.

The changes include:
- Adding a config.dist.php for default configurations.
- Modifying index.php to load and utilize the new configuration
  options.
- Updating multiple language files to support the new attribution
  and link display.

These modifications will enable users to have a more tailored
display of attributions on the website.
2024-08-08 15:45:25 +02:00
061892fa04
feat: improve API error handling & add exchange rate updates
- Switched to using cURL for fetching data from CoinGecko API, with added error handling for failed requests. This reduces the chances of runtime errors and ensures fallback to previous data.
- Implemented periodic updates to exchange rates every 5 seconds in `main.js` to keep the rates current.
- Added OpenGraph meta tags on `index.php` for better social media integration.
- Minor CSS adjustments for better table rendering.
- Moved `import` statements for Bootstrap CSS and JS to the top in `main.js`.
2024-08-08 14:55:47 +02:00
73222b3f94
feat: Enhance currency tooltip descriptions
Updated the tooltip descriptions for currency links to display full currency names where available, improving user clarity and interface usability. If a full name is not available, the currency code is still shown. This enhances the experience by making the tooltips more informative.
2024-08-08 13:17:36 +02:00
9c7db1013e
feat: localize currency drop-down options
Enhanced the currency drop-down to display localized names if available. This improves user experience by showing familiar names in their local language. Ensures the default language is used if localization isn't specified.
2024-08-08 13:15:53 +02:00
e983660b55
fix: remove unused custom.css link from index.php
Eliminated the redundant stylesheet inclusion to reduce unnecessary HTTP requests and improve page load performance. No impact on visual styling as the content of custom.css was deprecated and merged into main.css.
2024-08-08 09:24:20 +02:00
959c9f86cf
fix: enhance button accessibility and clean up script tags
Replaced button element with a hyperlink to improve accessibility, ensuring better navigation for screen readers and users. Also, formatted the inline script for clarity and consistency. These changes contribute to a more user-friendly interface and maintain clean, readable code.
2024-08-08 09:23:37 +02:00
d89a2c9053
refactor: streamline currency data handling and UI updates
- Moved currency data initialization to load dynamically from JSON.
- Removed static array of currencies, utilizing the JSON keys instead.
- Simplified exchange rate extraction to dynamically fetch values.
- Improved user language detection and selection process.
- Refactored HTML and PHP to dynamically generate language and currency options.
- Replaced various currency conversion logic with a dynamic implementation.
- Enhanced UI elements for better readability and maintainability.
- Consolidated inline JavaScript functions into external script for organization.

These changes reduce hardcoding, improve maintainability, and ensure that currency data is up-to-date and reflects user preferences more effectively.
2024-08-08 08:44:42 +02:00
220d5dde1d
refactor: translate comments, add TODOs for future dynamic data loading
Enhances code clarity by translating German comments to English and adding comments and TODOs for dynamic data loading
and generation of currencies, API data, language files, and HTML elements.
This will reduce hardcoded values and improve maintainability. Also, adds a
reminder to move scripts to separate files and add OpenGraph tags in the HTML.

No breaking changes, but dynamically loading these values will be essential
for improving the codebase in future iterations.
2024-08-08 07:46:58 +02:00
Luke
084552e72f
Unix Time for Office
Example: =A1/86400+25569
*A1 is the field with the Unix numerical value, set the created cell to the desired date format. The date is UTC/GMT+0
2024-07-27 16:43:55 +02:00
Luke
fc8f7b4a93
Hotfix 2024-06-24 06:40:55 +02:00
Luke
091714abf3
pt-BR fix 2024-06-15 10:38:20 +02:00
Luke
1f6bbb915b
Added new Languages
Translation outstanding
2024-06-15 10:17:21 +02:00
Luke
16f52797fe
Update Office Feature
Time and Hyperlinks added
2024-06-13 10:37:00 +02:00
Luke
77e4619da6
Added Excel,Calc Feature 2024-06-11 12:13:51 +02:00
Luke
7454a72765
JS-Script Error Fix
CopyBtn-Fix
2024-06-05 07:37:42 +02:00
thecashewtrader
eb0cf80b42 add webpack for lean bootstrap js 2024-05-24 20:18:12 +05:30
thecashewtrader
75a0632af7 use updated coingecko.php 2024-05-24 16:05:56 +05:30
thecashewtrader
d162e90c7e Remove Montserrat 2024-05-24 14:51:12 +05:30
thecashewtrader
27814e9b70 use minified css in index.php 2024-05-24 14:14:42 +05:30
thecashewtrader
cc44911ea1 fix API fetching to variables 2024-05-24 14:13:21 +05:30
Luke
642537c441
Add files via upload 2024-05-15 08:21:02 +02:00
Luke
b3564695e9
Update Language (zh-CN)
Chinese (PRC – People’s Republic of China) Language has now been added correctly. Chinese (Taiwan) would now also be possible.
2024-05-11 21:54:12 +02:00
Luke
981f959dee
MXN added 2023-06-19 11:38:38 +02:00
Luke
4ed85ce53d
CLP added & Hotfixes 2023-06-19 09:43:47 +02:00
Luke
1429263af5
Bug fix
CCP to CLP
2023-05-18 10:54:17 +02:00
Luke
9430dfcef9
added full project 2023-05-15 09:04:02 +02:00