Skip to content
Extraits de code Groupes Projets
Vérifiée Valider dcac6bf9 rédigé par Kubat's avatar Kubat
Parcourir les fichiers

INSTANCE: Add fontawesom

parent 9c214a35
Aucune branche associée trouvée
Aucune étiquette associée trouvée
2 requêtes de fusion!3Dev kubat,!2Base interface and system
Affichage de
avec 14449 ajouts et 2 suppressions
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
<script src="../style/bootstrap-4.5.2-dist/js/bootstrap.min.js"></script> <script src="../style/bootstrap-4.5.2-dist/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="../style/bootstrap-4.5.2-dist/css/bootstrap.min.css"> <link rel="stylesheet" href="../style/bootstrap-4.5.2-dist/css/bootstrap.min.css">
<link rel="stylesheet" href="../style/css/instance.css"> <link rel="stylesheet" href="../style/css/instance.css">
<link rel="stylesheet" href="../style/fontawesome-free-5.15.1-web/css/all.min.css">
<script src="./main.js"></script> <script src="./main.js"></script>
<style> <style>
::-webkit-scrollbar { ::-webkit-scrollbar {
......
...@@ -36,11 +36,11 @@ function createButtonList(list) { ...@@ -36,11 +36,11 @@ function createButtonList(list) {
list.forEach( (btn) => { list.forEach( (btn) => {
if (btn[0] == "left") { if (btn[0] == "left") {
renderHtmlLeft = `${renderHtmlLeft} renderHtmlLeft = `${renderHtmlLeft}
<button id="${btn[2]}" type="button" class="btn btn-outline-primary p-2 bd-highlight">${btn[1]}</button>`; <button id="${btn[2]}" type="button" class="btn btn-primary p-2 bd-highlight">${btn[1]}</button>`;
logger.debug(`Create button for "${btn[1]}" with id "${btn[2]} at the left"`); logger.debug(`Create button for "${btn[1]}" with id "${btn[2]} at the left"`);
} else if (btn[0] == "right") { } else if (btn[0] == "right") {
renderHtmlRight = `${renderHtmlRight} renderHtmlRight = `${renderHtmlRight}
<button id="${btn[2]}" type="button" class="btn btn-outline-primary p-2 bd-highlight">${btn[1]}</button>`; <button id="${btn[2]}" type="button" class="btn btn-primary p-2 bd-highlight">${btn[1]}</button>`;
logger.debug(`Create button for "${btn[1]}" with id "${btn[2]} at the right"`); logger.debug(`Create button for "${btn[1]}" with id "${btn[2]} at the right"`);
} }
}); });
...@@ -61,6 +61,10 @@ ipcRenderer.on("reload-db-responce", (event, arg) => { ...@@ -61,6 +61,10 @@ ipcRenderer.on("reload-db-responce", (event, arg) => {
<span class="karaElement text-uppercase p-2 bd-highlight badge badge-light"><b>${kara.cat}</b></span> <span class="karaElement text-uppercase p-2 bd-highlight badge badge-light"><b>${kara.cat}</b></span>
<span class="karaElement text-uppercase p-2 bd-highlight badge badge-info"><b>${kara.type}</b></span> <span class="karaElement text-uppercase p-2 bd-highlight badge badge-info"><b>${kara.type}</b></span>
<div class="p-2 bd-highlight mr-auto">${kara.source}<br> ${kara.title} <i>[${kara.author}]</i></div> <div class="p-2 bd-highlight mr-auto">${kara.source}<br> ${kara.title} <i>[${kara.author}]</i></div>
<div class="p-2 bd-highlight">
<button class="btn btn-outline-light"><i class="fas fa-plus"></i></button>
<button class="btn btn-outline-light"><i class="fas fa-angle-double-up"></i></button>
</div>
</div>`; </div>`;
}); });
document.getElementById("panelLeft").innerHTML = karaList; document.getElementById("panelLeft").innerHTML = karaList;
......
Font Awesome Free License
-------------------------
Font Awesome Free is free, open source, and GPL friendly. You can use it for
commercial projects, open source projects, or really almost whatever you want.
Full Font Awesome Free license: https://fontawesome.com/license/free.
# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/)
In the Font Awesome Free download, the CC BY 4.0 license applies to all icons
packaged as SVG and JS file types.
# Fonts: SIL OFL 1.1 License (https://scripts.sil.org/OFL)
In the Font Awesome Free download, the SIL OFL license applies to all icons
packaged as web and desktop font files.
# Code: MIT License (https://opensource.org/licenses/MIT)
In the Font Awesome Free download, the MIT license applies to all non-font and
non-icon files.
# Attribution
Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font
Awesome Free files already contain embedded comments with sufficient
attribution, so you shouldn't need to do anything additional when using these
files normally.
We've kept attribution comments terse, so we ask that you do not actively work
to remove them from files, especially code. They're a great way for folks to
learn about Font Awesome.
# Brand Icons
All brand icons are trademarks of their respective owners. The use of these
trademarks does not indicate endorsement of the trademark holder by Font
Awesome, nor vice versa. **Please do not use brand logos for any purpose except
to represent the company, product, or service to which they refer.**
Ce diff est replié.
Ce diff est replié.
Ce diff est replié.
Ce diff est replié.
Fichier ajouté
Ce diff est replié.
Fichier ajouté
Fichier ajouté
Fichier ajouté
Fichier ajouté
Ce diff est replié.
Fichier ajouté
Fichier ajouté
Fichier ajouté
Fichier ajouté
Ce diff est replié.
Fichier ajouté
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter