mirror of
https://github.com/Macrame-App/Macrame
synced 2025-12-29 15:29:26 +00:00
Added GPL headers to all source files. Updated the dashboard with a link to the github.io page.
This commit is contained in:
parent
315d169cf9
commit
ef051c8e86
74 changed files with 1593 additions and 7 deletions
47
add-gpl-header.sh
Normal file
47
add-gpl-header.sh
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Directory to start searching from (default to current directory)
|
||||||
|
DIR="${1:-.}"
|
||||||
|
|
||||||
|
# Define the GPLv3 header content
|
||||||
|
GPL_HEADER="Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>."
|
||||||
|
|
||||||
|
# Loop through all files in the directory (and subdirectories), excluding node_modules
|
||||||
|
find "$DIR" \( -iname \*.go -o \( -path "$DIR/fe/src/*.js" -o -path "$DIR/fe/src/*.vue" -o -path "$DIR/fe/src/*.css" \) \) ! -path "*/node_modules/*" | while read file
|
||||||
|
do
|
||||||
|
# Check if the file already has a GPL header
|
||||||
|
if ! grep -q "Copyright (C) 2025 Jesse Malotaux" "$file"; then
|
||||||
|
# Check if it's a Vue file and handle it carefully
|
||||||
|
if [[ "$file" == *.vue ]]; then
|
||||||
|
echo "Adding GPL header to: $file"
|
||||||
|
# Prepend the GPL header to Vue files as raw text
|
||||||
|
# Make sure we don't add comment marks that break Vue syntax
|
||||||
|
echo -e "<!--\n$GPL_HEADER\n-->\n\n$(cat "$file")" > "$file"
|
||||||
|
else
|
||||||
|
echo "Adding GPL header to: $file"
|
||||||
|
# Prepend the GPL header to other files (go, js, ts, etc.) as comments
|
||||||
|
echo -e "/*\n$GPL_HEADER\n*/\n\n$(cat "$file")" > "$file"
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "GPL header already present in: $file"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "GPL header addition complete!"
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package app
|
package app
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package app
|
package app
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package helper
|
package helper
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package helper
|
package helper
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package helper
|
package helper
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package helper
|
package helper
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package helper
|
package helper
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package helper
|
package helper
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
@ -14,7 +35,8 @@ import (
|
||||||
|
|
||||||
func FormatMacroFileName(s string) string {
|
func FormatMacroFileName(s string) string {
|
||||||
// Remove invalid characters
|
// Remove invalid characters
|
||||||
re := regexp.MustCompile(`[\/\?\*\>\<\:\\"\|\n]`)
|
re := regexp.MustCompile(`[\/\?\*\>\<\:\"\|
|
||||||
|
]`)
|
||||||
s = re.ReplaceAllString(s, "")
|
s = re.ReplaceAllString(s, "")
|
||||||
|
|
||||||
// Replace spaces with underscores
|
// Replace spaces with underscores
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package helper
|
package helper
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
@ -50,8 +71,8 @@ var translations = map[string]string{
|
||||||
"Quote": "'",
|
"Quote": "'",
|
||||||
"Semicolon": ";",
|
"Semicolon": ";",
|
||||||
"Backquote": "`",
|
"Backquote": "`",
|
||||||
"Backslash": "\\",
|
"Backslash": "\",
|
||||||
"IntlBackslash": "\\",
|
"IntlBackslash": "\",
|
||||||
"Slash": "/",
|
"Slash": "/",
|
||||||
"Comma": ",",
|
"Comma": ",",
|
||||||
"Period": ".",
|
"Period": ".",
|
||||||
|
|
@ -67,7 +88,7 @@ func Translate(code string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func ReverseTranslate(name string) string {
|
func ReverseTranslate(name string) string {
|
||||||
if name == "\\" {
|
if name == "\" {
|
||||||
return "Backslash"
|
return "Backslash"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -126,8 +147,8 @@ func ReverseTranslate(name string) string {
|
||||||
// "Quote": "'",
|
// "Quote": "'",
|
||||||
// "Semicolon": ";",
|
// "Semicolon": ";",
|
||||||
// "Backquote": "`",
|
// "Backquote": "`",
|
||||||
// "Backslash": "\\",
|
// "Backslash": "\",
|
||||||
// "IntlBackslash": "\\",
|
// "IntlBackslash": "\",
|
||||||
// "Slash": "/",
|
// "Slash": "/",
|
||||||
// "Comma": ",",
|
// "Comma": ",",
|
||||||
// "Period": ".",
|
// "Period": ".",
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package app
|
package app
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package app
|
package app
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package app
|
package app
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package structs
|
package structs
|
||||||
|
|
||||||
type Allowed struct {
|
type Allowed struct {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package structs
|
package structs
|
||||||
|
|
||||||
type Settings struct {
|
type Settings struct {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package structs
|
package structs
|
||||||
|
|
||||||
type MacroRequest struct {
|
type MacroRequest struct {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package structs
|
package structs
|
||||||
|
|
||||||
type PanelJSON struct {
|
type PanelJSON struct {
|
||||||
|
|
|
||||||
21
be/main.go
21
be/main.go
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "be/app/helper"
|
import "be/app/helper"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="app-background">
|
<div class="app-background">
|
||||||
<img src="./assets/img/bg-gradient.svg" aria-hidden="true" />
|
<img src="./assets/img/bg-gradient.svg" aria-hidden="true" />
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
@import './style/_content.css';
|
@import './style/_content.css';
|
||||||
@import './style/_form.css';
|
@import './style/_form.css';
|
||||||
@import './style/_scrollbar.css';
|
@import './style/_scrollbar.css';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@apply font-sans font-light tracking-wide bg-slate-900 text-slate-50;
|
@apply font-sans font-light tracking-wide bg-slate-900 text-slate-50;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
.input-group {
|
.input-group {
|
||||||
@apply grid gap-2;
|
@apply grid gap-2;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
/* @reference "main"; */
|
/* @reference "main"; */
|
||||||
hr.spacer {
|
hr.spacer {
|
||||||
@apply relative
|
@apply relative
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
.mcrm-block {
|
.mcrm-block {
|
||||||
@apply relative p-6 overflow-hidden gap-x-6 gap-y-2 backdrop-blur-lg rounded-2xl;
|
@apply relative p-6 overflow-hidden gap-x-6 gap-y-2 backdrop-blur-lg rounded-2xl;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
.panel {
|
.panel {
|
||||||
@apply grid
|
@apply grid
|
||||||
grid-rows-[auto_1fr]
|
grid-rows-[auto_1fr]
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
@apply w-2;
|
@apply w-2;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="accordion">
|
<div class="accordion">
|
||||||
<header @click="toggleAccordion(!accordionOpen)">
|
<header @click="toggleAccordion(!accordionOpen)">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
:class="`alert alert__${variant} ${pageWide ? 'page-wide' : ''}`"
|
:class="`alert alert__${variant} ${pageWide ? 'page-wide' : ''}`"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<template v-if="href">
|
<template v-if="href">
|
||||||
<RouterLink :to="href" :class="classString">
|
<RouterLink :to="href" :class="classString">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="button-group">
|
<div class="button-group">
|
||||||
<slot />
|
<slot />
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="context-menu">
|
<div class="context-menu">
|
||||||
<div class="context-menu__trigger" @click="toggle">
|
<div class="context-menu__trigger" @click="toggle">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="dialog-container">
|
<div class="dialog-container">
|
||||||
<div class="trigger" @click="toggleDialog(true)">
|
<div class="trigger" @click="toggleDialog(true)">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div v-if="loading" class="loading-component">
|
<div v-if="loading" class="loading-component">
|
||||||
<span v-if="text">
|
<span v-if="text">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<nav id="main-menu">
|
<nav id="main-menu">
|
||||||
<button id="menu-toggle" :class="menuOpen ? 'open' : ''" @click="menuOpen = !menuOpen">
|
<button id="menu-toggle" :class="menuOpen ? 'open' : ''" @click="menuOpen = !menuOpen">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="remote-dashboard">
|
<div id="remote-dashboard">
|
||||||
<div id="panels" class="dashboard-block mcrm-block block__light" v-if="server.handshake">
|
<div id="panels" class="dashboard-block mcrm-block block__light" v-if="server.handshake">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
id="server-dashboard"
|
id="server-dashboard"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="server-overview">
|
<div class="server-overview">
|
||||||
<AlertComp variant="info">
|
<AlertComp variant="info">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="device-overview">
|
<div class="device-overview">
|
||||||
<AlertComp variant="info">
|
<AlertComp variant="info">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="input-group form-select">
|
<div class="input-group form-select">
|
||||||
<label v-if="label">
|
<label v-if="label">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="macro-overview mcrm-block block__dark">
|
<div class="macro-overview mcrm-block block__dark">
|
||||||
<h4 class="border-b-2 border-transparent">Saved Macros</h4>
|
<h4 class="border-b-2 border-transparent">Saved Macros</h4>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="macro-recorder mcrm-block block__light">
|
<div class="macro-recorder mcrm-block block__light">
|
||||||
<div class="recorder-interface">
|
<div class="recorder-interface">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<span :class="`delay ${active ? 'active' : ''} ${preset ? 'preset' : ''}`">
|
<span :class="`delay ${active ? 'active' : ''} ${preset ? 'preset' : ''}`">
|
||||||
<template v-if="value < 10000"> {{ value }} <i>ms</i> </template>
|
<template v-if="value < 10000"> {{ value }} <i>ms</i> </template>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="delete-key-dialog" class="dialog__content">
|
<div id="delete-key-dialog" class="dialog__content">
|
||||||
<h4 class="mb-4 text-slate-50">Delete key</h4>
|
<h4 class="mb-4 text-slate-50">Delete key</h4>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="edit-delay-dialog" class="dialog__content">
|
<div id="edit-delay-dialog" class="dialog__content">
|
||||||
<h4 class="mb-4 text-slate-50">Edit delay</h4>
|
<h4 class="mb-4 text-slate-50">Edit delay</h4>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="edit-key-dialog" class="dialog__content">
|
<div id="edit-key-dialog" class="dialog__content">
|
||||||
<h4 class="text-slate-50 mb-4">Press a key</h4>
|
<h4 class="text-slate-50 mb-4">Press a key</h4>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<ContextMenu ref="ctxtMenu">
|
<ContextMenu ref="ctxtMenu">
|
||||||
<template #trigger>
|
<template #trigger>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="insert-key-dialog" class="dialog__content w-96">
|
<div id="insert-key-dialog" class="dialog__content w-96">
|
||||||
<h4 class="text-slate-50 mb-4">Insert key {{ position }}</h4>
|
<h4 class="text-slate-50 mb-4">Insert key {{ position }}</h4>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<kbd :class="`${active ? 'active' : ''} ${empty ? 'empty' : ''}`">
|
<kbd :class="`${active ? 'active' : ''} ${empty ? 'empty' : ''}`">
|
||||||
<template v-if="keyObj">
|
<template v-if="keyObj">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="validation-error__dialog" class="dialog__content">
|
<div id="validation-error__dialog" class="dialog__content">
|
||||||
<h4 class="mb-4 text-slate-50">There's an error in your macro</h4>
|
<h4 class="mb-4 text-slate-50">There's an error in your macro</h4>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="macro-edit__dialogs" v-if="macroRecorder.state.edit !== false">
|
<div class="macro-edit__dialogs" v-if="macroRecorder.state.edit !== false">
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="macro-recorder__footer">
|
<div class="macro-recorder__footer">
|
||||||
<ButtonComp
|
<ButtonComp
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="macro-recorder__header">
|
<div class="macro-recorder__header">
|
||||||
<div class="w-full grid grid-cols-[auto_1fr_auto] gap-2">
|
<div class="w-full grid grid-cols-[auto_1fr_auto] gap-2">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div :class="`recorder-input__container ${macroRecorder.state.record && 'record'}`">
|
<div :class="`recorder-input__container ${macroRecorder.state.record && 'record'}`">
|
||||||
<input
|
<input
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
:class="`macro-recorder__output ${macroRecorder.state.record && 'record'} ${macroRecorder.state.edit && 'edit'}`"
|
:class="`macro-recorder__output ${macroRecorder.state.record && 'record'} ${macroRecorder.state.edit && 'edit'}`"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="panel-edit" class="mcrm-block block__dark !p-0 !gap-0" v-if="editPanel">
|
<div id="panel-edit" class="mcrm-block block__dark !p-0 !gap-0" v-if="editPanel">
|
||||||
<div class="panel-preview">
|
<div class="panel-preview">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="panel-view">
|
<div id="panel-view">
|
||||||
<div class="panel-preview__content" ref="panelView" v-html="viewPanel.html"></div>
|
<div class="panel-preview__content" ref="panelView" v-html="viewPanel.html"></div>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="panels-overview">
|
<div id="panels-overview">
|
||||||
<AlertComp v-if="Object.keys(panels.list).length == 0" variant="info">
|
<AlertComp v-if="Object.keys(panels.list).length == 0" variant="info">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
// import './assets/jemx.scss'
|
// import './assets/jemx.scss'
|
||||||
import '@/assets/main.css'
|
import '@/assets/main.css'
|
||||||
import '@/assets/img/Macrame-Logo-gradient.svg'
|
import '@/assets/img/Macrame-Logo-gradient.svg'
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
import { createRouter, createWebHistory } from 'vue-router'
|
import { createRouter, createWebHistory } from 'vue-router'
|
||||||
import DashboardView from '../views/DashboardView.vue'
|
import DashboardView from '../views/DashboardView.vue'
|
||||||
import { checkAuth, isLocal } from '@/services/ApiService'
|
import { checkAuth, isLocal } from '@/services/ApiService'
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
import { useDeviceStore } from '@/stores/device'
|
import { useDeviceStore } from '@/stores/device'
|
||||||
import CryptoJS from 'crypto-js'
|
import CryptoJS from 'crypto-js'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
import { useDeviceStore } from '@/stores/device'
|
import { useDeviceStore } from '@/stores/device'
|
||||||
import { AES, enc, pad } from 'crypto-js'
|
import { AES, enc, pad } from 'crypto-js'
|
||||||
import { isLocal } from './ApiService'
|
import { isLocal } from './ApiService'
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
const keyMap = {
|
const keyMap = {
|
||||||
// Modifier keys
|
// Modifier keys
|
||||||
Control: 'Ctrl',
|
Control: 'Ctrl',
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
import { appUrl, isLocal } from './ApiService'
|
import { appUrl, isLocal } from './ApiService'
|
||||||
import { AuthCall } from './EncryptService'
|
import { AuthCall } from './EncryptService'
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
export const SetPanelStyle = (styleStr) => {
|
export const SetPanelStyle = (styleStr) => {
|
||||||
const styleEl = document.createElement('style')
|
const styleEl = document.createElement('style')
|
||||||
styleEl.setAttribute('custom_panel_style', true)
|
styleEl.setAttribute('custom_panel_style', true)
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
import { ref, computed } from 'vue'
|
import { ref, computed } from 'vue'
|
||||||
import { defineStore } from 'pinia'
|
import { defineStore } from 'pinia'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { defineStore } from 'pinia'
|
import { defineStore } from 'pinia'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { defineStore } from 'pinia'
|
import { defineStore } from 'pinia'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
/*
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
import { appUrl } from '@/services/ApiService'
|
import { appUrl } from '@/services/ApiService'
|
||||||
import { AuthCall } from '@/services/EncryptService'
|
import { AuthCall } from '@/services/EncryptService'
|
||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="dashboard" class="panel">
|
<div id="dashboard" class="panel">
|
||||||
<div class="panel__title">
|
<div class="panel__title">
|
||||||
|
|
@ -8,9 +29,14 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="panel__content">
|
<div class="panel__content !h-fit !gap-y-16">
|
||||||
<ServerView v-if="isLocal()" />
|
<ServerView v-if="isLocal()" />
|
||||||
<RemoteView v-else />
|
<RemoteView v-else />
|
||||||
|
<div class="grid gap-2 text-slate-300">
|
||||||
|
<h3>About Macrame</h3>
|
||||||
|
<p>Macrame is an open-source application designed to turn any device into a customizable button panel. Whether you're optimizing your workflow or enhancing your gaming experience, Macrame makes it simple to create and link macros to your button panels.</p>
|
||||||
|
<p>For more information, including details on licensing, visit <a href="https://macrame.github.io" target="_blank">https://macrame.github.io</a></p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="devices-view" class="panel">
|
<div id="devices-view" class="panel">
|
||||||
<h1 class="panel__title">
|
<h1 class="panel__title">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="macros" class="panel">
|
<div id="macros" class="panel">
|
||||||
<h1 class="panel__title">Macros</h1>
|
<h1 class="panel__title">Macros</h1>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div id="panels" class="panel">
|
<div id="panels" class="panel">
|
||||||
<h1 class="flex items-end justify-between !w-full panel__title">
|
<h1 class="flex items-end justify-between !w-full panel__title">
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,24 @@
|
||||||
|
<!--
|
||||||
|
Macrame is a program that enables the user to create keyboard macros and button panels.
|
||||||
|
The macros are saved as simple JSON files and can be linked to the button panels. The panels can
|
||||||
|
be created with HTML and CSS.
|
||||||
|
|
||||||
|
Copyright (C) 2025 Jesse Malotaux
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div></div>
|
<div></div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue