4 Commits
1.4.7 ... main

Author SHA1 Message Date
Zan
6a5ecadbdc new web 2026-03-29 16:18:52 +02:00
Zan
1bdc8b5692 Few fixes 2026-03-28 23:55:27 +01:00
Zan
aea3b20ff9 fix light text in absences 2026-03-11 18:16:08 +01:00
Zan
ee42a064d2 update build 2026-02-23 20:58:45 +01:00
7 changed files with 155 additions and 58 deletions

View File

@@ -1,71 +1,82 @@
name: Package and Release Extension
name: Build and Release
on:
workflow_dispatch:
push:
branches:
- test
inputs:
version:
description: 'Release version (pl. v1.0.0)'
required: true
default: 'v1.0.0'
jobs:
build-and-release:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get current date
id: date
- name: Set up build directories
run: |
echo "DATE=$(date +'%Y.%m.%d. %H:%M')" >> $GITHUB_ENV
echo "DATE_FOR_ZIP=$(date +'%Y%m%d-%H%M')" >> $GITHUB_ENV
mkdir -p build/chrome
mkdir -p build/firefox
- name: Create ZIP file
- name: Copy files Chrome
run: |
zip -r "pre-firxa-${{ env.DATE_FOR_ZIP }}.zip" . -x "*.git*" "*.github*" "*.idea*"
rsync -av \
--exclude='.git' \
--exclude='.gitea' \
--exclude='README*' \
--exclude='readme*' \
--exclude='LICENSE*' \
--exclude='license*' \
--exclude='*.md' \
--exclude='build/' \
. build/chrome/
- name: Delete previous pre-release
uses: dev-drprasad/delete-tag-and-release@v0.2.1
with:
delete_release: true
tag_name: pre-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true
- name: Copy files Firefox
run: |
rsync -av \
--exclude='.git' \
--exclude='.gitea' \
--exclude='README*' \
--exclude='readme*' \
--exclude='LICENSE*' \
--exclude='license*' \
--exclude='*.md' \
--exclude='build/' \
. build/firefox/
- name: Create new pre-release
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Prepare Chrome build
run: |
rm -f build/chrome/manifest_fox.json
- name: Prepare Firefox build
run: |
rm -f build/firefox/manifest.json
mv build/firefox/manifest_fox.json build/firefox/manifest.json
- name: Create ZIP archives
run: |
cd build/chrome
zip -r ../../firka-extension-chrome-${{ github.event.inputs.version }}.zip .
cd ../firefox
zip -r ../../firka-extension-firefox-${{ github.event.inputs.version }}.zip .
- name: Create Release
uses: actions/gitea-release@v1
with:
tag_name: pre-release
release_name: Fejlesztői build
token: ${{ secrets.GITEA_TOKEN }}
tag_name: ${{ github.event.inputs.version }}
release_name: ${{ github.event.inputs.version }}
body: |
Ez egy kiadás előtti build, amely minden egyes commit után frissül!
A build automatikusan készült ekkor: ${{ env.DATE }}
## Firka Extension ${{ github.event.inputs.version }}
### Letöltések
- **Chrome / Chromium** `firka-extension-chrome-${{ github.event.inputs.version }}.zip`
- **Firefox** `firka-extension-firefox-${{ github.event.inputs.version }}.zip`
files: |
firka-extension-chrome-${{ github.event.inputs.version }}.zip
firka-extension-firefox-${{ github.event.inputs.version }}.zip
draft: false
prerelease: true
- name: Upload ZIP to release
if: steps.create_release.outputs.upload_url != ''
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./pre-firxa-${{ env.DATE_FOR_ZIP }}.zip
asset_name: pre-firxa-${{ env.DATE_FOR_ZIP }}.zip
asset_content_type: application/zip
check-links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
with:
fail: false
prerelease: false

View File

@@ -197,7 +197,7 @@ body {
.month-header {
background: var(--button-secondaryFill);
color: white;
color: var(--text-primary);
padding: 16px 20px;
font-size: 16px;
font-weight: 600;
@@ -377,7 +377,7 @@ body {
.modal-header {
background: var(--button-secondaryFill);
border-bottom: 1px solid #00000000 !important;
color: white;
color: var(--text-primary);
padding: 14px 18px !important;
display: flex;
align-items: center;

BIN
images/folio.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Firxa",
"version": "1.4.6",
"version": "1.4.8",
"description": "KRÉTA webes verziójának újraírása",
"icons": {
"128": "images/firka_logo_128.png"

View File

@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Firxa",
"version": "1.4.6",
"version": "1.4.8",
"description": "KRÉTA webes verziójának újraírása",
"icons": {
"128": "images/firka_logo_128.png"

View File

@@ -1301,3 +1301,76 @@ h2 {
.update-button .material-icons-round {
font-size: 18px;
}
.folio-ad-card {
display: flex;
align-items: center;
justify-content: space-between;
background: linear-gradient(135deg, #00D2A9 0%, #00b896 100%);
border-radius: 16px;
padding: 14px 16px;
margin: 4px 16px 16px;
text-decoration: none;
cursor: pointer;
transition: transform 0.15s ease, box-shadow 0.15s ease;
box-shadow: 0 2px 12px rgba(0, 210, 169, 0.35);
}
.folio-ad-card:hover {
transform: translateY(-1px);
box-shadow: 0 4px 16px rgba(0, 210, 169, 0.5);
}
.folio-ad-card:active {
transform: translateY(0);
}
.folio-ad-left {
display: flex;
align-items: center;
gap: 12px;
}
.folio-ad-logo {
width: 40px;
height: 40px;
border-radius: 10px;
object-fit: cover;
}
.folio-ad-text {
display: flex;
flex-direction: column;
gap: 2px;
}
.folio-ad-title {
font-size: 15px;
font-weight: 700;
color: #fff;
}
.folio-ad-desc {
font-size: 11px;
color: rgba(255, 255, 255, 0.85);
}
.folio-ad-right {
display: flex;
align-items: center;
gap: 4px;
background: rgba(255, 255, 255, 0.2);
border-radius: 8px;
padding: 6px 10px;
}
.folio-ad-right .material-icons-round {
font-size: 16px;
color: #fff;
}
.folio-ad-cta {
font-size: 12px;
font-weight: 600;
color: #fff;
}

View File

@@ -103,6 +103,19 @@
</div>
</div>
</div>
<a href="https://folio.zan1456.dev" target="_blank" class="folio-ad-card">
<div class="folio-ad-left">
<img src="../images/folio.png" alt="Folio" class="folio-ad-logo">
<div class="folio-ad-text">
<span class="folio-ad-title">Folio</span>
<span class="folio-ad-desc">Material You KRÉTA app Androidra</span>
</div>
</div>
<div class="folio-ad-right">
<span class="material-icons-round">download</span>
<span class="folio-ad-cta">Letöltés</span>
</div>
</a>
</div>
<div class="tab-content" id="tab-settings">