WarpEngine dropdown emoji

This commit is contained in:
2026-08-06 16:23:52 +02:00
parent 0cba2e3e3d
commit 98c38f775d
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ ActiveAdmin.register WarpEngine::ApplicationToken, as: "Application Token" do
actions :index, :show, :new, :create, :edit, :update, :destroy actions :index, :show, :new, :create, :edit, :update, :destroy
permit_params :name, :owner_id, :expires_at, :scopes_string, :unrestricted permit_params :name, :owner_id, :expires_at, :scopes_string, :unrestricted
menu parent: "WarpEngine", priority: 9, label: "🎟️ App Tokens" menu parent: "🌀 WarpEngine", priority: 9, label: "🎟️ App Tokens"
config.sort_order = "created_at_desc" config.sort_order = "created_at_desc"
config.batch_actions = false config.batch_actions = false
+1 -1
View File
@@ -1,5 +1,5 @@
ActiveAdmin.register_page "CI Dashboard" do ActiveAdmin.register_page "CI Dashboard" do
menu parent: "WarpEngine", priority: 11, label: "🚀 CI Dashboard" menu parent: "🌀 WarpEngine", priority: 11, label: "🚀 CI Dashboard"
content do content do
if WarpEngine.woodpecker_configured? if WarpEngine.woodpecker_configured?
+1 -1
View File
@@ -1,7 +1,7 @@
ActiveAdmin.register WarpEngine::CiRepository, as: "CI Repository" do ActiveAdmin.register WarpEngine::CiRepository, as: "CI Repository" do
actions :index, :show, :edit, :update actions :index, :show, :edit, :update
menu parent: "WarpEngine", priority: 10, label: "🔧 CI Repos" menu parent: "🌀 WarpEngine", priority: 10, label: "🔧 CI Repos"
config.sort_order = "repo_name_asc" config.sort_order = "repo_name_asc"
config.batch_actions = false config.batch_actions = false
+1 -1
View File
@@ -1,7 +1,7 @@
ActiveAdmin.register WarpEngine::Download, as: "Download" do ActiveAdmin.register WarpEngine::Download, as: "Download" do
actions :index, :show actions :index, :show
menu parent: "WarpEngine", priority: 7, label: "📊 Download Stats" menu parent: "🌀 WarpEngine", priority: 7, label: "📊 Download Stats"
scope :all, default: true scope :all, default: true
scope("Today") { |scope| scope.where("downloads.created_at >= ?", Date.current.beginning_of_day) } scope("Today") { |scope| scope.where("downloads.created_at >= ?", Date.current.beginning_of_day) }
+1 -1
View File
@@ -1,5 +1,5 @@
ActiveAdmin.register_page "Files" do ActiveAdmin.register_page "Files" do
menu parent: "WarpEngine", priority: 6, label: "📁 Files" menu parent: "🌀 WarpEngine", priority: 6, label: "📁 Files"
content do content do
service = WarpEngine::FileManagerService.new service = WarpEngine::FileManagerService.new
+1 -1
View File
@@ -1,7 +1,7 @@
ActiveAdmin.register WarpEngine::Image, as: "Image" do ActiveAdmin.register WarpEngine::Image, as: "Image" do
permit_params :file_upload permit_params :file_upload
menu parent: "WarpEngine", priority: 5, label: "🖼️ Images" menu parent: "🌀 WarpEngine", priority: 5, label: "🖼️ Images"
# SoftwareImage a natív használó; a hoston regisztrált image_owners # SoftwareImage a natív használó; a hoston regisztrált image_owners
# (WarpEngine.config) további használókat adhat hozzá (pl. TTG Member). # (WarpEngine.config) további használókat adhat hozzá (pl. TTG Member).
+1 -1
View File
@@ -1,7 +1,7 @@
ActiveAdmin.register WarpEngine::PlatformLink, as: "Platform Link" do ActiveAdmin.register WarpEngine::PlatformLink, as: "Platform Link" do
permit_params :name, :url, :platform, :position permit_params :name, :url, :platform, :position
menu parent: "WarpEngine", priority: 5, label: "🔗 Platform Links" menu parent: "🌀 WarpEngine", priority: 5, label: "🔗 Platform Links"
config.sort_order = "platform_asc" config.sort_order = "platform_asc"
+1 -1
View File
@@ -6,7 +6,7 @@ ActiveAdmin.register WarpEngine::Software, as: "Software" do
releases_attributes: [ :id, :version, :_destroy, releases_attributes: [ :id, :version, :_destroy,
{ release_assets_attributes: [ :id, :kind, :path, :_destroy ] } ] { release_assets_attributes: [ :id, :kind, :path, :_destroy ] } ]
menu parent: "WarpEngine", priority: 2, label: "🎮 Softwares" menu parent: "🌀 WarpEngine", priority: 2, label: "🎮 Softwares"
actions :all, except: [ :edit ] actions :all, except: [ :edit ]