Move plugins to manifest, pin Docker version, add Makefile
- Add plugins.txt listing all plugins for reproducible installs - Add Makefile with setup/start/stop/install-plugins targets - Remove user/plugins/ from git tracking - Pin Docker image to 1.7.49.5-ls244 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
-13554
File diff suppressed because it is too large
Load Diff
@@ -1,129 +0,0 @@
|
||||
/**
|
||||
* Clipboard Helper for Grav Admin
|
||||
* Provides copy-to-clipboard functionality with visual feedback
|
||||
*/
|
||||
|
||||
window.GravClipboard = {
|
||||
/**
|
||||
* Copy the value from an input/textarea element with visual feedback
|
||||
* @param {HTMLElement} buttonElement - The button element that was clicked
|
||||
* @param {string} inputId - Optional ID of input to copy from (if not previous sibling)
|
||||
*/
|
||||
copy: function(buttonElement, inputId) {
|
||||
var input;
|
||||
|
||||
if (inputId) {
|
||||
input = document.getElementById(inputId);
|
||||
} else {
|
||||
input = buttonElement.previousElementSibling;
|
||||
}
|
||||
|
||||
if (!input) {
|
||||
console.error('No input element found to copy from');
|
||||
return;
|
||||
}
|
||||
|
||||
// Select and copy the text
|
||||
input.select();
|
||||
var success = document.execCommand('copy');
|
||||
|
||||
if (success) {
|
||||
// Store original content
|
||||
var originalHTML = buttonElement.innerHTML;
|
||||
|
||||
// Show success feedback
|
||||
buttonElement.innerHTML = '<i class="fa fa-check"></i> Copied!';
|
||||
|
||||
// Restore original content after delay
|
||||
setTimeout(function() {
|
||||
buttonElement.innerHTML = originalHTML;
|
||||
}, 2000);
|
||||
} else {
|
||||
console.error('Failed to copy to clipboard');
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* Update webhook commands with actual token and URL values
|
||||
* @param {string} tokenFieldSelector - Selector for the token input field
|
||||
*/
|
||||
updateWebhookCommands: function(tokenFieldSelector) {
|
||||
tokenFieldSelector = tokenFieldSelector || '[name="data[scheduler][modern][webhook][token]"]';
|
||||
|
||||
// Try multiple ways to get the token field
|
||||
var tokenField = document.querySelector(tokenFieldSelector);
|
||||
if (!tokenField) {
|
||||
tokenField = document.querySelector('input[name*="webhook][token"]');
|
||||
}
|
||||
if (!tokenField) {
|
||||
// Look for the token input by searching in the webhook section
|
||||
var inputs = document.querySelectorAll('input[type="text"]');
|
||||
for (var i = 0; i < inputs.length; i++) {
|
||||
if (inputs[i].name && inputs[i].name.includes('webhook') && inputs[i].name.includes('token')) {
|
||||
tokenField = inputs[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var token = (tokenField && tokenField.value && tokenField.value.trim()) ? tokenField.value.trim() : 'YOUR_TOKEN';
|
||||
var siteUrl = window.location.origin + window.location.pathname.replace(/\/admin.*$/, '');
|
||||
|
||||
// Update webhook commands with actual values (URLs quoted for shell compatibility)
|
||||
var webhookAllCmd = 'curl -X POST "' + siteUrl + '/scheduler/webhook" \\\n -H "Authorization: Bearer ' + token + '"';
|
||||
var webhookJobCmd = 'curl -X POST "' + siteUrl + '/scheduler/webhook?job=backup" \\\n -H "Authorization: Bearer ' + token + '"';
|
||||
var healthCmd = 'curl "' + siteUrl + '/scheduler/health"';
|
||||
|
||||
// Set values in input fields if they exist
|
||||
var allInput = document.getElementById('webhook-all-cmd');
|
||||
var jobInput = document.getElementById('webhook-job-cmd');
|
||||
var healthInput = document.getElementById('webhook-health-cmd');
|
||||
|
||||
if (allInput) allInput.value = webhookAllCmd;
|
||||
if (jobInput) jobInput.value = webhookJobCmd;
|
||||
if (healthInput) healthInput.value = healthCmd;
|
||||
|
||||
return {
|
||||
token: token,
|
||||
siteUrl: siteUrl,
|
||||
webhookAllCmd: webhookAllCmd,
|
||||
webhookJobCmd: webhookJobCmd,
|
||||
healthCmd: healthCmd
|
||||
};
|
||||
},
|
||||
|
||||
/**
|
||||
* Initialize webhook command updates and listeners
|
||||
*/
|
||||
initWebhookCommands: function() {
|
||||
var self = this;
|
||||
|
||||
// Update on page load
|
||||
self.updateWebhookCommands();
|
||||
|
||||
// Also update when token field changes
|
||||
setTimeout(function() {
|
||||
var tokenField = document.querySelector('[name="data[scheduler][modern][webhook][token]"]');
|
||||
if (!tokenField) {
|
||||
tokenField = document.querySelector('input[name*="webhook][token"]');
|
||||
}
|
||||
if (tokenField) {
|
||||
tokenField.addEventListener('change', function() { self.updateWebhookCommands(); });
|
||||
tokenField.addEventListener('input', function() { self.updateWebhookCommands(); });
|
||||
}
|
||||
}, 500);
|
||||
}
|
||||
};
|
||||
|
||||
// Auto-initialize when DOM is ready
|
||||
if (document.readyState === 'loading') {
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
if (document.getElementById('webhook-all-cmd')) {
|
||||
GravClipboard.initWebhookCommands();
|
||||
}
|
||||
});
|
||||
} else {
|
||||
if (document.getElementById('webhook-all-cmd')) {
|
||||
GravClipboard.initWebhookCommands();
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,80 +0,0 @@
|
||||
(function($) {
|
||||
$(function() {
|
||||
/**
|
||||
* polyfill for html5 form attr
|
||||
*/
|
||||
|
||||
// detect if browser supports this
|
||||
var sampleElement = $('[form]').get(0);
|
||||
var isIE11 = !(window.ActiveXObject) && "ActiveXObject" in window;
|
||||
if (sampleElement && window.HTMLFormElement && sampleElement.form instanceof HTMLFormElement && !isIE11) {
|
||||
// browser supports it, no need to fix
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Append a field to a form
|
||||
*
|
||||
*/
|
||||
$.fn.appendField = function(data) {
|
||||
// for form only
|
||||
if (!this.is('form')) return;
|
||||
|
||||
// wrap data
|
||||
if (!$.isArray(data) && data.name && data.value) {
|
||||
data = [data];
|
||||
}
|
||||
|
||||
var $form = this;
|
||||
|
||||
// attach new params
|
||||
$.each(data, function(i, item) {
|
||||
$('<input/>')
|
||||
.attr('type', 'hidden')
|
||||
.attr('name', item.name)
|
||||
.val(item.value).appendTo($form);
|
||||
});
|
||||
|
||||
return $form;
|
||||
};
|
||||
|
||||
/**
|
||||
* Find all input fields with form attribute point to jQuery object
|
||||
*
|
||||
*/
|
||||
$('form[id]').submit(function(e) {
|
||||
// serialize data
|
||||
var data = $('[form=' + this.id + ']').serializeArray();
|
||||
// append data to form
|
||||
$(this).appendField(data);
|
||||
}).each(function() {
|
||||
var form = this,
|
||||
$fields = $('[form=' + this.id + ']');
|
||||
|
||||
$fields.filter('button, input')
|
||||
.filter('[type=reset],[type=submit],[type=image],button')
|
||||
.click(function() {
|
||||
var type = this.type.toLowerCase();
|
||||
if (type === 'reset') {
|
||||
// reset form
|
||||
form.reset();
|
||||
// for elements outside form
|
||||
$fields.each(function() {
|
||||
this.value = this.defaultValue;
|
||||
this.checked = this.defaultChecked;
|
||||
}).filter('select').each(function() {
|
||||
$(this).find('option').each(function() {
|
||||
this.selected = this.defaultSelected;
|
||||
});
|
||||
});
|
||||
} else {
|
||||
$(form).appendField({
|
||||
name: this.name,
|
||||
value: this.value
|
||||
}).submit();
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
})(jQuery);
|
||||
@@ -1,800 +0,0 @@
|
||||
{
|
||||
"version": "1.0.0",
|
||||
"description": "ForkAwesome 1.1.5 to FontAwesome 7 icon mappings",
|
||||
"mappings": {
|
||||
"direct": {
|
||||
"comment": "Icons that map directly without changes",
|
||||
"icons": {
|
||||
"anchor": "anchor",
|
||||
"archive": "archive",
|
||||
"asterisk": "asterisk",
|
||||
"ban": "ban",
|
||||
"barcode": "barcode",
|
||||
"bars": "bars",
|
||||
"battery-full": "battery-full",
|
||||
"battery-three-quarters": "battery-three-quarters",
|
||||
"battery-half": "battery-half",
|
||||
"battery-quarter": "battery-quarter",
|
||||
"battery-empty": "battery-empty",
|
||||
"bed": "bed",
|
||||
"beer": "beer",
|
||||
"bell": "bell",
|
||||
"bell-slash": "bell-slash",
|
||||
"bicycle": "bicycle",
|
||||
"binoculars": "binoculars",
|
||||
"birthday-cake": "cake-candles",
|
||||
"bitcoin": "bitcoin",
|
||||
"bold": "bold",
|
||||
"bolt": "bolt",
|
||||
"bomb": "bomb",
|
||||
"book": "book",
|
||||
"bookmark": "bookmark",
|
||||
"briefcase": "briefcase",
|
||||
"bug": "bug",
|
||||
"building": "building",
|
||||
"bullhorn": "bullhorn",
|
||||
"bullseye": "bullseye",
|
||||
"bus": "bus",
|
||||
"calculator": "calculator",
|
||||
"calendar": "calendar",
|
||||
"camera": "camera",
|
||||
"car": "car",
|
||||
"caret-down": "caret-down",
|
||||
"caret-left": "caret-left",
|
||||
"caret-right": "caret-right",
|
||||
"caret-up": "caret-up",
|
||||
"cart-plus": "cart-plus",
|
||||
"certificate": "certificate",
|
||||
"check": "check",
|
||||
"check-circle": "circle-check",
|
||||
"chevron-down": "chevron-down",
|
||||
"chevron-left": "chevron-left",
|
||||
"chevron-right": "chevron-right",
|
||||
"chevron-up": "chevron-up",
|
||||
"child": "child",
|
||||
"circle": "circle",
|
||||
"clipboard": "clipboard",
|
||||
"clock": "clock",
|
||||
"cloud": "cloud",
|
||||
"cloud-download": "cloud-arrow-down",
|
||||
"cloud-upload": "cloud-arrow-up",
|
||||
"code": "code",
|
||||
"coffee": "mug-hot",
|
||||
"cog": "gear",
|
||||
"cogs": "gears",
|
||||
"comment": "comment",
|
||||
"comments": "comments",
|
||||
"compass": "compass",
|
||||
"copy": "copy",
|
||||
"copyright": "copyright",
|
||||
"credit-card": "credit-card",
|
||||
"crop": "crop-simple",
|
||||
"crosshairs": "crosshairs",
|
||||
"cube": "cube",
|
||||
"cubes": "cubes",
|
||||
"database": "database",
|
||||
"desktop": "desktop",
|
||||
"diamond": "gem",
|
||||
"download": "download",
|
||||
"edit": "pen-to-square",
|
||||
"eject": "eject",
|
||||
"ellipsis-h": "ellipsis",
|
||||
"ellipsis-v": "ellipsis-vertical",
|
||||
"envelope": "envelope",
|
||||
"eraser": "eraser",
|
||||
"exclamation": "exclamation",
|
||||
"exclamation-circle": "circle-exclamation",
|
||||
"exclamation-triangle": "triangle-exclamation",
|
||||
"external-link": "up-right-from-square",
|
||||
"eye": "eye",
|
||||
"eye-slash": "eye-slash",
|
||||
"eyedropper": "eye-dropper",
|
||||
"fax": "fax",
|
||||
"file": "file",
|
||||
"file-archive": "file-zipper",
|
||||
"file-audio": "file-audio",
|
||||
"file-code": "file-code",
|
||||
"file-excel": "file-excel",
|
||||
"file-image": "file-image",
|
||||
"file-pdf": "file-pdf",
|
||||
"file-powerpoint": "file-powerpoint",
|
||||
"file-text": "file-lines",
|
||||
"file-video": "file-video",
|
||||
"file-word": "file-word",
|
||||
"film": "film",
|
||||
"filter": "filter",
|
||||
"fire": "fire",
|
||||
"flag": "flag",
|
||||
"flask": "flask",
|
||||
"folder": "folder",
|
||||
"folder-open": "folder-open",
|
||||
"font": "font",
|
||||
"forward": "forward",
|
||||
"gamepad": "gamepad",
|
||||
"gavel": "gavel",
|
||||
"gift": "gift",
|
||||
"globe": "globe",
|
||||
"graduation-cap": "graduation-cap",
|
||||
"h-square": "square-h",
|
||||
"hand-point-down": "hand-point-down",
|
||||
"hand-point-left": "hand-point-left",
|
||||
"hand-point-right": "hand-point-right",
|
||||
"hand-point-up": "hand-point-up",
|
||||
"hashtag": "hashtag",
|
||||
"headphones": "headphones",
|
||||
"heart": "heart",
|
||||
"history": "clock-rotate-left",
|
||||
"home": "house",
|
||||
"hospital": "hospital",
|
||||
"hourglass": "hourglass",
|
||||
"image": "image",
|
||||
"inbox": "inbox",
|
||||
"indent": "indent",
|
||||
"info": "info",
|
||||
"info-circle": "circle-info",
|
||||
"italic": "italic",
|
||||
"key": "key",
|
||||
"keyboard": "keyboard",
|
||||
"language": "language",
|
||||
"laptop": "laptop",
|
||||
"leaf": "leaf",
|
||||
"lemon": "lemon",
|
||||
"level-down": "turn-down",
|
||||
"level-up": "turn-up",
|
||||
"life-ring": "life-ring",
|
||||
"lightbulb": "lightbulb",
|
||||
"link": "link",
|
||||
"list": "list",
|
||||
"list-alt": "rectangle-list",
|
||||
"list-ol": "list-ol",
|
||||
"list-ul": "list-ul",
|
||||
"location-arrow": "location-arrow",
|
||||
"lock": "lock",
|
||||
"magic": "wand-magic-sparkles",
|
||||
"magnet": "magnet",
|
||||
"mail-forward": "share",
|
||||
"mail-reply": "reply",
|
||||
"mail-reply-all": "reply-all",
|
||||
"map": "map",
|
||||
"map-marker": "location-dot",
|
||||
"map-pin": "map-pin",
|
||||
"microphone": "microphone",
|
||||
"microphone-slash": "microphone-slash",
|
||||
"minus": "minus",
|
||||
"minus-circle": "circle-minus",
|
||||
"mobile": "mobile-screen-button",
|
||||
"money": "money-bill",
|
||||
"moon": "moon",
|
||||
"music": "music",
|
||||
"paint-brush": "paintbrush",
|
||||
"paper-plane": "paper-plane",
|
||||
"paperclip": "paperclip",
|
||||
"pause": "pause",
|
||||
"paw": "paw",
|
||||
"pencil": "pencil",
|
||||
"phone": "phone",
|
||||
"picture": "image",
|
||||
"pie-chart": "chart-pie",
|
||||
"plane": "plane",
|
||||
"play": "play",
|
||||
"plug": "plug",
|
||||
"plus": "plus",
|
||||
"plus-circle": "circle-plus",
|
||||
"power-off": "power-off",
|
||||
"print": "print",
|
||||
"puzzle-piece": "puzzle-piece",
|
||||
"qrcode": "qrcode",
|
||||
"question": "question",
|
||||
"question-circle": "circle-question",
|
||||
"quote-left": "quote-left",
|
||||
"quote-right": "quote-right",
|
||||
"random": "shuffle",
|
||||
"recycle": "recycle",
|
||||
"refresh": "rotate",
|
||||
"registered": "registered",
|
||||
"remove": "xmark",
|
||||
"reorder": "bars",
|
||||
"repeat": "repeat",
|
||||
"reply": "reply",
|
||||
"reply-all": "reply-all",
|
||||
"retweet": "retweet",
|
||||
"road": "road",
|
||||
"rocket": "rocket",
|
||||
"rss": "rss",
|
||||
"save": "floppy-disk",
|
||||
"scissors": "scissors",
|
||||
"search": "magnifying-glass",
|
||||
"search-minus": "magnifying-glass-minus",
|
||||
"search-plus": "magnifying-glass-plus",
|
||||
"server": "server",
|
||||
"share": "share",
|
||||
"share-alt": "share-nodes",
|
||||
"shield": "shield",
|
||||
"shopping-cart": "cart-shopping",
|
||||
"sign-in": "right-to-bracket",
|
||||
"sign-out": "right-from-bracket",
|
||||
"signal": "signal",
|
||||
"sitemap": "sitemap",
|
||||
"sliders": "sliders",
|
||||
"smile": "face-smile",
|
||||
"sort": "sort",
|
||||
"sort-alpha-asc": "arrow-down-a-z",
|
||||
"sort-alpha-desc": "arrow-down-z-a",
|
||||
"sort-amount-asc": "arrow-down-short-wide",
|
||||
"sort-amount-desc": "arrow-down-wide-short",
|
||||
"sort-asc": "sort-up",
|
||||
"sort-desc": "sort-down",
|
||||
"sort-numeric-asc": "arrow-down-1-9",
|
||||
"sort-numeric-desc": "arrow-down-9-1",
|
||||
"spinner": "spinner",
|
||||
"square": "square",
|
||||
"star": "star",
|
||||
"star-half": "star-half",
|
||||
"stop": "stop",
|
||||
"strikethrough": "strikethrough",
|
||||
"subscript": "subscript",
|
||||
"sun": "sun",
|
||||
"superscript": "superscript",
|
||||
"table": "table",
|
||||
"tablet": "tablet-screen-button",
|
||||
"tag": "tag",
|
||||
"tags": "tags",
|
||||
"tasks": "list-check",
|
||||
"terminal": "terminal",
|
||||
"text-height": "text-height",
|
||||
"text-width": "text-width",
|
||||
"th": "table-cells",
|
||||
"th-large": "table-cells-large",
|
||||
"th-list": "table-list",
|
||||
"thumbs-down": "thumbs-down",
|
||||
"thumbs-up": "thumbs-up",
|
||||
"ticket": "ticket",
|
||||
"times": "xmark",
|
||||
"times-circle": "circle-xmark",
|
||||
"tint": "droplet",
|
||||
"toggle-off": "toggle-off",
|
||||
"toggle-on": "toggle-on",
|
||||
"trademark": "trademark",
|
||||
"trash": "trash",
|
||||
"tree": "tree",
|
||||
"trophy": "trophy",
|
||||
"truck": "truck",
|
||||
"umbrella": "umbrella",
|
||||
"underline": "underline",
|
||||
"undo": "rotate-left",
|
||||
"unlock": "unlock",
|
||||
"upload": "upload",
|
||||
"user": "user",
|
||||
"users": "users",
|
||||
"video-camera": "video",
|
||||
"volume-down": "volume-low",
|
||||
"volume-off": "volume-xmark",
|
||||
"volume-up": "volume-high",
|
||||
"warning": "triangle-exclamation",
|
||||
"wheelchair": "wheelchair",
|
||||
"wifi": "wifi",
|
||||
"wrench": "wrench"
|
||||
}
|
||||
},
|
||||
"outline": {
|
||||
"comment": "Icons with -o suffix that map to FontAwesome regular style",
|
||||
"icons": {
|
||||
"address-book-o": { "name": "address-book", "style": "regular" },
|
||||
"address-card-o": { "name": "address-card", "style": "regular" },
|
||||
"bell-o": { "name": "bell", "style": "regular" },
|
||||
"bookmark-o": { "name": "bookmark", "style": "regular" },
|
||||
"building-o": { "name": "building", "style": "regular" },
|
||||
"calendar-o": { "name": "calendar", "style": "regular" },
|
||||
"check-circle-o": { "name": "circle-check", "style": "regular" },
|
||||
"check-square-o": { "name": "square-check", "style": "regular" },
|
||||
"circle-o": { "name": "circle", "style": "regular" },
|
||||
"clock-o": { "name": "clock", "style": "regular" },
|
||||
"comment-o": { "name": "comment", "style": "regular" },
|
||||
"comments-o": { "name": "comments", "style": "regular" },
|
||||
"credit-card-o": { "name": "credit-card", "style": "regular" },
|
||||
"dot-circle-o": { "name": "circle-dot", "style": "regular" },
|
||||
"envelope-o": { "name": "envelope", "style": "regular" },
|
||||
"envelope-open-o": { "name": "envelope-open", "style": "regular" },
|
||||
"eye-o": { "name": "eye", "style": "regular" },
|
||||
"file-o": { "name": "file", "style": "regular" },
|
||||
"file-text-o": { "name": "file-lines", "style": "regular" },
|
||||
"flag-o": { "name": "flag", "style": "regular" },
|
||||
"floppy-o": { "name": "floppy-disk", "style": "regular" },
|
||||
"folder-o": { "name": "folder", "style": "regular" },
|
||||
"folder-open-o": { "name": "folder-open", "style": "regular" },
|
||||
"frown-o": { "name": "face-frown", "style": "regular" },
|
||||
"hand-o-down": { "name": "hand-point-down", "style": "regular" },
|
||||
"hand-o-left": { "name": "hand-point-left", "style": "regular" },
|
||||
"hand-o-right": { "name": "hand-point-right", "style": "regular" },
|
||||
"hand-o-up": { "name": "hand-point-up", "style": "regular" },
|
||||
"heart-o": { "name": "heart", "style": "regular" },
|
||||
"hospital-o": { "name": "hospital", "style": "regular" },
|
||||
"hourglass-o": { "name": "hourglass", "style": "regular" },
|
||||
"image-o": { "name": "image", "style": "regular" },
|
||||
"keyboard-o": { "name": "keyboard", "style": "regular" },
|
||||
"lemon-o": { "name": "lemon", "style": "regular" },
|
||||
"lightbulb-o": { "name": "lightbulb", "style": "regular" },
|
||||
"map-o": { "name": "map", "style": "regular" },
|
||||
"meh-o": { "name": "face-meh", "style": "regular" },
|
||||
"minus-square-o": { "name": "square-minus", "style": "regular" },
|
||||
"moon-o": { "name": "moon", "style": "regular" },
|
||||
"newspaper-o": { "name": "newspaper", "style": "regular" },
|
||||
"paper-plane-o": { "name": "paper-plane", "style": "regular" },
|
||||
"pause-circle-o": { "name": "circle-pause", "style": "regular" },
|
||||
"picture-o": { "name": "image", "style": "regular" },
|
||||
"play-circle-o": { "name": "circle-play", "style": "regular" },
|
||||
"plus-square-o": { "name": "square-plus", "style": "regular" },
|
||||
"question-circle-o": { "name": "circle-question", "style": "regular" },
|
||||
"share-square-o": { "name": "share-from-square", "style": "regular" },
|
||||
"smile-o": { "name": "face-smile", "style": "regular" },
|
||||
"snowflake-o": { "name": "snowflake", "style": "regular" },
|
||||
"square-o": { "name": "square", "style": "regular" },
|
||||
"star-half-o": { "name": "star-half", "style": "regular" },
|
||||
"star-o": { "name": "star", "style": "regular" },
|
||||
"sticky-note-o": { "name": "note-sticky", "style": "regular" },
|
||||
"stop-circle-o": { "name": "circle-stop", "style": "regular" },
|
||||
"sun-o": { "name": "sun", "style": "regular" },
|
||||
"thumbs-down-o": { "name": "thumbs-down", "style": "regular" },
|
||||
"thumbs-up-o": { "name": "thumbs-up", "style": "regular" },
|
||||
"times-circle-o": { "name": "circle-xmark", "style": "regular" },
|
||||
"trash-o": { "name": "trash-can", "style": "regular" },
|
||||
"user-o": { "name": "user", "style": "regular" }
|
||||
}
|
||||
},
|
||||
"directional": {
|
||||
"comment": "Directional and arrow icons with special mappings",
|
||||
"icons": {
|
||||
"angle-double-down": "angles-down",
|
||||
"angle-double-left": "angles-left",
|
||||
"angle-double-right": "angles-right",
|
||||
"angle-double-up": "angles-up",
|
||||
"angle-down": "angle-down",
|
||||
"angle-left": "angle-left",
|
||||
"angle-right": "angle-right",
|
||||
"angle-up": "angle-up",
|
||||
"arrow-circle-down": "circle-arrow-down",
|
||||
"arrow-circle-left": "circle-arrow-left",
|
||||
"arrow-circle-right": "circle-arrow-right",
|
||||
"arrow-circle-up": "circle-arrow-up",
|
||||
"arrow-circle-o-down": { "name": "circle-down", "style": "regular" },
|
||||
"arrow-circle-o-left": { "name": "circle-left", "style": "regular" },
|
||||
"arrow-circle-o-right": { "name": "circle-right", "style": "regular" },
|
||||
"arrow-circle-o-up": { "name": "circle-up", "style": "regular" },
|
||||
"arrow-down": "arrow-down",
|
||||
"arrow-left": "arrow-left",
|
||||
"arrow-right": "arrow-right",
|
||||
"arrow-up": "arrow-up",
|
||||
"arrows": "arrows-up-down-left-right",
|
||||
"arrows-alt": "maximize",
|
||||
"arrows-h": "arrows-left-right",
|
||||
"arrows-v": "arrows-up-down",
|
||||
"caret-square-o-down": { "name": "square-caret-down", "style": "regular" },
|
||||
"caret-square-o-left": { "name": "square-caret-left", "style": "regular" },
|
||||
"caret-square-o-right": { "name": "square-caret-right", "style": "regular" },
|
||||
"caret-square-o-up": { "name": "square-caret-up", "style": "regular" },
|
||||
"chevron-circle-down": "circle-chevron-down",
|
||||
"chevron-circle-left": "circle-chevron-left",
|
||||
"chevron-circle-right": "circle-chevron-right",
|
||||
"chevron-circle-up": "circle-chevron-up",
|
||||
"long-arrow-down": "arrow-down-long",
|
||||
"long-arrow-left": "arrow-left-long",
|
||||
"long-arrow-right": "arrow-right-long",
|
||||
"long-arrow-up": "arrow-up-long"
|
||||
}
|
||||
},
|
||||
"brands": {
|
||||
"comment": "Brand icons that need explicit brand style",
|
||||
"icons": {
|
||||
"500px": { "name": "500px", "style": "brands" },
|
||||
"adn": { "name": "adn", "style": "brands" },
|
||||
"amazon": { "name": "amazon", "style": "brands" },
|
||||
"android": { "name": "android", "style": "brands" },
|
||||
"angellist": { "name": "angellist", "style": "brands" },
|
||||
"apple": { "name": "apple", "style": "brands" },
|
||||
"bandcamp": { "name": "bandcamp", "style": "brands" },
|
||||
"behance": { "name": "behance", "style": "brands" },
|
||||
"bitbucket": { "name": "bitbucket", "style": "brands" },
|
||||
"bitcoin": { "name": "bitcoin", "style": "brands" },
|
||||
"black-tie": { "name": "black-tie", "style": "brands" },
|
||||
"bluetooth": { "name": "bluetooth", "style": "brands" },
|
||||
"bluetooth-b": { "name": "bluetooth-b", "style": "brands" },
|
||||
"buysellads": { "name": "buysellads", "style": "brands" },
|
||||
"cc-amex": { "name": "cc-amex", "style": "brands" },
|
||||
"cc-diners-club": { "name": "cc-diners-club", "style": "brands" },
|
||||
"cc-discover": { "name": "cc-discover", "style": "brands" },
|
||||
"cc-jcb": { "name": "cc-jcb", "style": "brands" },
|
||||
"cc-mastercard": { "name": "cc-mastercard", "style": "brands" },
|
||||
"cc-paypal": { "name": "cc-paypal", "style": "brands" },
|
||||
"cc-stripe": { "name": "cc-stripe", "style": "brands" },
|
||||
"cc-visa": { "name": "cc-visa", "style": "brands" },
|
||||
"chrome": { "name": "chrome", "style": "brands" },
|
||||
"codepen": { "name": "codepen", "style": "brands" },
|
||||
"connectdevelop": { "name": "connectdevelop", "style": "brands" },
|
||||
"contao": { "name": "contao", "style": "brands" },
|
||||
"css3": { "name": "css3", "style": "brands" },
|
||||
"dashcube": { "name": "dashcube", "style": "brands" },
|
||||
"delicious": { "name": "delicious", "style": "brands" },
|
||||
"deviantart": { "name": "deviantart", "style": "brands" },
|
||||
"digg": { "name": "digg", "style": "brands" },
|
||||
"dribbble": { "name": "dribbble", "style": "brands" },
|
||||
"dropbox": { "name": "dropbox", "style": "brands" },
|
||||
"drupal": { "name": "drupal", "style": "brands" },
|
||||
"edge": { "name": "edge", "style": "brands" },
|
||||
"empire": { "name": "empire", "style": "brands" },
|
||||
"envira": { "name": "envira", "style": "brands" },
|
||||
"expeditedssl": { "name": "expeditedssl", "style": "brands" },
|
||||
"facebook": { "name": "facebook", "style": "brands" },
|
||||
"facebook-f": { "name": "facebook-f", "style": "brands" },
|
||||
"facebook-official": { "name": "facebook", "style": "brands" },
|
||||
"facebook-square": { "name": "square-facebook", "style": "brands" },
|
||||
"firefox": { "name": "firefox", "style": "brands" },
|
||||
"flickr": { "name": "flickr", "style": "brands" },
|
||||
"fonticons": { "name": "fonticons", "style": "brands" },
|
||||
"fort-awesome": { "name": "fort-awesome", "style": "brands" },
|
||||
"forumbee": { "name": "forumbee", "style": "brands" },
|
||||
"foursquare": { "name": "foursquare", "style": "brands" },
|
||||
"free-code-camp": { "name": "free-code-camp", "style": "brands" },
|
||||
"get-pocket": { "name": "get-pocket", "style": "brands" },
|
||||
"gg": { "name": "gg", "style": "brands" },
|
||||
"gg-circle": { "name": "gg-circle", "style": "brands" },
|
||||
"git": { "name": "git", "style": "brands" },
|
||||
"git-square": { "name": "square-git", "style": "brands" },
|
||||
"github": { "name": "github", "style": "brands" },
|
||||
"github-alt": { "name": "github-alt", "style": "brands" },
|
||||
"github-square": { "name": "square-github", "style": "brands" },
|
||||
"gitlab": { "name": "gitlab", "style": "brands" },
|
||||
"gittip": { "name": "gratipay", "style": "brands" },
|
||||
"glide": { "name": "glide", "style": "brands" },
|
||||
"glide-g": { "name": "glide-g", "style": "brands" },
|
||||
"google": { "name": "google", "style": "brands" },
|
||||
"google-plus": { "name": "google-plus", "style": "brands" },
|
||||
"google-plus-circle": { "name": "google-plus", "style": "brands" },
|
||||
"google-plus-square": { "name": "square-google-plus", "style": "brands" },
|
||||
"google-wallet": { "name": "google-wallet", "style": "brands" },
|
||||
"gratipay": { "name": "gratipay", "style": "brands" },
|
||||
"grav": { "name": "grav", "style": "brands" },
|
||||
"hacker-news": { "name": "hacker-news", "style": "brands" },
|
||||
"houzz": { "name": "houzz", "style": "brands" },
|
||||
"html5": { "name": "html5", "style": "brands" },
|
||||
"imdb": { "name": "imdb", "style": "brands" },
|
||||
"instagram": { "name": "instagram", "style": "brands" },
|
||||
"internet-explorer": { "name": "internet-explorer", "style": "brands" },
|
||||
"ioxhost": { "name": "ioxhost", "style": "brands" },
|
||||
"joomla": { "name": "joomla", "style": "brands" },
|
||||
"jsfiddle": { "name": "jsfiddle", "style": "brands" },
|
||||
"lastfm": { "name": "lastfm", "style": "brands" },
|
||||
"lastfm-square": { "name": "square-lastfm", "style": "brands" },
|
||||
"leanpub": { "name": "leanpub", "style": "brands" },
|
||||
"linkedin": { "name": "linkedin", "style": "brands" },
|
||||
"linkedin-square": { "name": "square-linkedin", "style": "brands" },
|
||||
"linux": { "name": "linux", "style": "brands" },
|
||||
"maxcdn": { "name": "maxcdn", "style": "brands" },
|
||||
"meanpath": { "name": "font-awesome", "style": "brands" },
|
||||
"medium": { "name": "medium", "style": "brands" },
|
||||
"meetup": { "name": "meetup", "style": "brands" },
|
||||
"mixcloud": { "name": "mixcloud", "style": "brands" },
|
||||
"modx": { "name": "modx", "style": "brands" },
|
||||
"odnoklassniki": { "name": "odnoklassniki", "style": "brands" },
|
||||
"odnoklassniki-square": { "name": "square-odnoklassniki", "style": "brands" },
|
||||
"opencart": { "name": "opencart", "style": "brands" },
|
||||
"openid": { "name": "openid", "style": "brands" },
|
||||
"opera": { "name": "opera", "style": "brands" },
|
||||
"optin-monster": { "name": "optin-monster", "style": "brands" },
|
||||
"pagelines": { "name": "pagelines", "style": "brands" },
|
||||
"paypal": { "name": "paypal", "style": "brands" },
|
||||
"pied-piper": { "name": "pied-piper", "style": "brands" },
|
||||
"pied-piper-alt": { "name": "pied-piper-alt", "style": "brands" },
|
||||
"pied-piper-pp": { "name": "pied-piper-pp", "style": "brands" },
|
||||
"pinterest": { "name": "pinterest", "style": "brands" },
|
||||
"pinterest-p": { "name": "pinterest-p", "style": "brands" },
|
||||
"pinterest-square": { "name": "square-pinterest", "style": "brands" },
|
||||
"product-hunt": { "name": "product-hunt", "style": "brands" },
|
||||
"qq": { "name": "qq", "style": "brands" },
|
||||
"quora": { "name": "quora", "style": "brands" },
|
||||
"ra": { "name": "rebel", "style": "brands" },
|
||||
"rebel": { "name": "rebel", "style": "brands" },
|
||||
"reddit": { "name": "reddit", "style": "brands" },
|
||||
"reddit-alien": { "name": "reddit-alien", "style": "brands" },
|
||||
"reddit-square": { "name": "square-reddit", "style": "brands" },
|
||||
"renren": { "name": "renren", "style": "brands" },
|
||||
"resistance": { "name": "rebel", "style": "brands" },
|
||||
"safari": { "name": "safari", "style": "brands" },
|
||||
"scribd": { "name": "scribd", "style": "brands" },
|
||||
"sellsy": { "name": "sellsy", "style": "brands" },
|
||||
"shirtsinbulk": { "name": "shirtsinbulk", "style": "brands" },
|
||||
"simplybuilt": { "name": "simplybuilt", "style": "brands" },
|
||||
"skyatlas": { "name": "skyatlas", "style": "brands" },
|
||||
"skype": { "name": "skype", "style": "brands" },
|
||||
"slack": { "name": "slack", "style": "brands" },
|
||||
"slideshare": { "name": "slideshare", "style": "brands" },
|
||||
"snapchat": { "name": "snapchat", "style": "brands" },
|
||||
"snapchat-ghost": { "name": "snapchat", "style": "brands" },
|
||||
"snapchat-square": { "name": "square-snapchat", "style": "brands" },
|
||||
"soundcloud": { "name": "soundcloud", "style": "brands" },
|
||||
"spotify": { "name": "spotify", "style": "brands" },
|
||||
"stack-exchange": { "name": "stack-exchange", "style": "brands" },
|
||||
"stack-overflow": { "name": "stack-overflow", "style": "brands" },
|
||||
"steam": { "name": "steam", "style": "brands" },
|
||||
"steam-square": { "name": "square-steam", "style": "brands" },
|
||||
"stumbleupon": { "name": "stumbleupon", "style": "brands" },
|
||||
"stumbleupon-circle": { "name": "stumbleupon-circle", "style": "brands" },
|
||||
"tencent-weibo": { "name": "tencent-weibo", "style": "brands" },
|
||||
"themeisle": { "name": "themeisle", "style": "brands" },
|
||||
"trello": { "name": "trello", "style": "brands" },
|
||||
"tripadvisor": { "name": "tripadvisor", "style": "brands" },
|
||||
"tumblr": { "name": "tumblr", "style": "brands" },
|
||||
"tumblr-square": { "name": "square-tumblr", "style": "brands" },
|
||||
"twitch": { "name": "twitch", "style": "brands" },
|
||||
"twitter": { "name": "x-twitter", "style": "brands" },
|
||||
"twitter-square": { "name": "square-x-twitter", "style": "brands" },
|
||||
"usb": { "name": "usb", "style": "brands" },
|
||||
"viacoin": { "name": "viacoin", "style": "brands" },
|
||||
"viadeo": { "name": "viadeo", "style": "brands" },
|
||||
"viadeo-square": { "name": "square-viadeo", "style": "brands" },
|
||||
"vimeo": { "name": "vimeo-v", "style": "brands" },
|
||||
"vimeo-square": { "name": "square-vimeo", "style": "brands" },
|
||||
"vine": { "name": "vine", "style": "brands" },
|
||||
"vk": { "name": "vk", "style": "brands" },
|
||||
"wechat": { "name": "weixin", "style": "brands" },
|
||||
"weibo": { "name": "weibo", "style": "brands" },
|
||||
"weixin": { "name": "weixin", "style": "brands" },
|
||||
"whatsapp": { "name": "whatsapp", "style": "brands" },
|
||||
"wikipedia-w": { "name": "wikipedia-w", "style": "brands" },
|
||||
"windows": { "name": "windows", "style": "brands" },
|
||||
"wordpress": { "name": "wordpress", "style": "brands" },
|
||||
"wpbeginner": { "name": "wpbeginner", "style": "brands" },
|
||||
"wpexplorer": { "name": "wpexplorer", "style": "brands" },
|
||||
"wpforms": { "name": "wpforms", "style": "brands" },
|
||||
"xing": { "name": "xing", "style": "brands" },
|
||||
"xing-square": { "name": "square-xing", "style": "brands" },
|
||||
"y-combinator": { "name": "y-combinator", "style": "brands" },
|
||||
"yahoo": { "name": "yahoo", "style": "brands" },
|
||||
"yc": { "name": "y-combinator", "style": "brands" },
|
||||
"yelp": { "name": "yelp", "style": "brands" },
|
||||
"yoast": { "name": "yoast", "style": "brands" },
|
||||
"youtube": { "name": "youtube", "style": "brands" },
|
||||
"youtube-play": { "name": "youtube", "style": "brands" },
|
||||
"youtube-square": { "name": "square-youtube", "style": "brands" }
|
||||
}
|
||||
},
|
||||
"forkSpecific": {
|
||||
"comment": "Fork Awesome specific icons that need fallbacks in FontAwesome 6",
|
||||
"icons": {
|
||||
"activitypub": { "name": "share-nodes", "fallback": true },
|
||||
"archive-org": { "name": "building-columns", "fallback": true },
|
||||
"artstation": { "name": "artstation", "style": "brands" },
|
||||
"bell-slash-o": { "name": "bell-slash", "style": "regular" },
|
||||
"biometric": { "name": "fingerprint", "fallback": true },
|
||||
"c": { "name": "c", "fallback": true },
|
||||
"cc-by": { "name": "creative-commons-by", "style": "brands" },
|
||||
"cc-nc": { "name": "creative-commons-nc", "style": "brands" },
|
||||
"cc-nc-eu": { "name": "creative-commons-nc-eu", "style": "brands" },
|
||||
"cc-nc-jp": { "name": "creative-commons-nc-jp", "style": "brands" },
|
||||
"cc-nd": { "name": "creative-commons-nd", "style": "brands" },
|
||||
"cc-pd": { "name": "creative-commons-pd", "style": "brands" },
|
||||
"cc-remix": { "name": "creative-commons-remix", "style": "brands" },
|
||||
"cc-sa": { "name": "creative-commons-sa", "style": "brands" },
|
||||
"cc-share": { "name": "creative-commons-share", "style": "brands" },
|
||||
"cc-zero": { "name": "creative-commons-zero", "style": "brands" },
|
||||
"commenting": { "name": "comment-dots", "fallback": true },
|
||||
"commenting-o": { "name": "comment-dots", "style": "regular", "fallback": true },
|
||||
"dat": { "name": "database", "fallback": true },
|
||||
"diaspora": { "name": "asterisk", "fallback": true },
|
||||
"digitalocean": { "name": "digital-ocean", "style": "brands" },
|
||||
"discord": { "name": "discord", "style": "brands" },
|
||||
"emby": { "name": "play-circle", "fallback": true },
|
||||
"ethereum": { "name": "ethereum", "style": "brands" },
|
||||
"f-droid": { "name": "android", "style": "brands", "fallback": true },
|
||||
"facebook-messenger": { "name": "facebook-messenger", "style": "brands" },
|
||||
"foster": { "name": "hands-holding-child", "fallback": true },
|
||||
"friendica": { "name": "users", "fallback": true },
|
||||
"galaxy": { "name": "rocket", "fallback": true },
|
||||
"gimp": { "name": "palette", "fallback": true },
|
||||
"gitea": { "name": "mug-hot", "fallback": true },
|
||||
"gnu-social": { "name": "gnu", "fallback": true },
|
||||
"google-auth": { "name": "shield", "fallback": true },
|
||||
"hackaday": { "name": "wrench", "fallback": true },
|
||||
"hackster": { "name": "microchip", "fallback": true },
|
||||
"inkscape": { "name": "pen-nib", "fallback": true },
|
||||
"jirafeau": { "name": "share", "fallback": true },
|
||||
"joplin": { "name": "book", "fallback": true },
|
||||
"jsdelivr": { "name": "truck-fast", "fallback": true },
|
||||
"keybase": { "name": "key", "fallback": true },
|
||||
"laravel": { "name": "laravel", "style": "brands" },
|
||||
"liberapay": { "name": "hand-holding-heart", "fallback": true },
|
||||
"libreoffice": { "name": "file-word", "fallback": true },
|
||||
"line-graph": { "name": "chart-line", "fallback": true },
|
||||
"mastodon": { "name": "mastodon", "style": "brands" },
|
||||
"matrix-org": { "name": "comment-dots", "fallback": true },
|
||||
"meetup": { "name": "meetup", "style": "brands" },
|
||||
"nextcloud": { "name": "cloud", "fallback": true },
|
||||
"nodejs": { "name": "node-js", "style": "brands" },
|
||||
"orcid": { "name": "orcid", "style": "brands" },
|
||||
"patreon": { "name": "patreon", "style": "brands" },
|
||||
"peertube": { "name": "video", "fallback": true },
|
||||
"php": { "name": "php", "style": "brands" },
|
||||
"pi-hole": { "name": "shield-halved", "fallback": true },
|
||||
"pixelfed": { "name": "camera-retro", "fallback": true },
|
||||
"plume": { "name": "feather", "fallback": true },
|
||||
"postgresql": { "name": "database", "fallback": true },
|
||||
"python": { "name": "python", "style": "brands" },
|
||||
"react": { "name": "react", "style": "brands" },
|
||||
"researchgate": { "name": "researchgate", "style": "brands" },
|
||||
"riot": { "name": "comments", "fallback": true },
|
||||
"scuttlebutt": { "name": "fish", "fallback": true },
|
||||
"signal": { "name": "signal-messenger", "style": "brands" },
|
||||
"sketchfab": { "name": "cube", "fallback": true },
|
||||
"snowdrift": { "name": "snowflake", "fallback": true },
|
||||
"social-home": { "name": "house-user", "fallback": true },
|
||||
"syncthing": { "name": "arrows-rotate", "fallback": true },
|
||||
"telegram": { "name": "telegram", "style": "brands" },
|
||||
"tex": { "name": "code", "fallback": true },
|
||||
"tor": { "name": "user-secret", "fallback": true },
|
||||
"unsplash": { "name": "unsplash", "style": "brands" },
|
||||
"vagrant": { "name": "v", "fallback": true },
|
||||
"vscode": { "name": "code", "fallback": true },
|
||||
"xmpp": { "name": "comment", "fallback": true },
|
||||
"zotero": { "name": "bookmark", "fallback": true }
|
||||
}
|
||||
},
|
||||
"aliases": {
|
||||
"comment": "Common aliases and alternative names",
|
||||
"icons": {
|
||||
"automobile": "car",
|
||||
"bank": "building-columns",
|
||||
"bar-chart": "chart-column",
|
||||
"bar-chart-o": { "name": "chart-bar", "style": "regular" },
|
||||
"battery": "battery-full",
|
||||
"battery-0": "battery-empty",
|
||||
"battery-1": "battery-quarter",
|
||||
"battery-2": "battery-half",
|
||||
"battery-3": "battery-three-quarters",
|
||||
"battery-4": "battery-full",
|
||||
"calendar-check-o": { "name": "calendar-check", "style": "regular" },
|
||||
"calendar-minus-o": { "name": "calendar-minus", "style": "regular" },
|
||||
"calendar-plus-o": { "name": "calendar-plus", "style": "regular" },
|
||||
"calendar-times-o": { "name": "calendar-xmark", "style": "regular" },
|
||||
"cc": { "name": "closed-captioning", "style": "regular" },
|
||||
"chain": "link",
|
||||
"chain-broken": "link-slash",
|
||||
"close": "xmark",
|
||||
"cloud-download-alt": "cloud-arrow-down",
|
||||
"cloud-upload-alt": "cloud-arrow-up",
|
||||
"code-fork": "code-branch",
|
||||
"dashboard": "gauge-high",
|
||||
"deaf": "ear-deaf",
|
||||
"deafness": "ear-deaf",
|
||||
"edit": "pen-to-square",
|
||||
"euro": "euro-sign",
|
||||
"eur": "euro-sign",
|
||||
"eyedropper": "eye-dropper",
|
||||
"fa": { "name": "font-awesome", "style": "brands" },
|
||||
"facebook-official": { "name": "facebook", "style": "brands" },
|
||||
"feed": "rss",
|
||||
"file-archive-o": { "name": "file-zipper", "style": "regular" },
|
||||
"file-audio-o": { "name": "file-audio", "style": "regular" },
|
||||
"file-code-o": { "name": "file-code", "style": "regular" },
|
||||
"file-excel-o": { "name": "file-excel", "style": "regular" },
|
||||
"file-image-o": { "name": "file-image", "style": "regular" },
|
||||
"file-movie-o": { "name": "file-video", "style": "regular" },
|
||||
"file-pdf-o": { "name": "file-pdf", "style": "regular" },
|
||||
"file-photo-o": { "name": "file-image", "style": "regular" },
|
||||
"file-picture-o": { "name": "file-image", "style": "regular" },
|
||||
"file-powerpoint-o": { "name": "file-powerpoint", "style": "regular" },
|
||||
"file-sound-o": { "name": "file-audio", "style": "regular" },
|
||||
"file-video-o": { "name": "file-video", "style": "regular" },
|
||||
"file-word-o": { "name": "file-word", "style": "regular" },
|
||||
"file-zip-o": { "name": "file-zipper", "style": "regular" },
|
||||
"flash": "bolt",
|
||||
"futbol-o": { "name": "futbol", "style": "regular" },
|
||||
"gbp": "sterling-sign",
|
||||
"ge": "greater-than-equal",
|
||||
"gear": "gear",
|
||||
"gears": "gears",
|
||||
"google-plus-circle": { "name": "google-plus", "style": "brands" },
|
||||
"google-plus-official": { "name": "google-plus", "style": "brands" },
|
||||
"group": "users",
|
||||
"hand-grab-o": { "name": "hand", "style": "regular" },
|
||||
"hand-lizard-o": { "name": "hand-lizard", "style": "regular" },
|
||||
"hand-paper-o": { "name": "hand", "style": "regular" },
|
||||
"hand-peace-o": { "name": "hand-peace", "style": "regular" },
|
||||
"hand-pointer-o": { "name": "hand-pointer", "style": "regular" },
|
||||
"hand-rock-o": { "name": "hand-back-fist", "style": "regular" },
|
||||
"hand-scissors-o": { "name": "hand-scissors", "style": "regular" },
|
||||
"hand-spock-o": { "name": "hand-spock", "style": "regular" },
|
||||
"hand-stop-o": { "name": "hand", "style": "regular" },
|
||||
"hard-of-hearing": "ear-deaf",
|
||||
"header": "heading",
|
||||
"hotel": "bed",
|
||||
"hourglass-1": "hourglass-start",
|
||||
"hourglass-2": "hourglass-half",
|
||||
"hourglass-3": "hourglass-end",
|
||||
"id-badge-o": { "name": "id-badge", "style": "regular" },
|
||||
"id-card-o": { "name": "id-card", "style": "regular" },
|
||||
"ils": "shekel-sign",
|
||||
"image": "image",
|
||||
"inr": "indian-rupee-sign",
|
||||
"institution": "building-columns",
|
||||
"intersex": "mars-and-venus",
|
||||
"jpy": "yen-sign",
|
||||
"krw": "won-sign",
|
||||
"legal": "gavel",
|
||||
"life-bouy": "life-ring",
|
||||
"life-buoy": "life-ring",
|
||||
"life-saver": "life-ring",
|
||||
"line-chart": "chart-line",
|
||||
"linkedin-in": { "name": "linkedin-in", "style": "brands" },
|
||||
"map-o": { "name": "map", "style": "regular" },
|
||||
"mortar-board": "graduation-cap",
|
||||
"navicon": "bars",
|
||||
"newspaper-o": { "name": "newspaper", "style": "regular" },
|
||||
"paste": "clipboard",
|
||||
"pencil-square-o": { "name": "pen-to-square", "style": "regular" },
|
||||
"pencil-square": "pen-to-square",
|
||||
"photo": "image",
|
||||
"pie-chart": "chart-pie",
|
||||
"refresh": "rotate",
|
||||
"registered": { "name": "registered", "style": "regular" },
|
||||
"remove": "xmark",
|
||||
"reorder": "bars",
|
||||
"rmb": "yen-sign",
|
||||
"rouble": "ruble-sign",
|
||||
"rub": "ruble-sign",
|
||||
"ruble": "ruble-sign",
|
||||
"rupee": "indian-rupee-sign",
|
||||
"s15": "bath",
|
||||
"save": "floppy-disk",
|
||||
"send": "paper-plane",
|
||||
"send-o": { "name": "paper-plane", "style": "regular" },
|
||||
"shekel": "shekel-sign",
|
||||
"sheqel": "shekel-sign",
|
||||
"shield-alt": "shield-halved",
|
||||
"shopping-bag": "bag-shopping",
|
||||
"sign-in-alt": "right-to-bracket",
|
||||
"sign-out-alt": "right-from-bracket",
|
||||
"signing": "hands",
|
||||
"soccer-ball-o": { "name": "futbol", "style": "regular" },
|
||||
"sort-alpha-down": "arrow-down-a-z",
|
||||
"sort-alpha-up": "arrow-up-a-z",
|
||||
"sort-amount-down": "arrow-down-short-wide",
|
||||
"sort-amount-up": "arrow-up-short-wide",
|
||||
"sort-numeric-down": "arrow-down-1-9",
|
||||
"sort-numeric-up": "arrow-up-1-9",
|
||||
"spoon": "utensil-spoon",
|
||||
"support": "life-ring",
|
||||
"tablet": "tablet-screen-button",
|
||||
"tachometer": "gauge-high",
|
||||
"television": "tv",
|
||||
"thumb-tack": "thumbtack",
|
||||
"thumbs-o-down": { "name": "thumbs-down", "style": "regular" },
|
||||
"thumbs-o-up": { "name": "thumbs-up", "style": "regular" },
|
||||
"ticket": "ticket-simple",
|
||||
"times-rectangle": "rectangle-xmark",
|
||||
"times-rectangle-o": { "name": "rectangle-xmark", "style": "regular" },
|
||||
"toggle-down": { "name": "square-caret-down", "style": "regular" },
|
||||
"toggle-left": { "name": "square-caret-left", "style": "regular" },
|
||||
"toggle-right": { "name": "square-caret-right", "style": "regular" },
|
||||
"toggle-up": { "name": "square-caret-up", "style": "regular" },
|
||||
"trash": "trash",
|
||||
"trash-o": { "name": "trash-can", "style": "regular" },
|
||||
"try": "turkish-lira-sign",
|
||||
"turkish-lira": "turkish-lira-sign",
|
||||
"university": "building-columns",
|
||||
"unlink": "link-slash",
|
||||
"usd": "dollar-sign",
|
||||
"user-circle-o": { "name": "circle-user", "style": "regular" },
|
||||
"user-o": { "name": "user", "style": "regular" },
|
||||
"vcard": "address-card",
|
||||
"vcard-o": { "name": "address-card", "style": "regular" },
|
||||
"volume-control-phone": "phone-volume",
|
||||
"wheelchair-alt": "accessible-icon",
|
||||
"window-close": "rectangle-xmark",
|
||||
"window-close-o": { "name": "rectangle-xmark", "style": "regular" },
|
||||
"won": "won-sign",
|
||||
"y-combinator-square": { "name": "hacker-news", "style": "brands" },
|
||||
"yc-square": { "name": "hacker-news", "style": "brands" },
|
||||
"yen": "yen-sign"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,65 +0,0 @@
|
||||
/**
|
||||
* Scheduler Admin JavaScript
|
||||
* Handles dynamic loading of scheduler status in admin panel
|
||||
*/
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Test scheduler webhook
|
||||
*/
|
||||
window.testSchedulerWebhook = function() {
|
||||
const token = document.querySelector('input[name="data[scheduler][modern][webhook][token]"]')?.value;
|
||||
|
||||
if (!token) {
|
||||
alert('Please set a webhook token first');
|
||||
return;
|
||||
}
|
||||
|
||||
const baseUrl = window.schedulerBaseUrl || window.location.origin;
|
||||
const webhookUrl = baseUrl + '/scheduler/webhook';
|
||||
|
||||
fetch(webhookUrl, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Authorization': 'Bearer ' + token,
|
||||
'Accept': 'application/json'
|
||||
}
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
if (data.success) {
|
||||
alert('Webhook test successful! Jobs run: ' + (data.jobs_run || 0));
|
||||
} else {
|
||||
alert('Webhook test failed: ' + (data.message || 'Unknown error'));
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
alert('Webhook test error: ' + error.message);
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Generate secure token
|
||||
*/
|
||||
window.generateSchedulerToken = function() {
|
||||
const tokenField = document.querySelector('input[name="data[scheduler][modern][webhook][token]"]');
|
||||
|
||||
if (!tokenField) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Generate random token (32 bytes = 64 hex chars)
|
||||
const array = new Uint8Array(32);
|
||||
crypto.getRandomValues(array);
|
||||
const token = Array.from(array, byte => byte.toString(16).padStart(2, '0')).join('');
|
||||
|
||||
tokenField.value = token;
|
||||
|
||||
// Trigger change event
|
||||
const event = new Event('change', { bubbles: true });
|
||||
tokenField.dispatchEvent(event);
|
||||
};
|
||||
|
||||
})();
|
||||
-88964
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user