Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
el3ab-Player
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
el3ab-Player
Commits
3e5614d1
Commit
3e5614d1
authored
Jun 06, 2026
by
Mahmoud Aglan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ui: disable backgammon button on home screen with coming soon label
Co-Authored-By:
Claude Opus 4.6
<
noreply@anthropic.com
>
parent
b742fc99
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
4 deletions
+22
-4
table.js
public/js/modules/play/scenes/table.js
+22
-4
No files found.
public/js/modules/play/scenes/table.js
View file @
3e5614d1
...
...
@@ -55,15 +55,18 @@ export function mountTable(el) {
<!--
Games
-->
<
div
class
=
"games-grid"
>
$
{
games
.
map
(
g
=>
`
<div class="game-tile" data-game="
${
g
.
key
}
" style="--game-color:
${
g
.
color
}
;--game-gradient:
${
g
.
gradient
}
;">
$
{
games
.
map
(
g
=>
{
const
disabled
=
g
.
key
===
'backgammon'
;
return
`
<div class="game-tile
${
disabled
?
'game-tile-disabled'
:
''
}
" data-game="
${
g
.
key
}
" style="--game-color:
${
g
.
color
}
;--game-gradient:
${
g
.
gradient
}
;">
<div class="game-tile-bg" style="background:
${
g
.
gradient
}
;"></div>
<div class="game-tile-content">
<div class="game-tile-icon">
${
assetImg
(
g
.
key
+
'_icon'
,
g
.
icon
,
48
,
48
)}
</div>
<div class="game-tile-name">
${
g
.
name
}
</div>
${
disabled
?
'<div class="game-tile-soon">قريباً</div>'
:
''
}
</div>
</div>
`
).
join
(
''
)}
</div>
`
;
}
).
join
(
''
)}
<
/div
>
<
/div
>
<
div
id
=
"game-menu"
class
=
"game-menu hidden"
><
/div
>
...
...
@@ -101,6 +104,21 @@ export function mountTable(el) {
transform
:
scale
(
0.93
);
box
-
shadow
:
0
2
px
8
px
rgba
(
0
,
0
,
0
,
0.4
);
}
.
game
-
tile
-
disabled
{
opacity
:
0.4
;
pointer
-
events
:
none
;
filter
:
grayscale
(
0.5
);
}
.
game
-
tile
-
disabled
:
active
{
transform
:
none
;
}
.
game
-
tile
-
soon
{
font
-
size
:
11
px
;
font
-
weight
:
700
;
color
:
rgba
(
255
,
255
,
255
,
0.7
);
background
:
rgba
(
0
,
0
,
0
,
0.3
);
padding
:
2
px
10
px
;
border
-
radius
:
8
px
;
margin
-
top
:
2
px
;
}
.
game
-
tile
-
bg
{
position
:
absolute
;
inset
:
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment