Skip to content

Commit

Permalink
🎨 Run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Feb 8, 2024
1 parent 84a7da5 commit 6ca1b70
Show file tree
Hide file tree
Showing 10 changed files with 770 additions and 727 deletions.
422 changes: 211 additions & 211 deletions server-data/resources/[bpt_addons]/bpt_crafting/client/main.lua

Large diffs are not rendered by default.

690 changes: 372 additions & 318 deletions server-data/resources/[bpt_addons]/bpt_crafting/config.lua

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions server-data/resources/[bpt_addons]/bpt_crafting/fxmanifest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,24 @@ shared_script("@es_extended/imports.lua")
ui_page("html/form.html")

files({
"html/form.html",
"html/css.css",
"html/script.js",
"html/jquery-3.4.1.min.js",
"html/img/*.png",
"html/form.html",
"html/css.css",
"html/script.js",
"html/jquery-3.4.1.min.js",
"html/img/*.png",
})

client_scripts({
"@es_extended/locale.lua",
"locales/*.lua",
"config.lua",
"client/main.lua",
"@es_extended/locale.lua",
"locales/*.lua",
"config.lua",
"client/main.lua",
})

server_scripts({
"@es_extended/locale.lua",
"locales/*.lua",
"@oxmysql/lib/MySQL.lua",
"config.lua",
"server/main.lua",
"@es_extended/locale.lua",
"locales/*.lua",
"@oxmysql/lib/MySQL.lua",
"config.lua",
"server/main.lua",
})
16 changes: 11 additions & 5 deletions server-data/resources/[bpt_addons]/bpt_crafting/html/css.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
font-weight: bold;
}

#u136 {
#u136 {
/* color xp bar*/
background-color: #ff2f2fbd;
opacity: 0.76;
Expand Down Expand Up @@ -224,6 +224,7 @@
-webkit-transform: translateX(100px);
transform: translateX(100px);
}

