Skip to content

Commit

Permalink
chore: esx_textui updated to version 1.0.1 + Run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Feb 29, 2024
1 parent d7b43ab commit 8c66112
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 29 deletions.
4 changes: 2 additions & 2 deletions server-data/resources/[esx]/esx_textui/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

esx_menu_default
Copyright (C) 2015-2022 Jérémie N'gadi
Copyright (C) 2015-2024 Jérémie N'gadi

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
Expand All @@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

esx_menu_default Copyright (C) 2015-2022 Jérémie N'gadi
esx_menu_default Copyright (C) 2015-2024 Jérémie N'gadi
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
Expand Down
4 changes: 3 additions & 1 deletion server-data/resources/[esx]/esx_textui/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
fx_version("adamant")

game("gta5")
author("ESX-Framework")
version("1.0.0")
version("1.0.1")
description("ESX TextUI")
lua54("yes")

client_scripts({ "TextUI.lua" })
shared_script("@es_extended/imports.lua")
ui_page("nui/index.html")
Expand Down
2 changes: 2 additions & 0 deletions server-data/resources/[esx]/esx_textui/nui/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,11 @@ body {
0% {
transform: scaleY(0);
}

80% {
transform: scaleY(1.1);
}

100% {
transform: scaleY(1);
}
Expand Down
50 changes: 27 additions & 23 deletions server-data/resources/[esx]/esx_textui/nui/index.html
Original file line number Diff line number Diff line change
@@ -1,29 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
<script src="https://kit.fontawesome.com/a81368914c.js"></script>
<link rel="stylesheet" href="css/style.css" />
<script src="js/script.js"></script>
</head>
<body>
<div id="notifyInfo" class="notify info">
<div class="innerText">
<span class="material-symbols-outlined icon">info</span>
<p class="text" id="infoMessage"></p>
</div>

<head>
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
<script src="https://kit.fontawesome.com/a81368914c.js"></script>
<link rel="stylesheet" href="css/style.css" />
<script src="js/script.js"></script>
</head>

<body>
<div id="notifyInfo" class="notify info">
<div class="innerText">
<span class="material-symbols-outlined icon">info</span>
<p class="text" id="infoMessage"></p>
</div>
<div id="notifySuccess" class="notify success">
<div class="innerText">
<span class="material-symbols-outlined icon">check_circle</span>
<p class="text" id="successMessage"></p>
</div>
</div>
<div id="notifySuccess" class="notify success">
<div class="innerText">
<span class="material-symbols-outlined icon">check_circle</span>
<p class="text" id="successMessage"></p>
</div>
<div id="notifyError" class="notify error">
<div class="innerText">
<span class="material-symbols-outlined icon">error</span>
<p class="text" id="errorMessage"></p>
</div>
</div>
<div id="notifyError" class="notify error">
<div class="innerText">
<span class="material-symbols-outlined icon">error</span>
<p class="text" id="errorMessage"></p>
</div>
</body>
</div>
</body>

</html>
2 changes: 1 addition & 1 deletion server-data/resources/[esx]/esx_textui/nui/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ notification = (data) => {
doc.getElementById(types[data.type]["id"]).style.display = "block";
lastType = types[data.type]["id"];
doc.getElementById(types[data.type]["message"]).innerHTML = data["message"];
};
};
4 changes: 2 additions & 2 deletions server-data/resources/[esx]/esx_textui/readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1 align='center'>[ESX] TextUI</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://docs.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
<h1 align='center'>[ESX] TextUI</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://documentation.esx-framework.org/legacy/installation'>Documentation</a></b></h5>

A beautiful and simple Persistent Notification.

Expand Down Expand Up @@ -43,7 +43,7 @@ ESX.TextUI("i ~r~love~s~ donuts", "error")

esx_textui - Persistant Notifications!

Copyright (C) 2022 ESX-Framework
Copyright (C) 2024 ESX-Framework

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.

Expand Down

0 comments on commit 8c66112

Please sign in to comment.