100% {
-webkit-transform: translateX(0);
transform: translateX(0);
Expand Down Expand Up @@ -897,26 +898,26 @@ html {

/* width */

::-webkit-scrollbar {
::-webkit-scrollbar {
width: 0px;
}

/* Track */

::-webkit-scrollbar-track {
::-webkit-scrollbar-track {
opacity: 0.0;
}

/* Handle */

::-webkit-scrollbar-thumb {
::-webkit-scrollbar-thumb {
background: #2469ff;
border-radius: 10px;
}

/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
::-webkit-scrollbar-thumb:hover {
background: #2469ff;
border-radius: 10px;
}
Expand Down Expand Up @@ -962,6 +963,7 @@ html {
-webkit-transform: scale(0.5);
transform: scale(0.5);
}

100% {
-webkit-transform: scale(1);
transform: scale(1);
Expand All @@ -973,6 +975,7 @@ html {
-webkit-transform: scale(0.5);
transform: scale(0.5);
}

100% {
-webkit-transform: scale(1);
transform: scale(1);
Expand Down Expand Up @@ -1093,6 +1096,7 @@ html {
-webkit-transform: translateY(0);
transform: translateY(0);
}

100% {
-webkit-transform: translateY(100px);
transform: translateY(100px);
Expand All @@ -1104,6 +1108,7 @@ html {
-webkit-transform: translateY(0);
transform: translateY(0);
}

100% {
-webkit-transform: translateY(100px);
transform: translateY(100px);
Expand Down Expand Up @@ -1613,6 +1618,7 @@ button:hover {
margin-left: 50%;
left: 36px;
}

#u523-4 {
z-index: 112;
width: 48px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
<script src="script.js" type="text/javascript"></script>
<link href="https://fonts.googleapis.com/css?family=Tangerine" rel="stylesheet">
<link rel="stylesheet" href="css.css" type="text/css">
<audio id="clickaudio" src="https://pic.pikbest.com/00/56/79/04e888piCYRV.mp3"></audio>
<audio id="clickaudio" src="https://pic.pikbest.com/00/56/79/04e888piCYRV.mp3"></audio>
<script src="https://kit.fontawesome.com/78879dfdec.js" crossorigin="anonymous"></script>
</head>

<body>
<div class="full-screen">
<div id="main">
<div id="main">

</div>
<div id="ppu586"></div>
</div>
<div id="ppu586"></div>
</body>

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function openCategory() {
}

base = base + first
' <div class="verticalspacer" data-offset-top="0" data-content-above-spacer="1060" data-content-below-spacer="0" data-sizePolicy="fixed" data-pintopage="page_fixedLeft"></div>' +
' <div class="verticalspacer" data-offset-top="0" data-content-above-spacer="1060" data-content-below-spacer="0" data-sizePolicy="fixed" data-pintopage="page_fixedLeft"></div>' +
' <div class="grpelem" id="u559"><!-- simple frame --></div>' +
' </div>';
$("#main").append(base);
Expand Down Expand Up @@ -265,7 +265,7 @@ function openCrafting(t) {
}

base = base + first + second
' <div class="verticalspacer" data-offset-top="0" data-content-above-spacer="1060" data-content-below-spacer="0" data-sizePolicy="fixed" data-pintopage="page_fixedLeft"></div>' +
' <div class="verticalspacer" data-offset-top="0" data-content-above-spacer="1060" data-content-below-spacer="0" data-sizePolicy="fixed" data-pintopage="page_fixedLeft"></div>' +
' <div class="grpelem" id="u559"></div>' +
' </div>';
$("#main").append(base);
Expand Down Expand Up @@ -408,7 +408,7 @@ function inspect(t) {
}


base = base + first + second
base = base + first + second
$("#page").append(base);
}

Expand Down
14 changes: 7 additions & 7 deletions server-data/resources/[bpt_addons]/bpt_crafting/locales/en.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Locales["en"] = {
["not_enough_ingredients"] = "You don't have enough ingredients",
["you_cant_hold_item"] = "You can't create the product",
["item_crafted"] = "Item crafted!",
["wrong_job"] = "You cannot open this workbench",
["workbench_hologram"] = "[~b~E~w~] Work station",
["inv_limit_exceed"] = "Inventory limit exceeded! Remove something before you lose more merchandise",
["crafting_failed"] = "You were unable to create the item!",
["not_enough_ingredients"] = "You don't have enough ingredients",
["you_cant_hold_item"] = "You can't create the product",
["item_crafted"] = "Item crafted!",
["wrong_job"] = "You cannot open this workbench",
["workbench_hologram"] = "[~b~E~w~] Work station",
["inv_limit_exceed"] = "Inventory limit exceeded! Remove something before you lose more merchandise",
["crafting_failed"] = "You were unable to create the item!",
}
14 changes: 7 additions & 7 deletions server-data/resources/[bpt_addons]/bpt_crafting/locales/it.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Locales["it"] = {
["not_enough_ingredients"] = "Non hai abbastanza ingredienti",
["you_cant_hold_item"] = "Non puoi creare il prodotto",
["item_crafted"] = "Articolo realizzato!",
["wrong_job"] = "Non puoi aprire questo banco di lavoro",
["workbench_hologram"] = "[~b~E~w~] banco da lavoro",
["inv_limit_exceed"] = "Limite inventario superato! Rimuovi qualcosa prima di perdere altra merce",
["crafting_failed"] = "Non sei riuscito a creare l'oggetto!",
["not_enough_ingredients"] = "Non hai abbastanza ingredienti",
["you_cant_hold_item"] = "Non puoi creare il prodotto",
["item_crafted"] = "Articolo realizzato!",
["wrong_job"] = "Non puoi aprire questo banco di lavoro",
["workbench_hologram"] = "[~b~E~w~] banco da lavoro",
["inv_limit_exceed"] = "Limite inventario superato! Rimuovi qualcosa prima di perdere altra merce",
["crafting_failed"] = "Non sei riuscito a creare l'oggetto!",
}
Loading

0 comments on commit 6ca1b70

Please sign in to comment.