mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-30 16:40:36 +01:00
Merge branch 'develop' into 'master'
Develop Closes #12 See merge request bluekay/shopping-list!17
This commit is contained in:
commit
b08deae131
1691 changed files with 244017 additions and 1256 deletions
9
.gitlab-ci.yml
Normal file
9
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
stages:
|
||||||
|
- test
|
||||||
|
|
||||||
|
check_code:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- ./.test/php_syntax.sh
|
||||||
|
tags:
|
||||||
|
- php
|
49
.htaccess
49
.htaccess
|
@ -2,16 +2,57 @@
|
||||||
#Rewrite Engine anschalten
|
#Rewrite Engine anschalten
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
|
|
||||||
#normale Seiten ohne Unterverzeichnis (Liste, Rezeptliste)
|
#normale Seiten ohne Unterverzeichnis (Liste, Rezeptliste, neues Rezept)
|
||||||
RewriteRule ^([a-zA-Z0-9-]+)$ ?site=$1
|
RewriteRule ^([a-zA-Z0-9-]+)$ ?site=$1
|
||||||
|
|
||||||
|
#alles, was versucht ein Script aufzurufen
|
||||||
|
RewriteRule /js/(.+) /js/$1
|
||||||
|
|
||||||
#Error Seite
|
#Error Seite
|
||||||
RewriteRule ^error/([a-zA-Z0-9-]+)$ ?site=error&id=$1
|
RewriteRule ^error/([a-zA-Z0-9-_]+)$ ?site=error&id=$1
|
||||||
|
|
||||||
#Rezept Seite
|
#Rezept Seite
|
||||||
RewriteRule ^recipe/([0-9]+)$ ?site=recipe&number=$1
|
RewriteRule ^recipe/([0-9]+)$ ?site=recipe&number=$1
|
||||||
|
|
||||||
#Loginseite
|
#Rezept editieren
|
||||||
RewriteRule ^login/url=(.+)$ ?site=login&refurl=$1 [L]
|
RewriteRule ^edit-recipe/([0-9]+)$ ?site=edit-recipe&number=$1
|
||||||
|
|
||||||
|
#Loginseite
|
||||||
|
RewriteRule ^login/url=(.+)$ ?site=login&refurl=$1
|
||||||
|
|
||||||
|
#API Calls
|
||||||
|
RewriteRule ^api/([\w-]+)/([\w-]+)$ php/api.php?site=api&call=$1&function=$2 [L]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
|
#Deny every *.php file
|
||||||
|
<Files *.php>
|
||||||
|
Order Deny,Allow
|
||||||
|
Deny from all
|
||||||
|
Allow from 127.0.0.1
|
||||||
|
</Files>
|
||||||
|
|
||||||
|
#allow following files
|
||||||
|
<Files index.php>
|
||||||
|
Order Allow,Deny
|
||||||
|
Allow from all
|
||||||
|
</Files>
|
||||||
|
|
||||||
|
<Files api.php>
|
||||||
|
Order Allow,Deny
|
||||||
|
Allow from all
|
||||||
|
</Files>
|
||||||
|
|
||||||
|
<Files login.php>
|
||||||
|
Order Allow,Deny
|
||||||
|
Allow from all
|
||||||
|
</Files>
|
||||||
|
|
||||||
|
<Files logout.php>
|
||||||
|
Order Allow,Deny
|
||||||
|
Allow from all
|
||||||
|
</Files>
|
||||||
|
|
||||||
|
<Files install*.php>
|
||||||
|
Order Allow,Deny
|
||||||
|
Allow from all
|
||||||
|
</Files>
|
||||||
|
|
28
.test/php_syntax.sh
Executable file
28
.test/php_syntax.sh
Executable file
|
@ -0,0 +1,28 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
PHP=/usr/bin/php
|
||||||
|
|
||||||
|
COUNT=0
|
||||||
|
HIT=0
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
for file in `find . -name \*.php`; do
|
||||||
|
OUTPUT=`$PHP -l $file`
|
||||||
|
if ! [ 0 = $? ]; then
|
||||||
|
echo $OUTPUT
|
||||||
|
HIT=$(($HIT+1))
|
||||||
|
fi
|
||||||
|
COUNT=$(($COUNT+1))
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
if ! [ 0 = $HIT ]; then
|
||||||
|
echo "Syntax check: FAILED"
|
||||||
|
echo "Checked Files: $COUNT, Files with Errors: $HIT"
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "Syntax check: PASSED"
|
||||||
|
echo "Checked Files: $COUNT"
|
||||||
|
exit 0
|
||||||
|
fi
|
52
README.md
52
README.md
|
@ -1,24 +1,48 @@
|
||||||
# Voraussetzungen
|
# Shoutout!
|
||||||
## Apache Moduls:
|
We Use BrowserStack for cross browser testing, as it provides full testing capabillities within one application.
|
||||||
* php-rewrite
|
|
||||||
|
[ ![BrowserStack](https://live.browserstack.com/favicon.ico) BrowserStack](https://www.browserstack.com)
|
||||||
|
|
||||||
|
# Recomendations
|
||||||
|
We strongly recomment to use a ` utf8mb4 ` database collation, as it has the best compatibillity with smileys and other non standard symbols. (You can't tell the enduser, that they can't use smileys. Trust me, I tried.)
|
||||||
|
|
||||||
|
# Requirements
|
||||||
|
|
||||||
|
## Apache Modules:
|
||||||
|
* mod-rewrite
|
||||||
|
|
||||||
## Packages
|
## Packages
|
||||||
* php7
|
* php7
|
||||||
* php7-mysql
|
* php7-mysql
|
||||||
|
|
||||||
# Beispiel Apache Config
|
# Sample Apache Config
|
||||||
```apache
|
```apache
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerAdmin webmaster@localhost
|
ServerAdmin webmaster@localhost
|
||||||
|
ServerName shopping.example.com
|
||||||
|
|
||||||
DocumentRoot /var/www/html/shopping-list
|
DocumentRoot /var/www/html/shopping-list
|
||||||
<Directory /var/www/html/shopping-list>
|
<Directory /var/www/html/shopping-list>
|
||||||
AllowOverride All
|
|
||||||
</Directory>
|
|
||||||
|
|
||||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
AllowOverride All
|
||||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
</Directory>
|
||||||
|
|
||||||
|
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||||
|
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
```
|
```
|
||||||
# Installation
|
|
||||||
Um die Installation zu starten folgende Seite aufrufen:
|
# Installation Instructions
|
||||||
[HOSTNAME]/install/install.php
|
|
||||||
|
* create a new mysql-database. Please use `utf8_general_ci` as your collation.
|
||||||
|
* create a new mysql-user that can edit the database.
|
||||||
|
|
||||||
|
* Download the latest release. You can download it [here (tar.gz)](https://gitlab.com/bluekay/shopping-list/-/archive/master/shopping-list-master.tar.gz) or [here (zip)](https://gitlab.com/bluekay/shopping-list/-/archive/master/shopping-list-master.zip)
|
||||||
|
* unpack the archive and copy its content to `/var/www/html/shopping-list`
|
||||||
|
* grant your web server permission to write the config-file
|
||||||
|
```bash
|
||||||
|
chown www-data:www-data /var/www/html/shopping-list/config/config.php
|
||||||
|
```
|
||||||
|
* visit the address of your web browser, you will be redirected to the installation page
|
||||||
|
* insert your database information and create your login user
|
||||||
|
* thats it, you are good to go. You may login now!
|
||||||
|
|
|
@ -1,82 +0,0 @@
|
||||||
function autocomplete(textelement, values) {
|
|
||||||
var currentFocus;
|
|
||||||
textelement.addEventListener("input", function(e){
|
|
||||||
var a, b, i, val = this.value;
|
|
||||||
closeAllLists();
|
|
||||||
if(!val){ return false;}
|
|
||||||
currentFocus = -1;
|
|
||||||
a = document.createElement("div");
|
|
||||||
a.setAttribute("id", this.id + "ingredientAutocomplete-list");
|
|
||||||
a.setAttribute("class", "ingredientAutocomplete-items");
|
|
||||||
this.parentNode.appendChild(a);
|
|
||||||
for (var i = 0; i < values.length; i++) {
|
|
||||||
if(values[i].substr(0, val.length).toUpperCase() == val.toUpperCase()){
|
|
||||||
b = document.createElement("div");
|
|
||||||
b.innerHTML = "<strong>" + values[i].substr(0, val.length) + "</strong>";
|
|
||||||
b.innerHTML += values[i].substr(val.length);
|
|
||||||
b.innerHTML += "<input type='hidden' value='" + values[i] + "'>";
|
|
||||||
b.addEventListener("click", function(e){
|
|
||||||
textelement.value = this.getElementsByTagName("input")[0].value;
|
|
||||||
closeAllLists();
|
|
||||||
});
|
|
||||||
a.appendChild(b);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
textelement.addEventListener("keydown", function(e){
|
|
||||||
var x = document.getElementById(this.id + "ingredientAutocomplete-list");
|
|
||||||
if (x) {x.getElementsByTagName("div");}
|
|
||||||
if (e.keyCode == 40) {
|
|
||||||
currentFocus++;
|
|
||||||
addActive(x);
|
|
||||||
}
|
|
||||||
else if (e.keyCode == 38) {
|
|
||||||
currentFocus--;
|
|
||||||
addActive(x);
|
|
||||||
}
|
|
||||||
else if (e.keyCode == 13) {
|
|
||||||
e.preventDefault();
|
|
||||||
if (currentFocus > -1) {
|
|
||||||
if (x) {
|
|
||||||
var y = $("#"+x.id).parent().find("input");
|
|
||||||
x.childNodes[currentFocus].click();
|
|
||||||
y.focus();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
function addActive(x) {
|
|
||||||
if(!x) {return false;}
|
|
||||||
removeActive(x);
|
|
||||||
if(currentFocus>=x.childNodes.length){currentFocus=0;}
|
|
||||||
if(currentFocus<0){currentFocus = (x.childNodes.length-1);}
|
|
||||||
x.childNodes[currentFocus].classList.add("ingredientAutocomplete-active");
|
|
||||||
}
|
|
||||||
function removeActive(x) {
|
|
||||||
for (var i = 0; i < x.childNodes.length; i++) {
|
|
||||||
x.childNodes[i].classList.remove("ingredientAutocomplete-active");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function closeAllLists(elmnt){
|
|
||||||
var x = document.getElementsByClassName("ingredientAutocomplete-items");
|
|
||||||
for (var i = 0; i < x.length; i++) {
|
|
||||||
x[i].parentNode.removeChild(x[i]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
document.addEventListener("click", function(e){
|
|
||||||
closeAllLists(e.target);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
var values = [];
|
|
||||||
$(document).ready(function(){
|
|
||||||
$.ajax({
|
|
||||||
type: "POST",
|
|
||||||
url: "/php/edit-recipes.php",
|
|
||||||
data: {
|
|
||||||
function: "auto",
|
|
||||||
},
|
|
||||||
success: function(data){
|
|
||||||
values = data.split("||");
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,27 +0,0 @@
|
||||||
$(document).ready(function(){
|
|
||||||
var recipeID = window.location.href.split("/")[(window.location.href.split("/").length-1)];
|
|
||||||
$("#FormSubmitfunction").prop("value", "update");
|
|
||||||
$.ajax({
|
|
||||||
type: "POST",
|
|
||||||
url: "/php/edit-recipes.php",
|
|
||||||
data: {
|
|
||||||
function: "edit",
|
|
||||||
id: recipeID
|
|
||||||
},
|
|
||||||
success: function(data){
|
|
||||||
var recipe = JSON.parse(data);
|
|
||||||
$("#FormSubmitfunction").after("<input type='hidden' name='id' value='"+recipe.ID+"'>");
|
|
||||||
$("#RecipeFormName").val(recipe.Name);
|
|
||||||
$("#recipeDurationInput").val(recipe.Dauer);
|
|
||||||
$("#recipeDescription").val(recipe.Beschreibung);
|
|
||||||
for (var i = 0; i < recipe.Zutaten.length; i++) {
|
|
||||||
$("#ingredientLine"+(i+1)+" .ingredientAmount").val(recipe.Zutaten[i].Menge);
|
|
||||||
$("#ingredientLine"+(i+1)+" .ingredientUnit option").filter(function(){
|
|
||||||
return $(this).text() === recipe.Zutaten[i].Einheit;
|
|
||||||
}).prop("selected", true);
|
|
||||||
$("#ingredientLine"+(i+1)+" .ingredientName").val(recipe.Zutaten[i].Name);
|
|
||||||
if(i+1<recipe.Zutaten.length){$(".addIngredient")[i].click();}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
39
bin/list.js
39
bin/list.js
|
@ -1,39 +0,0 @@
|
||||||
$(document).ready(function(){
|
|
||||||
$(".check").change(function(){
|
|
||||||
var dataId = $(this).parent().data("id");
|
|
||||||
$.ajax({
|
|
||||||
type: "POST",
|
|
||||||
url: "php/edit-list.php",
|
|
||||||
data: {
|
|
||||||
function: "check",
|
|
||||||
id: dataId,
|
|
||||||
status: $(this).prop("checked")
|
|
||||||
},
|
|
||||||
success: function(){
|
|
||||||
$("#saved font").css("animation", "none");
|
|
||||||
setTimeout(function(){$("#saved font").css("animation", "fade 4s linear");}, 100);
|
|
||||||
},
|
|
||||||
error: function(){
|
|
||||||
$("#error font").css("animation", "none");
|
|
||||||
setTimeout(function(){$("#error font").css("animation", "fade 6s linear");}, 100);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
if($(this).prop("checked")){$("[data-id='"+dataId+"']").addClass("checked");}
|
|
||||||
else{$("[data-id='"+dataId+"']").removeClass("checked");}
|
|
||||||
});
|
|
||||||
$("#remove").click(function(){
|
|
||||||
$.ajax({
|
|
||||||
type: "POST",
|
|
||||||
url: "php/edit-list.php",
|
|
||||||
data: {
|
|
||||||
function: "del"
|
|
||||||
},
|
|
||||||
success: function(){
|
|
||||||
location.reload();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
$("#nameField").focus();
|
|
||||||
$("#anzahl").on("focus", function(){$(this).select();});
|
|
||||||
$("#nameField").on("focus", function(){$(this).select();});
|
|
||||||
});
|
|
|
@ -1,59 +0,0 @@
|
||||||
$(document).ready(function(){
|
|
||||||
$("#editingMenu").click(function(){
|
|
||||||
$(this).css("display", "none");
|
|
||||||
$("#editingMenuOpen").css("transform", "translate(0, 0)");
|
|
||||||
});
|
|
||||||
$("#closeMenue").click(function(){
|
|
||||||
$("#editingMenu").css("display", "block");
|
|
||||||
$(this).parent().css("transform", "translate(0, -12em)");
|
|
||||||
});
|
|
||||||
$("#edit-recipe").click(function(){
|
|
||||||
window.location.href = "/edit-recipe/"+$("#recipeHeader").data("recipeid");
|
|
||||||
});
|
|
||||||
$("#delRecipe").click(function(){
|
|
||||||
if(!(confirm("Wirklich löschen?"))){return;}
|
|
||||||
$.ajax({
|
|
||||||
type: "POST",
|
|
||||||
url: "/php/edit-recipes.php",
|
|
||||||
data: {
|
|
||||||
function: "del",
|
|
||||||
id: $("#recipeHeader").data("recipeid")
|
|
||||||
},
|
|
||||||
success: function(data){
|
|
||||||
window.location.href = "/recipes";
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
$(".addIngredient").click(function(x){
|
|
||||||
var dataID = parseInt($("#addIngredients").data("ingredientscount"))+1;
|
|
||||||
$("#addIngredients").data("ingredientscount", dataID);
|
|
||||||
clone = $(this).parent().clone(true);
|
|
||||||
clone.attr("data-id", dataID);
|
|
||||||
clone.attr("id", ("ingredientLine"+dataID));
|
|
||||||
clone.find(".ingredientAmount").prop("name", ("ingredient["+dataID+"][Amount]"));
|
|
||||||
clone.find(".ingredientUnit").prop("name", ("ingredient["+dataID+"][Unit]"));
|
|
||||||
clone.find(".ingredientName").prop("name", ("ingredient["+dataID+"][Name]"));
|
|
||||||
clone.find(".ingredientAmount").val(1);
|
|
||||||
clone.find(".ingredientUnit").children()[4].setAttribute("selected", true);
|
|
||||||
clone.find(".ingredientName").val("");
|
|
||||||
clone.appendTo($(this).parent().parent());
|
|
||||||
if(x.originalEvent){
|
|
||||||
clone.find(".ingredientAmount").focus();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
$(".removeIngredient").click(function(){
|
|
||||||
if($(".removeIngredient").length>1){
|
|
||||||
$(this).parent().remove();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
$(".ingredientName").on("focus", function(x){
|
|
||||||
autocomplete(this, values);
|
|
||||||
});
|
|
||||||
$(".ingredientName").on("focus", function(){$(this).select();});
|
|
||||||
$(".ingredientName").keydown(function(x){
|
|
||||||
if((x.keyCode==9)&&($(this).parent().parent().next().prop("class")!=$(this).parent().parent().prop("class"))){
|
|
||||||
$(this).parent().parent().find(".addIngredient").click();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
$(".ingredientAmount").on("focus", function(){$(this).select();});
|
|
||||||
});
|
|
18
bin/nav.js
18
bin/nav.js
|
@ -1,18 +0,0 @@
|
||||||
$(document).ready(function(){
|
|
||||||
$("#navigation nav font").click(function(){
|
|
||||||
window.location.href = "/"+$(this).data("url");
|
|
||||||
});
|
|
||||||
$('#burgerMenue').click(function(){
|
|
||||||
$(this).toggleClass('open');
|
|
||||||
if(!($("#navigation").data("open"))){
|
|
||||||
$("#navigation").css("left", "0");
|
|
||||||
$("#navigation").data("open", true);
|
|
||||||
}
|
|
||||||
else if($("#navigation").data("open")){
|
|
||||||
$("#navigation").css("left", "100%");
|
|
||||||
$("#navigation").data("open", false);}
|
|
||||||
});
|
|
||||||
$("#logout").click(function(){
|
|
||||||
window.location.href = "/php/logout.php";
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,58 +0,0 @@
|
||||||
$(document).ready(function(){
|
|
||||||
$("#editingMenu").click(function(){
|
|
||||||
$(this).css("display", "none");
|
|
||||||
$("#editingMenuOpen").css("transform", "translate(0, 0)");
|
|
||||||
});
|
|
||||||
$("#closeMenue").click(function(){
|
|
||||||
$("#editingMenu").css("display", "block");
|
|
||||||
$(this).parent().css("transform", "translate(0, -12em)");
|
|
||||||
});
|
|
||||||
$("#edit-recipe").click(function(){
|
|
||||||
window.location.href = "/edit-recipe/"+$("#recipeHeader").data("recipeid");
|
|
||||||
});
|
|
||||||
$("#delRecipe").click(function(){
|
|
||||||
if(!(confirm("Wirklich löschen?"))){return;}
|
|
||||||
$.ajax({
|
|
||||||
type: "POST",
|
|
||||||
url: "/php/edit-recipes.php",
|
|
||||||
data: {
|
|
||||||
function: "del",
|
|
||||||
id: $("#recipeHeader").data("recipeid")
|
|
||||||
},
|
|
||||||
success: function(data){
|
|
||||||
window.location.href = "/recipes";
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
$(".removeIngredient").click(function(){
|
|
||||||
if($(".removeIngredient").length>1){
|
|
||||||
$(this).parent().remove();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
$(".ingredientName").focus(function(x){
|
|
||||||
autocomplete(this, values);
|
|
||||||
});
|
|
||||||
$(".ingredientName").on("focus", function(){$(this).select();});
|
|
||||||
$(".ingredientAmount").on("focus", function(){$(this).select();});
|
|
||||||
$("#addToListButton").click(function(){
|
|
||||||
var list = [];
|
|
||||||
var ingredientsList = $("#ingredients").children();
|
|
||||||
ingredientsList.each(function(){
|
|
||||||
var amount = $(this).find(".ingredients_row_amount").html();
|
|
||||||
var unit = $(this).find(".ingredients_row_unit").html();
|
|
||||||
var name = $(this).find(".ingredients_row_name").html();
|
|
||||||
list.push({amount: amount, unit: unit, name: name});
|
|
||||||
});
|
|
||||||
$.ajax({
|
|
||||||
type: "POST",
|
|
||||||
url: "/php/edit-list.php",
|
|
||||||
data: {
|
|
||||||
list: list,
|
|
||||||
function: "multiple"
|
|
||||||
},
|
|
||||||
success: function(data){
|
|
||||||
window.location = "/";
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,8 +0,0 @@
|
||||||
$(document).ready(function(){
|
|
||||||
$("#recipes font").click(function(){
|
|
||||||
window.location.href = "/recipe/"+$(this).data("id");
|
|
||||||
});
|
|
||||||
$("#new-recipe").click(function(){
|
|
||||||
window.location.href = "new-recipe";
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1,23 +0,0 @@
|
||||||
$(document).ready(function(){
|
|
||||||
var recipes = $("#recipes font");
|
|
||||||
var headerLetters = $("#recipes h2");
|
|
||||||
$("#searchRecipe").on("keyup", function(data){
|
|
||||||
var search = $("#searchRecipe").val().toUpperCase();
|
|
||||||
for (var i = 0; i < recipes.length; i++) {
|
|
||||||
if(recipes[i].innerHTML.toUpperCase().indexOf(search) > -1){
|
|
||||||
recipes[i].style.display = "";
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
recipes[i].style.display = "none";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for (var j = 0; j < headerLetters.length; j++) {
|
|
||||||
if(($("*[data-letter='"+headerLetters[j].innerHTML+"']:visible")).length>0){
|
|
||||||
headerLetters[j].style.display = "";
|
|
||||||
}
|
|
||||||
else{
|
|
||||||
headerLetters[j].style.display = "none";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
|
@ -1 +0,0 @@
|
||||||
Require all denied
|
|
|
@ -1,5 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
$CONFIG = array (
|
$CONFIG = array (
|
||||||
'installed' => false,
|
'installed' => false,
|
||||||
);
|
);
|
||||||
|
|
||||||
?>
|
?>
|
|
@ -1,4 +0,0 @@
|
||||||
# prevent access to these files while not logged in
|
|
||||||
<files "adduser.php">
|
|
||||||
Require all denied
|
|
||||||
</files>
|
|
|
@ -1,12 +1,11 @@
|
||||||
<?php ?>
|
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="/style/master.css">
|
|
||||||
<link rel="stylesheet" href="/style/adduser.css">
|
<link rel="stylesheet" href="/style/adduser.css">
|
||||||
|
<script src="/js/adduser.js" charset="utf-8"></script>
|
||||||
</head>
|
</head>
|
||||||
<h1>Benutzer hinzufügen</h1>
|
<h1>Benutzer hinzufügen</h1>
|
||||||
<form class="adduser" action="/php/adduser_action.php" method="post">
|
<div class="adduser">
|
||||||
<label for="text_user">Benutzername</label><input id="text_user" type="text" name="username" value="" placeholder="user1" required>
|
<label for="text_user">Benutzername</label><input id="text_user" type="text" name="username" placeholder="user" required>
|
||||||
<label for="text_passwd">Passwort</label><input id="text_passwd" type="Password" name="passwd" value="" placeholder="********" required>
|
<label for="text_passwd">Passwort</label><input id="text_passwd" type="password" name="passwd" placeholder="********" required>
|
||||||
<input id="button_newuser" class="button" type="submit" name="" value="Neuer Benutzer">
|
<input id="button_newuser" class="button" type="submit" name="" value="Neuer Benutzer">
|
||||||
</form>
|
</div>
|
||||||
|
<button class="button button-disabled" id="adduser-button-done">Fertig</button>
|
||||||
|
|
|
@ -3,42 +3,51 @@
|
||||||
<head>
|
<head>
|
||||||
<title>Installationsfehler</title>
|
<title>Installationsfehler</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<script src="/bin/error.js" charset="utf-8"></script>
|
<script src="/js/error.js" charset="utf-8"></script>
|
||||||
<link rel="stylesheet" href="/style/master.css">
|
|
||||||
<link rel="stylesheet" href="/style/error.css">
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<center>
|
<div class="container">
|
||||||
<br>
|
<div class="card border-danger mt-5">
|
||||||
<h1>ACHTUNG</h1><br>
|
<div class="card-body">
|
||||||
<br>
|
<h2 class="card-title">ACHTUNG</h2>
|
||||||
|
<h3 class="card-subtitle">Es ist ein Fehler aufgetreten!</h3>
|
||||||
Es ist folgender Fehler aufgetreten:
|
</div>
|
||||||
<br><br>
|
<div class="card-body">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
switch ($_GET["id"]) {
|
switch ($_GET["id"]) {
|
||||||
case 'ConfigFolderReadOnly':
|
case 'ConfigFolderReadOnly':
|
||||||
echo "Das Installationsskript kann keine Konfigurationdatei im Konfigurationsordner erstellen.<br>Bitte achten Sie darauf, dass es dem Webserver erlaubt ist, Dateien im <code>config</code>-Ordner zu erstellen.";
|
echo "<p class='card-text'>Das Installationsskript kann keine Konfigurationdatei im Konfigurationsordner erstellen.</p>";
|
||||||
break;
|
echo "<p class='card-text'>Bitte achten Sie darauf, dass es dem Webserver erlaubt ist, Dateien im <code>config</code>-Ordner zu erstellen.</p>";
|
||||||
case 'ConfigReadOnly':
|
break;
|
||||||
echo "Das Installationsskript kann die Konfigurationdatei im Konfigurationsordner nicht bearbeiten.<br>Bitte achten Sie darauf, dass es dem Webserver erlaubt ist, Dateien im <code>config</code>-Ordner zu bearbeiten.";
|
case 'ConfigReadOnly':
|
||||||
break;
|
echo "<p class='card-text'>Das Installationsskript kann die Konfigurationdatei im Konfigurationsordner nicht bearbeiten.</p>";
|
||||||
|
echo "<p class='card-text'>Bitte achten Sie darauf, dass es dem Webserver erlaubt ist, Dateien im <code>config</code>-Ordner zu bearbeiten.</p>";
|
||||||
|
break;
|
||||||
case 'DBConnFailed':
|
case 'DBConnFailed':
|
||||||
echo "Die Shoppingliste konnte nicht auf die Datenbank zugreifen.<br>Vielleicht sind die Datenbank-Zugangsdaten falsch?<br><br>Diese können entweder bei der Installation, oder im <code>config</code> Ordner verändert werden.";
|
echo "<p class='card-text'>Die Shoppingliste konnte nicht auf die Datenbank zugreifen.</p>";
|
||||||
break;
|
echo "<p class='card-text'>Vielleicht sind die Datenbank-Zugangsdaten falsch?</p>";
|
||||||
|
echo "<p class='card-text'>Diese können entweder bei der Installation, oder im <code>config</code> Ordner angegeben werden.</p>";
|
||||||
|
break;
|
||||||
case 'php_modules':
|
case 'php_modules':
|
||||||
echo "Für die vollständige Funktionsweiße fehlt folgendes Modul: <br><code>";
|
echo "<p class='card-text'>Für die vollständige Funktionsweiße fehlt folgende(s) Modul(e):</p><ul>";
|
||||||
foreach(unserialize($_GET["missing_mods"]) as $mod){
|
foreach(unserialize($_GET["missing_mods"]) as $mod){
|
||||||
echo "<br>".$mod;
|
echo "<li>".$mod."</li>";
|
||||||
}
|
}
|
||||||
echo "</code><br><br>Bitte informieren Sie den Administrator des Webservers.";
|
echo "</ul>";
|
||||||
break;
|
echo "<p class='card-text'>Bitte informieren Sie den Administrator des Webservers.</p>";
|
||||||
default:
|
break;
|
||||||
echo "Unbekannter Fehler";
|
default:
|
||||||
break;
|
echo "<p class='card-text'>Unbekannter Fehler</p>";
|
||||||
}
|
break;
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<center>
|
||||||
|
|
||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
<p><button class="button" id="backButton">Zurück</button></p>
|
<p><button class="button" id="backButton">Zurück</button></p>
|
||||||
</center>
|
</center>
|
||||||
|
|
104
cont/list.php
104
cont/list.php
|
@ -1,39 +1,75 @@
|
||||||
<script src="/bin/list.js" charset="utf-8"></script>
|
<script src="/js/list.js" charset="utf-8"></script>
|
||||||
<link rel="stylesheet" href="/style/list.css">
|
<div class="container mt-5">
|
||||||
<h1>Liste</h1>
|
<h1>Liste</h1>
|
||||||
<button type="button" id="remove" class="button">Auswahl entfernen</button>
|
</div>
|
||||||
<form id="neu" action="php/edit-list.php" method="post">
|
<div class="container">
|
||||||
<input type="hidden" name="function" value="new">
|
<form action="api/list/new" method="post" class="d-flex flex-column">
|
||||||
<div id="list">
|
<button type="button" id="remove" class="btn btn-primary align-self-end mt-4">Auswahl entfernen</button>
|
||||||
<?php
|
<?php
|
||||||
include $_SESSION["docroot"].'/php/classes.list.php';
|
include $_SESSION["docroot"] . '/php/classes.list.php';
|
||||||
$units = new units;
|
$units = new units;
|
||||||
$shopping = new shopping;
|
$shopping = new shopping;
|
||||||
$parity = "odd";
|
|
||||||
foreach ($shopping->list as $item){
|
$div_item_row_classes = "d-flex flex-row justify-content-start align-items-center rounded-lg mt-1 text-light";
|
||||||
if($parity=="even"){$parity="odd";}else{$parity="even";}
|
$div_item_checkbox_classes = "align-self-center p-1 pl-2";
|
||||||
if($item->Erledigt){$checked="checked";}else{$checked=NULL;}
|
$input_item_checkbox_classes = "checkbox";
|
||||||
echo "<div class='list_row $parity $checked' data-id='".$item->ID."'>";
|
$div_item_quantity_classes = "p-1 col-3";
|
||||||
echo "<input type='checkbox' class='check' $checked>";
|
$div_item_name_classes = "p-1 font-weight-bold";
|
||||||
echo "<font class='list_row_count' data-id='$item->ID'>$item->Anzahl $item->Einheit</font>";
|
$div_item_menu = "ml-auto mr-2";
|
||||||
echo "<font class='list_row_name' data-id='$item->ID'>$item->Name</font>";
|
$button_dropdown_classes = "dropdown-menu-button btn text-light pt-0 pb-0";
|
||||||
echo "</div>";
|
|
||||||
|
foreach ($shopping->list as $index => $item) {
|
||||||
|
if ($index % 2 == 0) {
|
||||||
|
$color_theme = "bg-primary";
|
||||||
|
} else {
|
||||||
|
$color_theme = "bg-secondary";
|
||||||
|
}
|
||||||
|
if ($item->Erledigt) {
|
||||||
|
$div_item_row_color_classes = "bg-success";
|
||||||
|
$checked = "checked";
|
||||||
|
} else {
|
||||||
|
$div_item_row_color_classes = $color_theme;
|
||||||
|
$checked = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
print_r("<div class='list-row $div_item_row_classes $div_item_row_color_classes'>");
|
||||||
|
print_r("<div class='$div_item_checkbox_classes'><input type='checkbox' class='$input_item_checkbox_classes' data-color='$color_theme' data-id='$item->ID' $checked></div>");
|
||||||
|
print_r("<div class='list-row-amount $div_item_quantity_classes' data-amount='$item->Anzahl' data-unit='$item->Einheit'>$item->Anzahl $item->Einheit</div>");
|
||||||
|
print_r("<div class='list-row-name $div_item_name_classes'>$item->Name</div>");
|
||||||
|
print_r("<div class='$div_item_menu dropdown'>");
|
||||||
|
print_r("<button type='button' class='$button_dropdown_classes' id='dropdown-menu-button-dataID-" . $item->ID . "' data-toggle='dropdown' aria-haspopup='true' aria-expanded='false'>");
|
||||||
|
print_r("<i class='fas fa-angle-down'></i>");
|
||||||
|
print_r("</button>");
|
||||||
|
print_r("<div class='dropdown-menu dropdown-menu-right' aria-labelledby='dropdown-menu-button-dataID-" . $item->ID . "'>");
|
||||||
|
print_r("<button type='button' class='edit-listitem dropdown-item'><i class='fas fa-edit'></i> Bearbeiten</button>");
|
||||||
|
print_r("<button type='button' class='del-listitem dropdown-item'><i class='fas fa-trash-alt'></i> Löschen</button>");
|
||||||
|
print_r("</div>");
|
||||||
|
print_r("</div>");
|
||||||
|
print_r("</div>");
|
||||||
}
|
}
|
||||||
echo "<div class='list_row new' data-id='new'>";
|
?>
|
||||||
echo "<input type='checkbox' class='check' disabled />";
|
|
||||||
echo "<span class='list_row_count' id='list_row_count_input'>";
|
<div class="input-group mb-3 mt-3" data-id='new'>
|
||||||
echo "<input type='number' name='anzahl' value='1' id='list_row_anzahl_input'>";
|
<div class="input-group-prepend col-3 p-0">
|
||||||
echo "<select name='einheit' id='list_row_einheit_input'>>";
|
<input type='number' name='anzahl' value='1' step=".25" class='form-control w-50 mr-1'>
|
||||||
foreach ($units->list as $unit) {
|
<select class="form-control w-50 mr-1" name="einheit">
|
||||||
if($unit->Standard){$selected="selected";}else{$selected=NULL;}
|
<?php
|
||||||
echo "<option value='$unit->ID' $selected>$unit->Name</option>";
|
foreach ($units->list as $index => $unit) {
|
||||||
|
if ($unit->Standard) {
|
||||||
|
$selected = "selected";
|
||||||
|
} else {
|
||||||
|
$selected = NULL;
|
||||||
|
}
|
||||||
|
print_r("<option value='$unit->ID' $selected>$unit->Name</option>");
|
||||||
}
|
}
|
||||||
echo "</select>";
|
?>
|
||||||
echo "</span>";
|
</select>
|
||||||
echo "<input class='list_row_name' type='text' name='name' value='' id='nameField' autocomplete='off' required /> <input type='submit' name='submit' value='+' id='add'>";
|
</div>
|
||||||
echo "</div>";
|
<input type="text" name='name' class="form-control" id="nameField" placeholder="Item" aria-label="Item" aria-describedby="button-addon2" autocomplete='off' required>
|
||||||
?>
|
<div class="input-group-append">
|
||||||
|
<button class="btn btn-outline-secondary" type="submit" id="button-addon2"><i class="fas fa-plus"></i></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
|
||||||
<div id="saved"><font>SAVED!</font></div>
|
|
||||||
<div id="error"><font>Netzwerkfehler!<br /> Bitte aktualisieren.</font></div>
|
|
||||||
|
|
|
@ -1,33 +1,41 @@
|
||||||
<link rel="stylesheet" href="/style/login.css">
|
<div class="container mt-5">
|
||||||
<h1>Login</h1>
|
<h1>Login</h1>
|
||||||
<form id="login" action="/php/login.php" method="post">
|
</div>
|
||||||
<input type="hidden" name="refurl" value="<?php echo $_GET["refurl"]; ?>" >
|
|
||||||
<input class="loginform" type="text" name="user" id="name" value="" placeholder="Benutzer" required="required">
|
<form action="/php/login.php" method="post">
|
||||||
<input class="loginform" type="password" name="pass" id="pass" value="" placeholder="Passwort" required="required">
|
<input type="hidden" name="refurl" value="<?php echo $_GET["refurl"]; ?>">
|
||||||
<input class="loginform button" type="submit" id="loginButton" value="Login">
|
<div class="form-group">
|
||||||
<label class="loginform" id="rememberme"><input type="checkbox" name="rememberme">remember me</label>
|
<label for="name">Benutzer</label>
|
||||||
<font id="wrongpw" <?php
|
<input type="text" class="form-control" name="user" id="name" aria-describedby="benutzerHelp" placeholder="Benutzername"
|
||||||
if($_COOKIE["token"]=="false")
|
required="required">
|
||||||
{
|
<small id="benutzerHelp" class="form-text text-muted">Ihr persönlcher Benutzername für die ShoppingList!</small>
|
||||||
echo "style='display: block;'";
|
</div>
|
||||||
setcookie("token", "", 1, "/", "");
|
<div class="form-group">
|
||||||
}
|
<label for="pass">Password</label>
|
||||||
else
|
<input type="password" class="form-control" name="pass" id="pass" placeholder="**********" required="required">
|
||||||
{
|
</div>
|
||||||
echo "style='display: none;'";
|
<div class="form-group form-check">
|
||||||
}
|
<input type="checkbox" class="form-check-input" id="rememberme" name="rememberme">
|
||||||
?>
|
<label class="form-check-label" for="rememberme">Angemeldet bleiben</label>
|
||||||
> Falsches Passwort!</font>
|
</div>
|
||||||
<font id="logout" <?php
|
<button type="submit" class="btn btn-primary">Login</button>
|
||||||
if($_COOKIE["token"]=="logout")
|
</form>
|
||||||
{
|
|
||||||
echo "style='display: block;'";
|
<div class="alert alert-danger" role="alert" <?php
|
||||||
setcookie("token", "", 1, "/", "");
|
if(isset($_COOKIE["token"]) && $_COOKIE["token"]=="false"){
|
||||||
}
|
echo "style='display: block;'";
|
||||||
else
|
setcookie("token", "", 1, "/", "");
|
||||||
{
|
}
|
||||||
echo "style='display: none;'";
|
else{echo "style='display: none;'";}
|
||||||
}
|
?>>
|
||||||
?>
|
Entweder das Passwort, oder der Benutzername ist falsch!
|
||||||
> Erfolgreich ausgeloggt!</font>
|
</div>
|
||||||
</form>
|
<div class="alert alert-success" role="alert" <?php
|
||||||
|
if(isset($_COOKIE["token"]) && $_COOKIE["token"]=="logout"){
|
||||||
|
echo "style='display: block;'";
|
||||||
|
setcookie("token", "", 1, "/", "");
|
||||||
|
}
|
||||||
|
else{echo "style='display: none;'";}
|
||||||
|
?>>
|
||||||
|
Erfolgreich ausgeloggt!
|
||||||
|
</div>
|
|
@ -1,37 +1,81 @@
|
||||||
<link rel="stylesheet" href="/style/manageRecipe.css">
|
<?php
|
||||||
<script src="/bin/autocomplete.js" charset="utf-8"></script>
|
if($_SERVER["REQUEST_URI"]!="/new-recipe"){
|
||||||
<script src="/bin/manageRecipe.js" charset="utf-8"></script>
|
$submitFunction = "update";
|
||||||
<?php if($_SERVER["REQUEST_URI"]!="/new-recipe"){
|
$title = "Bearbeiten";
|
||||||
echo "<h1>Bearbeiten</h1>";
|
$script = '<script src="/js/edit-recipe.js" charset="utf-8"></script>';
|
||||||
echo "<script src=\"/bin/edit-recipe.js\" charset=\"utf-8\"></script>";
|
$additionalInput = "<input type='hidden' name='id' value=''>";
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
echo "<h1 id=\"header\">Neu</h1>";
|
$submitFunction = "new";
|
||||||
} ?>
|
$title = "Neu";
|
||||||
<form id="newRecipeForm" autocomplete="off" action="/php/edit-recipes.php" method="post">
|
$script = '';
|
||||||
<input id="FormSubmitfunction" type="hidden" name="function" value="new">
|
$additionalInput = "";
|
||||||
<div><input id="safeRecipe" type="submit" name="" value="Speichern" class="button"> </div>
|
}
|
||||||
<div><font>Name:</font><br /><input id="RecipeFormName" type="text" name="recipeName" placeholder="Name" required="required"></div>
|
?>
|
||||||
<div><font>Dauer (Minuten):</font><br /><input type="number" name="recipeDuration" id="recipeDurationInput" value="30"></div>
|
<script src="/js/manageRecipe.js" charset="utf-8"></script>
|
||||||
<div><font>Beschreibung:</font><br /><textarea placeholder="Beschreibung" name="recipeDescription" id="recipeDescription" rows="8" cols="80" spellcheck="true"></textarea> </div>
|
<script src="/js/autocomplete.js" charset="utf-8"></script>
|
||||||
<div><font>Zutaten:</font><br />
|
<?php echo $script; ?>
|
||||||
<div id="addIngredients" data-ingredientscount="1">
|
<div class="container mt-5">
|
||||||
<div class="ingredientLine" id="ingredientLine1" data-id="1">
|
<h1><?php echo $title ?></h1>
|
||||||
<input type="number" min="0" step="0.1" class="ingredientAmount" name="ingredient[1][Amount]" value="1">
|
</div>
|
||||||
<select class="ingredientUnit" name="ingredient[1][Unit]">
|
|
||||||
<?php
|
|
||||||
include $_SESSION["docroot"].'/php/classes.recipe.php';
|
<form action="/api/recipes/<?php echo $submitFunction; ?>" method="post">
|
||||||
$unitList = new unitList;
|
<?php echo $additionalInput; ?>
|
||||||
foreach ($unitList->units as $unit) {
|
|
||||||
if($unit->Standard){$selected="selected";}else{$selected=NULL;}
|
<div class="form-group">
|
||||||
echo "<option value='$unit->ID' $selected>$unit->Name</option>";
|
<label for="recipeName">Titel</label>
|
||||||
}
|
<input type="text" class="form-control" id="recipeName" name="recipeName" aria-describedby="recipeHelp" placeholder="Titel" required>
|
||||||
?>
|
<small id="recipeHelp" class="form-text text-muted">Titel des Rezepts, wird in der Rezepteübersicht angezeigt.</small>
|
||||||
</select>
|
</div>
|
||||||
<div class="ingredientAutocomplete"><input type="text" class="ingredientName" name="ingredient[1][Name]" placeholder="Zutat" required="required"></div>
|
|
||||||
<span class="removeIngredient">✘</span>
|
<div class="form-group">
|
||||||
<span class="addIngredient">✚</span>
|
<label for="recipeDuration">Dauer</label>
|
||||||
|
<input type="number" class="form-control" id="recipeDuration" name="recipeDuration" aria-describedby="durationHelp" placeholder="30 min" min="0" step="0.1" required>
|
||||||
|
<small id="durationHelp" class="form-text text-muted">Zubereitungszeit in Minuten.</small>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="recipeDescription">Beschreibung</label>
|
||||||
|
<textarea class="form-control" id="recipeDescription" name="recipeDescription" rows="3" rows="8" cols="80" spellcheck="true" required></textarea>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<label>Zutaten</label>
|
||||||
|
|
||||||
|
<div class="ingredientRow form-group d-flex flex-row">
|
||||||
|
<input type="number" class="form-control col-2" name="ingredient[1][Amount]" value="1" min="0" step="0.1">
|
||||||
|
<select class="ingredientUnit col-2 ml-1 mr-1 rounded" name="ingredient[1][Unit]">
|
||||||
|
<?php
|
||||||
|
include $_SESSION["docroot"].'/php/classes.recipe.php';
|
||||||
|
$unitList = new unitList;
|
||||||
|
foreach ($unitList->units as $unit) {
|
||||||
|
if($unit->Standard){$selected="selected";}else{$selected=NULL;}
|
||||||
|
echo "<option value='$unit->ID' $selected>$unit->Name</option>";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<div class="input-group">
|
||||||
|
<input type="text" data-apiurl="/api/recipes/auto" data-strlen="2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" id="dropdownMenuAutocomplete-1" class="autocomplete-ingredient form-control dropdown" name="ingredient[1][Name]" placeholder="Zutat" autocomplete="off" required>
|
||||||
|
|
||||||
|
<div class="dropdown-menu" aria-labelledby="dropdownMenuAutocomplete-1">
|
||||||
|
<button class="dropdown-item" type="button" data-value="-1">Tippen um zu suchen... </button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="input-group-append">
|
||||||
|
<span class="input-group-text p-0"><button onclick="removeItem(this);" class="removeItem fas fa-trash-alt bg-transparent rounded-right border-0 p-2 pl-3 pr-3 text-danger"></button></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<button type="button" data-count="1" class="btn btn-secondary" id="addItem"><i class="fas fa-plus"></i> Zutat</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group float-right">
|
||||||
|
<a class="btn btn-danger text-light" id="cancel">Abbrechen</a>
|
||||||
|
<button type="submit" class="btn btn-primary">Speichern</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
57
cont/nav.php
57
cont/nav.php
|
@ -1,10 +1,47 @@
|
||||||
<link rel="stylesheet" href="/style/nav.css">
|
<nav class="navbar navbar-expand-sm navbar-dark bg-dark rounded-bottom fixed-top">
|
||||||
<script src="/bin/nav.js" charset="utf-8"></script>
|
<a class="navbar-brand" href="/">
|
||||||
<div id="navigation" data-open="false">
|
<i class="fas fa-check-square w-auto"></i>
|
||||||
<img src="/pic/logout.png" id="logout" alt="">
|
ShoppingList
|
||||||
<nav>
|
</a>
|
||||||
<font class="hover even" data-url="list">Einkaufsliste</font>
|
|
||||||
<font class="hover odd" data-url="recipes">Rezepte</font>
|
<button class="navbar-toggler float-right" type="button" data-toggle="collapse" data-target="#navbarToggleResponsive" aria-controls="navbarToggleResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
</nav>
|
<i class="fas fa-bars"></i>
|
||||||
</div>
|
</button>
|
||||||
<div id="burgerMenue"><span></span><span></span><span></span></div>
|
|
||||||
|
<div class="collapse navbar-collapse">
|
||||||
|
<ul class="navbar-nav mr-auto">
|
||||||
|
<li class="nav-item <?php if(($site=="list")||($site=="-1")){print_r("active");} ?>">
|
||||||
|
<a class="nav-link-font nav-link" href="/list"><i class="fas fa-list"></i> Liste</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item <?php if($site=="recipes"){print_r("active");} ?>">
|
||||||
|
<a class="nav-link-font nav-link" href="/recipes"><i class="fas fa-book"></i> Rezepte</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="navbar-nav">
|
||||||
|
<li class="nav-item <?php if($site=="settings"){print_r("active");} ?>">
|
||||||
|
<a class="nav-link-font nav-link" href="/settings"><i class="fas fa-user-cog"></i></a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link-font nav-link" href="/php/logout.php"><i class="fas fa-sign-out-alt"></i></a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="collapse w-75 pl-2" id="navbarToggleResponsive">
|
||||||
|
<ul class="navbar-nav mr-auto">
|
||||||
|
<li class="nav-item <?php if(($site=="list")||($site=="-1")){print_r("active");} ?>">
|
||||||
|
<a class="nav-link" href="/list"><i class="fas fa-list"></i> Liste</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item <?php if($site=="recipes"){print_r("active");} ?>">
|
||||||
|
<a class="nav-link" href="/recipes"><i class="fas fa-book"></i> Rezepte</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item <?php if($site=="settings"){print_r("active");} ?>">
|
||||||
|
<a class="nav-link" href="/settings"><i class="fas fa-user-cog"></i> Einstellungen</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="/php/logout.php"><i class="fas fa-sign-out-alt"></i> Logout</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</nav>
|
|
@ -1,29 +1,46 @@
|
||||||
<link rel="stylesheet" href="/style/recipe.css">
|
<script src="/js/recipe.js" charset="utf-8"></script>
|
||||||
<script src="/bin/recipe.js" charset="utf-8"></script>
|
|
||||||
<?php
|
<?php
|
||||||
include $_SESSION["docroot"].'/php/classes.recipe.php';
|
include $_SESSION["docroot"].'/php/classes.recipe.php';
|
||||||
$book = new cookbook;
|
$book = new cookbook;
|
||||||
$book->getRecipe($_GET["number"]);
|
$book->getRecipe($_GET["number"]);
|
||||||
$recipe = $book->sites[0];
|
$recipe = $book->sites[0];
|
||||||
|
|
||||||
echo "<h1 data-recipeid='$recipe->ID'>$recipe->Name</h1>";
|
|
||||||
echo "<h2>Zutaten</h2>";
|
|
||||||
echo "<button id='addToListButton' class='button'>Zur Einkaufsliste hinzufügen</button>";
|
|
||||||
echo "<div id='ingredients'>";
|
|
||||||
$parity="odd";
|
|
||||||
foreach($recipe->Zutaten as $Zutat){
|
|
||||||
if($parity=="even"){$parity="odd";}else{$parity="even";}
|
|
||||||
echo "<span class='ingredients_row $parity'><font class='ingredients_row_amount'>$Zutat->Menge</font><font class='ingredients_row_unit'>$Zutat->Einheit</font><font class='ingredients_row_name'>".$Zutat->Name."</font></span>";
|
|
||||||
}
|
|
||||||
echo "</div>";
|
|
||||||
echo "<h2>Zubereitung</h2>";
|
|
||||||
foreach(explode("\r\n", $recipe->Beschreibung) as $paragraph){
|
|
||||||
echo "<p>$paragraph</p>";
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
<div id="editingMenu"></div>
|
|
||||||
<div id="editingMenuOpen">
|
<div class="dropdown text-right mt-5">
|
||||||
<font id="closeMenue">⬆</font>
|
<button class="btn btn-primary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||||
<font id="edit-recipe">✎</font>
|
Menü
|
||||||
<font id="delRecipe">✘</font>
|
</button>
|
||||||
|
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
|
||||||
|
<a class="dropdown-item" href="#" id="addToList"><i class="fas fa-cart-plus"></i> Zur Einkaufsliste hinzufügen</a>
|
||||||
|
<a class="dropdown-item" href="/edit-recipe/<?php echo $recipe->ID; ?>"><i class="fas fa-edit"></i> Bearbeiten</a>
|
||||||
|
<a class="dropdown-item" href="#" id="delRecipe"><i class="fas fa-trash-alt"></i> Löschen</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
echo '<div class="container mb-5">';
|
||||||
|
echo "<h1 data-recipeid='$recipe->ID'>$recipe->Name</h1>";
|
||||||
|
echo '</div>';
|
||||||
|
|
||||||
|
echo '<div class="card mw-50 mb-3">';
|
||||||
|
echo "<div class='card-body' id='ingredients'>";
|
||||||
|
echo "<h2 class='card-title'>Zutaten</h2>";
|
||||||
|
foreach($recipe->Zutaten as $index => $Zutat){
|
||||||
|
if($index%2==0){$div_item_row_color_classes="bg-primary";}
|
||||||
|
else{$div_item_row_color_classes="bg-secondary";}
|
||||||
|
print_r("<div class='d-flex flex-row rounded m-1 p-1 pl-3 font-weight-bold text-light $div_item_row_color_classes' data-amount='$Zutat->Menge' data-unit='$Zutat->Einheit' data-name='$Zutat->Name'>");
|
||||||
|
print_r("<div class='p-0 col-3 d-flex flex-row'>$Zutat->Menge $Zutat->Einheit</div>");
|
||||||
|
print_r("<div class='col-7'>$Zutat->Name</div>");
|
||||||
|
print_r("</div>");
|
||||||
|
}
|
||||||
|
echo "</div>";
|
||||||
|
|
||||||
|
echo "<div class='card-body'>";
|
||||||
|
echo "<h2 class='card-title'>Zubereitung</h2>";
|
||||||
|
foreach(explode("\r\n", $recipe->Beschreibung) as $paragraph){
|
||||||
|
echo "<p>$paragraph</p>";
|
||||||
|
}
|
||||||
|
echo "</div>";
|
||||||
|
|
||||||
|
echo '</div>';
|
||||||
|
?>
|
|
@ -1,10 +1,23 @@
|
||||||
<link rel="stylesheet" href="/style/recipes.css">
|
<script src="/js/search.js" charset="utf-8"></script>
|
||||||
<script src="/bin/search.js" charset="utf-8"></script>
|
|
||||||
<script src="/bin/recipes.js" charset="utf-8"></script>
|
<div class="container mt-5 mb-5">
|
||||||
<h1 id="header">Rezepte</h1>
|
<h1>Rezepte</h1>
|
||||||
<button type="button" id="new-recipe" class="button">Neues Rezept</button>
|
</div>
|
||||||
<input type="text" id="searchRecipe" class="search" placeholder="Suchen...">
|
|
||||||
<div id="recipes">
|
<a href="/new-recipe" class="btn btn-primary float-right">Neues Rezept</a>
|
||||||
|
|
||||||
|
<div class="input-group mb-3 w-50">
|
||||||
|
<div class="input-group-prepend">
|
||||||
|
<span class="input-group-text"><i class="fas fa-search"></i></span>
|
||||||
|
</div>
|
||||||
|
<input type="text" class="form-control" placeholder="suchen..." id="search-recipes">
|
||||||
|
<div class="input-group-append">
|
||||||
|
<button class="fas fa-times p-2 pl-3 pr-3 rounded-right border-0" id="clear-search-string"></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="container mb-4" id="recipes">
|
||||||
<?php
|
<?php
|
||||||
include $_SESSION["docroot"].'/php/classes.recipe.php';
|
include $_SESSION["docroot"].'/php/classes.recipe.php';
|
||||||
$book = new cookbook;
|
$book = new cookbook;
|
||||||
|
@ -12,13 +25,19 @@
|
||||||
$i=0;
|
$i=0;
|
||||||
$currentLetter = "";
|
$currentLetter = "";
|
||||||
foreach ($book->getRecipeNames() as $id => $name) {
|
foreach ($book->getRecipeNames() as $id => $name) {
|
||||||
if($i%2==0){$parity="even";}else{$parity="odd";}
|
$recipeEntryClass = "rounded-lg mt-1 p-1 pl-4 text-decoration-none font-weight-bold text-light";
|
||||||
|
if($i%2==0){$recipeEntryClass.=" bg-primary";}
|
||||||
|
else{$recipeEntryClass.=" bg-secondary";}
|
||||||
|
|
||||||
if((strtoupper(str_split($name)[0]))!=strtoupper($currentLetter)){
|
if((strtoupper(str_split($name)[0]))!=strtoupper($currentLetter)){
|
||||||
$currentLetter = strtoupper(str_split($name)[0]);
|
$currentLetter = strtoupper(str_split($name)[0]);
|
||||||
|
if($i!=0){
|
||||||
|
echo '</div>';
|
||||||
|
}
|
||||||
|
echo '<div class="container mt-5 d-flex flex-column">';
|
||||||
echo "<h2>".strtoupper($currentLetter)."</h2>";
|
echo "<h2>".strtoupper($currentLetter)."</h2>";
|
||||||
}
|
}
|
||||||
echo "<font data-id='$id' data-letter='$currentLetter' class='hover $parity'>$name</font>";
|
echo "<a href='/recipe/$id' data-letter='$currentLetter' class='$recipeEntryClass'>$name</a>";
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
151
cont/settings.php
Normal file
151
cont/settings.php
Normal file
|
@ -0,0 +1,151 @@
|
||||||
|
<script src="/js/settings.js" charset="utf-8"></script>
|
||||||
|
<div class="container mt-5">
|
||||||
|
<h1>Einstellungen</h1>
|
||||||
|
</div>
|
||||||
|
<div class="container d-flex flex-column">
|
||||||
|
|
||||||
|
<div class="card mb-3">
|
||||||
|
<div class="card-body">
|
||||||
|
|
||||||
|
<h5 class="card-title">Benutzer</h5>
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<div class="input-group-prepend">
|
||||||
|
<span class="input-group-text" id="userPrepend">Benutzername</span>
|
||||||
|
</div>
|
||||||
|
<input type="text" class="user-input form-control" placeholder="<?php echo $user->username; ?>" aria-label="Username" aria-describedby="userPrepend">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<div class="input-group-prepend">
|
||||||
|
<span class="input-group-text" id="mailPrepend">Mail</span>
|
||||||
|
</div>
|
||||||
|
<input type="email" class="user-input form-control" placeholder="<?php echo $user->email; ?>" aria-label="email" aria-describedby="mailPrepend">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<div class="input-group-prepend">
|
||||||
|
<span class="input-group-text" id="loginPrepend">Letzter Login</span>
|
||||||
|
</div>
|
||||||
|
<input type="text" class="form-control" value="<?php echo $user->last_login; ?>" aria-label="login" aria-describedby="loginPrepend" readonly>
|
||||||
|
</div>
|
||||||
|
<button class="btn btn-primary disabled" id="userSaveButton" disabled>Speichern</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="card mb-3">
|
||||||
|
<div class="card-body">
|
||||||
|
<h5 class="card-title">Passwort</h5>
|
||||||
|
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<div class="input-group-prepend">
|
||||||
|
<span class="input-group-text" id="oldPasswdPretend">Altes Passwort</span>
|
||||||
|
</div>
|
||||||
|
<input id="old-password-input" type="password" class="password-input form-control" aria-describedby="oldPasswdPretend" placeholder="********">
|
||||||
|
<div class="invalid-feedback">
|
||||||
|
Passwort ist falsch.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<div class="input-group-prepend">
|
||||||
|
<span class="input-group-text" id="newPasswdPretend">Neues Passwort</span>
|
||||||
|
</div>
|
||||||
|
<input id="new-password-input" type="password" class="password-input form-control" aria-describedby="newPasswdPretend" placeholder="********">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<div class="input-group-prepend">
|
||||||
|
<span class="input-group-text" id="newWdhPasswdPretend">Neues Passwort</span>
|
||||||
|
</div>
|
||||||
|
<input id="check-password-input" type="password" class="password-input form-control" aria-describedby="newWdhPasswdPretend" placeholder="********">
|
||||||
|
</div>
|
||||||
|
<button class="btn btn-primary disabled" id="passwordSaveButton" disabled>Speichern</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="card mb-3">
|
||||||
|
<div class="card-body">
|
||||||
|
<h5 class="card-title">Thema</h5>
|
||||||
|
|
||||||
|
<div class="input-group mb-3">
|
||||||
|
<div class="input-group-prepend">
|
||||||
|
<label class="input-group-text" for="changeThemePrepend">Thema</label>
|
||||||
|
</div>
|
||||||
|
<select class="custom-select" id="changeThemePrepend">
|
||||||
|
<option value="default">Standard</option>
|
||||||
|
<?php
|
||||||
|
foreach(glob($_SESSION['docroot'].'/style/themes/*.css') as $themepath){
|
||||||
|
$pathinfo = pathinfo($themepath);
|
||||||
|
if($pathinfo["filename"]==$user->theme){$selected="selected";}
|
||||||
|
else{$selected = "";}
|
||||||
|
print_r("<option value='".$pathinfo["filename"]."' $selected>".$pathinfo["filename"]."</option>");
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button class="btn btn-primary disabled" id="themeSaveButton" disabled>Speichern</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="card mb-3">
|
||||||
|
<div class="card-body">
|
||||||
|
<h5 class="card-title">Datenbank</h5>
|
||||||
|
<h6 class="card-subtitle text-muted mb-3">Export</h6>
|
||||||
|
<p class="card-text">Hiermit werden alle Rezepte und sich zurzeit auf der Shoppingliste befindlichen Einträge als Download zur
|
||||||
|
Verfügung gestellt. Diese Datei kann dann an anderer Stelle wieder Importiert werden, oder als Backup
|
||||||
|
abgespeichert werden.</p>
|
||||||
|
<button id="export-recipe-button" class="btn btn-primary">Export Rezepte</button>
|
||||||
|
<button id="export-list-button" class="btn btn-primary">Export Shoppingliste</button>
|
||||||
|
<h6 class="card-subtitle text-muted mt-3 mb-3">Import</h6>
|
||||||
|
<p>Der Import kann benutzt werden, um alle Daten von einer exportierten Datei in diese Datenbank
|
||||||
|
einzupflegen. Hierbei werden nur die Einträge in der Shoppingliste, sowie die Rezepte beachtet. Die
|
||||||
|
Benutzer bleiben unberührt!</p>
|
||||||
|
<button id="import-button" class="btn btn-primary">Import ...</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="toast fixed-bottom m-2" role="alert" id="toast-pw-success" aria-live="assertive" aria-atomic="true" data-delay="4000" data-animation="true">
|
||||||
|
<div class="toast-header">
|
||||||
|
<i class="fas fa-check-square w-auto mr-2"></i>
|
||||||
|
<strong class="mr-auto">ShoppingList</strong>
|
||||||
|
</div>
|
||||||
|
<div class="toast-body">
|
||||||
|
Passwort erfolgreich geändert!
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="toast fixed-bottom m-2" role="alert" id="toast-list-import-success" aria-live="assertive" aria-atomic="true" data-delay="4000" data-animation="true">
|
||||||
|
<div class="toast-header">
|
||||||
|
<i class="fas fa-check-square w-auto mr-2"></i>
|
||||||
|
<strong class="mr-auto">ShoppingList</strong>
|
||||||
|
</div>
|
||||||
|
<div class="toast-body">
|
||||||
|
Liste erfolgreich importiert!
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="toast fixed-bottom m-2" role="alert" id="toast-recipe-import-success" aria-live="assertive" aria-atomic="true" data-delay="4000" data-animation="true">
|
||||||
|
<div class="toast-header">
|
||||||
|
<i class="fas fa-check-square w-auto mr-2"></i>
|
||||||
|
<strong class="mr-auto">ShoppingList</strong>
|
||||||
|
</div>
|
||||||
|
<div class="toast-body">
|
||||||
|
Rezepte erfolgreich importiert!
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="toast fixed-bottom m-2" role="alert" id="toast-recipe-import-warning" aria-live="assertive" aria-atomic="true" data-autohide="4000" data-animation="true">
|
||||||
|
<div class="toast-header">
|
||||||
|
<i class="close_toast fas fa-check-square w-auto mr-2"></i>
|
||||||
|
<strong class="mr-auto">ShoppingList</strong>
|
||||||
|
</div>
|
||||||
|
<div class="toast-body">
|
||||||
|
Nicht alle Rezepte konnten importiert werden! Fehlerhafte Rezepte wieder exportiert.
|
||||||
|
</div>
|
||||||
|
</div>
|
116
index.php
116
index.php
|
@ -1,80 +1,106 @@
|
||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
|
if (in_array("site", array_keys($_GET))) {
|
||||||
|
$site = $_GET["site"];
|
||||||
|
} else {
|
||||||
|
$site = "-1";
|
||||||
|
}
|
||||||
|
|
||||||
if (!($_SESSION["docroot"]))
|
if (!(isset($_SESSION["docroot"]))) {
|
||||||
{
|
$_SESSION["docroot"] = __DIR__;
|
||||||
$_SESSION["docroot"] = __DIR__;
|
}
|
||||||
}
|
include $_SESSION["docroot"] . '/config/config.php';
|
||||||
include $_SESSION["docroot"].'/config/config.php';
|
if (($CONFIG["installed"] == false) && ($site != "error")) {
|
||||||
if (($CONFIG["installed"]==false)&&($_GET["site"]!="error")) {
|
header("Location: /install/install.php");
|
||||||
header("Location: /install/install.php");
|
exit;
|
||||||
exit;
|
}
|
||||||
}
|
if ($site != "error") {
|
||||||
if($_GET["site"]!="error"){
|
include $_SESSION["docroot"] . '/php/auth.php';
|
||||||
include $_SESSION["docroot"].'/php/auth.php';
|
}
|
||||||
}
|
|
||||||
|
include $_SESSION["docroot"] . '/version.php';
|
||||||
|
|
||||||
|
include $_SESSION["docroot"] . '/php/classes.user.php';
|
||||||
|
$user = new user();
|
||||||
|
$user->get_info($_COOKIE["token"]);
|
||||||
?>
|
?>
|
||||||
<html lang="de" dir="ltr">
|
<html lang="de" dir="ltr">
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
<head>
|
||||||
<meta name="theme-color" content="#4CAF50" />
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="apple-touch-icon" href="/pic/fav.ico">
|
<link rel="apple-touch-icon" href="/pic/fav.ico">
|
||||||
<link rel="shortcut icon" type="image/png" href="/pic/fav.ico"/>
|
<link rel="shortcut icon" type="image/png" href="/pic/fav.ico" />
|
||||||
<link rel="stylesheet" href="/style/master.css">
|
<link rel="stylesheet" href="/style/fontawesome/css/all.css">
|
||||||
<script src="/bin/jquery.js"></script>
|
<?php
|
||||||
<title>Einkaufsliste</title>
|
if (file_exists($_SESSION["docroot"] . '/style/themes/' . $user->theme . ".css")) {
|
||||||
</head>
|
$cssFileContents = file_get_contents($_SESSION["docroot"]."/style/themes/".$user->theme.".css");
|
||||||
<body>
|
preg_match_all('/\s+--primary:\s#(.{3,6})/m', $cssFileContents, $matches, PREG_SET_ORDER, 0);
|
||||||
<?php
|
$themecolor = $matches[0][1];
|
||||||
echo '<div id="content">';
|
print_r('<link rel="stylesheet" href="/style/themes/' . $user->theme . '.css">');
|
||||||
if(in_array("site", array_keys($_GET)))
|
print_r('<meta name="theme-color" content="#'.$themecolor.'">');
|
||||||
{
|
} else {
|
||||||
$site = $_GET["site"];
|
print_r('<link rel="stylesheet" href="/style/main.css">');
|
||||||
|
print_r('<meta name="theme-color" content="#007bff">');
|
||||||
}
|
}
|
||||||
else{
|
?>
|
||||||
$site = "-1";
|
<link rel="stylesheet" href="/style/helper.css">
|
||||||
|
<script src="/js/jquery.js"></script>
|
||||||
|
<script src="/js/main.js"></script>
|
||||||
|
<title>ShoppingList</title>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<?php
|
||||||
|
if ($site && ($site != "login")) {
|
||||||
|
include $_SESSION["docroot"] . '/cont/nav.php';
|
||||||
}
|
}
|
||||||
|
echo '<div id="content" class="container pt-4">';
|
||||||
switch ($site) {
|
switch ($site) {
|
||||||
case "login":
|
case "login":
|
||||||
include $_SESSION["docroot"].'/cont/login.php';
|
include $_SESSION["docroot"] . '/cont/login.php';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "list":
|
case "list":
|
||||||
include $_SESSION["docroot"].'/cont/list.php';
|
include $_SESSION["docroot"] . '/cont/list.php';
|
||||||
|
break;
|
||||||
|
|
||||||
|
case "settings":
|
||||||
|
include $_SESSION["docroot"] . '/cont/settings.php';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "recipes":
|
case "recipes":
|
||||||
include $_SESSION["docroot"].'/cont/recipes.php';
|
include $_SESSION["docroot"] . '/cont/recipes.php';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "recipe":
|
case "recipe":
|
||||||
include $_SESSION["docroot"].'/cont/recipe.php';
|
include $_SESSION["docroot"] . '/cont/recipe.php';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "new-recipe":
|
case "new-recipe":
|
||||||
include $_SESSION["docroot"].'/cont/manageRecipe.php';
|
include $_SESSION["docroot"] . '/cont/manageRecipe.php';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "edit-recipe":
|
case "edit-recipe":
|
||||||
include $_SESSION["docroot"].'/cont/manageRecipe.php';
|
include $_SESSION["docroot"] . '/cont/manageRecipe.php';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "new-user":
|
case "new-user":
|
||||||
include $_SESSION["docroot"].'/cont/adduser.php';
|
include $_SESSION["docroot"] . '/cont/adduser.php';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "error":
|
case "error":
|
||||||
include $_SESSION["docroot"].'/cont/error.php';
|
include $_SESSION["docroot"] . '/cont/error.php';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
include $_SESSION["docroot"].'/cont/list.php';
|
include $_SESSION["docroot"] . '/cont/list.php';
|
||||||
$site = "list";
|
$site = "list";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
if($site && ($site!="login")){include $_SESSION["docroot"].'/cont/nav.php';}
|
?>
|
||||||
?>
|
<script src="js/bootstrap.bundle.min.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
|
||||||
|
</html>
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
<?php ?>
|
|
||||||
<head>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<link rel="stylesheet" href="/style/master.css">
|
|
||||||
<link rel="stylesheet" href="/style/adduser.css">
|
|
||||||
</head>
|
|
||||||
<h1>Benutzer hinzufügen</h1>
|
|
||||||
<form class="adduser" action="/php/adduser_action.php" method="post">
|
|
||||||
<label for="text_user">Benutzername</label><input id="text_user" type="text" name="username" value="" placeholder="user1" required>
|
|
||||||
<label for="text_passwd">Passwort</label><input id="text_passwd" type="Password" name="passwd" value="" placeholder="********" required>
|
|
||||||
<input id="button_newuser" class="button" type="submit" name="" value="Neuer Benutzer">
|
|
||||||
</form>
|
|
|
@ -1,9 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
if (!($_SESSION["docroot"]))
|
if (!($_SESSION["docroot"]))
|
||||||
{
|
{
|
||||||
$_SESSION["docroot"] = str_replace("/install", "", __DIR__);
|
$_SESSION["docroot"] = str_replace("/install", "", __DIR__);
|
||||||
}
|
}
|
||||||
|
|
||||||
header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1.
|
header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1.
|
||||||
header("Pragma: no-cache"); // HTTP 1.0.
|
header("Pragma: no-cache"); // HTTP 1.0.
|
||||||
|
@ -12,14 +12,19 @@ if (!($_SESSION["docroot"]))
|
||||||
|
|
||||||
$mods_enabled = array("mod_rewrite");
|
$mods_enabled = array("mod_rewrite");
|
||||||
$missing_mods = array();
|
$missing_mods = array();
|
||||||
foreach($mods_enabled as $mod){
|
if(function_exists("apache_get_modules")){
|
||||||
if(!(in_array($mod, apache_get_modules()))){
|
$apache_mods = apache_get_modules();
|
||||||
array_push($missing_mods, $mod);
|
foreach($mods_enabled as $mod){
|
||||||
|
if(!(in_array($mod, $apache_mods))){
|
||||||
|
array_push($missing_mods, $mod);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!(class_exists('mysqli'))){ #php-mysql not installed
|
if(!(class_exists('mysqli'))){ #php-mysql not installed
|
||||||
array_push($missing_mods, "mysql");
|
array_push($missing_mods, "mysql");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(sizeof($missing_mods)>0){
|
if(sizeof($missing_mods)>0){
|
||||||
header("Location: /cont/error.php?id=php_modules&missing_mods=".serialize($missing_mods));
|
header("Location: /cont/error.php?id=php_modules&missing_mods=".serialize($missing_mods));
|
||||||
}
|
}
|
||||||
|
@ -28,17 +33,48 @@ if (!($_SESSION["docroot"]))
|
||||||
header("Location: /");
|
header("Location: /");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<link rel="stylesheet" href="/style/master.css">
|
<link rel="stylesheet" href="/style/fontawesome/css/all.css">
|
||||||
<link rel="stylesheet" href="/style/install.css">
|
<link rel="stylesheet" href="/style/main.css">
|
||||||
|
<script src="/js/jquery.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<h1>Installation</h1>
|
<body>
|
||||||
<form class="installer" action="install_action.php" method="post">
|
|
||||||
<label for="text_database">Datenbank-Name</label><input id="text_database" type="text" name="database" placeholder="shopping-list" required>
|
<div class="container">
|
||||||
<label for="text_host">Datenbank-Host</label><input id="text_dbhost" type="text" name="dbhost" placeholder="localhost" required>
|
<h1>Installation</h1>
|
||||||
<label for="text_user">Benutzername</label><input id="text_user" type="text" name="username" placeholder="shopping-list" required>
|
<form action="install_action.php" method="post">
|
||||||
<label for="text_passwd">Password</label><input id="text_passwd" type="Password" name="passwd" placeholder="********" required>
|
<div class="form-group">
|
||||||
<input id="button_install" class="button" type="submit" name="" value="Installieren">
|
<label for="databaseHost">Datenbankhost</label>
|
||||||
</form>
|
<input type="text" name="dbhost" class="form-control" id="databaseHost" aria-describedby="databaseHostHelp" placeholder="localhost" autocomplete="off" required>
|
||||||
|
<small id="databaseHostHelp" class="form-text text-muted">Der Host, auf dem die Datenbank läuft.</small>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="databaseName">Datenbankname</label>
|
||||||
|
<input type="text" name="database" class="form-control" id="databaseName" aria-describedby="databaseNameHelp" placeholder="shopping-list" autocomplete="off" required>
|
||||||
|
<small id="databaseNameHelp" class="form-text text-muted">Der Name der Datenbank.</small>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="username">Benutzername</label>
|
||||||
|
<input type="text" name="username" class="form-control" id="username" aria-describedby="usernameHelp" placeholder="shopping-user" autocomplete="off" required>
|
||||||
|
<small id="usernameHelp" class="form-text text-muted">Der Benutzer mit Rechten auf die Datenbank.</small>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="passwd">Passwort</label>
|
||||||
|
<input type="password" name="passwd" class="form-control" id="passwd" aria-describedby="passwdHelp" placeholder="********" autocomplete="off" required>
|
||||||
|
<small id="passwdHelp" class="form-text text-muted">Passwort für den Datenbankbenutzer.</small>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<button type="submit" class="btn btn-primary">Installieren</button>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script src="bin/bootstrap.bundle.min.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
|
@ -42,10 +42,9 @@ if (!is_null($connection->connect_error))
|
||||||
|
|
||||||
$CONFIG["installed"] = true;
|
$CONFIG["installed"] = true;
|
||||||
$CONFIG["host"] = $_POST['dbhost'];
|
$CONFIG["host"] = $_POST['dbhost'];
|
||||||
|
$CONFIG["database"] = $_POST['database'];
|
||||||
$CONFIG["username"] = $_POST['username'];
|
$CONFIG["username"] = $_POST['username'];
|
||||||
$CONFIG["passwd"] = $_POST['passwd'];
|
$CONFIG["passwd"] = $_POST['passwd'];
|
||||||
$CONFIG["database"] = $_POST['database'];
|
|
||||||
$CONFIG["theme"] = "default";
|
|
||||||
|
|
||||||
file_put_contents($_SESSION["docroot"].'/config/config.php', '<?php '."\r\n".'$CONFIG = '.var_export($CONFIG, true).";\n\r?>");
|
file_put_contents($_SESSION["docroot"].'/config/config.php', '<?php '."\r\n".'$CONFIG = '.var_export($CONFIG, true).";\n\r?>");
|
||||||
|
|
||||||
|
@ -55,14 +54,14 @@ CREATE TABLE `Einheit` (
|
||||||
`ID` int(11) NOT NULL,
|
`ID` int(11) NOT NULL,
|
||||||
`Name` varchar(255) NOT NULL,
|
`Name` varchar(255) NOT NULL,
|
||||||
`Standard` tinyint(1) NOT NULL
|
`Standard` tinyint(1) NOT NULL
|
||||||
);");
|
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;");
|
||||||
|
|
||||||
array_push($SQLStatements, "
|
array_push($SQLStatements, "
|
||||||
CREATE TABLE `Einheit` (
|
CREATE TABLE `Einheit` (
|
||||||
`ID` int(11) NOT NULL,
|
`ID` int(11) NOT NULL,
|
||||||
`Name` varchar(255) NOT NULL,
|
`Name` varchar(255) NOT NULL,
|
||||||
`Standard` tinyint(1) NOT NULL
|
`Standard` tinyint(1) NOT NULL
|
||||||
);");
|
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;");
|
||||||
|
|
||||||
array_push($SQLStatements, "
|
array_push($SQLStatements, "
|
||||||
CREATE TABLE `Einkauf` (
|
CREATE TABLE `Einkauf` (
|
||||||
|
@ -71,24 +70,25 @@ CREATE TABLE `Einkauf` (
|
||||||
`Einheit` int(11) NOT NULL DEFAULT '5',
|
`Einheit` int(11) NOT NULL DEFAULT '5',
|
||||||
`Name` varchar(255) NOT NULL,
|
`Name` varchar(255) NOT NULL,
|
||||||
`Erledigt` tinyint(1) NOT NULL DEFAULT '0'
|
`Erledigt` tinyint(1) NOT NULL DEFAULT '0'
|
||||||
);");
|
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;");
|
||||||
|
|
||||||
array_push($SQLStatements, "
|
array_push($SQLStatements, "
|
||||||
CREATE TABLE `users` (
|
CREATE TABLE `users` (
|
||||||
`uid` INT NOT NULL,
|
`uid` INT NOT NULL,
|
||||||
`username` varchar(32) NOT NULL,
|
`username` varchar(32) NOT NULL,
|
||||||
`email` varchar(128),
|
`email` varchar(128),
|
||||||
|
`theme` varchar(128) NULL,
|
||||||
`password` char(128) NOT NULL,
|
`password` char(128) NOT NULL,
|
||||||
`salt` char(64) NOT NULL,
|
`salt` char(64) NOT NULL,
|
||||||
`last_login` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
|
`last_login` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||||
);");
|
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;");
|
||||||
|
|
||||||
array_push($SQLStatements, "
|
array_push($SQLStatements, "
|
||||||
CREATE TABLE `sessions` (
|
CREATE TABLE `sessions` (
|
||||||
`session_id` varchar(255),
|
`session_id` varchar(255),
|
||||||
`user` INT NOT NULL,
|
`user` INT NOT NULL,
|
||||||
`expires` datetime NOT NULL
|
`expires` datetime NOT NULL
|
||||||
);");
|
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;");
|
||||||
|
|
||||||
array_push($SQLStatements, "
|
array_push($SQLStatements, "
|
||||||
CREATE TABLE `Rezept` (
|
CREATE TABLE `Rezept` (
|
||||||
|
@ -96,7 +96,7 @@ CREATE TABLE `Rezept` (
|
||||||
`Name` varchar(255) NOT NULL,
|
`Name` varchar(255) NOT NULL,
|
||||||
`Dauer` int(11) NOT NULL,
|
`Dauer` int(11) NOT NULL,
|
||||||
`Beschreibung` text NOT NULL
|
`Beschreibung` text NOT NULL
|
||||||
);");
|
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;");
|
||||||
|
|
||||||
array_push($SQLStatements, "
|
array_push($SQLStatements, "
|
||||||
CREATE TABLE `RezeptZutat` (
|
CREATE TABLE `RezeptZutat` (
|
||||||
|
@ -105,25 +105,13 @@ CREATE TABLE `RezeptZutat` (
|
||||||
`Menge` float NOT NULL,
|
`Menge` float NOT NULL,
|
||||||
`Einheit` int(11) NOT NULL,
|
`Einheit` int(11) NOT NULL,
|
||||||
`Zutat` int(11) NOT NULL
|
`Zutat` int(11) NOT NULL
|
||||||
);");
|
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;");
|
||||||
|
|
||||||
array_push($SQLStatements, "
|
|
||||||
CREATE TABLE `ViewEinkauf` (
|
|
||||||
`ID` int(11),
|
|
||||||
`Anzahl` double,
|
|
||||||
`Einheit` varchar(255),
|
|
||||||
`Name` varchar(255),
|
|
||||||
`Erledigt` tinyint(1)
|
|
||||||
);");
|
|
||||||
|
|
||||||
array_push($SQLStatements, "
|
array_push($SQLStatements, "
|
||||||
CREATE TABLE `Zutat` (
|
CREATE TABLE `Zutat` (
|
||||||
`ID` int(11) NOT NULL,
|
`ID` int(11) NOT NULL,
|
||||||
`Name` varchar(255) NOT NULL
|
`Name` varchar(255) NOT NULL
|
||||||
);");
|
) ENGINE = InnoDB CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci;");
|
||||||
|
|
||||||
array_push($SQLStatements, "
|
|
||||||
DROP TABLE IF EXISTS `ViewEinkauf`;");
|
|
||||||
|
|
||||||
array_push($SQLStatements, "
|
array_push($SQLStatements, "
|
||||||
CREATE VIEW `ViewEinkauf` AS select `Einkauf`.`ID` AS `ID`,`Einkauf`.`Anzahl` AS `Anzahl`,`Einheit`.`Name` AS `Einheit`,`Einkauf`.`Name` AS `Name`,`Einkauf`.`Erledigt` AS `Erledigt` from (`Einkauf` join `Einheit` on((`Einkauf`.`Einheit` = `Einheit`.`ID`))) ;");
|
CREATE VIEW `ViewEinkauf` AS select `Einkauf`.`ID` AS `ID`,`Einkauf`.`Anzahl` AS `Anzahl`,`Einheit`.`Name` AS `Einheit`,`Einkauf`.`Name` AS `Name`,`Einkauf`.`Erledigt` AS `Erledigt` from (`Einkauf` join `Einheit` on((`Einkauf`.`Einheit` = `Einheit`.`ID`))) ;");
|
||||||
|
@ -217,16 +205,9 @@ INSERT INTO `Einheit` (`ID`, `Name`, `Standard`) VALUES
|
||||||
(11, 'Glas', 0);");
|
(11, 'Glas', 0);");
|
||||||
|
|
||||||
|
|
||||||
array_push($SQLStatements, "
|
|
||||||
CREATE EVENT hourly_session_cleanup
|
|
||||||
ON SCHEDULE EVERY 1 HOUR
|
|
||||||
DO
|
|
||||||
DELETE FROM `sessions` WHERE `expires` < NOW();");
|
|
||||||
|
|
||||||
|
|
||||||
foreach($SQLStatements as $statement){
|
foreach($SQLStatements as $statement){
|
||||||
$result = $connection->query($statement);
|
$result = $connection->query($statement);
|
||||||
}
|
}
|
||||||
$connection->close();
|
$connection->close();
|
||||||
header ("Location: adduser.php");
|
header ("Location: install_adduser.php");
|
||||||
?>
|
?>
|
||||||
|
|
37
install/install_adduser.php
Normal file
37
install/install_adduser.php
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<link rel="stylesheet" href="/style/fontawesome/css/all.css">
|
||||||
|
<link rel="stylesheet" href="/style/main.css">
|
||||||
|
<script src="/js/jquery.js"></script>
|
||||||
|
<script src="/js/adduser.js" charset="utf-8"></script>
|
||||||
|
<title>Benutzer hinzufügen</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="container">
|
||||||
|
<h1>Benutzer hinzufügen</h1>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="username">Benutzername</label>
|
||||||
|
<input type="text" class="form-control" id="username" aria-describedby="usernameHelp" placeholder="Benutzername" autocomplete="off">
|
||||||
|
<small id="usernameHelp" class="form-text text-muted">Einen Benutzer für die ShoppingList erstellen.</small>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<label for="password">Passwort</label>
|
||||||
|
<input type="password" class="form-control" id="password" aria-describedby="passwordHelp" placeholder="**********">
|
||||||
|
<small id="passwordHelp" class="form-text text-muted">Ihr Passwort wird verschlüsselt in der Datenbank gespeichert.</small>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group d-flex flex-row justify-content-end">
|
||||||
|
<a id="newuser" class="btn btn-primary text-light">Neuer Benutzer</a>
|
||||||
|
<a href="/" id="done" class="btn btn-success text-light ml-1 disabled">Fertigstellen</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<script src="js/bootstrap.bundle.min.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
38
js/adduser.js
Normal file
38
js/adduser.js
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
$(document).ready(function () {
|
||||||
|
$("#newuser").click(function () {
|
||||||
|
$.post({
|
||||||
|
url: "/api/user/new",
|
||||||
|
data: {
|
||||||
|
username: $("#username").val(),
|
||||||
|
passwd: $("#password").val()
|
||||||
|
},
|
||||||
|
success: function (data) {
|
||||||
|
if (data == "0") {
|
||||||
|
userPopover("Erfolg!", ("Der Benutzer " + $("#username").val() + " wurde erfolgreich erstellt!<br>Wenn keine Benutzer mehr erstellt werden müssen, mit \"Fertigstellen\" bestätigen."));
|
||||||
|
$("#username").val("");
|
||||||
|
$("#password").val("");
|
||||||
|
$("#done").removeClass("disabled");
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
userPopover("Fehler!", "Bei der Benutzeranlage ist ein Fehler aufgetreten! Bitte versuchen Sie es erneut.<br>Sollte dieser fehler häufiger auftreten, wenden Sie sich bitte an den Serveradministrator.")
|
||||||
|
}
|
||||||
|
},
|
||||||
|
error: function (){
|
||||||
|
userPopover("Fehler!", "Es scheint, als wäre keine Verbindung mit der ShoppingList möglich.<br>Bitte Prüfen Sie ihre Netzwerkverbindung!");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
$("#adduser-button-done").click(function () {
|
||||||
|
window.location.href = "/";
|
||||||
|
});
|
||||||
|
});
|
||||||
|
function userPopover(title, text){
|
||||||
|
$("#newuser").data("toggle", "popover");
|
||||||
|
$("#newuser").data("container", "body");
|
||||||
|
$("#newuser").data("placement", "bottom");
|
||||||
|
$("#newuser").data("trigger", "focus");
|
||||||
|
$("#newuser").data("html", true);
|
||||||
|
$("#newuser").attr("title", title);
|
||||||
|
$("#newuser").data("content", text);
|
||||||
|
$("#newuser").popover('show');
|
||||||
|
}
|
42
js/autocomplete.js
Normal file
42
js/autocomplete.js
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
function autocomplete() {
|
||||||
|
var apiurl = $(this).data("apiurl");
|
||||||
|
var search = $(this).val();
|
||||||
|
var elem = $(this);
|
||||||
|
if (search.length > $(this).data("strlen")) {
|
||||||
|
$.post({
|
||||||
|
url: apiurl,
|
||||||
|
data: {
|
||||||
|
q: search
|
||||||
|
},
|
||||||
|
success: function (data) {
|
||||||
|
createAutocompleteDropdown(elem, JSON.parse(data));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function createAutocompleteDropdown(elem, values) {
|
||||||
|
var dropdownmenue = $('[aria-labelledby=' + elem.attr("id") + ']');
|
||||||
|
var dropdownItems = dropdownmenue.find(".dropdown-item");
|
||||||
|
dropdownItems.remove();
|
||||||
|
|
||||||
|
if (!(dropdownmenue.hasClass("show"))){
|
||||||
|
elem.click();
|
||||||
|
}
|
||||||
|
|
||||||
|
for (index = 0; index < values.length; index++) {
|
||||||
|
var value = values[index];
|
||||||
|
var regex = new RegExp((elem).val(), "ig");
|
||||||
|
var displayvalue = value.replace(regex, ("<b><u>" + (elem).val() + "</u></b>"));
|
||||||
|
|
||||||
|
var button = $("<button class=\"dropdown-item\" type=\"button\" data-val='" + value + "' aria-textfield='" + elem.attr("id") + "'>" + displayvalue + "</button>");
|
||||||
|
button.click(dropdownButtonClick);
|
||||||
|
|
||||||
|
dropdownmenue.append(button);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function dropdownButtonClick() {
|
||||||
|
var string = $(this).data("val");
|
||||||
|
$('#' + $(this).attr("aria-textfield")).val(string);
|
||||||
|
$('[aria-labelledby=' + $('#' + $(this).attr("aria-textfield")).attr("id") + ']').find(".dropdown-item").remove();
|
||||||
|
$('[aria-labelledby=' + $('#' + $(this).attr("aria-textfield")).attr("id") + ']').append('<button class="dropdown-item" type="button" data-value="-1">Tippen um zu suchen... </button>');
|
||||||
|
}
|
7
js/bootstrap.bundle.min.js
vendored
Normal file
7
js/bootstrap.bundle.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
24
js/edit-recipe.js
Normal file
24
js/edit-recipe.js
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
$(document).ready(function () {
|
||||||
|
var recipeID = window.location.href.split("/")[(window.location.href.split("/").length - 1)];
|
||||||
|
$.post({
|
||||||
|
url: "/api/recipes/edit",
|
||||||
|
data: {
|
||||||
|
id: recipeID
|
||||||
|
},
|
||||||
|
success: function (data) {
|
||||||
|
var recipe = JSON.parse(data);
|
||||||
|
$("[name=id]").val(recipe.ID);
|
||||||
|
$("#recipeName").val(recipe.Name);
|
||||||
|
$("#recipeDuration").val(recipe.Dauer);
|
||||||
|
$("#recipeDescription").val(recipe.Beschreibung);
|
||||||
|
for (var i = 1; i <= recipe.Zutaten.length; i++) {
|
||||||
|
$((".ingredientRow input[name='ingredient[" + i + "][Amount]']")).val(recipe.Zutaten[(i - 1)].Menge);
|
||||||
|
$((".ingredientRow input[name='ingredient[" + i + "][Name]']")).val(recipe.Zutaten[(i - 1)].Name);
|
||||||
|
$((".ingredientRow select[name='ingredient[" + i + "][Unit]'] option")).filter(function () {
|
||||||
|
return $(this).text() === recipe.Zutaten[(i - 1)].Einheit;
|
||||||
|
}).prop("selected", true);
|
||||||
|
if (i + 1 <= recipe.Zutaten.length) { $("#addItem").click(); }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
5
js/index.js
Normal file
5
js/index.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
function infoPopUp(infotext, timeout){
|
||||||
|
$("#info-popup-text").text(infotext);
|
||||||
|
$("#info-popup-text").css("animation", "none");
|
||||||
|
setTimeout(function(){$("#info-popup-text").css("animation", "fade 4s linear");}, timeout);
|
||||||
|
}
|
0
bin/jquery.js → js/jquery.js
vendored
0
bin/jquery.js → js/jquery.js
vendored
138
js/list.js
Normal file
138
js/list.js
Normal file
|
@ -0,0 +1,138 @@
|
||||||
|
$(document).ready(function () {
|
||||||
|
highlightNewEntry();
|
||||||
|
$("input[type=checkbox]").change(checkItem);
|
||||||
|
$("#remove").click(deleteCheckeditems);
|
||||||
|
$("#nameField").focus();
|
||||||
|
$("#anzahl").on("focus", function () { $(this).select(); });
|
||||||
|
$("#nameField").on("focus", function () { $(this).select(); });
|
||||||
|
$(".edit-listitem").click(editItem);
|
||||||
|
$(".del-listitem").click(deleteSingleItem);
|
||||||
|
});
|
||||||
|
|
||||||
|
function highlightNewEntry(){
|
||||||
|
var cookies = document.cookie;
|
||||||
|
var cookieRegExp = new RegExp(/[;]{0,1}\s{0,1}newItem=(\d+)/g);
|
||||||
|
var match = cookieRegExp.exec(cookies);
|
||||||
|
if(match!=null){
|
||||||
|
var newID = match[1];
|
||||||
|
var checkBox = $(`[data-id='${newID}']`);
|
||||||
|
var newRow = checkBox.parent().parent();
|
||||||
|
newRow.removeClass($(checkBox).data("color"));
|
||||||
|
newRow.addClass("alert-primary");
|
||||||
|
setTimeout(function () {
|
||||||
|
newRow.removeClass("alert-primary");
|
||||||
|
newRow.addClass($(checkBox).data("color"));
|
||||||
|
}, 1000);
|
||||||
|
document.cookie = "newItem=-1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function deleteCheckeditems() {
|
||||||
|
$.post({
|
||||||
|
url: "api/list/clear",
|
||||||
|
success: function () {
|
||||||
|
location.reload();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function deleteSingleItem() {
|
||||||
|
var id = $(this).parent().parent().parent().find("input[type=checkbox]").data("id");
|
||||||
|
$.post({
|
||||||
|
url: "api/list/del",
|
||||||
|
data: {
|
||||||
|
id: id
|
||||||
|
},
|
||||||
|
success: function (data) {
|
||||||
|
location.reload();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function editItem(){
|
||||||
|
var row = $(this).parent().parent().parent();
|
||||||
|
var amount = row.find(".list-row-amount").data("amount");
|
||||||
|
var unit = row.find(".list-row-amount").data("unit");
|
||||||
|
var name = row.find(".list-row-name").html();
|
||||||
|
|
||||||
|
row.find(".list-row-amount").html("");
|
||||||
|
row.find(".list-row-amount").addClass("d-flex", "flex-row");
|
||||||
|
var options = $("[data-id='new']").find("select").html();
|
||||||
|
row.find(".list-row-amount").append(
|
||||||
|
'<input type="number" class="form-control w-50 mr-1" step=".25" value="' + amount +'" required>'
|
||||||
|
).append(
|
||||||
|
'<select class="form-control w-50 mr-1">'+options+'</select>'
|
||||||
|
);
|
||||||
|
row.find(".list-row-amount").find("option:selected").attr("selected", false);
|
||||||
|
row.find(".list-row-amount").find("option:contains('"+unit+"')").attr("selected", true);
|
||||||
|
|
||||||
|
row.find(".list-row-name").html("");
|
||||||
|
row.find(".list-row-name").addClass("w-100");
|
||||||
|
row.find(".list-row-name").append('<input type="text" class="form-control ml-auto" autocomplete="off" value="'+name+'" required>');
|
||||||
|
|
||||||
|
row.find(".dropdown").html("");
|
||||||
|
row.find(".dropdown").addClass("d-flex", "flex-row");
|
||||||
|
var checkButton = $("<button type='button' class='save-list-row-changes btn p-2'><i class='fas fa-check'></i></button>");
|
||||||
|
var removeButton = $("<button type='button' class='del-list-row-changes btn p-2'><i class='fas fa-times'></i></button>");
|
||||||
|
row.find(".dropdown").append(checkButton);
|
||||||
|
row.find(".dropdown").append(removeButton);
|
||||||
|
|
||||||
|
checkButton.click(changeListItem);
|
||||||
|
removeButton.click(function(){window.location = window.location;});
|
||||||
|
}
|
||||||
|
|
||||||
|
function changeListItem(){
|
||||||
|
var id = $(this).parent().parent().find("input[type=checkbox]").data("id");
|
||||||
|
var amount = $(this).parent().parent().find("input[type=number]").val();
|
||||||
|
var unit = $(this).parent().parent().find("select option:selected").val();
|
||||||
|
var name = $(this).parent().parent().find("input[type=text]").val();
|
||||||
|
$.post({
|
||||||
|
url: "api/list/change",
|
||||||
|
data: {
|
||||||
|
id: id,
|
||||||
|
anzahl: amount,
|
||||||
|
einheit: unit,
|
||||||
|
name: name
|
||||||
|
},
|
||||||
|
success: function(data){
|
||||||
|
window.location = window.location;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function checkItem() {
|
||||||
|
var dataId = $(this).data("id");
|
||||||
|
var dataIdSelector = (`[data-id='${dataId}']`);
|
||||||
|
$.post({
|
||||||
|
url: "api/list/check",
|
||||||
|
data: {
|
||||||
|
id: dataId,
|
||||||
|
status: $(this).prop("checked")
|
||||||
|
},
|
||||||
|
success: function () {
|
||||||
|
var color = $(dataIdSelector).data("color");
|
||||||
|
$(dataIdSelector).parent().parent().removeClass("bg-danger");
|
||||||
|
$(dataIdSelector).parent().parent().find(".dropdown-menu-button").removeClass("btn-danger");
|
||||||
|
|
||||||
|
if($(dataIdSelector).prop("checked")){
|
||||||
|
$(dataIdSelector).parent().parent().removeClass(color);
|
||||||
|
$(dataIdSelector).parent().parent().addClass("bg-success");
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$(dataIdSelector).parent().parent().removeClass("bg-success");
|
||||||
|
$(dataIdSelector).parent().parent().addClass(color);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
error: function () {
|
||||||
|
$(dataIdSelector).parent().parent().addClass("bg-danger");
|
||||||
|
$(dataIdSelector).parent().parent().data("toggle", "popover");
|
||||||
|
$(dataIdSelector).parent().parent().data("container", "body");
|
||||||
|
$(dataIdSelector).parent().parent().data("placement", "top");
|
||||||
|
$(dataIdSelector).parent().parent().data("html", true);
|
||||||
|
$(dataIdSelector).parent().parent().data("trigger", "focus");
|
||||||
|
$(dataIdSelector).parent().parent().data("content", "Dieses Element konnte nicht gespeichert werden.<br />Bitte die Seite Aktualisieren");
|
||||||
|
$(dataIdSelector).parent().parent().attr("title", "Fehler!");
|
||||||
|
$(dataIdSelector).parent().parent().popover('show');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
3
js/main.js
Normal file
3
js/main.js
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
// $(document).ready(function(){
|
||||||
|
// $('[data-toggle="tooltip"]').tooltip();
|
||||||
|
// });
|
40
js/manageRecipe.js
Normal file
40
js/manageRecipe.js
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
$(document).ready(function () {
|
||||||
|
$("#addItem").click(addItem);
|
||||||
|
$("#cancel").click(function () { window.history.back() });
|
||||||
|
$("input[type=number]").on("focus", function () { $(this).select(); });
|
||||||
|
$("input[type=text]").on("focus", function () { $(this).select(); });
|
||||||
|
|
||||||
|
$(".autocomplete-ingredient").on("input", autocomplete);
|
||||||
|
});
|
||||||
|
|
||||||
|
function removeItem(elem) {
|
||||||
|
if ($(".removeItem").length > 1) {
|
||||||
|
$(elem).parent().parent().parent().parent().remove();
|
||||||
|
}
|
||||||
|
if ($(".removeItem").length == 1) {
|
||||||
|
$(".ingredientRow").find("input[type=text]").val("");
|
||||||
|
$(".ingredientRow").find("input[type=number]").val("1");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function addItem() {
|
||||||
|
var dataID = parseInt($("#addItem").data("count")) + 1;
|
||||||
|
$("#addItem").data("count", dataID);
|
||||||
|
|
||||||
|
var clone = $($(".ingredientRow")[0]).clone();
|
||||||
|
|
||||||
|
clone.find("input[type=text]").attr("name", ("ingredient[" + dataID + "][Name]"));
|
||||||
|
clone.find("input[type=text]").attr("id", ("dropdownMenuAutocomplete-" + dataID));
|
||||||
|
clone.find(".dropdown-menu").attr("aria-labelledby", ("dropdownMenuAutocomplete-" + dataID));
|
||||||
|
clone.find("input[type=text]").val("");
|
||||||
|
clone.find("input[type=text]").on("input", autocomplete);
|
||||||
|
clone.find("input[type=text]").on("focus", function () { $(this).select(); });
|
||||||
|
clone.find("input[type=number]").attr("name", ("ingredient[" + dataID + "][Amount]"));
|
||||||
|
clone.find("input[type=number]").val("1");
|
||||||
|
clone.find("input[type=number]").on("focus", function () { $(this).select(); });
|
||||||
|
clone.find("select").attr("name", ("ingredient[" + dataID + "][Unit]"));
|
||||||
|
|
||||||
|
$(".ingredientRow").last().after(clone);
|
||||||
|
|
||||||
|
clone.find("input[type=number]").focus();
|
||||||
|
}
|
41
js/recipe.js
Normal file
41
js/recipe.js
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
$(document).ready(function(){
|
||||||
|
$("#delRecipe").click(removeRecipe);
|
||||||
|
$("#addToList").click(addToList);
|
||||||
|
});
|
||||||
|
|
||||||
|
function addToList() {
|
||||||
|
var list = [];
|
||||||
|
var ingredientsList = $("#ingredients").children();
|
||||||
|
ingredientsList.each(function () {
|
||||||
|
if ($(this).data("unit") != null) {
|
||||||
|
var amount = $(this).data("amount");
|
||||||
|
var unit = $(this).data("unit");
|
||||||
|
var name = $(this).data("name");
|
||||||
|
list.push({ amount: amount, unit: unit, name: name });
|
||||||
|
}
|
||||||
|
});
|
||||||
|
$.post({
|
||||||
|
url: "/api/list/multiple",
|
||||||
|
data: {
|
||||||
|
list: list,
|
||||||
|
function: "multiple"
|
||||||
|
},
|
||||||
|
success: function () {
|
||||||
|
window.location = "/";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function removeRecipe() {
|
||||||
|
if (!(confirm("Wirklich löschen?"))) { return; }
|
||||||
|
$.post({
|
||||||
|
url: "/api/recipes/del",
|
||||||
|
data: {
|
||||||
|
id: $("[data-recipeid]").data("recipeid")
|
||||||
|
},
|
||||||
|
success: function () {
|
||||||
|
window.location.href = "/recipes";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
33
js/search.js
Normal file
33
js/search.js
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
$(document).ready(function () {
|
||||||
|
$("#search-recipes").on("keyup", searchRecipe);
|
||||||
|
$("#clear-search-string").click(clearSearchString);
|
||||||
|
});
|
||||||
|
|
||||||
|
function searchRecipe() {
|
||||||
|
var searchString = $("#search-recipes").val().toUpperCase();
|
||||||
|
var recipes = $("#recipes a");
|
||||||
|
|
||||||
|
for (var i = 0; i < recipes.length; i++) {
|
||||||
|
if (recipes[i].innerHTML.toUpperCase().indexOf(searchString) > -1) {
|
||||||
|
$(recipes[i]).show()
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$(recipes[i]).hide();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$("#recipes").children().each(index => {
|
||||||
|
var container = ($("#recipes").children())[index];
|
||||||
|
$(container).removeClass("d-none").addClass("d-flex");
|
||||||
|
if(($(container).find("a:visible")).length==0){
|
||||||
|
$(container).removeClass("d-flex").addClass("d-none");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function clearSearchString() {
|
||||||
|
$("#search-recipes").val("");
|
||||||
|
$("#search-recipes").focus();
|
||||||
|
$("#search-recipes").keyup();
|
||||||
|
}
|
190
js/settings.js
Normal file
190
js/settings.js
Normal file
|
@ -0,0 +1,190 @@
|
||||||
|
$(document).ready(function () {
|
||||||
|
$(".user-input").on("input", checkUserStrings);
|
||||||
|
$("#userSaveButton").click(userChange);
|
||||||
|
$(".password-input").on("input", checkPasswordStrings);
|
||||||
|
$("#passwordSaveButton").click(savePassword);
|
||||||
|
$("#export-recipe-button").click(exportRecipe);
|
||||||
|
$("#export-list-button").click(exportList);
|
||||||
|
$("#changeThemePrepend").change(themeChange)
|
||||||
|
$("#themeSaveButton").click(changeTheme);
|
||||||
|
|
||||||
|
$("#import-button").click(function () {
|
||||||
|
$('<input type="file" accept=".json">').on('change', function () {
|
||||||
|
var file = this.files[0];
|
||||||
|
var reader = new FileReader();
|
||||||
|
reader.onload = function () {
|
||||||
|
var content = JSON.parse(reader.result);
|
||||||
|
if (content.sites != null) {
|
||||||
|
$.post("/api/recipes/import",
|
||||||
|
{
|
||||||
|
content: reader.result
|
||||||
|
},
|
||||||
|
function (data) {
|
||||||
|
if (data == 0) {
|
||||||
|
$("#toast-recipe-import-success").toast("show");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$("#toast-recipe-import-warning").toast("show");
|
||||||
|
downloadObjectAsJson(JSON.parse(data), "failed_recipe_import");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
else if (content.list != null) {
|
||||||
|
$.post("/api/list/import",
|
||||||
|
{
|
||||||
|
content: reader.result
|
||||||
|
},
|
||||||
|
function (data) {
|
||||||
|
if (data == 0) {
|
||||||
|
$("#toast-list-import-success").toast("show");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
reader.readAsText(file);
|
||||||
|
}).click();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
function userChange() {
|
||||||
|
var mail = $('.user-input.is-valid[aria-label="email"]').val();
|
||||||
|
var userName = $('.user-input.is-valid[aria-label="Username"]').val();
|
||||||
|
if(mail != null){
|
||||||
|
$.post(
|
||||||
|
"/api/user/change-mail",
|
||||||
|
{
|
||||||
|
mail: mail
|
||||||
|
},
|
||||||
|
function(){
|
||||||
|
window.location.href = window.location.href;
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
if (userName != null) {
|
||||||
|
$.post(
|
||||||
|
"/api/user/change-username",
|
||||||
|
{
|
||||||
|
username: userName
|
||||||
|
},
|
||||||
|
function () {
|
||||||
|
window.location.href = window.location.href;
|
||||||
|
}
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function themeChange() {
|
||||||
|
$("#themeSaveButton").removeClass("disabled");
|
||||||
|
$("#themeSaveButton").attr("disabled", false);
|
||||||
|
}
|
||||||
|
|
||||||
|
function changeTheme() {
|
||||||
|
$.post(
|
||||||
|
"/api/user/change-theme",
|
||||||
|
{
|
||||||
|
theme: $('#changeThemePrepend option:selected').val()
|
||||||
|
},
|
||||||
|
function () {
|
||||||
|
window.location.href = window.location.href;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
function exportList() {
|
||||||
|
$.post("/api/list/export", {}, function (data) {
|
||||||
|
downloadObjectAsJson(JSON.parse(data), "list");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function exportRecipe() {
|
||||||
|
$.post("/api/recipes/export", {}, function (data) {
|
||||||
|
downloadObjectAsJson(JSON.parse(data), "recipes");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function savePassword() {
|
||||||
|
$.post("/api/user/change-pw", {
|
||||||
|
current: $("#old-password-input").val(),
|
||||||
|
new: $("#new-password-input").val()
|
||||||
|
}, function (data) {
|
||||||
|
if (data == 0) {
|
||||||
|
$("#old-password-input").val("");
|
||||||
|
$("#new-password-input").val("");
|
||||||
|
$("#check-password-input").val("");
|
||||||
|
$("#new-password-input").removeClass("is-valid");
|
||||||
|
$("#check-password-input").removeClass("is-valid");
|
||||||
|
$("#toast-pw-success").toast("show");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$("#old-password-input").addClass("is-invalid");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function checkPasswordStrings() {
|
||||||
|
if ((($("#old-password-input").val()).length > 0) &&
|
||||||
|
(($("#new-password-input").val()).length > 0) &&
|
||||||
|
(($("#check-password-input").val()).length > 0) &&
|
||||||
|
($("#new-password-input").val() == $("#check-password-input").val())) {
|
||||||
|
|
||||||
|
$("#new-password-input").addClass("is-valid");
|
||||||
|
$("#check-password-input").addClass("is-valid");
|
||||||
|
$("#passwordSaveButton").prop("disabled", false);
|
||||||
|
$("#passwordSaveButton").removeClass("disabled");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$("#passwordSaveButton").prop("disabled", true);
|
||||||
|
$("#passwordSaveButton").addClass("disabled");
|
||||||
|
$("#new-password-input").removeClass("is-valid");
|
||||||
|
$("#check-password-input").removeClass("is-valid");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function checkUserStrings() {
|
||||||
|
switch ($(this).attr("aria-label")) {
|
||||||
|
case "Username":
|
||||||
|
if ($(this).val().length >= 3) {
|
||||||
|
$("#userSaveButton").attr("disabled", false);
|
||||||
|
$("#userSaveButton").removeClass("disabled");
|
||||||
|
$(this).removeClass("is-invalid");
|
||||||
|
$(this).addClass("is-valid");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$("#userSaveButton").attr("disabled", true);
|
||||||
|
$("#userSaveButton").addClass("disabled");
|
||||||
|
$(this).addClass("is-invalid");
|
||||||
|
$(this).removeClass("is-valid");
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case "email":
|
||||||
|
mailRegEx = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
||||||
|
if (($(this).val().length > 5) && (mailRegEx.exec($(this).val()) !== null)) {
|
||||||
|
$("#userSaveButton").attr("disabled", false);
|
||||||
|
$("#userSaveButton").removeClass("disabled");
|
||||||
|
$(this).removeClass("is-invalid");
|
||||||
|
$(this).addClass("is-valid");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$("#userSaveButton").attr("disabled", true);
|
||||||
|
$("#userSaveButton").addClass("disabled");
|
||||||
|
$(this).addClass("is-invalid");
|
||||||
|
$(this).removeClass("is-valid");
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function downloadObjectAsJson(exportObj, exportName) {
|
||||||
|
var dataStr = "data:text/json;charset=utf-8," + encodeURIComponent(JSON.stringify(exportObj));
|
||||||
|
var downloadAnchorNode = document.createElement('a');
|
||||||
|
downloadAnchorNode.setAttribute("href", dataStr);
|
||||||
|
downloadAnchorNode.setAttribute("download", exportName + ".json");
|
||||||
|
document.body.appendChild(downloadAnchorNode); // required for firefox
|
||||||
|
downloadAnchorNode.click();
|
||||||
|
downloadAnchorNode.remove();
|
||||||
|
}
|
|
@ -1,15 +0,0 @@
|
||||||
<?php
|
|
||||||
session_start();
|
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
|
||||||
include $_SESSION["docroot"].'/php/hash.php';
|
|
||||||
|
|
||||||
$salt = create_salt();
|
|
||||||
$password = hash_password($_POST["passwd"], $salt);
|
|
||||||
|
|
||||||
$result = $mysqli->query("INSERT INTO `users` (`username`, `password`, `salt`, `last_login`) VALUES ('".$_POST["username"]."', '".$password."', '".$salt."', CURRENT_TIMESTAMP);");
|
|
||||||
$mysqli->close();
|
|
||||||
|
|
||||||
unset($salt);
|
|
||||||
unset($password);
|
|
||||||
header("Location: /");
|
|
||||||
?>
|
|
20
php/api.php
Normal file
20
php/api.php
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<?php
|
||||||
|
session_start();
|
||||||
|
switch($_GET["call"]) {
|
||||||
|
case 'list':
|
||||||
|
include $_SESSION["docroot"].'/php/edit-list.php';
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'recipes':
|
||||||
|
include $_SESSION["docroot"].'/php/edit-recipes.php';
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'user':
|
||||||
|
include $_SESSION["docroot"].'/php/edit-user.php';
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
echo "API call not defined";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
?>
|
17
php/auth.php
17
php/auth.php
|
@ -3,9 +3,22 @@
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
if(!(preg_match("/error.+/", $_SERVER["REQUEST_URI"])))
|
if(!(preg_match("/error.+/", $_SERVER["REQUEST_URI"])))
|
||||||
{
|
{
|
||||||
$result = $mysqli->query('SELECT * FROM `sessions` WHERE `session_id` = \''.$_COOKIE["token"].'\';');
|
# clear expired sessions from the database
|
||||||
|
$mysqli->query('DELETE FROM `sessions` WHERE `expires` < NOW();');
|
||||||
|
|
||||||
if($result->num_rows == 0 && (!(in_array("site", array_keys($_GET))) || $_GET["site"]!="login"))
|
if(isset($_COOKIE["token"])){
|
||||||
|
$token = $_COOKIE["token"];
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
$token = "-1";
|
||||||
|
}
|
||||||
|
|
||||||
|
$selectQuery = $mysqli->prepare('SELECT * FROM `sessions` WHERE `session_id` = ?;');
|
||||||
|
$selectQuery->bind_param("s", $token);
|
||||||
|
$selectQuery->execute();
|
||||||
|
$result = $selectQuery->get_result();
|
||||||
|
|
||||||
|
if(($result->num_rows) == 0 && (!(in_array("site", array_keys($_GET))) || $_GET["site"]!="login"))
|
||||||
{
|
{
|
||||||
header('Location: /login/url='.$_SERVER["REQUEST_URI"]);
|
header('Location: /login/url='.$_SERVER["REQUEST_URI"]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
function shopping(){
|
function shopping(){
|
||||||
include $_SESSION["docroot"].'/config/config.php';
|
include $_SESSION["docroot"].'/config/config.php';
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
$result = $mysqli->query("SELECT * FROM `ViewEinkauf` ORDER BY `ViewEinkauf`.`Name` ASC");
|
$result = $mysqli->query("SELECT * FROM `ViewEinkauf` ORDER BY `ViewEinkauf`.`Name` ASC;");
|
||||||
while($item = $result->fetch_assoc()){
|
while($item = $result->fetch_assoc()){
|
||||||
$this->addItem($item["ID"], $item["Anzahl"], $item["Einheit"], $item["Name"], $item["Erledigt"]);
|
$this->addItem($item["ID"], $item["Anzahl"], $item["Einheit"], $item["Name"], $item["Erledigt"]);
|
||||||
}
|
}
|
||||||
|
@ -30,15 +30,20 @@
|
||||||
include $_SESSION["docroot"].'/config/config.php';
|
include $_SESSION["docroot"].'/config/config.php';
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
if(!is_int($einheit)){
|
if(!is_int($einheit)){
|
||||||
$unit_query = "SELECT * FROM `Einheit` WHERE `Name` = \"$einheit\"";
|
$selectQuery = $mysqli->prepare("SELECT * FROM `Einheit` WHERE `Name` = ?;");
|
||||||
$result = $mysqli->query($unit_query);
|
$selectQuery->bind_param("s", $einheit);
|
||||||
|
$selectQuery->execute();
|
||||||
|
$result = $selectQuery->get_result();
|
||||||
while($row = $result->fetch_assoc()){
|
while($row = $result->fetch_assoc()){
|
||||||
$einheit = $row["ID"];
|
$einheit = $row["ID"];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$insertQuery = "INSERT INTO `Einkauf` (`Anzahl`, `Einheit`, `Name`, `Erledigt`) VALUES (".$anzahl.", ".$einheit.", '".$name."', 0)";
|
$insertQuery = $mysqli->prepare("INSERT INTO `Einkauf` (`Anzahl`, `Einheit`, `Name`, `Erledigt`) VALUES (?, ?, ?, 0);");
|
||||||
$mysqli->query($insertQuery);
|
$insertQuery->bind_param("sss", $anzahl, $einheit, $name);
|
||||||
|
$result = $insertQuery->execute();
|
||||||
|
$insertID = $mysqli->insert_id;
|
||||||
$mysqli->close();
|
$mysqli->close();
|
||||||
|
return $insertID;
|
||||||
}
|
}
|
||||||
|
|
||||||
function newItems($itemList){
|
function newItems($itemList){
|
||||||
|
@ -47,19 +52,82 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function removeSingleItem($id){
|
||||||
|
include $_SESSION["docroot"].'/config/config.php';
|
||||||
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
|
$deleteQuery = $mysqli->prepare("DELETE FROM `Einkauf` WHERE `Einkauf`.`ID` = ?;");
|
||||||
|
$deleteQuery->bind_param("s", $id);
|
||||||
|
$deleteQuery->execute();
|
||||||
|
$mysqli->close();
|
||||||
|
}
|
||||||
|
|
||||||
|
function changeSingleItem($id, $anzahl, $einheit, $name){
|
||||||
|
include $_SESSION["docroot"].'/config/config.php';
|
||||||
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
|
$paramCount = "s";
|
||||||
|
$query = "UPDATE `Einkauf` SET";
|
||||||
|
if($anzahl!=""){
|
||||||
|
$paramCount .= "s";
|
||||||
|
$query .= " `Anzahl` = ?";
|
||||||
|
}
|
||||||
|
if($einheit!=""){
|
||||||
|
if(strlen($paramCount)>1){
|
||||||
|
$query .= ",";
|
||||||
|
}
|
||||||
|
$paramCount .= "s";
|
||||||
|
$query .= " `Einheit` = ?";
|
||||||
|
}
|
||||||
|
if($name!=""){
|
||||||
|
if(strlen($paramCount)>1){
|
||||||
|
$query .= ",";
|
||||||
|
}
|
||||||
|
$paramCount .= "s";
|
||||||
|
$query .= " `Name` = ?";
|
||||||
|
}
|
||||||
|
if(strlen($paramCount)>1){
|
||||||
|
$query .= " WHERE `Einkauf`.`ID` = ?;";
|
||||||
|
$updateQuery = $mysqli->prepare($query);
|
||||||
|
if($anzahl!="" && $name!=""){
|
||||||
|
$updateQuery->bind_param($paramCount, $anzahl, $einheit, $name, $id);
|
||||||
|
}
|
||||||
|
elseif($anzahl!="" && $name==""){
|
||||||
|
$updateQuery->bind_param($paramCount, $anzahl, $einheit, $id);
|
||||||
|
}
|
||||||
|
elseif($anzahl=="" && $name!=""){
|
||||||
|
$updateQuery->bind_param($paramCount, $einheit, $name, $id);
|
||||||
|
}
|
||||||
|
elseif($anzahl=="" && $name==""){
|
||||||
|
$updateQuery->bind_param($paramCount, $einheit, $id);
|
||||||
|
}
|
||||||
|
$updateQuery->execute();
|
||||||
|
$mysqli->close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function removeChecked(){
|
function removeChecked(){
|
||||||
include $_SESSION["docroot"].'/config/config.php';
|
include $_SESSION["docroot"].'/config/config.php';
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
$mysqli->query("DELETE FROM `Einkauf` WHERE `Erledigt`=1");
|
$mysqli->query("DELETE FROM `Einkauf` WHERE `Erledigt`=1;");
|
||||||
$mysqli->close();
|
$mysqli->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
function check($id, $status){
|
function check($id, $status){
|
||||||
include $_SESSION["docroot"].'/config/config.php';
|
include $_SESSION["docroot"].'/config/config.php';
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
$mysqli->query("UPDATE `Einkauf` SET `Erledigt` = $status WHERE `Einkauf`.`ID` = $id");
|
$updateQuery = $mysqli->prepare("UPDATE `Einkauf` SET `Erledigt` = $status WHERE `Einkauf`.`ID` = ?;");
|
||||||
|
$updateQuery->bind_param("s", $id);
|
||||||
|
$updateQuery->execute();
|
||||||
$mysqli->close();
|
$mysqli->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function import(){
|
||||||
|
$import = json_decode($_POST["content"]);
|
||||||
|
$units = new units();
|
||||||
|
foreach($import->list as $item){
|
||||||
|
$this->newItem($item->Anzahl, $units->getID($item->Einheit), $item->Name);
|
||||||
|
}
|
||||||
|
print_r("0");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class unit {
|
class unit {
|
||||||
|
@ -80,11 +148,19 @@
|
||||||
function units(){
|
function units(){
|
||||||
include $_SESSION["docroot"].'/config/config.php';
|
include $_SESSION["docroot"].'/config/config.php';
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
$result = $mysqli->query("SELECT * FROM `Einheit`");
|
$result = $mysqli->query("SELECT * FROM `Einheit`;");
|
||||||
while($item = $result->fetch_assoc()){
|
while($item = $result->fetch_assoc()){
|
||||||
$this->addItem($item["ID"], $item["Name"], $item["Standard"]);
|
$this->addItem($item["ID"], $item["Name"], $item["Standard"]);
|
||||||
}
|
}
|
||||||
$mysqli->close();
|
$mysqli->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function getID($Name){
|
||||||
|
foreach($this->list as $units){
|
||||||
|
if($units->Name==$Name){
|
||||||
|
return $units->ID;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -14,12 +14,21 @@
|
||||||
}
|
}
|
||||||
function unitList(){
|
function unitList(){
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
$result = $mysqli->query("SELECT * FROM `Einheit`");
|
$result = $mysqli->query("SELECT * FROM `Einheit`;");
|
||||||
while($item = $result->fetch_assoc()){
|
while($item = $result->fetch_assoc()){
|
||||||
$this->addItem($item["ID"], $item["Name"], $item["Standard"]);
|
$this->addItem($item["ID"], $item["Name"], $item["Standard"]);
|
||||||
}
|
}
|
||||||
$mysqli->close();
|
$mysqli->close();
|
||||||
}
|
}
|
||||||
|
function getID($Name){
|
||||||
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
|
$selectQuery = $mysqli->prepare("SELECT `ID` FROM `Einheit` WHERE `Name` = ?;");
|
||||||
|
$selectQuery->bind_param("s", "$Name");
|
||||||
|
$selectQuery->execute();
|
||||||
|
$result = $selectQuery->get_result();
|
||||||
|
$ID = $result->fetch_assoc();
|
||||||
|
return $ID["ID"];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class ingredient {
|
class ingredient {
|
||||||
|
@ -51,16 +60,28 @@
|
||||||
public $sites = array();
|
public $sites = array();
|
||||||
function getRecipe($ID){
|
function getRecipe($ID){
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
$recipes = $mysqli->query("SELECT * FROM `Rezept` WHERE `ID` = $ID ORDER BY Name ASC");
|
$selectQuery = $mysqli->prepare("SELECT * FROM `Rezept` WHERE `ID` = ? ORDER BY Name ASC;");
|
||||||
|
$selectQuery->bind_param("s", $ID);
|
||||||
|
$selectQuery->execute();
|
||||||
|
$recipes = $selectQuery->get_result();
|
||||||
while($recipe = $recipes->fetch_assoc()){
|
while($recipe = $recipes->fetch_assoc()){
|
||||||
$current = new recipe($RID = $recipe["ID"], $RName = $recipe["Name"], $RDuration = $recipe["Dauer"], $RDescription = $recipe["Beschreibung"]);
|
$current = new recipe($RID = $recipe["ID"], $RName = $recipe["Name"], $RDuration = $recipe["Dauer"], $RDescription = $recipe["Beschreibung"]);
|
||||||
$recepieIngredients = $mysqli->query("SELECT * FROM `RezeptZutat` WHERE `Rezept` = $RID");
|
$selectIngredientsQuery = $mysqli->prepare("SELECT * FROM `RezeptZutat` WHERE `Rezept` = ?;");
|
||||||
|
$selectIngredientsQuery->bind_param("s", $RID);
|
||||||
|
$selectIngredientsQuery->execute();
|
||||||
|
$recepieIngredients = $selectIngredientsQuery->get_result();
|
||||||
while($recepieIngredient = $recepieIngredients->fetch_assoc()){
|
while($recepieIngredient = $recepieIngredients->fetch_assoc()){
|
||||||
$IID = $recepieIngredient["Zutat"];
|
$IID = $recepieIngredient["Zutat"];
|
||||||
$IAmount = $recepieIngredient["Menge"];
|
$IAmount = $recepieIngredient["Menge"];
|
||||||
$units = $mysqli->query("SELECT `Name` FROM `Einheit` WHERE `ID` = ".$recepieIngredient["Einheit"]);
|
$selectUnitQuery = $mysqli->prepare("SELECT `Name` FROM `Einheit` WHERE `ID` = ?;");
|
||||||
|
$selectUnitQuery->bind_param("s", $recepieIngredient["Einheit"]);
|
||||||
|
$selectUnitQuery->execute();
|
||||||
|
$units = $selectUnitQuery->get_result();
|
||||||
while($unit = $units->fetch_assoc()){$IUnit = $unit["Name"];}
|
while($unit = $units->fetch_assoc()){$IUnit = $unit["Name"];}
|
||||||
$names = $mysqli->query("SELECT `Name` FROM `Zutat` WHERE `ID` = ".$recepieIngredient["Zutat"]);
|
$selectNamesQuery = $mysqli->prepare("SELECT `Name` FROM `Zutat` WHERE `ID` = ?;");
|
||||||
|
$selectNamesQuery->bind_param("s", $recepieIngredient["Zutat"]);
|
||||||
|
$selectNamesQuery->execute();
|
||||||
|
$names = $selectNamesQuery->get_result();
|
||||||
while($name = $names->fetch_assoc()){$IName = $name["Name"];}
|
while($name = $names->fetch_assoc()){$IName = $name["Name"];}
|
||||||
$current->addIngredient($IID, $IAmount, $IUnit, $IName);
|
$current->addIngredient($IID, $IAmount, $IUnit, $IName);
|
||||||
}
|
}
|
||||||
|
@ -74,13 +95,22 @@
|
||||||
$recipes = $mysqli->query("SELECT * FROM `Rezept` ORDER BY Name ASC");
|
$recipes = $mysqli->query("SELECT * FROM `Rezept` ORDER BY Name ASC");
|
||||||
while($recipe = $recipes->fetch_assoc()){
|
while($recipe = $recipes->fetch_assoc()){
|
||||||
$current = new recipe($RID = $recipe["ID"], $RName = $recipe["Name"], $RDuration = $recipe["Dauer"], $RDescription = $recipe["Beschreibung"]);
|
$current = new recipe($RID = $recipe["ID"], $RName = $recipe["Name"], $RDuration = $recipe["Dauer"], $RDescription = $recipe["Beschreibung"]);
|
||||||
$recepieIngredients = $mysqli->query("SELECT * FROM `RezeptZutat` WHERE `Rezept` = $RID");
|
$selectIngredientsQuery = $mysqli->prepare("SELECT * FROM `RezeptZutat` WHERE `Rezept` = ?;");
|
||||||
|
$selectIngredientsQuery->bind_param("s", $RID);
|
||||||
|
$selectIngredientsQuery->execute();
|
||||||
|
$recepieIngredients = $selectIngredientsQuery->get_result();
|
||||||
while($recepieIngredient = $recepieIngredients->fetch_assoc()){
|
while($recepieIngredient = $recepieIngredients->fetch_assoc()){
|
||||||
$IID = $recepieIngredient["Zutat"];
|
$IID = $recepieIngredient["Zutat"];
|
||||||
$IAmount = $recepieIngredient["Menge"];
|
$IAmount = $recepieIngredient["Menge"];
|
||||||
$units = $mysqli->query("SELECT `Name` FROM `Einheit` WHERE `ID` = ".$recepieIngredient["Einheit"]);
|
$selectUnitQuery = $mysqli->prepare("SELECT `Name` FROM `Einheit` WHERE `ID` = ?;");
|
||||||
|
$selectUnitQuery->bind_param("s", $recepieIngredient["Einheit"]);
|
||||||
|
$selectUnitQuery->execute();
|
||||||
|
$units = $selectUnitQuery->get_result();
|
||||||
while($unit = $units->fetch_assoc()){$IUnit = $unit["Name"];}
|
while($unit = $units->fetch_assoc()){$IUnit = $unit["Name"];}
|
||||||
$names = $mysqli->query("SELECT `Name` FROM `Zutat` WHERE `ID` = ".$recepieIngredient["Zutat"]);
|
$selectNamesQuery = $mysqli->prepare("SELECT `Name` FROM `Zutat` WHERE `ID` = ?;");
|
||||||
|
$selectNamesQuery->bind_param("s", $recepieIngredient["Zutat"]);
|
||||||
|
$selectNamesQuery->execute();
|
||||||
|
$names = $selectNamesQuery->get_result();
|
||||||
while($name = $names->fetch_assoc()){$IName = $name["Name"];}
|
while($name = $names->fetch_assoc()){$IName = $name["Name"];}
|
||||||
$current->addIngredient($IID, $IAmount, $IUnit, $IName);
|
$current->addIngredient($IID, $IAmount, $IUnit, $IName);
|
||||||
}
|
}
|
||||||
|
@ -89,57 +119,127 @@
|
||||||
$mysqli->close();
|
$mysqli->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function importCookbook(){
|
||||||
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
|
$units = new unitList();
|
||||||
|
$failed_sites = array();
|
||||||
|
$succeeded_sites = array();
|
||||||
|
$import = json_decode($_POST["content"]);
|
||||||
|
if($import->sites!=null){
|
||||||
|
foreach ($import->sites as $site) {
|
||||||
|
$selectQuery = $mysqli->prepare("SELECT * FROM `Rezept` WHERE `Name`=?;");
|
||||||
|
$selectQuery->bind_param("s", $site->Name);
|
||||||
|
$selectQuery->execute();
|
||||||
|
$result = $selectQuery->get_result();
|
||||||
|
if($result->num_rows>0){
|
||||||
|
array_push($failed_sites, $site);
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
array_push($succeeded_sites, $site);
|
||||||
|
$Zutaten = array();
|
||||||
|
foreach($site->Zutaten as $Zutat) {
|
||||||
|
$nZutat = null;
|
||||||
|
$nZutat["ID"] = $Zutat->ID;
|
||||||
|
$nZutat["Amount"] = $Zutat->Menge;
|
||||||
|
$nZutat["Unit"] = $units->getID($Zutat->Einheit);
|
||||||
|
$nZutat["Name"] = $Zutat->Name;
|
||||||
|
array_push($Zutaten, $nZutat);
|
||||||
|
}
|
||||||
|
$this->newRecipe($site->Name, $site->Dauer, $site->Beschreibung, $Zutaten);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(sizeof($failed_sites)==0){
|
||||||
|
print_r("0");
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
print_r(json_encode($failed_sites));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function newRecipe($Name, $Dauer, $Beschreibung, $Zutaten){
|
function newRecipe($Name, $Dauer, $Beschreibung, $Zutaten){
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
$mysqli->query("INSERT INTO Rezept (Name, Dauer, Beschreibung) VALUES ('$Name', '$Dauer', '$Beschreibung')");
|
$insertQuery = $mysqli->prepare("INSERT INTO `Rezept` (`Name`, `Dauer`, `Beschreibung`) VALUES (?, ?, ?);");
|
||||||
|
$insertQuery->bind_param("sss", $Name, $Dauer, $Beschreibung);
|
||||||
|
$insertQuery->execute();
|
||||||
$RezeptID = $mysqli->insert_id;
|
$RezeptID = $mysqli->insert_id;
|
||||||
foreach ($Zutaten as $Zutat) {
|
foreach ($Zutaten as $Zutat) {
|
||||||
$ZutatID = null;
|
$ZutatID = null;
|
||||||
$result = $mysqli->query("SELECT ID FROM `Zutat` WHERE `Name` LIKE '".$Zutat["Name"]."'");
|
$selectIngredientsQuery = $mysqli->prepare("SELECT ID FROM `Zutat` WHERE `Name` LIKE ?;");
|
||||||
|
$selectIngredientsQuery->bind_param("s", $Zutat["Name"]);
|
||||||
|
$selectIngredientsQuery->execute();
|
||||||
|
$result = $selectIngredientsQuery->get_result();
|
||||||
if($result->num_rows>0){
|
if($result->num_rows>0){
|
||||||
while($item = $result->fetch_assoc()){$ZutatID = $item["ID"];}
|
$item = $result->fetch_assoc();
|
||||||
|
$ZutatID = $item["ID"];
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$mysqli->query("INSERT INTO `Zutat` (`Name`) VALUES ('".ucwords($Zutat["Name"])."')");
|
$UppercaseName = ucwords($Zutat["Name"]);
|
||||||
|
$insertIngredientsQuery = $mysqli->prepare("INSERT INTO `Zutat` (`Name`) VALUES (?);");
|
||||||
|
$insertIngredientsQuery->bind_param("s", $UppercaseName);
|
||||||
|
$insertIngredientsQuery->execute();
|
||||||
$ZutatID = $mysqli->insert_id;
|
$ZutatID = $mysqli->insert_id;
|
||||||
}
|
}
|
||||||
$mysqli->query("INSERT INTO `RezeptZutat` (`Rezept`,`Menge`,`Einheit`,`Zutat`) VALUES ('{$RezeptID}','{$Zutat["Amount"]}','{$Zutat["Unit"]}','{$ZutatID}');");
|
$inserRecipeQuery = $mysqli->prepare("INSERT INTO `RezeptZutat` (`Rezept`,`Menge`,`Einheit`,`Zutat`) VALUES (?,?,?,?);");
|
||||||
|
$inserRecipeQuery->bind_param("ssss", $RezeptID, $Zutat["Amount"], $Zutat["Unit"], $ZutatID);
|
||||||
|
$inserRecipeQuery->execute();
|
||||||
}
|
}
|
||||||
$mysqli->close();
|
$mysqli->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateRecipe($ID, $Name, $Dauer, $Beschreibung, $Zutaten){
|
function updateRecipe($ID, $Name, $Dauer, $Beschreibung, $Zutaten){
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
$mysqli->query("UPDATE `Rezept` SET `Name` = '$Name', `Dauer` = '$Dauer', `Beschreibung` = '$Beschreibung' WHERE `Rezept`.`ID` = $ID;");
|
$updateQuery = $mysqli->prepare("UPDATE `Rezept` SET `Name` = ?, `Dauer` = ?, `Beschreibung` = ? WHERE `Rezept`.`ID` = ?;");
|
||||||
$mysqli->query("DELETE FROM RezeptZutat WHERE Rezept = $ID");
|
$updateQuery->bind_param("ssss", $Name, $Dauer, $Beschreibung, $ID);
|
||||||
|
$updateQuery->execute();
|
||||||
|
$deleteQuery = $mysqli->prepare("DELETE FROM RezeptZutat WHERE Rezept = ?;");
|
||||||
|
$deleteQuery->bind_param("s", $ID);
|
||||||
|
$deleteQuery->execute();
|
||||||
foreach ($Zutaten as $Zutat) {
|
foreach ($Zutaten as $Zutat) {
|
||||||
$ZutatID = null;
|
$ZutatID = null;
|
||||||
$result = $mysqli->query("SELECT ID FROM `Zutat` WHERE `Name` LIKE '".$Zutat["Name"]."'");
|
$selectIngredientsQuery = $mysqli->prepare("SELECT ID FROM `Zutat` WHERE `Name` LIKE ?;");
|
||||||
|
$selectIngredientsQuery->bind_param("s", $Zutat["Name"]);
|
||||||
|
$selectIngredientsQuery->execute();
|
||||||
|
$result = $selectIngredientsQuery->get_result();
|
||||||
if($result->num_rows>0){
|
if($result->num_rows>0){
|
||||||
while($item = $result->fetch_assoc()){ $ZutatID = $item["ID"];}
|
while($item = $result->fetch_assoc()){ $ZutatID = $item["ID"];}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$mysqli->query("INSERT INTO `Zutat` (`Name`) VALUES ('".ucwords($Zutat["Name"])."')");
|
$uppercaseName = ucwords($Zutat["Name"]);
|
||||||
$ingredientID = $mysqli->insert_id;
|
$insertIngredientsQuery = $mysqli->prepare("INSERT INTO `Zutat` (`Name`) VALUES (?);");
|
||||||
|
$insertIngredientsQuery->bind_param("s", $uppercaseName);
|
||||||
|
$insertIngredientsQuery->execute();
|
||||||
|
$ZutatID = $mysqli->insert_id;
|
||||||
}
|
}
|
||||||
$mysqli->query("INSERT INTO `RezeptZutat` (`Rezept`,`Menge`,`Einheit`,`Zutat`) VALUES ('{$ID}','{$Zutat["Amount"]}','{$Zutat["Unit"]}','{$ZutatID}');");
|
$insertRecipeIngredientsQuery = $mysqli->prepare("INSERT INTO `RezeptZutat` (`Rezept`,`Menge`,`Einheit`,`Zutat`) VALUES (?,?,?,?);");
|
||||||
|
$insertRecipeIngredientsQuery->bind_param("ssss", $ID, $Zutat["Amount"], $Zutat["Unit"], $ZutatID);
|
||||||
|
$insertRecipeIngredientsQuery->execute();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function removeRecipe($ID){
|
function removeRecipe($ID){
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
$mysqli->query("DELETE FROM `RezeptZutat` WHERE `Rezept`=$ID");
|
$deleteQuery = $mysqli->prepare("DELETE FROM `RezeptZutat` WHERE `Rezept`=?;");
|
||||||
$mysqli->query("DELETE FROM Rezept WHERE ID=$ID");
|
$deleteQuery->bind_param("s", $ID);
|
||||||
|
$deleteQuery->execute();
|
||||||
|
$deleteQuery = $mysqli->prepare("DELETE FROM Rezept WHERE ID=?;");
|
||||||
|
$deleteQuery->bind_param("s", $ID);
|
||||||
|
$deleteQuery->execute();
|
||||||
$mysqli->close();
|
$mysqli->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
function getAllIngredients(){
|
function getAllIngredientsContaining($q){
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
$values = array();
|
$values = array();
|
||||||
$result = $mysqli->query("SELECT Name FROM Zutat ORDER BY Name ASC");
|
$filterValue = "%$q%";
|
||||||
|
$selectQuery = $mysqli->prepare("SELECT Name FROM Zutat WHERE Name LIKE ? ORDER BY Name ASC");
|
||||||
|
$selectQuery->bind_param("s", $filterValue);
|
||||||
|
$selectQuery->execute();
|
||||||
|
$result = $selectQuery->get_result();
|
||||||
while($item = $result->fetch_assoc()){
|
while($item = $result->fetch_assoc()){
|
||||||
echo $item["Name"]."||";
|
array_push($values, $item["Name"]);
|
||||||
}
|
}
|
||||||
|
print_r(json_encode($values));
|
||||||
$mysqli->close();
|
$mysqli->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
107
php/classes.user.php
Normal file
107
php/classes.user.php
Normal file
|
@ -0,0 +1,107 @@
|
||||||
|
<?php
|
||||||
|
Class user {
|
||||||
|
public $uid, $username, $email, $theme, $last_login;
|
||||||
|
private $salt;
|
||||||
|
|
||||||
|
function get_info($session_id) {
|
||||||
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
|
$selectQuery = $mysqli->prepare("SELECT uid, username, email, theme, last_login, salt FROM `users` WHERE `uid` = (SELECT user FROM `sessions` WHERE `session_id` = ?);");
|
||||||
|
$selectQuery->bind_param("s", $session_id);
|
||||||
|
$selectQuery->execute();
|
||||||
|
$result = $selectQuery->get_result();
|
||||||
|
$user = $result->fetch_assoc();
|
||||||
|
$this->uid = $user["uid"];
|
||||||
|
$this->username = $user["username"];
|
||||||
|
$this->email = $user["email"];
|
||||||
|
$this->theme = $user["theme"];
|
||||||
|
$this->last_login = $user["last_login"];
|
||||||
|
$this->salt = $user["salt"];
|
||||||
|
$mysqli->close();
|
||||||
|
}
|
||||||
|
|
||||||
|
function change_password($current, $new){
|
||||||
|
include $_SESSION["docroot"].'/php/hash.php';
|
||||||
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
|
$current_pwhash = hash_password($current, $this->salt);
|
||||||
|
$selectQuery = $mysqli->prepare("SELECT `uid` FROM `users` WHERE `uid` = ? AND `password` = ?;");
|
||||||
|
$selectQuery->bind_param("ss", $this->uid, $current_pwhash);
|
||||||
|
$selectQuery->execute();
|
||||||
|
$result = $selectQuery->get_result();
|
||||||
|
if($result->num_rows===1){
|
||||||
|
$new_pwdhash = hash_password($new, $this->salt);
|
||||||
|
$updateQuery = $mysqli->prepare("UPDATE `users` SET `password` = ? WHERE `users`.`uid` = ?;");
|
||||||
|
$updateQuery->bind_param("ss", $new_pwdhash, $this->uid);
|
||||||
|
$updateQuery->execute();
|
||||||
|
$mysqli->close();
|
||||||
|
print_r("0");
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
print_r("1");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function change_mail($mailaddress){
|
||||||
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
|
$this->mail = $mailaddress;
|
||||||
|
$updateQuery = $mysqli->prepare("UPDATE `users` SET `email` = ? WHERE `users`.`uid` = ?;");
|
||||||
|
$updateQuery->bind_param("ss", $mailaddress, $this->uid);
|
||||||
|
$updateQuery->execute();
|
||||||
|
$mysqli->close();
|
||||||
|
}
|
||||||
|
|
||||||
|
function change_username($newname){
|
||||||
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
|
$this->username = $newname;
|
||||||
|
$selectQuery = $mysqli->prepare("SELECT * FROM `users` WHERE `username` = ?;");
|
||||||
|
$selectQuery->bind_param("s", $this->username);
|
||||||
|
$selectQuery->execute();
|
||||||
|
$result = $selectQuery->get_result();
|
||||||
|
if($result->num_rows==0){
|
||||||
|
$updateQuery = $mysqli->prepare("UPDATE `users` SET `username` = ? WHERE `users`.`uid` = ?;");
|
||||||
|
$updateQuery->bind_param("ss", $newname, $this->uid);
|
||||||
|
$updateQuery->execute();
|
||||||
|
print_r("0");
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
print_r("1");
|
||||||
|
}
|
||||||
|
$mysqli->close();
|
||||||
|
}
|
||||||
|
|
||||||
|
function change_theme($theme){
|
||||||
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
|
$updateQuery = $mysqli->prepare("UPDATE `users` SET `theme` = ? WHERE `users`.`uid` = ?;");
|
||||||
|
$updateQuery->bind_param("ss", $theme, $this->uid);
|
||||||
|
$updateQuery->execute();
|
||||||
|
if($result){
|
||||||
|
print_r("0");
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
print_r("1");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function new($uname, $password){
|
||||||
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
|
include $_SESSION["docroot"].'/php/hash.php';
|
||||||
|
|
||||||
|
$selectQuery = $mysqli->prepare("SELECT `uid` FROM `users` WHERE `username` = ?;");
|
||||||
|
$selectQuery->bind_param("s", $uname);
|
||||||
|
$selectQuery->execute();
|
||||||
|
$result = $selectQuery->get_result();
|
||||||
|
if($result->num_rows==0){
|
||||||
|
$salt = create_salt();
|
||||||
|
$passhash = hash_password($password, $salt);
|
||||||
|
$insertQuery = $mysqli->prepare("INSERT INTO `users` (`username`, `password`, `salt`, `last_login`) VALUES (?, ?, ?, CURRENT_TIMESTAMP);");
|
||||||
|
$insertQuery->bind_param("sss", $uname, $passhash, $salt);
|
||||||
|
$insertQuery->execute();
|
||||||
|
$result = $insertQuery->get_result();
|
||||||
|
unset($salt);
|
||||||
|
unset($password);
|
||||||
|
print_r(0);
|
||||||
|
}
|
||||||
|
else{print_r(1);}
|
||||||
|
$mysqli->close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
|
@ -6,6 +6,7 @@
|
||||||
$passwd = $CONFIG['passwd'],
|
$passwd = $CONFIG['passwd'],
|
||||||
$database = $CONFIG['database']
|
$database = $CONFIG['database']
|
||||||
);
|
);
|
||||||
|
$mysqli->set_charset("utf8");
|
||||||
if (!is_null($mysqli->connect_error))
|
if (!is_null($mysqli->connect_error))
|
||||||
{
|
{
|
||||||
header("Location: /error/DBConnFailed");
|
header("Location: /error/DBConnFailed");
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
<?php
|
<?php
|
||||||
session_start();
|
|
||||||
include $_SESSION["docroot"].'/php/classes.list.php';
|
include $_SESSION["docroot"].'/php/classes.list.php';
|
||||||
$shopping = new shopping;
|
$shopping = new shopping;
|
||||||
|
|
||||||
switch ($_POST["function"]) {
|
switch ($_GET["function"]) {
|
||||||
case 'new':
|
case 'new':
|
||||||
$shopping->newItem($_POST["anzahl"], $_POST["einheit"], $_POST["name"]);
|
$newID = $shopping->newItem($_POST["anzahl"], $_POST["einheit"], $_POST["name"]);
|
||||||
|
setcookie("newItem", "$newID", 0, "/", "");
|
||||||
header("Location: /list");
|
header("Location: /list");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
@ -13,12 +13,29 @@
|
||||||
$shopping->newItems($_POST["list"]);
|
$shopping->newItems($_POST["list"]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'change':
|
||||||
|
$shopping->changeSingleItem($_POST["id"], $_POST["anzahl"], $_POST["einheit"], $_POST["name"]);
|
||||||
|
break;
|
||||||
|
|
||||||
case 'del':
|
case 'del':
|
||||||
|
$shopping->removeSingleItem($_POST["id"]);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'clear':
|
||||||
$shopping->removeChecked();
|
$shopping->removeChecked();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'check':
|
case 'check':
|
||||||
$shopping->check($_POST["id"], $_POST["status"]);
|
$shopping->check($_POST["id"], $_POST["status"]);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'export':
|
||||||
|
echo json_encode($shopping);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'import':
|
||||||
|
$shopping->import();
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// code...
|
// code...
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
session_start();
|
|
||||||
include $_SESSION["docroot"].'/php/classes.recipe.php';
|
include $_SESSION["docroot"].'/php/classes.recipe.php';
|
||||||
$book = new cookbook;
|
$book = new cookbook;
|
||||||
|
|
||||||
switch ($_POST["function"]) {
|
switch ($_GET["function"]) {
|
||||||
case 'del':
|
case 'del':
|
||||||
$book->removeRecipe($_POST["id"]);
|
$book->removeRecipe($_POST["id"]);
|
||||||
break;
|
break;
|
||||||
|
@ -14,7 +13,7 @@
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'auto':
|
case 'auto':
|
||||||
$book->getAllIngredients();
|
$book->getAllIngredientsContaining($_POST["q"]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'edit':
|
case 'edit':
|
||||||
|
@ -27,6 +26,15 @@
|
||||||
header(("Location: /recipe/".$_POST["id"]));
|
header(("Location: /recipe/".$_POST["id"]));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'export':
|
||||||
|
$book->fillCookbook();
|
||||||
|
echo json_encode($book);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'import':
|
||||||
|
$book->importCookbook();
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// code...
|
// code...
|
||||||
break;
|
break;
|
||||||
|
|
33
php/edit-user.php
Normal file
33
php/edit-user.php
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
<?php
|
||||||
|
include $_SESSION["docroot"].'/php/classes.user.php';
|
||||||
|
$user = new user;
|
||||||
|
if($_GET["function"]!="new"){
|
||||||
|
$user->get_info($_COOKIE["token"]);
|
||||||
|
}
|
||||||
|
|
||||||
|
switch ($_GET["function"]) {
|
||||||
|
case 'change-pw':
|
||||||
|
$user->change_password($_POST["current"], $_POST["new"]);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'change-theme':
|
||||||
|
$user->change_theme($_POST["theme"]);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'change-mail':
|
||||||
|
$user->change_mail($_POST["mail"]);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'change-username':
|
||||||
|
$user->change_username($_POST["username"]);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'new':
|
||||||
|
$user->new($_POST["username"], $_POST["passwd"]);
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
// code...
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
?>
|
|
@ -4,9 +4,10 @@ include $_SESSION["docroot"].'/config/config.php';
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
include $_SESSION["docroot"].'/php/hash.php';
|
include $_SESSION["docroot"].'/php/hash.php';
|
||||||
|
|
||||||
|
$selectQuery = $mysqli->prepare('SELECT `uid`,`username`,`password`,`salt` FROM users WHERE `username`=?;');
|
||||||
$query = 'SELECT `uid`,`username`,`password`,`salt` FROM users WHERE `username`=\''.$_POST['user'].'\';';
|
$selectQuery->bind_param("s", $_POST['user']);
|
||||||
$result = $mysqli->query($query);
|
$selectQuery->execute();
|
||||||
|
$result = $selectQuery->get_result();
|
||||||
|
|
||||||
if ($result->num_rows == 1)
|
if ($result->num_rows == 1)
|
||||||
{
|
{
|
||||||
|
@ -27,13 +28,24 @@ if ($result->num_rows == 1)
|
||||||
$session_expiry = date('Y-m-d H:i:s', time()+86400);
|
$session_expiry = date('Y-m-d H:i:s', time()+86400);
|
||||||
}
|
}
|
||||||
|
|
||||||
$mysqli->query('INSERT INTO `sessions` (`session_id`, `user`, `expires`) VALUES (\''.$token.'\', \''.$userdetails["uid"].'\', \''.$session_expiry.'\'); ');
|
$insertQuery = $mysqli->prepare('INSERT INTO `sessions` (`session_id`, `user`, `expires`) VALUES (?,?,?);');
|
||||||
|
$insertQuery->bind_param("sss", $token, $userdetails["uid"], $session_expiry);
|
||||||
|
$insertQuery->execute();
|
||||||
|
|
||||||
}
|
}
|
||||||
$mysqli->query('UPDATE `users` SET `last_login` = \''.date("Y-m-d H:i:s").'\' WHERE `uid` = \''.$userdetails["uid"].'\';');
|
else
|
||||||
$mysqli->close();
|
{
|
||||||
header("Location: ".$_POST["refurl"]);
|
setcookie("token", "false", 0, "/", "");
|
||||||
exit(0);
|
header("Location: /");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
$lastLoginDate = date("Y-m-d H:i:s");
|
||||||
|
$updateQuery = $mysqli->prepare("UPDATE `users` SET `last_login` = ? WHERE `uid` = ?;");
|
||||||
|
$updateQuery->bind_param("ss", $lastLoginDate, $userdetails["uid"]);
|
||||||
|
$updateQuery->execute();
|
||||||
|
$mysqli->close();
|
||||||
|
header("Location: ".$_POST["refurl"]);
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,9 @@ session_start();
|
||||||
include $_SESSION["docroot"].'/config/config.php';
|
include $_SESSION["docroot"].'/config/config.php';
|
||||||
include $_SESSION["docroot"].'/php/connect.php';
|
include $_SESSION["docroot"].'/php/connect.php';
|
||||||
|
|
||||||
$mysqli->query('DELETE FROM `sessions` WHERE `session_id`=\''.$_COOKIE["token"].'\';');
|
$deleteQuery = $mysqli->prepare('DELETE FROM `sessions` WHERE `session_id`=?;');
|
||||||
|
$deleteQuery->bind_param("s", $_COOKIE["token"]);
|
||||||
|
$deleteQuery->execute();
|
||||||
|
|
||||||
unset($_SESSION);
|
unset($_SESSION);
|
||||||
session_destroy();
|
session_destroy();
|
||||||
|
|
BIN
pic/logout.png
BIN
pic/logout.png
Binary file not shown.
Before Width: | Height: | Size: 885 B |
1
pic/settings.svg
Normal file
1
pic/settings.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg aria-hidden="true" data-prefix="fas" data-icon="cogs" class="svg-inline--fa fa-cogs fa-w-20" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path fill="currentColor" d="M512.1 191l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0L552 6.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zm-10.5-58.8c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.7-82.4 14.3-52.8 52.8zM386.3 286.1l33.7 16.8c10.1 5.8 14.5 18.1 10.5 29.1-8.9 24.2-26.4 46.4-42.6 65.8-7.4 8.9-20.2 11.1-30.3 5.3l-29.1-16.8c-16 13.7-34.6 24.6-54.9 31.7v33.6c0 11.6-8.3 21.6-19.7 23.6-24.6 4.2-50.4 4.4-75.9 0-11.5-2-20-11.9-20-23.6V418c-20.3-7.2-38.9-18-54.9-31.7L74 403c-10 5.8-22.9 3.6-30.3-5.3-16.2-19.4-33.3-41.6-42.2-65.7-4-10.9.4-23.2 10.5-29.1l33.3-16.8c-3.9-20.9-3.9-42.4 0-63.4L12 205.8c-10.1-5.8-14.6-18.1-10.5-29 8.9-24.2 26-46.4 42.2-65.8 7.4-8.9 20.2-11.1 30.3-5.3l29.1 16.8c16-13.7 34.6-24.6 54.9-31.7V57.1c0-11.5 8.2-21.5 19.6-23.5 24.6-4.2 50.5-4.4 76-.1 11.5 2 20 11.9 20 23.6v33.6c20.3 7.2 38.9 18 54.9 31.7l29.1-16.8c10-5.8 22.9-3.6 30.3 5.3 16.2 19.4 33.2 41.6 42.1 65.8 4 10.9.1 23.2-10 29.1l-33.7 16.8c3.9 21 3.9 42.5 0 63.5zm-117.6 21.1c59.2-77-28.7-164.9-105.7-105.7-59.2 77 28.7 164.9 105.7 105.7zm243.4 182.7l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0l8.2-14.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zM501.6 431c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.6-82.4 14.3-52.8 52.8z"></path></svg>
|
After Width: | Height: | Size: 2.5 KiB |
|
@ -1,15 +0,0 @@
|
||||||
label {
|
|
||||||
margin-top: 3em;
|
|
||||||
}
|
|
||||||
#button_newuser {
|
|
||||||
margin-top: 3em;
|
|
||||||
}
|
|
||||||
#text_user {
|
|
||||||
margin-top: 1em;
|
|
||||||
}
|
|
||||||
.adduser {
|
|
||||||
margin: 0 auto;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
width: 50%;
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
body {
|
|
||||||
font-family: 'Open Sans', sans-serif;
|
|
||||||
}
|
|
34
style/fontawesome/LICENSE.txt
Normal file
34
style/fontawesome/LICENSE.txt
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
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.**
|
4335
style/fontawesome/css/all.css
vendored
Normal file
4335
style/fontawesome/css/all.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
5
style/fontawesome/css/all.min.css
vendored
Normal file
5
style/fontawesome/css/all.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
14
style/fontawesome/css/brands.css
vendored
Normal file
14
style/fontawesome/css/brands.css
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
/*!
|
||||||
|
* Font Awesome Free 5.8.2 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
*/
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Font Awesome 5 Brands';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
font-display: auto;
|
||||||
|
src: url("../webfonts/fa-brands-400.eot");
|
||||||
|
src: url("../webfonts/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-brands-400.woff2") format("woff2"), url("../webfonts/fa-brands-400.woff") format("woff"), url("../webfonts/fa-brands-400.ttf") format("truetype"), url("../webfonts/fa-brands-400.svg#fontawesome") format("svg"); }
|
||||||
|
|
||||||
|
.fab {
|
||||||
|
font-family: 'Font Awesome 5 Brands'; }
|
5
style/fontawesome/css/brands.min.css
vendored
Normal file
5
style/fontawesome/css/brands.min.css
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
/*!
|
||||||
|
* Font Awesome Free 5.8.2 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
*/
|
||||||
|
@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:normal;font-display:auto;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}
|
4302
style/fontawesome/css/fontawesome.css
vendored
Normal file
4302
style/fontawesome/css/fontawesome.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
5
style/fontawesome/css/fontawesome.min.css
vendored
Normal file
5
style/fontawesome/css/fontawesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
15
style/fontawesome/css/regular.css
vendored
Normal file
15
style/fontawesome/css/regular.css
vendored
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
/*!
|
||||||
|
* Font Awesome Free 5.8.2 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
*/
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Font Awesome 5 Free';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: auto;
|
||||||
|
src: url("../webfonts/fa-regular-400.eot");
|
||||||
|
src: url("../webfonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-regular-400.woff2") format("woff2"), url("../webfonts/fa-regular-400.woff") format("woff"), url("../webfonts/fa-regular-400.ttf") format("truetype"), url("../webfonts/fa-regular-400.svg#fontawesome") format("svg"); }
|
||||||
|
|
||||||
|
.far {
|
||||||
|
font-family: 'Font Awesome 5 Free';
|
||||||
|
font-weight: 400; }
|
5
style/fontawesome/css/regular.min.css
vendored
Normal file
5
style/fontawesome/css/regular.min.css
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
/*!
|
||||||
|
* Font Awesome Free 5.8.2 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
*/
|
||||||
|
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:auto;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-family:"Font Awesome 5 Free";font-weight:400}
|
16
style/fontawesome/css/solid.css
vendored
Normal file
16
style/fontawesome/css/solid.css
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/*!
|
||||||
|
* Font Awesome Free 5.8.2 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
*/
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Font Awesome 5 Free';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 900;
|
||||||
|
font-display: auto;
|
||||||
|
src: url("../webfonts/fa-solid-900.eot");
|
||||||
|
src: url("../webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("../webfonts/fa-solid-900.woff2") format("woff2"), url("../webfonts/fa-solid-900.woff") format("woff"), url("../webfonts/fa-solid-900.ttf") format("truetype"), url("../webfonts/fa-solid-900.svg#fontawesome") format("svg"); }
|
||||||
|
|
||||||
|
.fa,
|
||||||
|
.fas {
|
||||||
|
font-family: 'Font Awesome 5 Free';
|
||||||
|
font-weight: 900; }
|
5
style/fontawesome/css/solid.min.css
vendored
Normal file
5
style/fontawesome/css/solid.min.css
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
/*!
|
||||||
|
* Font Awesome Free 5.8.2 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
*/
|
||||||
|
@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:auto;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.fas{font-family:"Font Awesome 5 Free";font-weight:900}
|
346
style/fontawesome/css/svg-with-js.css
vendored
Normal file
346
style/fontawesome/css/svg-with-js.css
vendored
Normal file
|
@ -0,0 +1,346 @@
|
||||||
|
/*!
|
||||||
|
* Font Awesome Free 5.8.2 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
*/
|
||||||
|
svg:not(:root).svg-inline--fa {
|
||||||
|
overflow: visible; }
|
||||||
|
|
||||||
|
.svg-inline--fa {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: inherit;
|
||||||
|
height: 1em;
|
||||||
|
overflow: visible;
|
||||||
|
vertical-align: -.125em; }
|
||||||
|
.svg-inline--fa.fa-lg {
|
||||||
|
vertical-align: -.225em; }
|
||||||
|
.svg-inline--fa.fa-w-1 {
|
||||||
|
width: 0.0625em; }
|
||||||
|
.svg-inline--fa.fa-w-2 {
|
||||||
|
width: 0.125em; }
|
||||||
|
.svg-inline--fa.fa-w-3 {
|
||||||
|
width: 0.1875em; }
|
||||||
|
.svg-inline--fa.fa-w-4 {
|
||||||
|
width: 0.25em; }
|
||||||
|
.svg-inline--fa.fa-w-5 {
|
||||||
|
width: 0.3125em; }
|
||||||
|
.svg-inline--fa.fa-w-6 {
|
||||||
|
width: 0.375em; }
|
||||||
|
.svg-inline--fa.fa-w-7 {
|
||||||
|
width: 0.4375em; }
|
||||||
|
.svg-inline--fa.fa-w-8 {
|
||||||
|
width: 0.5em; }
|
||||||
|
.svg-inline--fa.fa-w-9 {
|
||||||
|
width: 0.5625em; }
|
||||||
|
.svg-inline--fa.fa-w-10 {
|
||||||
|
width: 0.625em; }
|
||||||
|
.svg-inline--fa.fa-w-11 {
|
||||||
|
width: 0.6875em; }
|
||||||
|
.svg-inline--fa.fa-w-12 {
|
||||||
|
width: 0.75em; }
|
||||||
|
.svg-inline--fa.fa-w-13 {
|
||||||
|
width: 0.8125em; }
|
||||||
|
.svg-inline--fa.fa-w-14 {
|
||||||
|
width: 0.875em; }
|
||||||
|
.svg-inline--fa.fa-w-15 {
|
||||||
|
width: 0.9375em; }
|
||||||
|
.svg-inline--fa.fa-w-16 {
|
||||||
|
width: 1em; }
|
||||||
|
.svg-inline--fa.fa-w-17 {
|
||||||
|
width: 1.0625em; }
|
||||||
|
.svg-inline--fa.fa-w-18 {
|
||||||
|
width: 1.125em; }
|
||||||
|
.svg-inline--fa.fa-w-19 {
|
||||||
|
width: 1.1875em; }
|
||||||
|
.svg-inline--fa.fa-w-20 {
|
||||||
|
width: 1.25em; }
|
||||||
|
.svg-inline--fa.fa-pull-left {
|
||||||
|
margin-right: .3em;
|
||||||
|
width: auto; }
|
||||||
|
.svg-inline--fa.fa-pull-right {
|
||||||
|
margin-left: .3em;
|
||||||
|
width: auto; }
|
||||||
|
.svg-inline--fa.fa-border {
|
||||||
|
height: 1.5em; }
|
||||||
|
.svg-inline--fa.fa-li {
|
||||||
|
width: 2em; }
|
||||||
|
.svg-inline--fa.fa-fw {
|
||||||
|
width: 1.25em; }
|
||||||
|
|
||||||
|
.fa-layers svg.svg-inline--fa {
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
margin: auto;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0; }
|
||||||
|
|
||||||
|
.fa-layers {
|
||||||
|
display: inline-block;
|
||||||
|
height: 1em;
|
||||||
|
position: relative;
|
||||||
|
text-align: center;
|
||||||
|
vertical-align: -.125em;
|
||||||
|
width: 1em; }
|
||||||
|
.fa-layers svg.svg-inline--fa {
|
||||||
|
-webkit-transform-origin: center center;
|
||||||
|
transform-origin: center center; }
|
||||||
|
|
||||||
|
.fa-layers-text, .fa-layers-counter {
|
||||||
|
display: inline-block;
|
||||||
|
position: absolute;
|
||||||
|
text-align: center; }
|
||||||
|
|
||||||
|
.fa-layers-text {
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
-webkit-transform: translate(-50%, -50%);
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
-webkit-transform-origin: center center;
|
||||||
|
transform-origin: center center; }
|
||||||
|
|
||||||
|
.fa-layers-counter {
|
||||||
|
background-color: #ff253a;
|
||||||
|
border-radius: 1em;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color: #fff;
|
||||||
|
height: 1.5em;
|
||||||
|
line-height: 1;
|
||||||
|
max-width: 5em;
|
||||||
|
min-width: 1.5em;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: .25em;
|
||||||
|
right: 0;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
top: 0;
|
||||||
|
-webkit-transform: scale(0.25);
|
||||||
|
transform: scale(0.25);
|
||||||
|
-webkit-transform-origin: top right;
|
||||||
|
transform-origin: top right; }
|
||||||
|
|
||||||
|
.fa-layers-bottom-right {
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
top: auto;
|
||||||
|
-webkit-transform: scale(0.25);
|
||||||
|
transform: scale(0.25);
|
||||||
|
-webkit-transform-origin: bottom right;
|
||||||
|
transform-origin: bottom right; }
|
||||||
|
|
||||||
|
.fa-layers-bottom-left {
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: auto;
|
||||||
|
top: auto;
|
||||||
|
-webkit-transform: scale(0.25);
|
||||||
|
transform: scale(0.25);
|
||||||
|
-webkit-transform-origin: bottom left;
|
||||||
|
transform-origin: bottom left; }
|
||||||
|
|
||||||
|
.fa-layers-top-right {
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
-webkit-transform: scale(0.25);
|
||||||
|
transform: scale(0.25);
|
||||||
|
-webkit-transform-origin: top right;
|
||||||
|
transform-origin: top right; }
|
||||||
|
|
||||||
|
.fa-layers-top-left {
|
||||||
|
left: 0;
|
||||||
|
right: auto;
|
||||||
|
top: 0;
|
||||||
|
-webkit-transform: scale(0.25);
|
||||||
|
transform: scale(0.25);
|
||||||
|
-webkit-transform-origin: top left;
|
||||||
|
transform-origin: top left; }
|
||||||
|
|
||||||
|
.fa-lg {
|
||||||
|
font-size: 1.33333em;
|
||||||
|
line-height: 0.75em;
|
||||||
|
vertical-align: -.0667em; }
|
||||||
|
|
||||||
|
.fa-xs {
|
||||||
|
font-size: .75em; }
|
||||||
|
|
||||||
|
.fa-sm {
|
||||||
|
font-size: .875em; }
|
||||||
|
|
||||||
|
.fa-1x {
|
||||||
|
font-size: 1em; }
|
||||||
|
|
||||||
|
.fa-2x {
|
||||||
|
font-size: 2em; }
|
||||||
|
|
||||||
|
.fa-3x {
|
||||||
|
font-size: 3em; }
|
||||||
|
|
||||||
|
.fa-4x {
|
||||||
|
font-size: 4em; }
|
||||||
|
|
||||||
|
.fa-5x {
|
||||||
|
font-size: 5em; }
|
||||||
|
|
||||||
|
.fa-6x {
|
||||||
|
font-size: 6em; }
|
||||||
|
|
||||||
|
.fa-7x {
|
||||||
|
font-size: 7em; }
|
||||||
|
|
||||||
|
.fa-8x {
|
||||||
|
font-size: 8em; }
|
||||||
|
|
||||||
|
.fa-9x {
|
||||||
|
font-size: 9em; }
|
||||||
|
|
||||||
|
.fa-10x {
|
||||||
|
font-size: 10em; }
|
||||||
|
|
||||||
|
.fa-fw {
|
||||||
|
text-align: center;
|
||||||
|
width: 1.25em; }
|
||||||
|
|
||||||
|
.fa-ul {
|
||||||
|
list-style-type: none;
|
||||||
|
margin-left: 2.5em;
|
||||||
|
padding-left: 0; }
|
||||||
|
.fa-ul > li {
|
||||||
|
position: relative; }
|
||||||
|
|
||||||
|
.fa-li {
|
||||||
|
left: -2em;
|
||||||
|
position: absolute;
|
||||||
|
text-align: center;
|
||||||
|
width: 2em;
|
||||||
|
line-height: inherit; }
|
||||||
|
|
||||||
|
.fa-border {
|
||||||
|
border: solid 0.08em #eee;
|
||||||
|
border-radius: .1em;
|
||||||
|
padding: .2em .25em .15em; }
|
||||||
|
|
||||||
|
.fa-pull-left {
|
||||||
|
float: left; }
|
||||||
|
|
||||||
|
.fa-pull-right {
|
||||||
|
float: right; }
|
||||||
|
|
||||||
|
.fa.fa-pull-left,
|
||||||
|
.fas.fa-pull-left,
|
||||||
|
.far.fa-pull-left,
|
||||||
|
.fal.fa-pull-left,
|
||||||
|
.fab.fa-pull-left {
|
||||||
|
margin-right: .3em; }
|
||||||
|
|
||||||
|
.fa.fa-pull-right,
|
||||||
|
.fas.fa-pull-right,
|
||||||
|
.far.fa-pull-right,
|
||||||
|
.fal.fa-pull-right,
|
||||||
|
.fab.fa-pull-right {
|
||||||
|
margin-left: .3em; }
|
||||||
|
|
||||||
|
.fa-spin {
|
||||||
|
-webkit-animation: fa-spin 2s infinite linear;
|
||||||
|
animation: fa-spin 2s infinite linear; }
|
||||||
|
|
||||||
|
.fa-pulse {
|
||||||
|
-webkit-animation: fa-spin 1s infinite steps(8);
|
||||||
|
animation: fa-spin 1s infinite steps(8); }
|
||||||
|
|
||||||
|
@-webkit-keyframes fa-spin {
|
||||||
|
0% {
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg); }
|
||||||
|
100% {
|
||||||
|
-webkit-transform: rotate(360deg);
|
||||||
|
transform: rotate(360deg); } }
|
||||||
|
|
||||||
|
@keyframes fa-spin {
|
||||||
|
0% {
|
||||||
|
-webkit-transform: rotate(0deg);
|
||||||
|
transform: rotate(0deg); }
|
||||||
|
100% {
|
||||||
|
-webkit-transform: rotate(360deg);
|
||||||
|
transform: rotate(360deg); } }
|
||||||
|
|
||||||
|
.fa-rotate-90 {
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
|
||||||
|
-webkit-transform: rotate(90deg);
|
||||||
|
transform: rotate(90deg); }
|
||||||
|
|
||||||
|
.fa-rotate-180 {
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
|
||||||
|
-webkit-transform: rotate(180deg);
|
||||||
|
transform: rotate(180deg); }
|
||||||
|
|
||||||
|
.fa-rotate-270 {
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
|
||||||
|
-webkit-transform: rotate(270deg);
|
||||||
|
transform: rotate(270deg); }
|
||||||
|
|
||||||
|
.fa-flip-horizontal {
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
|
||||||
|
-webkit-transform: scale(-1, 1);
|
||||||
|
transform: scale(-1, 1); }
|
||||||
|
|
||||||
|
.fa-flip-vertical {
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
|
||||||
|
-webkit-transform: scale(1, -1);
|
||||||
|
transform: scale(1, -1); }
|
||||||
|
|
||||||
|
.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
|
||||||
|
-webkit-transform: scale(-1, -1);
|
||||||
|
transform: scale(-1, -1); }
|
||||||
|
|
||||||
|
:root .fa-rotate-90,
|
||||||
|
:root .fa-rotate-180,
|
||||||
|
:root .fa-rotate-270,
|
||||||
|
:root .fa-flip-horizontal,
|
||||||
|
:root .fa-flip-vertical,
|
||||||
|
:root .fa-flip-both {
|
||||||
|
-webkit-filter: none;
|
||||||
|
filter: none; }
|
||||||
|
|
||||||
|
.fa-stack {
|
||||||
|
display: inline-block;
|
||||||
|
height: 2em;
|
||||||
|
position: relative;
|
||||||
|
width: 2.5em; }
|
||||||
|
|
||||||
|
.fa-stack-1x,
|
||||||
|
.fa-stack-2x {
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
margin: auto;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0; }
|
||||||
|
|
||||||
|
.svg-inline--fa.fa-stack-1x {
|
||||||
|
height: 1em;
|
||||||
|
width: 1.25em; }
|
||||||
|
|
||||||
|
.svg-inline--fa.fa-stack-2x {
|
||||||
|
height: 2em;
|
||||||
|
width: 2.5em; }
|
||||||
|
|
||||||
|
.fa-inverse {
|
||||||
|
color: #fff; }
|
||||||
|
|
||||||
|
.sr-only {
|
||||||
|
border: 0;
|
||||||
|
clip: rect(0, 0, 0, 0);
|
||||||
|
height: 1px;
|
||||||
|
margin: -1px;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0;
|
||||||
|
position: absolute;
|
||||||
|
width: 1px; }
|
||||||
|
|
||||||
|
.sr-only-focusable:active, .sr-only-focusable:focus {
|
||||||
|
clip: auto;
|
||||||
|
height: auto;
|
||||||
|
margin: 0;
|
||||||
|
overflow: visible;
|
||||||
|
position: static;
|
||||||
|
width: auto; }
|
5
style/fontawesome/css/svg-with-js.min.css
vendored
Normal file
5
style/fontawesome/css/svg-with-js.min.css
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
/*!
|
||||||
|
* Font Awesome Free 5.8.2 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
*/
|
||||||
|
.svg-inline--fa,svg:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg{vertical-align:-.225em}.svg-inline--fa.fa-w-1{width:.0625em}.svg-inline--fa.fa-w-2{width:.125em}.svg-inline--fa.fa-w-3{width:.1875em}.svg-inline--fa.fa-w-4{width:.25em}.svg-inline--fa.fa-w-5{width:.3125em}.svg-inline--fa.fa-w-6{width:.375em}.svg-inline--fa.fa-w-7{width:.4375em}.svg-inline--fa.fa-w-8{width:.5em}.svg-inline--fa.fa-w-9{width:.5625em}.svg-inline--fa.fa-w-10{width:.625em}.svg-inline--fa.fa-w-11{width:.6875em}.svg-inline--fa.fa-w-12{width:.75em}.svg-inline--fa.fa-w-13{width:.8125em}.svg-inline--fa.fa-w-14{width:.875em}.svg-inline--fa.fa-w-15{width:.9375em}.svg-inline--fa.fa-w-16{width:1em}.svg-inline--fa.fa-w-17{width:1.0625em}.svg-inline--fa.fa-w-18{width:1.125em}.svg-inline--fa.fa-w-19{width:1.1875em}.svg-inline--fa.fa-w-20{width:1.25em}.svg-inline--fa.fa-pull-left{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right{margin-left:.3em;width:auto}.svg-inline--fa.fa-border{height:1.5em}.svg-inline--fa.fa-li{width:2em}.svg-inline--fa.fa-fw{width:1.25em}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{transform-origin:center center}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers-text{left:50%;top:50%;transform:translate(-50%,-50%);transform-origin:center center}.fa-layers-counter{background-color:#ff253a;border-radius:1em;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;transform:scale(.25);transform-origin:top right}.fa-layers-bottom-right{bottom:0;right:0;top:auto;transform:scale(.25);transform-origin:bottom right}.fa-layers-bottom-left{bottom:0;left:0;right:auto;top:auto;transform:scale(.25);transform-origin:bottom left}.fa-layers-top-right{right:0;top:0;transform:scale(.25);transform-origin:top right}.fa-layers-top-left{left:0;right:auto;top:0;transform:scale(.25);transform-origin:top left}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{animation:fa-spin 2s infinite linear}.fa-pulse{animation:fa-spin 1s infinite steps(8)}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scaleX(-1)}.fa-flip-vertical{transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x{height:2em;width:2.5em}.fa-inverse{color:#fff}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}
|
2166
style/fontawesome/css/v4-shims.css
vendored
Normal file
2166
style/fontawesome/css/v4-shims.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
5
style/fontawesome/css/v4-shims.min.css
vendored
Normal file
5
style/fontawesome/css/v4-shims.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
4294
style/fontawesome/js/all.js
Normal file
4294
style/fontawesome/js/all.js
Normal file
File diff suppressed because one or more lines are too long
5
style/fontawesome/js/all.min.js
vendored
Normal file
5
style/fontawesome/js/all.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
557
style/fontawesome/js/brands.js
Normal file
557
style/fontawesome/js/brands.js
Normal file
File diff suppressed because one or more lines are too long
5
style/fontawesome/js/brands.min.js
vendored
Normal file
5
style/fontawesome/js/brands.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2404
style/fontawesome/js/fontawesome.js
Normal file
2404
style/fontawesome/js/fontawesome.js
Normal file
File diff suppressed because one or more lines are too long
5
style/fontawesome/js/fontawesome.min.js
vendored
Normal file
5
style/fontawesome/js/fontawesome.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
280
style/fontawesome/js/regular.js
Normal file
280
style/fontawesome/js/regular.js
Normal file
|
@ -0,0 +1,280 @@
|
||||||
|
/*!
|
||||||
|
* Font Awesome Free 5.8.2 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
*/
|
||||||
|
(function () {
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
var _WINDOW = {};
|
||||||
|
var _DOCUMENT = {};
|
||||||
|
|
||||||
|
try {
|
||||||
|
if (typeof window !== 'undefined') _WINDOW = window;
|
||||||
|
if (typeof document !== 'undefined') _DOCUMENT = document;
|
||||||
|
} catch (e) {}
|
||||||
|
|
||||||
|
var _ref = _WINDOW.navigator || {},
|
||||||
|
_ref$userAgent = _ref.userAgent,
|
||||||
|
userAgent = _ref$userAgent === void 0 ? '' : _ref$userAgent;
|
||||||
|
|
||||||
|
var WINDOW = _WINDOW;
|
||||||
|
var DOCUMENT = _DOCUMENT;
|
||||||
|
var IS_BROWSER = !!WINDOW.document;
|
||||||
|
var IS_DOM = !!DOCUMENT.documentElement && !!DOCUMENT.head && typeof DOCUMENT.addEventListener === 'function' && typeof DOCUMENT.createElement === 'function';
|
||||||
|
var IS_IE = ~userAgent.indexOf('MSIE') || ~userAgent.indexOf('Trident/');
|
||||||
|
|
||||||
|
var NAMESPACE_IDENTIFIER = '___FONT_AWESOME___';
|
||||||
|
var PRODUCTION = function () {
|
||||||
|
try {
|
||||||
|
return "production" === 'production';
|
||||||
|
} catch (e) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}();
|
||||||
|
|
||||||
|
function bunker(fn) {
|
||||||
|
try {
|
||||||
|
fn();
|
||||||
|
} catch (e) {
|
||||||
|
if (!PRODUCTION) {
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function _defineProperty(obj, key, value) {
|
||||||
|
if (key in obj) {
|
||||||
|
Object.defineProperty(obj, key, {
|
||||||
|
value: value,
|
||||||
|
enumerable: true,
|
||||||
|
configurable: true,
|
||||||
|
writable: true
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
obj[key] = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
return obj;
|
||||||
|
}
|
||||||
|
|
||||||
|
function _objectSpread(target) {
|
||||||
|
for (var i = 1; i < arguments.length; i++) {
|
||||||
|
var source = arguments[i] != null ? arguments[i] : {};
|
||||||
|
var ownKeys = Object.keys(source);
|
||||||
|
|
||||||
|
if (typeof Object.getOwnPropertySymbols === 'function') {
|
||||||
|
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
|
||||||
|
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
|
||||||
|
ownKeys.forEach(function (key) {
|
||||||
|
_defineProperty(target, key, source[key]);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
return target;
|
||||||
|
}
|
||||||
|
|
||||||
|
var w = WINDOW || {};
|
||||||
|
if (!w[NAMESPACE_IDENTIFIER]) w[NAMESPACE_IDENTIFIER] = {};
|
||||||
|
if (!w[NAMESPACE_IDENTIFIER].styles) w[NAMESPACE_IDENTIFIER].styles = {};
|
||||||
|
if (!w[NAMESPACE_IDENTIFIER].hooks) w[NAMESPACE_IDENTIFIER].hooks = {};
|
||||||
|
if (!w[NAMESPACE_IDENTIFIER].shims) w[NAMESPACE_IDENTIFIER].shims = [];
|
||||||
|
var namespace = w[NAMESPACE_IDENTIFIER];
|
||||||
|
|
||||||
|
function defineIcons(prefix, icons) {
|
||||||
|
var params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
||||||
|
var _params$skipHooks = params.skipHooks,
|
||||||
|
skipHooks = _params$skipHooks === void 0 ? false : _params$skipHooks;
|
||||||
|
var normalized = Object.keys(icons).reduce(function (acc, iconName) {
|
||||||
|
var icon = icons[iconName];
|
||||||
|
var expanded = !!icon.icon;
|
||||||
|
|
||||||
|
if (expanded) {
|
||||||
|
acc[icon.iconName] = icon.icon;
|
||||||
|
} else {
|
||||||
|
acc[iconName] = icon;
|
||||||
|
}
|
||||||
|
|
||||||
|
return acc;
|
||||||
|
}, {});
|
||||||
|
|
||||||
|
if (typeof namespace.hooks.addPack === 'function' && !skipHooks) {
|
||||||
|
namespace.hooks.addPack(prefix, normalized);
|
||||||
|
} else {
|
||||||
|
namespace.styles[prefix] = _objectSpread({}, namespace.styles[prefix] || {}, normalized);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* Font Awesome 4 used the prefix of `fa` for all icons. With the introduction
|
||||||
|
* of new styles we needed to differentiate between them. Prefix `fa` is now an alias
|
||||||
|
* for `fas` so we'll easy the upgrade process for our users by automatically defining
|
||||||
|
* this as well.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
if (prefix === 'fas') {
|
||||||
|
defineIcons('fa', icons);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var icons = {
|
||||||
|
"address-book": [448, 512, [], "f2b9", "M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-68 304H48V48h320v416zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z"],
|
||||||
|
"address-card": [576, 512, [], "f2bb", "M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H48V80h480v352zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2zM360 320h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8z"],
|
||||||
|
"angry": [496, 512, [], "f556", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm0-144c-33.6 0-65.2 14.8-86.8 40.6-8.5 10.2-7.1 25.3 3.1 33.8s25.3 7.2 33.8-3c24.8-29.7 75-29.7 99.8 0 8.1 9.7 23.2 11.9 33.8 3 10.2-8.5 11.5-23.6 3.1-33.8-21.6-25.8-53.2-40.6-86.8-40.6zm-48-72c10.3 0 19.9-6.7 23-17.1 3.8-12.7-3.4-26.1-16.1-29.9l-80-24c-12.8-3.9-26.1 3.4-29.9 16.1-3.8 12.7 3.4 26.1 16.1 29.9l28.2 8.5c-3.1 4.9-5.3 10.4-5.3 16.6 0 17.7 14.3 32 32 32s32-14.4 32-32.1zm199-54.9c-3.8-12.7-17.1-19.9-29.9-16.1l-80 24c-12.7 3.8-19.9 17.2-16.1 29.9 3.1 10.4 12.7 17.1 23 17.1 0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.2-2.2-11.7-5.3-16.6l28.2-8.5c12.7-3.7 19.9-17.1 16.1-29.8z"],
|
||||||
|
"arrow-alt-circle-down": [512, 512, [], "f358", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm-32-316v116h-67c-10.7 0-16 12.9-8.5 20.5l99 99c4.7 4.7 12.3 4.7 17 0l99-99c7.6-7.6 2.2-20.5-8.5-20.5h-67V140c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12z"],
|
||||||
|
"arrow-alt-circle-left": [512, 512, [], "f359", "M8 256c0 137 111 248 248 248s248-111 248-248S393 8 256 8 8 119 8 256zm448 0c0 110.5-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56s200 89.5 200 200zm-72-20v40c0 6.6-5.4 12-12 12H256v67c0 10.7-12.9 16-20.5 8.5l-99-99c-4.7-4.7-4.7-12.3 0-17l99-99c7.6-7.6 20.5-2.2 20.5 8.5v67h116c6.6 0 12 5.4 12 12z"],
|
||||||
|
"arrow-alt-circle-right": [512, 512, [], "f35a", "M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm72 20v-40c0-6.6 5.4-12 12-12h116v-67c0-10.7 12.9-16 20.5-8.5l99 99c4.7 4.7 4.7 12.3 0 17l-99 99c-7.6 7.6-20.5 2.2-20.5-8.5v-67H140c-6.6 0-12-5.4-12-12z"],
|
||||||
|
"arrow-alt-circle-up": [512, 512, [], "f35b", "M256 504c137 0 248-111 248-248S393 8 256 8 8 119 8 256s111 248 248 248zm0-448c110.5 0 200 89.5 200 200s-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56zm20 328h-40c-6.6 0-12-5.4-12-12V256h-67c-10.7 0-16-12.9-8.5-20.5l99-99c4.7-4.7 12.3-4.7 17 0l99 99c7.6 7.6 2.2 20.5-8.5 20.5h-67v116c0 6.6-5.4 12-12 12z"],
|
||||||
|
"bell": [448, 512, [], "f0f3", "M439.39 362.29c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71zM67.53 368c21.22-27.97 44.42-74.33 44.53-159.42 0-.2-.06-.38-.06-.58 0-61.86 50.14-112 112-112s112 50.14 112 112c0 .2-.06.38-.06.58.11 85.1 23.31 131.46 44.53 159.42H67.53zM224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64z"],
|
||||||
|
"bell-slash": [640, 512, [], "f1f6", "M633.99 471.02L36 3.51C29.1-2.01 19.03-.9 13.51 6l-10 12.49C-2.02 25.39-.9 35.46 6 40.98l598 467.51c6.9 5.52 16.96 4.4 22.49-2.49l10-12.49c5.52-6.9 4.41-16.97-2.5-22.49zM163.53 368c16.71-22.03 34.48-55.8 41.4-110.58l-45.47-35.55c-3.27 90.73-36.47 120.68-54.84 140.42-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h279.66l-61.4-48H163.53zM320 96c61.86 0 112 50.14 112 112 0 .2-.06.38-.06.58.02 16.84 1.16 31.77 2.79 45.73l59.53 46.54c-8.31-22.13-14.34-51.49-14.34-92.85 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84c-26.02 5.41-49.45 16.94-69.13 32.72l38.17 29.84C275 103.18 296.65 96 320 96zm0 416c35.32 0 63.97-28.65 63.97-64H256.03c0 35.35 28.65 64 63.97 64z"],
|
||||||
|
"bookmark": [384, 512, [], "f02e", "M336 0H48C21.49 0 0 21.49 0 48v464l192-112 192 112V48c0-26.51-21.49-48-48-48zm0 428.43l-144-84-144 84V54a6 6 0 0 1 6-6h276c3.314 0 6 2.683 6 5.996V428.43z"],
|
||||||
|
"building": [448, 512, [], "f1ad", "M128 148v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12zm140 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-128 96h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm128 0h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-76 84v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm76 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm180 124v36H0v-36c0-6.6 5.4-12 12-12h19.5V24c0-13.3 10.7-24 24-24h337c13.3 0 24 10.7 24 24v440H436c6.6 0 12 5.4 12 12zM79.5 463H192v-67c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v67h112.5V49L80 48l-.5 415z"],
|
||||||
|
"calendar": [448, 512, [], "f133", "M400 64h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V160h352v298c0 3.3-2.7 6-6 6z"],
|
||||||
|
"calendar-alt": [448, 512, [], "f073", "M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"],
|
||||||
|
"calendar-check": [448, 512, [], "f274", "M400 64h-48V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H160V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V160h352v298a6 6 0 0 1-6 6zm-52.849-200.65L198.842 404.519c-4.705 4.667-12.303 4.637-16.971-.068l-75.091-75.699c-4.667-4.705-4.637-12.303.068-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l44.104 44.461 111.072-110.181c4.705-4.667 12.303-4.637 16.971.068l22.536 22.718c4.667 4.705 4.636 12.303-.069 16.97z"],
|
||||||
|
"calendar-minus": [448, 512, [], "f272", "M124 328c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H124zm324-216v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"],
|
||||||
|
"calendar-plus": [448, 512, [], "f271", "M336 292v24c0 6.6-5.4 12-12 12h-76v76c0 6.6-5.4 12-12 12h-24c-6.6 0-12-5.4-12-12v-76h-76c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h76v-76c0-6.6 5.4-12 12-12h24c6.6 0 12 5.4 12 12v76h76c6.6 0 12 5.4 12 12zm112-180v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"],
|
||||||
|
"calendar-times": [448, 512, [], "f273", "M311.7 374.7l-17 17c-4.7 4.7-12.3 4.7-17 0L224 337.9l-53.7 53.7c-4.7 4.7-12.3 4.7-17 0l-17-17c-4.7-4.7-4.7-12.3 0-17l53.7-53.7-53.7-53.7c-4.7-4.7-4.7-12.3 0-17l17-17c4.7-4.7 12.3-4.7 17 0l53.7 53.7 53.7-53.7c4.7-4.7 12.3-4.7 17 0l17 17c4.7 4.7 4.7 12.3 0 17L257.9 304l53.7 53.7c4.8 4.7 4.8 12.3.1 17zM448 112v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"],
|
||||||
|
"caret-square-down": [448, 512, [], "f150", "M125.1 208h197.8c10.7 0 16.1 13 8.5 20.5l-98.9 98.3c-4.7 4.7-12.2 4.7-16.9 0l-98.9-98.3c-7.7-7.5-2.3-20.5 8.4-20.5zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"],
|
||||||
|
"caret-square-left": [448, 512, [], "f191", "M272 157.1v197.8c0 10.7-13 16.1-20.5 8.5l-98.3-98.9c-4.7-4.7-4.7-12.2 0-16.9l98.3-98.9c7.5-7.7 20.5-2.3 20.5 8.4zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"],
|
||||||
|
"caret-square-right": [448, 512, [], "f152", "M176 354.9V157.1c0-10.7 13-16.1 20.5-8.5l98.3 98.9c4.7 4.7 4.7 12.2 0 16.9l-98.3 98.9c-7.5 7.7-20.5 2.3-20.5-8.4zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"],
|
||||||
|
"caret-square-up": [448, 512, [], "f151", "M322.9 304H125.1c-10.7 0-16.1-13-8.5-20.5l98.9-98.3c4.7-4.7 12.2-4.7 16.9 0l98.9 98.3c7.7 7.5 2.3 20.5-8.4 20.5zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"],
|
||||||
|
"chart-bar": [512, 512, [], "f080", "M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z"],
|
||||||
|
"check-circle": [512, 512, [], "f058", "M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z"],
|
||||||
|
"check-square": [448, 512, [], "f14a", "M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm0 400H48V80h352v352zm-35.864-241.724L191.547 361.48c-4.705 4.667-12.303 4.637-16.97-.068l-90.781-91.516c-4.667-4.705-4.637-12.303.069-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l59.792 60.277 141.352-140.216c4.705-4.667 12.303-4.637 16.97.068l22.536 22.718c4.667 4.706 4.637 12.304-.068 16.971z"],
|
||||||
|
"circle": [512, 512, [], "f111", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"],
|
||||||
|
"clipboard": [384, 512, [], "f328", "M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM192 40c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm144 418c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V118c0-3.3 2.7-6 6-6h42v36c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12v-36h42c3.3 0 6 2.7 6 6z"],
|
||||||
|
"clock": [512, 512, [], "f017", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"],
|
||||||
|
"clone": [512, 512, [], "f24d", "M464 0H144c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h320c26.51 0 48-21.49 48-48v-48h48c26.51 0 48-21.49 48-48V48c0-26.51-21.49-48-48-48zM362 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h42v224c0 26.51 21.49 48 48 48h224v42a6 6 0 0 1-6 6zm96-96H150a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h308a6 6 0 0 1 6 6v308a6 6 0 0 1-6 6z"],
|
||||||
|
"closed-captioning": [512, 512, [], "f20a", "M464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 336H54c-3.3 0-6-2.7-6-6V118c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v276c0 3.3-2.7 6-6 6zm-211.1-85.7c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.8-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7l-17.5 30.5c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6 2.8-2.5 7.1-2.1 9.2.9l19.6 27.7zm190.4 0c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.9-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7L420 220.2c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6 2.8-2.5 7.1-2.1 9.2.9l19.6 27.7z"],
|
||||||
|
"comment": [512, 512, [], "f075", "M256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"],
|
||||||
|
"comment-alt": [512, 512, [], "f27a", "M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm16 352c0 8.8-7.2 16-16 16H288l-12.8 9.6L208 428v-60H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h384c8.8 0 16 7.2 16 16v288z"],
|
||||||
|
"comment-dots": [512, 512, [], "f4ad", "M144 208c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm112 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm112 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zM256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"],
|
||||||
|
"comments": [576, 512, [], "f086", "M532 386.2c27.5-27.1 44-61.1 44-98.2 0-80-76.5-146.1-176.2-157.9C368.3 72.5 294.3 32 208 32 93.1 32 0 103.6 0 192c0 37 16.5 71 44 98.2-15.3 30.7-37.3 54.5-37.7 54.9-6.3 6.7-8.1 16.5-4.4 25 3.6 8.5 12 14 21.2 14 53.5 0 96.7-20.2 125.2-38.8 9.2 2.1 18.7 3.7 28.4 4.9C208.1 407.6 281.8 448 368 448c20.8 0 40.8-2.4 59.8-6.8C456.3 459.7 499.4 480 553 480c9.2 0 17.5-5.5 21.2-14 3.6-8.5 1.9-18.3-4.4-25-.4-.3-22.5-24.1-37.8-54.8zm-392.8-92.3L122.1 305c-14.1 9.1-28.5 16.3-43.1 21.4 2.7-4.7 5.4-9.7 8-14.8l15.5-31.1L77.7 256C64.2 242.6 48 220.7 48 192c0-60.7 73.3-112 160-112s160 51.3 160 112-73.3 112-160 112c-16.5 0-33-1.9-49-5.6l-19.8-4.5zM498.3 352l-24.7 24.4 15.5 31.1c2.6 5.1 5.3 10.1 8 14.8-14.6-5.1-29-12.3-43.1-21.4l-17.1-11.1-19.9 4.6c-16 3.7-32.5 5.6-49 5.6-54 0-102.2-20.1-131.3-49.7C338 339.5 416 272.9 416 192c0-3.4-.4-6.7-.7-10C479.7 196.5 528 238.8 528 288c0 28.7-16.2 50.6-29.7 64z"],
|
||||||
|
"compass": [496, 512, [], "f14e", "M347.94 129.86L203.6 195.83a31.938 31.938 0 0 0-15.77 15.77l-65.97 144.34c-7.61 16.65 9.54 33.81 26.2 26.2l144.34-65.97a31.938 31.938 0 0 0 15.77-15.77l65.97-144.34c7.61-16.66-9.54-33.81-26.2-26.2zm-77.36 148.72c-12.47 12.47-32.69 12.47-45.16 0-12.47-12.47-12.47-32.69 0-45.16 12.47-12.47 32.69-12.47 45.16 0 12.47 12.47 12.47 32.69 0 45.16zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 448c-110.28 0-200-89.72-200-200S137.72 56 248 56s200 89.72 200 200-89.72 200-200 200z"],
|
||||||
|
"copy": [448, 512, [], "f0c5", "M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"],
|
||||||
|
"copyright": [512, 512, [], "f1f9", "M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 448c-110.532 0-200-89.451-200-200 0-110.531 89.451-200 200-200 110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200zm107.351-101.064c-9.614 9.712-45.53 41.396-104.065 41.396-82.43 0-140.484-61.425-140.484-141.567 0-79.152 60.275-139.401 139.762-139.401 55.531 0 88.738 26.62 97.593 34.779a11.965 11.965 0 0 1 1.936 15.322l-18.155 28.113c-3.841 5.95-11.966 7.282-17.499 2.921-8.595-6.776-31.814-22.538-61.708-22.538-48.303 0-77.916 35.33-77.916 80.082 0 41.589 26.888 83.692 78.277 83.692 32.657 0 56.843-19.039 65.726-27.225 5.27-4.857 13.596-4.039 17.82 1.738l19.865 27.17a11.947 11.947 0 0 1-1.152 15.518z"],
|
||||||
|
"credit-card": [576, 512, [], "f09d", "M527.9 32H48.1C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48.1 48h479.8c26.6 0 48.1-21.5 48.1-48V80c0-26.5-21.5-48-48.1-48zM54.1 80h467.8c3.3 0 6 2.7 6 6v42H48.1V86c0-3.3 2.7-6 6-6zm467.8 352H54.1c-3.3 0-6-2.7-6-6V256h479.8v170c0 3.3-2.7 6-6 6zM192 332v40c0 6.6-5.4 12-12 12h-72c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h72c6.6 0 12 5.4 12 12zm192 0v40c0 6.6-5.4 12-12 12H236c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h136c6.6 0 12 5.4 12 12z"],
|
||||||
|
"dizzy": [496, 512, [], "f567", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-33.8-217.9c7.8-7.8 7.8-20.5 0-28.3L196.3 192l17.9-17.9c7.8-7.8 7.8-20.5 0-28.3-7.8-7.8-20.5-7.8-28.3 0L168 163.7l-17.8-17.8c-7.8-7.8-20.5-7.8-28.3 0-7.8 7.8-7.8 20.5 0 28.3l17.9 17.9-17.9 17.9c-7.8 7.8-7.8 20.5 0 28.3 7.8 7.8 20.5 7.8 28.3 0l17.8-17.8 17.8 17.8c7.9 7.7 20.5 7.7 28.4-.2zm160-92.2c-7.8-7.8-20.5-7.8-28.3 0L328 163.7l-17.8-17.8c-7.8-7.8-20.5-7.8-28.3 0-7.8 7.8-7.8 20.5 0 28.3l17.9 17.9-17.9 17.9c-7.8 7.8-7.8 20.5 0 28.3 7.8 7.8 20.5 7.8 28.3 0l17.8-17.8 17.8 17.8c7.8 7.8 20.5 7.8 28.3 0 7.8-7.8 7.8-20.5 0-28.3l-17.8-18 17.9-17.9c7.7-7.8 7.7-20.4 0-28.2zM248 272c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64z"],
|
||||||
|
"dot-circle": [512, 512, [], "f192", "M256 56c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m0-48C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 168c-44.183 0-80 35.817-80 80s35.817 80 80 80 80-35.817 80-80-35.817-80-80-80z"],
|
||||||
|
"edit": [576, 512, [], "f044", "M402.3 344.9l32-32c5-5 13.7-1.5 13.7 5.7V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h273.5c7.1 0 10.7 8.6 5.7 13.7l-32 32c-1.5 1.5-3.5 2.3-5.7 2.3H48v352h352V350.5c0-2.1.8-4.1 2.3-5.6zm156.6-201.8L296.3 405.7l-90.4 10c-26.2 2.9-48.5-19.2-45.6-45.6l10-90.4L432.9 17.1c22.9-22.9 59.9-22.9 82.7 0l43.2 43.2c22.9 22.9 22.9 60 .1 82.8zM460.1 174L402 115.9 216.2 301.8l-7.3 65.3 65.3-7.3L460.1 174zm64.8-79.7l-43.2-43.2c-4.1-4.1-10.8-4.1-14.8 0L436 82l58.1 58.1 30.9-30.9c4-4.2 4-10.8-.1-14.9z"],
|
||||||
|
"envelope": [512, 512, [], "f0e0", "M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"],
|
||||||
|
"envelope-open": [512, 512, [], "f2b6", "M494.586 164.516c-4.697-3.883-111.723-89.95-135.251-108.657C337.231 38.191 299.437 0 256 0c-43.205 0-80.636 37.717-103.335 55.859-24.463 19.45-131.07 105.195-135.15 108.549A48.004 48.004 0 0 0 0 201.485V464c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V201.509a48 48 0 0 0-17.414-36.993zM464 458a6 6 0 0 1-6 6H54a6 6 0 0 1-6-6V204.347c0-1.813.816-3.526 2.226-4.665 15.87-12.814 108.793-87.554 132.364-106.293C200.755 78.88 232.398 48 256 48c23.693 0 55.857 31.369 73.41 45.389 23.573 18.741 116.503 93.493 132.366 106.316a5.99 5.99 0 0 1 2.224 4.663V458zm-31.991-187.704c4.249 5.159 3.465 12.795-1.745 16.981-28.975 23.283-59.274 47.597-70.929 56.863C336.636 362.283 299.205 400 256 400c-43.452 0-81.287-38.237-103.335-55.86-11.279-8.967-41.744-33.413-70.927-56.865-5.21-4.187-5.993-11.822-1.745-16.981l15.258-18.528c4.178-5.073 11.657-5.843 16.779-1.726 28.618 23.001 58.566 47.035 70.56 56.571C200.143 320.631 232.307 352 256 352c23.602 0 55.246-30.88 73.41-45.389 11.994-9.535 41.944-33.57 70.563-56.568 5.122-4.116 12.601-3.346 16.778 1.727l15.258 18.526z"],
|
||||||
|
"eye": [576, 512, [], "f06e", "M288 144a110.94 110.94 0 0 0-31.24 5 55.4 55.4 0 0 1 7.24 27 56 56 0 0 1-56 56 55.4 55.4 0 0 1-27-7.24A111.71 111.71 0 1 0 288 144zm284.52 97.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400c-98.65 0-189.09-55-237.93-144C98.91 167 189.34 112 288 112s189.09 55 237.93 144C477.1 345 386.66 400 288 400z"],
|
||||||
|
"eye-slash": [640, 512, [], "f070", "M634 471L36 3.51A16 16 0 0 0 13.51 6l-10 12.49A16 16 0 0 0 6 41l598 467.49a16 16 0 0 0 22.49-2.49l10-12.49A16 16 0 0 0 634 471zM296.79 146.47l134.79 105.38C429.36 191.91 380.48 144 320 144a112.26 112.26 0 0 0-23.21 2.47zm46.42 219.07L208.42 260.16C210.65 320.09 259.53 368 320 368a113 113 0 0 0 23.21-2.46zM320 112c98.65 0 189.09 55 237.93 144a285.53 285.53 0 0 1-44 60.2l37.74 29.5a333.7 333.7 0 0 0 52.9-75.11 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64c-36.7 0-71.71 7-104.63 18.81l46.41 36.29c18.94-4.3 38.34-7.1 58.22-7.1zm0 288c-98.65 0-189.08-55-237.93-144a285.47 285.47 0 0 1 44.05-60.19l-37.74-29.5a333.6 333.6 0 0 0-52.89 75.1 32.35 32.35 0 0 0 0 29.19C89.72 376.41 197.08 448 320 448c36.7 0 71.71-7.05 104.63-18.81l-46.41-36.28C359.28 397.2 339.89 400 320 400z"],
|
||||||
|
"file": [384, 512, [], "f15b", "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48z"],
|
||||||
|
"file-alt": [384, 512, [], "f15c", "M288 248v28c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-28c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm-12 72H108c-6.6 0-12 5.4-12 12v28c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12v-28c0-6.6-5.4-12-12-12zm108-188.1V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V48C0 21.5 21.5 0 48 0h204.1C264.8 0 277 5.1 286 14.1L369.9 98c9 8.9 14.1 21.2 14.1 33.9zm-128-80V128h76.1L256 51.9zM336 464V176H232c-13.3 0-24-10.7-24-24V48H48v416h288z"],
|
||||||
|
"file-archive": [384, 512, [], "f1c6", "M128.3 160v32h32v-32zm64-96h-32v32h32zm-64 32v32h32V96zm64 32h-32v32h32zm177.6-30.1L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM256 51.9l76.1 76.1H256zM336 464H48V48h79.7v16h32V48H208v104c0 13.3 10.7 24 24 24h104zM194.2 265.7c-1.1-5.6-6-9.7-11.8-9.7h-22.1v-32h-32v32l-19.7 97.1C102 385.6 126.8 416 160 416c33.1 0 57.9-30.2 51.5-62.6zm-33.9 124.4c-17.9 0-32.4-12.1-32.4-27s14.5-27 32.4-27 32.4 12.1 32.4 27-14.5 27-32.4 27zm32-198.1h-32v32h32z"],
|
||||||
|
"file-audio": [384, 512, [], "f1c7", "M369.941 97.941l-83.882-83.882A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v416c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V131.882a48 48 0 0 0-14.059-33.941zM332.118 128H256V51.882L332.118 128zM48 464V48h160v104c0 13.255 10.745 24 24 24h104v288H48zm144-76.024c0 10.691-12.926 16.045-20.485 8.485L136 360.486h-28c-6.627 0-12-5.373-12-12v-56c0-6.627 5.373-12 12-12h28l35.515-36.947c7.56-7.56 20.485-2.206 20.485 8.485v135.952zm41.201-47.13c9.051-9.297 9.06-24.133.001-33.439-22.149-22.752 12.235-56.246 34.395-33.481 27.198 27.94 27.212 72.444.001 100.401-21.793 22.386-56.947-10.315-34.397-33.481z"],
|
||||||
|
"file-code": [384, 512, [], "f1c9", "M149.9 349.1l-.2-.2-32.8-28.9 32.8-28.9c3.6-3.2 4-8.8.8-12.4l-.2-.2-17.4-18.6c-3.4-3.6-9-3.7-12.4-.4l-57.7 54.1c-3.7 3.5-3.7 9.4 0 12.8l57.7 54.1c1.6 1.5 3.8 2.4 6 2.4 2.4 0 4.8-1 6.4-2.8l17.4-18.6c3.3-3.5 3.1-9.1-.4-12.4zm220-251.2L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM256 51.9l76.1 76.1H256zM336 464H48V48h160v104c0 13.3 10.7 24 24 24h104zM209.6 214c-4.7-1.4-9.5 1.3-10.9 6L144 408.1c-1.4 4.7 1.3 9.6 6 10.9l24.4 7.1c4.7 1.4 9.6-1.4 10.9-6L240 231.9c1.4-4.7-1.3-9.6-6-10.9zm24.5 76.9l.2.2 32.8 28.9-32.8 28.9c-3.6 3.2-4 8.8-.8 12.4l.2.2 17.4 18.6c3.3 3.5 8.9 3.7 12.4.4l57.7-54.1c3.7-3.5 3.7-9.4 0-12.8l-57.7-54.1c-3.5-3.3-9.1-3.2-12.4.4l-17.4 18.6c-3.3 3.5-3.1 9.1.4 12.4z"],
|
||||||
|
"file-excel": [384, 512, [], "f1c3", "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm212-240h-28.8c-4.4 0-8.4 2.4-10.5 6.3-18 33.1-22.2 42.4-28.6 57.7-13.9-29.1-6.9-17.3-28.6-57.7-2.1-3.9-6.2-6.3-10.6-6.3H124c-9.3 0-15 10-10.4 18l46.3 78-46.3 78c-4.7 8 1.1 18 10.4 18h28.9c4.4 0 8.4-2.4 10.5-6.3 21.7-40 23-45 28.6-57.7 14.9 30.2 5.9 15.9 28.6 57.7 2.1 3.9 6.2 6.3 10.6 6.3H260c9.3 0 15-10 10.4-18L224 320c.7-1.1 30.3-50.5 46.3-78 4.7-8-1.1-18-10.3-18z"],
|
||||||
|
"file-image": [384, 512, [], "f1c5", "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm32-48h224V288l-23.5-23.5c-4.7-4.7-12.3-4.7-17 0L176 352l-39.5-39.5c-4.7-4.7-12.3-4.7-17 0L80 352v64zm48-240c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z"],
|
||||||
|
"file-pdf": [384, 512, [], "f1c1", "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm250.2-143.7c-12.2-12-47-8.7-64.4-6.5-17.2-10.5-28.7-25-36.8-46.3 3.9-16.1 10.1-40.6 5.4-56-4.2-26.2-37.8-23.6-42.6-5.9-4.4 16.1-.4 38.5 7 67.1-10 23.9-24.9 56-35.4 74.4-20 10.3-47 26.2-51 46.2-3.3 15.8 26 55.2 76.1-31.2 22.4-7.4 46.8-16.5 68.4-20.1 18.9 10.2 41 17 55.8 17 25.5 0 28-28.2 17.5-38.7zm-198.1 77.8c5.1-13.7 24.5-29.5 30.4-35-19 30.3-30.4 35.7-30.4 35zm81.6-190.6c7.4 0 6.7 32.1 1.8 40.8-4.4-13.9-4.3-40.8-1.8-40.8zm-24.4 136.6c9.7-16.9 18-37 24.7-54.7 8.3 15.1 18.9 27.2 30.1 35.5-20.8 4.3-38.9 13.1-54.8 19.2zm131.6-5s-5 6-37.3-7.8c35.1-2.6 40.9 5.4 37.3 7.8z"],
|
||||||
|
"file-powerpoint": [384, 512, [], "f1c4", "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm72-60V236c0-6.6 5.4-12 12-12h69.2c36.7 0 62.8 27 62.8 66.3 0 74.3-68.7 66.5-95.5 66.5V404c0 6.6-5.4 12-12 12H132c-6.6 0-12-5.4-12-12zm48.5-87.4h23c7.9 0 13.9-2.4 18.1-7.2 8.5-9.8 8.4-28.5.1-37.8-4.1-4.6-9.9-7-17.4-7h-23.9v52z"],
|
||||||
|
"file-video": [384, 512, [], "f1c8", "M369.941 97.941l-83.882-83.882A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v416c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V131.882a48 48 0 0 0-14.059-33.941zM332.118 128H256V51.882L332.118 128zM48 464V48h160v104c0 13.255 10.745 24 24 24h104v288H48zm228.687-211.303L224 305.374V268c0-11.046-8.954-20-20-20H100c-11.046 0-20 8.954-20 20v104c0 11.046 8.954 20 20 20h104c11.046 0 20-8.954 20-20v-37.374l52.687 52.674C286.704 397.318 304 390.28 304 375.986V264.011c0-14.311-17.309-21.319-27.313-11.314z"],
|
||||||
|
"file-word": [384, 512, [], "f1c2", "M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm220.1-208c-5.7 0-10.6 4-11.7 9.5-20.6 97.7-20.4 95.4-21 103.5-.2-1.2-.4-2.6-.7-4.3-.8-5.1.3.2-23.6-99.5-1.3-5.4-6.1-9.2-11.7-9.2h-13.3c-5.5 0-10.3 3.8-11.7 9.1-24.4 99-24 96.2-24.8 103.7-.1-1.1-.2-2.5-.5-4.2-.7-5.2-14.1-73.3-19.1-99-1.1-5.6-6-9.7-11.8-9.7h-16.8c-7.8 0-13.5 7.3-11.7 14.8 8 32.6 26.7 109.5 33.2 136 1.3 5.4 6.1 9.1 11.7 9.1h25.2c5.5 0 10.3-3.7 11.6-9.1l17.9-71.4c1.5-6.2 2.5-12 3-17.3l2.9 17.3c.1.4 12.6 50.5 17.9 71.4 1.3 5.3 6.1 9.1 11.6 9.1h24.7c5.5 0 10.3-3.7 11.6-9.1 20.8-81.9 30.2-119 34.5-136 1.9-7.6-3.8-14.9-11.6-14.9h-15.8z"],
|
||||||
|
"flag": [512, 512, [], "f024", "M336.174 80c-49.132 0-93.305-32-161.913-32-31.301 0-58.303 6.482-80.721 15.168a48.04 48.04 0 0 0 2.142-20.727C93.067 19.575 74.167 1.594 51.201.104 23.242-1.71 0 20.431 0 48c0 17.764 9.657 33.262 24 41.562V496c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-83.443C109.869 395.28 143.259 384 199.826 384c49.132 0 93.305 32 161.913 32 58.479 0 101.972-22.617 128.548-39.981C503.846 367.161 512 352.051 512 335.855V95.937c0-34.459-35.264-57.768-66.904-44.117C409.193 67.309 371.641 80 336.174 80zM464 336c-21.783 15.412-60.824 32-102.261 32-59.945 0-102.002-32-161.913-32-43.361 0-96.379 9.403-127.826 24V128c21.784-15.412 60.824-32 102.261-32 59.945 0 102.002 32 161.913 32 43.271 0 96.32-17.366 127.826-32v240z"],
|
||||||
|
"flushed": [496, 512, [], "f579", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm96-312c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80zm0 128c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-72c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zm-112 24c0-44.2-35.8-80-80-80s-80 35.8-80 80 35.8 80 80 80 80-35.8 80-80zm-80 48c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-72c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zm160 144H184c-13.2 0-24 10.8-24 24s10.8 24 24 24h128c13.2 0 24-10.8 24-24s-10.8-24-24-24z"],
|
||||||
|
"folder": [512, 512, [], "f07b", "M464 128H272l-54.63-54.63c-6-6-14.14-9.37-22.63-9.37H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zm0 272H48V112h140.12l54.63 54.63c6 6 14.14 9.37 22.63 9.37H464v224z"],
|
||||||
|
"folder-open": [576, 512, [], "f07c", "M527.9 224H480v-48c0-26.5-21.5-48-48-48H272l-64-64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h400c16.5 0 31.9-8.5 40.7-22.6l79.9-128c20-31.9-3-73.4-40.7-73.4zM48 118c0-3.3 2.7-6 6-6h134.1l64 64H426c3.3 0 6 2.7 6 6v42H152c-16.8 0-32.4 8.8-41.1 23.2L48 351.4zm400 282H72l77.2-128H528z"],
|
||||||
|
"font-awesome-logo-full": [3992, 512, ["Font Awesome"], "f4e6", "M454.6 0H57.4C25.9 0 0 25.9 0 57.4v397.3C0 486.1 25.9 512 57.4 512h397.3c31.4 0 57.4-25.9 57.4-57.4V57.4C512 25.9 486.1 0 454.6 0zm-58.9 324.9c0 4.8-4.1 6.9-8.9 8.9-19.2 8.1-39.7 15.7-61.5 15.7-40.5 0-68.7-44.8-163.2 2.5v51.8c0 30.3-45.7 30.2-45.7 0v-250c-9-7-15-17.9-15-30.3 0-21 17.1-38.2 38.2-38.2 21 0 38.2 17.1 38.2 38.2 0 12.2-5.8 23.2-14.9 30.2v21c37.1-12 65.5-34.4 146.1-3.4 26.6 11.4 68.7-15.7 76.5-15.7 5.5 0 10.3 4.1 10.3 8.9v160.4zm432.9-174.2h-137v70.1H825c39.8 0 40.4 62.2 0 62.2H691.6v105.6c0 45.5-70.7 46.4-70.7 0V128.3c0-22 18-39.8 39.8-39.8h167.8c39.6 0 40.5 62.2.1 62.2zm191.1 23.4c-169.3 0-169.1 252.4 0 252.4 169.9 0 169.9-252.4 0-252.4zm0 196.1c-81.6 0-82.1-139.8 0-139.8 82.5 0 82.4 139.8 0 139.8zm372.4 53.4c-17.5 0-31.4-13.9-31.4-31.4v-117c0-62.4-72.6-52.5-99.1-16.4v133.4c0 41.5-63.3 41.8-63.3 0V208c0-40 63.1-41.6 63.1 0v3.4c43.3-51.6 162.4-60.4 162.4 39.3v141.5c.3 30.4-31.5 31.4-31.7 31.4zm179.7 2.9c-44.3 0-68.3-22.9-68.3-65.8V235.2H1488c-35.6 0-36.7-55.3 0-55.3h15.5v-37.3c0-41.3 63.8-42.1 63.8 0v37.5h24.9c35.4 0 35.7 55.3 0 55.3h-24.9v108.5c0 29.6 26.1 26.3 27.4 26.3 31.4 0 52.6 56.3-22.9 56.3zM1992 123c-19.5-50.2-95.5-50-114.5 0-107.3 275.7-99.5 252.7-99.5 262.8 0 42.8 58.3 51.2 72.1 14.4l13.5-35.9H2006l13 35.9c14.2 37.7 72.1 27.2 72.1-14.4 0-10.1 5.3 6.8-99.1-262.8zm-108.9 179.1l51.7-142.9 51.8 142.9h-103.5zm591.3-85.6l-53.7 176.3c-12.4 41.2-72 41-84 0l-42.3-135.9-42.3 135.9c-12.4 40.9-72 41.2-84.5 0l-54.2-176.3c-12.5-39.4 49.8-56.1 60.2-16.9L2213 342l45.3-139.5c10.9-32.7 59.6-34.7 71.2 0l45.3 139.5 39.3-142.4c10.3-38.3 72.6-23.8 60.3 16.9zm275.4 75.1c0-42.4-33.9-117.5-119.5-117.5-73.2 0-124.4 56.3-124.4 126 0 77.2 55.3 126.4 128.5 126.4 31.7 0 93-11.5 93-39.8 0-18.3-21.1-31.5-39.3-22.4-49.4 26.2-109 8.4-115.9-43.8h148.3c16.3 0 29.3-13.4 29.3-28.9zM2571 277.7c9.5-73.4 113.9-68.6 118.6 0H2571zm316.7 148.8c-31.4 0-81.6-10.5-96.6-31.9-12.4-17 2.5-39.8 21.8-39.8 16.3 0 36.8 22.9 77.7 22.9 27.4 0 40.4-11 40.4-25.8 0-39.8-142.9-7.4-142.9-102 0-40.4 35.3-75.7 98.6-75.7 31.4 0 74.1 9.9 87.6 29.4 10.8 14.8-1.4 36.2-20.9 36.2-15.1 0-26.7-17.3-66.2-17.3-22.9 0-37.8 10.5-37.8 23.8 0 35.9 142.4 6 142.4 103.1-.1 43.7-37.4 77.1-104.1 77.1zm266.8-252.4c-169.3 0-169.1 252.4 0 252.4 170.1 0 169.6-252.4 0-252.4zm0 196.1c-81.8 0-82-139.8 0-139.8 82.5 0 82.4 139.8 0 139.8zm476.9 22V268.7c0-53.8-61.4-45.8-85.7-10.5v134c0 41.3-63.8 42.1-63.8 0V268.7c0-52.1-59.5-47.4-85.7-10.1v133.6c0 41.5-63.3 41.8-63.3 0V208c0-40 63.1-41.6 63.1 0v3.4c9.9-14.4 41.8-37.3 78.6-37.3 35.3 0 57.7 16.4 66.7 43.8 13.9-21.8 45.8-43.8 82.6-43.8 44.3 0 70.7 23.4 70.7 72.7v145.3c.5 17.3-13.5 31.4-31.9 31.4 3.5.1-31.3 1.1-31.3-31.3zM3992 291.6c0-42.4-32.4-117.5-117.9-117.5-73.2 0-127.5 56.3-127.5 126 0 77.2 58.3 126.4 131.6 126.4 31.7 0 91.5-11.5 91.5-39.8 0-18.3-21.1-31.5-39.3-22.4-49.4 26.2-110.5 8.4-117.5-43.8h149.8c16.3 0 29.1-13.4 29.3-28.9zm-180.5-13.9c9.7-74.4 115.9-68.3 120.1 0h-120.1z"],
|
||||||
|
"frown": [496, 512, [], "f119", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-80 128c-40.2 0-78 17.7-103.8 48.6-8.5 10.2-7.1 25.3 3.1 33.8 10.2 8.4 25.3 7.1 33.8-3.1 16.6-19.9 41-31.4 66.9-31.4s50.3 11.4 66.9 31.4c8.1 9.7 23.1 11.9 33.8 3.1 10.2-8.5 11.5-23.6 3.1-33.8C326 321.7 288.2 304 248 304z"],
|
||||||
|
"frown-open": [496, 512, [], "f57a", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-48-248c0-17.7-14.3-32-32-32s-32 14.3-32 32 14.3 32 32 32 32-14.3 32-32zm128-32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-80 112c-35.6 0-88.8 21.3-95.8 61.2-2 11.8 9 21.5 20.5 18.1 31.2-9.6 59.4-15.3 75.3-15.3s44.1 5.7 75.3 15.3c11.4 3.5 22.5-6.3 20.5-18.1-7-39.9-60.2-61.2-95.8-61.2z"],
|
||||||
|
"futbol": [496, 512, [], "f1e3", "M483.8 179.4C449.8 74.6 352.6 8 248.1 8c-25.4 0-51.2 3.9-76.7 12.2C41.2 62.5-30.1 202.4 12.2 332.6 46.2 437.4 143.4 504 247.9 504c25.4 0 51.2-3.9 76.7-12.2 130.2-42.3 201.5-182.2 159.2-312.4zm-74.5 193.7l-52.2 6.4-43.7-60.9 24.4-75.2 71.1-22.1 38.9 36.4c-.2 30.7-7.4 61.1-21.7 89.2-4.7 9.3-10.7 17.8-16.8 26.2zm0-235.4l-10.4 53.1-70.7 22-64.2-46.5V92.5l47.4-26.2c39.2 13 73.4 38 97.9 71.4zM184.9 66.4L232 92.5v73.8l-64.2 46.5-70.6-22-10.1-52.5c24.3-33.4 57.9-58.6 97.8-71.9zM139 379.5L85.9 373c-14.4-20.1-37.3-59.6-37.8-115.3l39-36.4 71.1 22.2 24.3 74.3-43.5 61.7zm48.2 67l-22.4-48.1 43.6-61.7H287l44.3 61.7-22.4 48.1c-6.2 1.8-57.6 20.4-121.7 0z"],
|
||||||
|
"gem": [576, 512, [], "f3a5", "M464 0H112c-4 0-7.8 2-10 5.4L2 152.6c-2.9 4.4-2.6 10.2.7 14.2l276 340.8c4.8 5.9 13.8 5.9 18.6 0l276-340.8c3.3-4.1 3.6-9.8.7-14.2L474.1 5.4C471.8 2 468.1 0 464 0zm-19.3 48l63.3 96h-68.4l-51.7-96h56.8zm-202.1 0h90.7l51.7 96H191l51.6-96zm-111.3 0h56.8l-51.7 96H68l63.3-96zm-43 144h51.4L208 352 88.3 192zm102.9 0h193.6L288 435.3 191.2 192zM368 352l68.2-160h51.4L368 352z"],
|
||||||
|
"grimace": [496, 512, [], "f57f", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm16 16H152c-26.5 0-48 21.5-48 48v32c0 26.5 21.5 48 48 48h192c26.5 0 48-21.5 48-48v-32c0-26.5-21.5-48-48-48zm-168 96h-24c-8.8 0-16-7.2-16-16v-8h40v24zm0-40h-40v-8c0-8.8 7.2-16 16-16h24v24zm64 40h-48v-24h48v24zm0-40h-48v-24h48v24zm64 40h-48v-24h48v24zm0-40h-48v-24h48v24zm56 24c0 8.8-7.2 16-16 16h-24v-24h40v8zm0-24h-40v-24h24c8.8 0 16 7.2 16 16v8z"],
|
||||||
|
"grin": [496, 512, [], "f580", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.4-17.7 15.3 7.9 47.1 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zM168 240c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"],
|
||||||
|
"grin-alt": [496, 512, [], "f581", "M200.3 248c12.4-18.7 15.1-37.3 15.7-56-.5-18.7-3.3-37.3-15.7-56-8-12-25.1-11.4-32.7 0-12.4 18.7-15.1 37.3-15.7 56 .5 18.7 3.3 37.3 15.7 56 8.1 12 25.2 11.4 32.7 0zm128 0c12.4-18.7 15.1-37.3 15.7-56-.5-18.7-3.3-37.3-15.7-56-8-12-25.1-11.4-32.7 0-12.4 18.7-15.1 37.3-15.7 56 .5 18.7 3.3 37.3 15.7 56 8.1 12 25.2 11.4 32.7 0zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.3-17.7 15.3 7.9 47.2 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3z"],
|
||||||
|
"grin-beam": [496, 512, [], "f582", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 7.9 47.1 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zm-235.9-72.9c3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3zm160 0c3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3z"],
|
||||||
|
"grin-beam-sweat": [496, 512, [], "f583", "M440 160c29.5 0 53.3-26.3 53.3-58.7 0-25-31.7-75.5-46.2-97.3-3.6-5.3-10.7-5.3-14.2 0-14.5 21.8-46.2 72.3-46.2 97.3 0 32.4 23.8 58.7 53.3 58.7zM248 400c51.9 0 115.3-32.9 123.3-80 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 8 47.1 71.4 80 123.3 80zm130.3-168.3c3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.6 6.2 4.6 9.3 3.7zm105.3-52.9c-24.6 15.7-46 12.9-46.4 12.9 6.9 20.2 10.8 41.8 10.8 64.3 0 110.3-89.7 200-200 200S48 366.3 48 256 137.7 56 248 56c39.8 0 76.8 11.8 108 31.9 1.7-9.5 6.3-24.1 17.2-45.7C336.4 20.6 293.7 8 248 8 111 8 0 119 0 256s111 248 248 248 248-111 248-248c0-27-4.4-52.9-12.4-77.2zM168 189.4c12.3 0 23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.8 19.2-21.6 31.5-21.6z"],
|
||||||
|
"grin-hearts": [496, 512, [], "f584", "M353.6 304.6c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 7.9 47.2 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zm-152.8-48.9c4.5 1.2 9.2-1.5 10.5-6l19.4-69.9c5.6-20.3-7.4-41.1-28.8-44.5-18.6-3-36.4 9.8-41.5 27.9l-2 7.1-7.1-1.9c-18.2-4.7-38.2 4.3-44.9 22-7.7 20.2 3.8 41.9 24.2 47.2l70.2 18.1zm188.8-65.3c-6.7-17.6-26.7-26.7-44.9-22l-7.1 1.9-2-7.1c-5-18.1-22.8-30.9-41.5-27.9-21.4 3.4-34.4 24.2-28.8 44.5l19.4 69.9c1.2 4.5 5.9 7.2 10.5 6l70.2-18.2c20.4-5.3 31.9-26.9 24.2-47.1zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200z"],
|
||||||
|
"grin-squint": [496, 512, [], "f585", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.4-17.7 15.3 7.9 47.1 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zm-234.7-40.8c3.6 4.2 9.9 5.7 15.3 2.5l80-48c3.6-2.2 5.8-6.1 5.8-10.3s-2.2-8.1-5.8-10.3l-80-48c-5.1-3-11.4-1.9-15.3 2.5-3.8 4.5-3.8 11-.1 15.5l33.6 40.3-33.6 40.3c-3.8 4.5-3.7 11.1.1 15.5zm242.9 2.5c5.4 3.2 11.7 1.7 15.3-2.5 3.8-4.5 3.8-11 .1-15.5L343.6 208l33.6-40.3c3.8-4.5 3.7-11-.1-15.5-3.8-4.4-10.2-5.4-15.3-2.5l-80 48c-3.6 2.2-5.8 6.1-5.8 10.3s2.2 8.1 5.8 10.3l80 48z"],
|
||||||
|
"grin-squint-tears": [512, 512, [], "f586", "M117.1 384.1c-25.8 3.7-84 13.7-100.9 30.6-21.9 21.9-21.5 57.9.9 80.3s58.3 22.8 80.3.9C114.3 479 124.3 420.8 128 395c.8-6.4-4.6-11.8-10.9-10.9zm-41.2-41.7C40.3 268 53 176.1 114.6 114.6 152.4 76.8 202.6 56 256 56c36.2 0 70.8 9.8 101.2 27.7 3.8-20.3 8-36.1 12-48.3C333.8 17.2 294.9 8 256 8 192.5 8 129.1 32.2 80.6 80.6c-74.1 74.1-91.3 183.4-52 274 12.2-4.1 27.7-8.3 47.3-12.2zm352.3-187.6c45 76.6 34.9 176.9-30.8 242.6-37.8 37.8-88 58.6-141.4 58.6-30.5 0-59.8-7-86.4-19.8-3.9 19.5-8 35-12.2 47.2 31.4 13.6 65 20.6 98.7 20.6 63.5 0 126.9-24.2 175.4-72.6 78.1-78.1 93.1-195.4 45.2-288.6-12.3 4-28.2 8.1-48.5 12zm-33.3-26.9c25.8-3.7 84-13.7 100.9-30.6 21.9-21.9 21.5-57.9-.9-80.3s-58.3-22.8-80.3-.9C397.7 33 387.7 91.2 384 117c-.8 6.4 4.6 11.8 10.9 10.9zm-187 108.3c-3-3-7.2-4.2-11.4-3.2L106 255.7c-5.7 1.4-9.5 6.7-9.1 12.6.5 5.8 5.1 10.5 10.9 11l52.3 4.8 4.8 52.3c.5 5.8 5.2 10.4 11 10.9h.9c5.5 0 10.3-3.7 11.7-9.1l22.6-90.5c1-4.2-.2-8.5-3.2-11.5zm39.7-25.1l90.5-22.6c5.7-1.4 9.5-6.7 9.1-12.6-.5-5.8-5.1-10.5-10.9-11l-52.3-4.8-4.8-52.3c-.5-5.8-5.2-10.4-11-10.9-5.6-.1-11.2 3.4-12.6 9.1L233 196.5c-1 4.1.2 8.4 3.2 11.4 5 5 11.3 3.2 11.4 3.2zm52 88.5c-29.1 29.1-59.7 52.9-83.9 65.4-9.2 4.8-10 17.5-1.7 23.4 38.9 27.7 107 6.2 143.7-30.6S416 253 388.3 214.1c-5.8-8.2-18.5-7.6-23.4 1.7-12.3 24.2-36.2 54.7-65.3 83.8z"],
|
||||||
|
"grin-stars": [496, 512, [], "f587", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 7.9 47.2 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zm-227.9-57.5c-1 6.2 5.4 11 11 7.9l31.3-16.3 31.3 16.3c5.6 3.1 12-1.7 11-7.9l-6-34.9 25.4-24.6c4.5-4.5 1.9-12.2-4.3-13.2l-34.9-5-15.5-31.6c-2.9-5.8-11-5.8-13.9 0l-15.5 31.6-34.9 5c-6.2.9-8.9 8.6-4.3 13.2l25.4 24.6-6.1 34.9zm259.7-72.7l-34.9-5-15.5-31.6c-2.9-5.8-11-5.8-13.9 0l-15.5 31.6-34.9 5c-6.2.9-8.9 8.6-4.3 13.2l25.4 24.6-6 34.9c-1 6.2 5.4 11 11 7.9l31.3-16.3 31.3 16.3c5.6 3.1 12-1.7 11-7.9l-6-34.9 25.4-24.6c4.5-4.6 1.8-12.2-4.4-13.2z"],
|
||||||
|
"grin-tears": [640, 512, [], "f588", "M117.1 256.1c-25.8 3.7-84 13.7-100.9 30.6-21.9 21.9-21.5 57.9.9 80.3s58.3 22.8 80.3.9C114.3 351 124.3 292.8 128 267c.8-6.4-4.6-11.8-10.9-10.9zm506.7 30.6c-16.9-16.9-75.1-26.9-100.9-30.6-6.3-.9-11.7 4.5-10.8 10.8 3.7 25.8 13.7 84 30.6 100.9 21.9 21.9 57.9 21.5 80.3-.9 22.3-22.3 22.7-58.3.8-80.2zm-126.6 61.7C463.8 412.3 396.9 456 320 456c-76.9 0-143.8-43.7-177.2-107.6-12.5 37.4-25.2 43.9-28.3 46.5C159.1 460.7 234.5 504 320 504s160.9-43.3 205.5-109.1c-3.2-2.7-15.9-9.2-28.3-46.5zM122.7 224.5C137.9 129.2 220.5 56 320 56c99.5 0 182.1 73.2 197.3 168.5 2.1-.2 5.2-2.4 49.5 7C554.4 106 448.7 8 320 8S85.6 106 73.2 231.4c44.5-9.4 47.1-7.2 49.5-6.9zM320 400c51.9 0 115.3-32.9 123.3-80 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 8 47.1 71.4 80 123.3 80zm130.3-168.3c3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.6 6.2 4.6 9.3 3.7zM240 189.4c12.3 0 23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.8 19.2-21.6 31.5-21.6z"],
|
||||||
|
"grin-tongue": [496, 512, [], "f589", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm64 400c0 35.6-29.1 64.5-64.9 64-35.1-.5-63.1-29.8-63.1-65v-42.8l17.7-8.8c15-7.5 31.5 1.7 34.9 16.5l2.8 12.1c2.1 9.2 15.2 9.2 17.3 0l2.8-12.1c3.4-14.8 19.8-24.1 34.9-16.5l17.7 8.8V408zm28.2 25.3c2.2-8.1 3.8-16.5 3.8-25.3v-43.5c14.2-12.4 24.4-27.5 27.3-44.5 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.3-17.7 15.3 2.9 17 13.1 32.1 27.3 44.5V408c0 8.8 1.6 17.2 3.8 25.3C91.8 399.9 48 333 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 77-43.8 143.9-107.8 177.3zM168 176c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"],
|
||||||
|
"grin-tongue-squint": [496, 512, [], "f58a", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm64 400c0 35.6-29.1 64.5-64.9 64-35.1-.5-63.1-29.8-63.1-65v-42.8l17.7-8.8c15-7.5 31.5 1.7 34.9 16.5l2.8 12.1c2.1 9.2 15.2 9.2 17.3 0l2.8-12.1c3.4-14.8 19.8-24.1 34.9-16.5l17.7 8.8V408zm28.2 25.3c2.2-8.1 3.8-16.5 3.8-25.3v-43.5c14.2-12.4 24.4-27.5 27.3-44.5 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.3-17.7 15.3 2.9 17 13.1 32.1 27.3 44.5V408c0 8.8 1.6 17.2 3.8 25.3C91.8 399.9 48 333 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 77-43.8 143.9-107.8 177.3zm36.9-281.1c-3.8-4.4-10.3-5.5-15.3-2.5l-80 48c-3.6 2.2-5.8 6.1-5.8 10.3s2.2 8.1 5.8 10.3l80 48c5.4 3.2 11.7 1.7 15.3-2.5 3.8-4.5 3.8-11 .1-15.5L343.6 208l33.6-40.3c3.8-4.5 3.7-11.1-.1-15.5zm-162.9 45.5l-80-48c-5-3-11.4-2-15.3 2.5-3.8 4.5-3.8 11-.1 15.5l33.6 40.3-33.6 40.3c-3.8 4.5-3.7 11 .1 15.5 3.6 4.2 9.9 5.7 15.3 2.5l80-48c3.6-2.2 5.8-6.1 5.8-10.3s-2.2-8.1-5.8-10.3z"],
|
||||||
|
"grin-tongue-wink": [496, 512, [], "f58b", "M152 180c-25.7 0-55.9 16.9-59.8 42.1-.8 5 1.7 10 6.1 12.4 4.4 2.4 9.9 1.8 13.7-1.6l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c2.5 2.2 8 4.7 13.7 1.6 4.4-2.4 6.9-7.4 6.1-12.4-3.9-25.2-34.1-42.1-59.8-42.1zm176-52c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80zm0 128c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-72c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm64 400c0 35.6-29.1 64.5-64.9 64-35.1-.5-63.1-29.8-63.1-65v-42.8l17.7-8.8c15-7.5 31.5 1.7 34.9 16.5l2.8 12.1c2.1 9.2 15.2 9.2 17.3 0l2.8-12.1c3.4-14.8 19.8-24.1 34.9-16.5l17.7 8.8V408zm28.2 25.3c2.2-8.1 3.8-16.5 3.8-25.3v-43.5c14.2-12.4 24.4-27.5 27.3-44.5 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.3-17.7 15.3 2.9 17 13.1 32.1 27.3 44.5V408c0 8.8 1.6 17.2 3.8 25.3C91.8 399.9 48 333 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 77-43.8 143.9-107.8 177.3z"],
|
||||||
|
"grin-wink": [496, 512, [], "f58c", "M328 180c-25.69 0-55.88 16.92-59.86 42.12-1.75 11.22 11.5 18.24 19.83 10.84l9.55-8.48c14.81-13.19 46.16-13.19 60.97 0l9.55 8.48c8.48 7.43 21.56.25 19.83-10.84C383.88 196.92 353.69 180 328 180zm-160 60c17.67 0 32-14.33 32-32s-14.33-32-32-32-32 14.33-32 32 14.33 32 32 32zm185.55 64.64c-25.93 8.3-64.4 13.06-105.55 13.06s-79.62-4.75-105.55-13.06c-9.94-3.13-19.4 5.37-17.71 15.34C132.67 367.13 196.06 400 248 400s115.33-32.87 123.26-80.02c1.68-9.89-7.67-18.48-17.71-15.34zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 448c-110.28 0-200-89.72-200-200S137.72 56 248 56s200 89.72 200 200-89.72 200-200 200z"],
|
||||||
|
"hand-lizard": [576, 512, [], "f258", "M556.686 290.542L410.328 64.829C397.001 44.272 374.417 32 349.917 32H56C25.121 32 0 57.122 0 88v8c0 44.112 35.888 80 80 80h196.042l-18.333 48H144c-48.523 0-88 39.477-88 88 0 30.879 25.121 56 56 56h131.552c2.987 0 5.914.549 8.697 1.631L352 408.418V480h224V355.829c0-23.225-6.679-45.801-19.314-65.287zM528 432H400v-23.582c0-19.948-12.014-37.508-30.604-44.736l-99.751-38.788A71.733 71.733 0 0 0 243.552 320H112c-4.411 0-8-3.589-8-8 0-22.056 17.944-40 40-40h113.709c19.767 0 37.786-12.407 44.84-30.873l24.552-64.281c8.996-23.553-8.428-48.846-33.63-48.846H80c-17.645 0-32-14.355-32-32v-8c0-4.411 3.589-8 8-8h293.917c8.166 0 15.693 4.09 20.137 10.942l146.358 225.715A71.84 71.84 0 0 1 528 355.829V432z"],
|
||||||
|
"hand-paper": [448, 512, [], "f256", "M372.57 112.641v-10.825c0-43.612-40.52-76.691-83.039-65.546-25.629-49.5-94.09-47.45-117.982.747C130.269 26.456 89.144 57.945 89.144 102v126.13c-19.953-7.427-43.308-5.068-62.083 8.871-29.355 21.796-35.794 63.333-14.55 93.153L132.48 498.569a32 32 0 0 0 26.062 13.432h222.897c14.904 0 27.835-10.289 31.182-24.813l30.184-130.958A203.637 203.637 0 0 0 448 310.564V179c0-40.62-35.523-71.992-75.43-66.359zm27.427 197.922c0 11.731-1.334 23.469-3.965 34.886L368.707 464h-201.92L51.591 302.303c-14.439-20.27 15.023-42.776 29.394-22.605l27.128 38.079c8.995 12.626 29.031 6.287 29.031-9.283V102c0-25.645 36.571-24.81 36.571.691V256c0 8.837 7.163 16 16 16h6.856c8.837 0 16-7.163 16-16V67c0-25.663 36.571-24.81 36.571.691V256c0 8.837 7.163 16 16 16h6.856c8.837 0 16-7.163 16-16V101.125c0-25.672 36.57-24.81 36.57.691V256c0 8.837 7.163 16 16 16h6.857c8.837 0 16-7.163 16-16v-76.309c0-26.242 36.57-25.64 36.57-.691v131.563z"],
|
||||||
|
"hand-peace": [448, 512, [], "f25b", "M362.146 191.976c-13.71-21.649-38.761-34.016-65.006-30.341V74c0-40.804-32.811-74-73.141-74-40.33 0-73.14 33.196-73.14 74L160 168l-18.679-78.85C126.578 50.843 83.85 32.11 46.209 47.208 8.735 62.238-9.571 104.963 5.008 142.85l55.757 144.927c-30.557 24.956-43.994 57.809-24.733 92.218l54.853 97.999C102.625 498.97 124.73 512 148.575 512h205.702c30.744 0 57.558-21.44 64.555-51.797l27.427-118.999a67.801 67.801 0 0 0 1.729-15.203L448 256c0-44.956-43.263-77.343-85.854-64.024zM399.987 326c0 1.488-.169 2.977-.502 4.423l-27.427 119.001c-1.978 8.582-9.29 14.576-17.782 14.576H148.575c-6.486 0-12.542-3.621-15.805-9.449l-54.854-98c-4.557-8.141-2.619-18.668 4.508-24.488l26.647-21.764a16 16 0 0 0 4.812-18.139l-64.09-166.549C37.226 92.956 84.37 74.837 96.51 106.389l59.784 155.357A16 16 0 0 0 171.227 272h11.632c8.837 0 16-7.163 16-16V74c0-34.375 50.281-34.43 50.281 0v182c0 8.837 7.163 16 16 16h6.856c8.837 0 16-7.163 16-16v-28c0-25.122 36.567-25.159 36.567 0v28c0 8.837 7.163 16 16 16h6.856c8.837 0 16-7.163 16-16 0-25.12 36.567-25.16 36.567 0v70z"],
|
||||||
|
"hand-point-down": [448, 512, [], "f0a7", "M188.8 512c45.616 0 83.2-37.765 83.2-83.2v-35.647a93.148 93.148 0 0 0 22.064-7.929c22.006 2.507 44.978-3.503 62.791-15.985C409.342 368.1 448 331.841 448 269.299V248c0-60.063-40-98.512-40-127.2v-2.679c4.952-5.747 8-13.536 8-22.12V32c0-17.673-12.894-32-28.8-32H156.8C140.894 0 128 14.327 128 32v64c0 8.584 3.048 16.373 8 22.12v2.679c0 6.964-6.193 14.862-23.668 30.183l-.148.129-.146.131c-9.937 8.856-20.841 18.116-33.253 25.851C48.537 195.798 0 207.486 0 252.8c0 56.928 35.286 92 83.2 92 8.026 0 15.489-.814 22.4-2.176V428.8c0 45.099 38.101 83.2 83.2 83.2zm0-48c-18.7 0-35.2-16.775-35.2-35.2V270.4c-17.325 0-35.2 26.4-70.4 26.4-26.4 0-35.2-20.625-35.2-44 0-8.794 32.712-20.445 56.1-34.926 14.575-9.074 27.225-19.524 39.875-30.799 18.374-16.109 36.633-33.836 39.596-59.075h176.752C364.087 170.79 400 202.509 400 248v21.299c0 40.524-22.197 57.124-61.325 50.601-8.001 14.612-33.979 24.151-53.625 12.925-18.225 19.365-46.381 17.787-61.05 4.95V428.8c0 18.975-16.225 35.2-35.2 35.2zM328 64c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24z"],
|
||||||
|
"hand-point-left": [512, 512, [], "f0a5", "M0 220.8C0 266.416 37.765 304 83.2 304h35.647a93.148 93.148 0 0 0 7.929 22.064c-2.507 22.006 3.503 44.978 15.985 62.791C143.9 441.342 180.159 480 242.701 480H264c60.063 0 98.512-40 127.2-40h2.679c5.747 4.952 13.536 8 22.12 8h64c17.673 0 32-12.894 32-28.8V188.8c0-15.906-14.327-28.8-32-28.8h-64c-8.584 0-16.373 3.048-22.12 8H391.2c-6.964 0-14.862-6.193-30.183-23.668l-.129-.148-.131-.146c-8.856-9.937-18.116-20.841-25.851-33.253C316.202 80.537 304.514 32 259.2 32c-56.928 0-92 35.286-92 83.2 0 8.026.814 15.489 2.176 22.4H83.2C38.101 137.6 0 175.701 0 220.8zm48 0c0-18.7 16.775-35.2 35.2-35.2h158.4c0-17.325-26.4-35.2-26.4-70.4 0-26.4 20.625-35.2 44-35.2 8.794 0 20.445 32.712 34.926 56.1 9.074 14.575 19.524 27.225 30.799 39.875 16.109 18.374 33.836 36.633 59.075 39.596v176.752C341.21 396.087 309.491 432 264 432h-21.299c-40.524 0-57.124-22.197-50.601-61.325-14.612-8.001-24.151-33.979-12.925-53.625-19.365-18.225-17.787-46.381-4.95-61.05H83.2C64.225 256 48 239.775 48 220.8zM448 360c13.255 0 24 10.745 24 24s-10.745 24-24 24-24-10.745-24-24 10.745-24 24-24z"],
|
||||||
|
"hand-point-right": [512, 512, [], "f0a4", "M428.8 137.6h-86.177a115.52 115.52 0 0 0 2.176-22.4c0-47.914-35.072-83.2-92-83.2-45.314 0-57.002 48.537-75.707 78.784-7.735 12.413-16.994 23.317-25.851 33.253l-.131.146-.129.148C135.662 161.807 127.764 168 120.8 168h-2.679c-5.747-4.952-13.536-8-22.12-8H32c-17.673 0-32 12.894-32 28.8v230.4C0 435.106 14.327 448 32 448h64c8.584 0 16.373-3.048 22.12-8h2.679c28.688 0 67.137 40 127.2 40h21.299c62.542 0 98.8-38.658 99.94-91.145 12.482-17.813 18.491-40.785 15.985-62.791A93.148 93.148 0 0 0 393.152 304H428.8c45.435 0 83.2-37.584 83.2-83.2 0-45.099-38.101-83.2-83.2-83.2zm0 118.4h-91.026c12.837 14.669 14.415 42.825-4.95 61.05 11.227 19.646 1.687 45.624-12.925 53.625 6.524 39.128-10.076 61.325-50.6 61.325H248c-45.491 0-77.21-35.913-120-39.676V215.571c25.239-2.964 42.966-21.222 59.075-39.596 11.275-12.65 21.725-25.3 30.799-39.875C232.355 112.712 244.006 80 252.8 80c23.375 0 44 8.8 44 35.2 0 35.2-26.4 53.075-26.4 70.4h158.4c18.425 0 35.2 16.5 35.2 35.2 0 18.975-16.225 35.2-35.2 35.2zM88 384c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z"],
|
||||||
|
"hand-point-up": [448, 512, [], "f0a6", "M105.6 83.2v86.177a115.52 115.52 0 0 0-22.4-2.176c-47.914 0-83.2 35.072-83.2 92 0 45.314 48.537 57.002 78.784 75.707 12.413 7.735 23.317 16.994 33.253 25.851l.146.131.148.129C129.807 376.338 136 384.236 136 391.2v2.679c-4.952 5.747-8 13.536-8 22.12v64c0 17.673 12.894 32 28.8 32h230.4c15.906 0 28.8-14.327 28.8-32v-64c0-8.584-3.048-16.373-8-22.12V391.2c0-28.688 40-67.137 40-127.2v-21.299c0-62.542-38.658-98.8-91.145-99.94-17.813-12.482-40.785-18.491-62.791-15.985A93.148 93.148 0 0 0 272 118.847V83.2C272 37.765 234.416 0 188.8 0c-45.099 0-83.2 38.101-83.2 83.2zm118.4 0v91.026c14.669-12.837 42.825-14.415 61.05 4.95 19.646-11.227 45.624-1.687 53.625 12.925 39.128-6.524 61.325 10.076 61.325 50.6V264c0 45.491-35.913 77.21-39.676 120H183.571c-2.964-25.239-21.222-42.966-39.596-59.075-12.65-11.275-25.3-21.725-39.875-30.799C80.712 279.645 48 267.994 48 259.2c0-23.375 8.8-44 35.2-44 35.2 0 53.075 26.4 70.4 26.4V83.2c0-18.425 16.5-35.2 35.2-35.2 18.975 0 35.2 16.225 35.2 35.2zM352 424c13.255 0 24 10.745 24 24s-10.745 24-24 24-24-10.745-24-24 10.745-24 24-24z"],
|
||||||
|
"hand-pointer": [448, 512, [], "f25a", "M358.182 179.361c-19.493-24.768-52.679-31.945-79.872-19.098-15.127-15.687-36.182-22.487-56.595-19.629V67c0-36.944-29.736-67-66.286-67S89.143 30.056 89.143 67v161.129c-19.909-7.41-43.272-5.094-62.083 8.872-29.355 21.795-35.793 63.333-14.55 93.152l109.699 154.001C134.632 501.59 154.741 512 176 512h178.286c30.802 0 57.574-21.5 64.557-51.797l27.429-118.999A67.873 67.873 0 0 0 448 326v-84c0-46.844-46.625-79.273-89.818-62.639zM80.985 279.697l27.126 38.079c8.995 12.626 29.031 6.287 29.031-9.283V67c0-25.12 36.571-25.16 36.571 0v175c0 8.836 7.163 16 16 16h6.857c8.837 0 16-7.164 16-16v-35c0-25.12 36.571-25.16 36.571 0v35c0 8.836 7.163 16 16 16H272c8.837 0 16-7.164 16-16v-21c0-25.12 36.571-25.16 36.571 0v21c0 8.836 7.163 16 16 16h6.857c8.837 0 16-7.164 16-16 0-25.121 36.571-25.16 36.571 0v84c0 1.488-.169 2.977-.502 4.423l-27.43 119.001c-1.978 8.582-9.29 14.576-17.782 14.576H176c-5.769 0-11.263-2.878-14.697-7.697l-109.712-154c-14.406-20.223 14.994-42.818 29.394-22.606zM176.143 400v-96c0-8.837 6.268-16 14-16h6c7.732 0 14 7.163 14 16v96c0 8.837-6.268 16-14 16h-6c-7.733 0-14-7.163-14-16zm75.428 0v-96c0-8.837 6.268-16 14-16h6c7.732 0 14 7.163 14 16v96c0 8.837-6.268 16-14 16h-6c-7.732 0-14-7.163-14-16zM327 400v-96c0-8.837 6.268-16 14-16h6c7.732 0 14 7.163 14 16v96c0 8.837-6.268 16-14 16h-6c-7.732 0-14-7.163-14-16z"],
|
||||||
|
"hand-rock": [512, 512, [], "f255", "M408.864 79.052c-22.401-33.898-66.108-42.273-98.813-23.588-29.474-31.469-79.145-31.093-108.334-.022-47.16-27.02-108.71 5.055-110.671 60.806C44.846 105.407 0 140.001 0 187.429v56.953c0 32.741 14.28 63.954 39.18 85.634l97.71 85.081c4.252 3.702 3.11 5.573 3.11 32.903 0 17.673 14.327 32 32 32h252c17.673 0 32-14.327 32-32 0-23.513-1.015-30.745 3.982-42.37l42.835-99.656c6.094-14.177 9.183-29.172 9.183-44.568V146.963c0-52.839-54.314-88.662-103.136-67.911zM464 261.406a64.505 64.505 0 0 1-5.282 25.613l-42.835 99.655c-5.23 12.171-7.883 25.04-7.883 38.25V432H188v-10.286c0-16.37-7.14-31.977-19.59-42.817l-97.71-85.08C56.274 281.255 48 263.236 48 244.381v-56.953c0-33.208 52-33.537 52 .677v41.228a16 16 0 0 0 5.493 12.067l7 6.095A16 16 0 0 0 139 235.429V118.857c0-33.097 52-33.725 52 .677v26.751c0 8.836 7.164 16 16 16h7c8.836 0 16-7.164 16-16v-41.143c0-33.134 52-33.675 52 .677v40.466c0 8.836 7.163 16 16 16h7c8.837 0 16-7.164 16-16v-27.429c0-33.03 52-33.78 52 .677v26.751c0 8.836 7.163 16 16 16h7c8.837 0 16-7.164 16-16 0-33.146 52-33.613 52 .677v114.445z"],
|
||||||
|
"hand-scissors": [512, 512, [], "f257", "M256 480l70-.013c5.114 0 10.231-.583 15.203-1.729l118.999-27.427C490.56 443.835 512 417.02 512 386.277V180.575c0-23.845-13.03-45.951-34.005-57.69l-97.999-54.853c-34.409-19.261-67.263-5.824-92.218 24.733L142.85 37.008c-37.887-14.579-80.612 3.727-95.642 41.201-15.098 37.642 3.635 80.37 41.942 95.112L168 192l-94-9.141c-40.804 0-74 32.811-74 73.14 0 40.33 33.196 73.141 74 73.141h87.635c-3.675 26.245 8.692 51.297 30.341 65.006C178.657 436.737 211.044 480 256 480zm0-48.013c-25.16 0-25.12-36.567 0-36.567 8.837 0 16-7.163 16-16v-6.856c0-8.837-7.163-16-16-16h-28c-25.159 0-25.122-36.567 0-36.567h28c8.837 0 16-7.163 16-16v-6.856c0-8.837-7.163-16-16-16H74c-34.43 0-34.375-50.281 0-50.281h182c8.837 0 16-7.163 16-16v-11.632a16 16 0 0 0-10.254-14.933L106.389 128.51c-31.552-12.14-13.432-59.283 19.222-46.717l166.549 64.091a16.001 16.001 0 0 0 18.139-4.812l21.764-26.647c5.82-7.127 16.348-9.064 24.488-4.508l98 54.854c5.828 3.263 9.449 9.318 9.449 15.805v205.701c0 8.491-5.994 15.804-14.576 17.782l-119.001 27.427a19.743 19.743 0 0 1-4.423.502h-70z"],
|
||||||
|
"hand-spock": [512, 512, [], "f259", "M21.096 381.79l129.092 121.513a32 32 0 0 0 21.932 8.698h237.6c14.17 0 26.653-9.319 30.68-22.904l31.815-107.313A115.955 115.955 0 0 0 477 348.811v-36.839c0-4.051.476-8.104 1.414-12.045l31.73-133.41c10.099-42.412-22.316-82.738-65.544-82.525-4.144-24.856-22.543-47.165-49.85-53.992-35.803-8.952-72.227 12.655-81.25 48.75L296.599 184 274.924 52.01c-8.286-36.07-44.303-58.572-80.304-50.296-29.616 6.804-50.138 32.389-51.882 61.295-42.637.831-73.455 40.563-64.071 81.844l31.04 136.508c-27.194-22.515-67.284-19.992-91.482 5.722-25.376 26.961-24.098 69.325 2.871 94.707zm32.068-61.811l.002-.001c7.219-7.672 19.241-7.98 26.856-.813l53.012 49.894C143.225 378.649 160 371.4 160 357.406v-69.479c0-1.193-.134-2.383-.397-3.546l-34.13-150.172c-5.596-24.617 31.502-32.86 37.054-8.421l30.399 133.757a16 16 0 0 0 15.603 12.454h8.604c10.276 0 17.894-9.567 15.594-19.583l-41.62-181.153c-5.623-24.469 31.39-33.076 37.035-8.508l45.22 196.828A16 16 0 0 0 288.956 272h13.217a16 16 0 0 0 15.522-12.119l42.372-169.49c6.104-24.422 42.962-15.159 36.865 9.217L358.805 252.12c-2.521 10.088 5.115 19.88 15.522 19.88h9.694a16 16 0 0 0 15.565-12.295L426.509 146.6c5.821-24.448 42.797-15.687 36.966 8.802L431.72 288.81a100.094 100.094 0 0 0-2.72 23.162v36.839c0 6.548-.943 13.051-2.805 19.328L397.775 464h-219.31L53.978 346.836c-7.629-7.18-7.994-19.229-.814-26.857z"],
|
||||||
|
"handshake": [640, 512, [], "f2b5", "M519.2 127.9l-47.6-47.6A56.252 56.252 0 0 0 432 64H205.2c-14.8 0-29.1 5.9-39.6 16.3L118 127.9H0v255.7h64c17.6 0 31.8-14.2 31.9-31.7h9.1l84.6 76.4c30.9 25.1 73.8 25.7 105.6 3.8 12.5 10.8 26 15.9 41.1 15.9 18.2 0 35.3-7.4 48.8-24 22.1 8.7 48.2 2.6 64-16.8l26.2-32.3c5.6-6.9 9.1-14.8 10.9-23h57.9c.1 17.5 14.4 31.7 31.9 31.7h64V127.9H519.2zM48 351.6c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16c0 8.9-7.2 16-16 16zm390-6.9l-26.1 32.2c-2.8 3.4-7.8 4-11.3 1.2l-23.9-19.4-30 36.5c-6 7.3-15 4.8-18 2.4l-36.8-31.5-15.6 19.2c-13.9 17.1-39.2 19.7-55.3 6.6l-97.3-88H96V175.8h41.9l61.7-61.6c2-.8 3.7-1.5 5.7-2.3H262l-38.7 35.5c-29.4 26.9-31.1 72.3-4.4 101.3 14.8 16.2 61.2 41.2 101.5 4.4l8.2-7.5 108.2 87.8c3.4 2.8 3.9 7.9 1.2 11.3zm106-40.8h-69.2c-2.3-2.8-4.9-5.4-7.7-7.7l-102.7-83.4 12.5-11.4c6.5-6 7-16.1 1-22.6L367 167.1c-6-6.5-16.1-6.9-22.6-1l-55.2 50.6c-9.5 8.7-25.7 9.4-34.6 0-9.3-9.9-8.5-25.1 1.2-33.9l65.6-60.1c7.4-6.8 17-10.5 27-10.5l83.7-.2c2.1 0 4.1.8 5.5 2.3l61.7 61.6H544v128zm48 47.7c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16c0 8.9-7.2 16-16 16z"],
|
||||||
|
"hdd": [576, 512, [], "f0a0", "M567.403 235.642L462.323 84.589A48 48 0 0 0 422.919 64H153.081a48 48 0 0 0-39.404 20.589L8.597 235.642A48.001 48.001 0 0 0 0 263.054V400c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V263.054c0-9.801-3-19.366-8.597-27.412zM153.081 112h269.838l77.913 112H75.168l77.913-112zM528 400H48V272h480v128zm-32-64c0 17.673-14.327 32-32 32s-32-14.327-32-32 14.327-32 32-32 32 14.327 32 32zm-96 0c0 17.673-14.327 32-32 32s-32-14.327-32-32 14.327-32 32-32 32 14.327 32 32z"],
|
||||||
|
"heart": [512, 512, [], "f004", "M458.4 64.3C400.6 15.7 311.3 23 256 79.3 200.7 23 111.4 15.6 53.6 64.3-21.6 127.6-10.6 230.8 43 285.5l175.4 178.7c10 10.2 23.4 15.9 37.6 15.9 14.3 0 27.6-5.6 37.6-15.8L469 285.6c53.5-54.7 64.7-157.9-10.6-221.3zm-23.6 187.5L259.4 430.5c-2.4 2.4-4.4 2.4-6.8 0L77.2 251.8c-36.5-37.2-43.9-107.6 7.3-150.7 38.9-32.7 98.9-27.8 136.5 10.5l35 35.7 35-35.7c37.8-38.5 97.8-43.2 136.5-10.6 51.1 43.1 43.5 113.9 7.3 150.8z"],
|
||||||
|
"hospital": [448, 512, [], "f0f8", "M128 244v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12zm140 12h40c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12zm-76 84v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm76 12h40c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12zm180 124v36H0v-36c0-6.627 5.373-12 12-12h19.5V85.035C31.5 73.418 42.245 64 55.5 64H144V24c0-13.255 10.745-24 24-24h112c13.255 0 24 10.745 24 24v40h88.5c13.255 0 24 9.418 24 21.035V464H436c6.627 0 12 5.373 12 12zM79.5 463H192v-67c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v67h112.5V112H304v24c0 13.255-10.745 24-24 24H168c-13.255 0-24-10.745-24-24v-24H79.5v351zM266 64h-26V38a6 6 0 0 0-6-6h-20a6 6 0 0 0-6 6v26h-26a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6h26v26a6 6 0 0 0 6 6h20a6 6 0 0 0 6-6V96h26a6 6 0 0 0 6-6V70a6 6 0 0 0-6-6z"],
|
||||||
|
"hourglass": [384, 512, [], "f254", "M368 48h4c6.627 0 12-5.373 12-12V12c0-6.627-5.373-12-12-12H12C5.373 0 0 5.373 0 12v24c0 6.627 5.373 12 12 12h4c0 80.564 32.188 165.807 97.18 208C47.899 298.381 16 383.9 16 464h-4c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h360c6.627 0 12-5.373 12-12v-24c0-6.627-5.373-12-12-12h-4c0-80.564-32.188-165.807-97.18-208C336.102 213.619 368 128.1 368 48zM64 48h256c0 101.62-57.307 184-128 184S64 149.621 64 48zm256 416H64c0-101.62 57.308-184 128-184s128 82.38 128 184z"],
|
||||||
|
"id-badge": [384, 512, [], "f2c1", "M336 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm0 464H48V48h288v416zM144 112h96c8.8 0 16-7.2 16-16s-7.2-16-16-16h-96c-8.8 0-16 7.2-16 16s7.2 16 16 16zm48 176c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z"],
|
||||||
|
"id-card": [576, 512, [], "f2c2", "M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H303.2c.9-4.5.8 3.6.8-22.4 0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6 0 26-.2 17.9.8 22.4H48V144h480v288zm-168-80h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm-168 96c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64z"],
|
||||||
|
"image": [512, 512, [], "f03e", "M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 336H54a6 6 0 0 1-6-6V118a6 6 0 0 1 6-6h404a6 6 0 0 1 6 6v276a6 6 0 0 1-6 6zM128 152c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40zM96 352h320v-80l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L192 304l-39.515-39.515c-4.686-4.686-12.284-4.686-16.971 0L96 304v48z"],
|
||||||
|
"images": [576, 512, [], "f302", "M480 416v16c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V176c0-26.51 21.49-48 48-48h16v48H54a6 6 0 0 0-6 6v244a6 6 0 0 0 6 6h372a6 6 0 0 0 6-6v-10h48zm42-336H150a6 6 0 0 0-6 6v244a6 6 0 0 0 6 6h372a6 6 0 0 0 6-6V86a6 6 0 0 0-6-6zm6-48c26.51 0 48 21.49 48 48v256c0 26.51-21.49 48-48 48H144c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h384zM264 144c0 22.091-17.909 40-40 40s-40-17.909-40-40 17.909-40 40-40 40 17.909 40 40zm-72 96l39.515-39.515c4.686-4.686 12.284-4.686 16.971 0L288 240l103.515-103.515c4.686-4.686 12.284-4.686 16.971 0L480 208v80H192v-48z"],
|
||||||
|
"keyboard": [576, 512, [], "f11c", "M528 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm8 336c0 4.411-3.589 8-8 8H48c-4.411 0-8-3.589-8-8V112c0-4.411 3.589-8 8-8h480c4.411 0 8 3.589 8 8v288zM170 270v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm-336 82v-28c0-6.627-5.373-12-12-12H82c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm384 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zM122 188v-28c0-6.627-5.373-12-12-12H82c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm-98 158v-16c0-6.627-5.373-12-12-12H180c-6.627 0-12 5.373-12 12v16c0 6.627 5.373 12 12 12h216c6.627 0 12-5.373 12-12z"],
|
||||||
|
"kiss": [496, 512, [], "f596", "M168 176c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm136 132c0-19.2-28.8-41.5-71.5-44-3.8-.4-7.4 2.4-8.2 6.2-.9 3.8 1.1 7.7 4.7 9.2l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-5.7 2.4-6 12.2 0 14.8l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-3.6 1.5-5.6 5.4-4.7 9.2.8 3.6 4.1 6.2 7.8 6.2h.5c42.8-2.5 71.5-24.8 71.5-44 0-13-13.4-27.3-35.2-36C290.6 335.3 304 321 304 308zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm80-280c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"],
|
||||||
|
"kiss-beam": [496, 512, [], "f597", "M168 152c-23.8 0-52.7 29.3-56 71.4-.3 3.7 2 7.2 5.6 8.3 3.5 1 7.5-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 5.9-4.5 5.6-8.3-3.1-42.1-32-71.4-55.8-71.4zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm56-148c0-19.2-28.8-41.5-71.5-44-3.8-.4-7.4 2.4-8.2 6.2-.9 3.8 1.1 7.7 4.7 9.2l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-5.7 2.4-6 12.2 0 14.8l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-3.6 1.5-5.6 5.4-4.7 9.2.8 3.6 4.1 6.2 7.8 6.2h.5c42.8-2.5 71.5-24.8 71.5-44 0-13-13.4-27.3-35.2-36C290.6 335.3 304 321 304 308zm24-156c-23.8 0-52.7 29.3-56 71.4-.3 3.7 2 7.2 5.6 8.3 3.5 1 7.5-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 5.9-4.5 5.6-8.3-3.1-42.1-32-71.4-55.8-71.4z"],
|
||||||
|
"kiss-wink-heart": [504, 512, [], "f598", "M304 308.5c0-19.2-28.8-41.5-71.5-44-3.8-.4-7.4 2.4-8.2 6.2-.9 3.8 1.1 7.7 4.7 9.2l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-5.7 2.4-6 12.2 0 14.8l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-3.6 1.5-5.6 5.4-4.7 9.2.8 3.6 4.1 6.2 7.8 6.2h.5c42.8-2.5 71.5-24.8 71.5-44 0-13-13.4-27.3-35.2-36 21.7-9.1 35.1-23.4 35.1-36.4zm70.5-83.5l9.5 8.5c3.8 3.3 9.3 4 13.7 1.6 4.4-2.4 6.9-7.4 6.1-12.4-4-25.2-34.2-42.1-59.8-42.1s-55.9 16.9-59.8 42.1c-.8 5 1.7 10 6.1 12.4 5.8 3.1 11.2.7 13.7-1.6l9.5-8.5c14.8-13.2 46.2-13.2 61 0zM136 208.5c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32zm365.1 194c-8-20.8-31.5-31.5-53.1-25.9l-8.4 2.2-2.3-8.4c-5.9-21.4-27-36.5-49-33-25.2 4-40.6 28.6-34 52.6l22.9 82.6c1.5 5.3 7 8.5 12.4 7.1l83-21.5c24.1-6.3 37.7-31.8 28.5-55.7zM334 436.3c-26.1 12.5-55.2 19.7-86 19.7-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200c0 22.1-3.7 43.3-10.4 63.2 9 6.4 17 14.2 22.6 23.9 6.4.1 12.6 1.4 18.6 2.9 10.9-27.9 17.1-58.2 17.1-90C496 119 385 8 248 8S0 119 0 256s111 248 248 248c35.4 0 68.9-7.5 99.4-20.9-2.5-7.3 4.3 17.2-13.4-46.8z"],
|
||||||
|
"laugh": [496, 512, [], "f599", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6S48 309.4 48 256s20.8-103.6 58.6-141.4S194.6 56 248 56s103.6 20.8 141.4 58.6S448 202.6 448 256s-20.8 103.6-58.6 141.4zM328 224c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm-160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm194.4 64H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"],
|
||||||
|
"laugh-beam": [496, 512, [], "f59a", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6S48 309.4 48 256s20.8-103.6 58.6-141.4S194.6 56 248 56s103.6 20.8 141.4 58.6S448 202.6 448 256s-20.8 103.6-58.6 141.4zM328 152c-23.8 0-52.7 29.3-56 71.4-.7 8.6 10.8 11.9 14.9 4.5l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c4.1 7.4 15.6 4 14.9-4.5-3.1-42.1-32-71.4-55.8-71.4zm-201 75.9l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c4.1 7.4 15.6 4 14.9-4.5-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.6 8.5 10.9 11.9 15.1 4.5zM362.4 288H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"],
|
||||||
|
"laugh-squint": [496, 512, [], "f59b", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6S48 309.4 48 256s20.8-103.6 58.6-141.4S194.6 56 248 56s103.6 20.8 141.4 58.6S448 202.6 448 256s-20.8 103.6-58.6 141.4zM343.6 196l33.6-40.3c8.6-10.3-3.8-24.8-15.4-18l-80 48c-7.8 4.7-7.8 15.9 0 20.6l80 48c11.5 6.8 24-7.6 15.4-18L343.6 196zm-209.4 58.3l80-48c7.8-4.7 7.8-15.9 0-20.6l-80-48c-11.6-6.9-24 7.7-15.4 18l33.6 40.3-33.6 40.3c-8.7 10.4 3.8 24.8 15.4 18zM362.4 288H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"],
|
||||||
|
"laugh-wink": [496, 512, [], "f59c", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6C68.8 359.6 48 309.4 48 256s20.8-103.6 58.6-141.4C144.4 76.8 194.6 56 248 56s103.6 20.8 141.4 58.6c37.8 37.8 58.6 88 58.6 141.4s-20.8 103.6-58.6 141.4zM328 164c-25.7 0-55.9 16.9-59.9 42.1-1.7 11.2 11.5 18.2 19.8 10.8l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c8.5 7.4 21.6.3 19.8-10.8-3.8-25.2-34-42.1-59.7-42.1zm-160 60c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm194.4 64H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"],
|
||||||
|
"lemon": [512, 512, [], "f094", "M484.112 27.889C455.989-.233 416.108-8.057 387.059 8.865 347.604 31.848 223.504-41.111 91.196 91.197-41.277 223.672 31.923 347.472 8.866 387.058c-16.922 29.051-9.1 68.932 19.022 97.054 28.135 28.135 68.011 35.938 97.057 19.021 39.423-22.97 163.557 49.969 295.858-82.329 132.474-132.477 59.273-256.277 82.331-295.861 16.922-29.05 9.1-68.931-19.022-97.054zm-22.405 72.894c-38.8 66.609 45.6 165.635-74.845 286.08-120.44 120.443-219.475 36.048-286.076 74.843-22.679 13.207-64.035-27.241-50.493-50.488 38.8-66.609-45.6-165.635 74.845-286.08C245.573 4.702 344.616 89.086 411.219 50.292c22.73-13.24 64.005 27.288 50.488 50.491zm-169.861 8.736c1.37 10.96-6.404 20.957-17.365 22.327-54.846 6.855-135.779 87.787-142.635 142.635-1.373 10.989-11.399 18.734-22.326 17.365-10.961-1.37-18.735-11.366-17.365-22.326 9.162-73.286 104.167-168.215 177.365-177.365 10.953-1.368 20.956 6.403 22.326 17.364z"],
|
||||||
|
"life-ring": [512, 512, [], "f1cd", "M256 504c136.967 0 248-111.033 248-248S392.967 8 256 8 8 119.033 8 256s111.033 248 248 248zm-103.398-76.72l53.411-53.411c31.806 13.506 68.128 13.522 99.974 0l53.411 53.411c-63.217 38.319-143.579 38.319-206.796 0zM336 256c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zm91.28 103.398l-53.411-53.411c13.505-31.806 13.522-68.128 0-99.974l53.411-53.411c38.319 63.217 38.319 143.579 0 206.796zM359.397 84.72l-53.411 53.411c-31.806-13.505-68.128-13.522-99.973 0L152.602 84.72c63.217-38.319 143.579-38.319 206.795 0zM84.72 152.602l53.411 53.411c-13.506 31.806-13.522 68.128 0 99.974L84.72 359.398c-38.319-63.217-38.319-143.579 0-206.796z"],
|
||||||
|
"lightbulb": [352, 512, [], "f0eb", "M176 80c-52.94 0-96 43.06-96 96 0 8.84 7.16 16 16 16s16-7.16 16-16c0-35.3 28.72-64 64-64 8.84 0 16-7.16 16-16s-7.16-16-16-16zM96.06 459.17c0 3.15.93 6.22 2.68 8.84l24.51 36.84c2.97 4.46 7.97 7.14 13.32 7.14h78.85c5.36 0 10.36-2.68 13.32-7.14l24.51-36.84c1.74-2.62 2.67-5.7 2.68-8.84l.05-43.18H96.02l.04 43.18zM176 0C73.72 0 0 82.97 0 176c0 44.37 16.45 84.85 43.56 115.78 16.64 18.99 42.74 58.8 52.42 92.16v.06h48v-.12c-.01-4.77-.72-9.51-2.15-14.07-5.59-17.81-22.82-64.77-62.17-109.67-20.54-23.43-31.52-53.15-31.61-84.14-.2-73.64 59.67-128 127.95-128 70.58 0 128 57.42 128 128 0 30.97-11.24 60.85-31.65 84.14-39.11 44.61-56.42 91.47-62.1 109.46a47.507 47.507 0 0 0-2.22 14.3v.1h48v-.05c9.68-33.37 35.78-73.18 52.42-92.16C335.55 260.85 352 220.37 352 176 352 78.8 273.2 0 176 0z"],
|
||||||
|
"list-alt": [512, 512, [], "f022", "M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V86a6 6 0 0 1 6-6h404a6 6 0 0 1 6 6v340a6 6 0 0 1-6 6zm-42-92v24c0 6.627-5.373 12-12 12H204c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h200c6.627 0 12 5.373 12 12zm0-96v24c0 6.627-5.373 12-12 12H204c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h200c6.627 0 12 5.373 12 12zm0-96v24c0 6.627-5.373 12-12 12H204c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h200c6.627 0 12 5.373 12 12zm-252 12c0 19.882-16.118 36-36 36s-36-16.118-36-36 16.118-36 36-36 36 16.118 36 36zm0 96c0 19.882-16.118 36-36 36s-36-16.118-36-36 16.118-36 36-36 36 16.118 36 36zm0 96c0 19.882-16.118 36-36 36s-36-16.118-36-36 16.118-36 36-36 36 16.118 36 36z"],
|
||||||
|
"map": [576, 512, [], "f279", "M560.02 32c-1.96 0-3.98.37-5.96 1.16L384.01 96H384L212 35.28A64.252 64.252 0 0 0 191.76 32c-6.69 0-13.37 1.05-19.81 3.14L20.12 87.95A32.006 32.006 0 0 0 0 117.66v346.32C0 473.17 7.53 480 15.99 480c1.96 0 3.97-.37 5.96-1.16L192 416l172 60.71a63.98 63.98 0 0 0 40.05.15l151.83-52.81A31.996 31.996 0 0 0 576 394.34V48.02c0-9.19-7.53-16.02-15.98-16.02zM224 90.42l128 45.19v285.97l-128-45.19V90.42zM48 418.05V129.07l128-44.53v286.2l-.64.23L48 418.05zm480-35.13l-128 44.53V141.26l.64-.24L528 93.95v288.97z"],
|
||||||
|
"meh": [496, 512, [], "f11a", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm8 144H160c-13.2 0-24 10.8-24 24s10.8 24 24 24h176c13.2 0 24-10.8 24-24s-10.8-24-24-24z"],
|
||||||
|
"meh-blank": [496, 512, [], "f5a4", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-280c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"],
|
||||||
|
"meh-rolling-eyes": [496, 512, [], "f5a5", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm88-304c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 112c-22.1 0-40-17.9-40-40 0-13.6 7.3-25.1 17.7-32.3-1 2.6-1.7 5.3-1.7 8.3 0 13.3 10.7 24 24 24s24-10.7 24-24c0-2.9-.7-5.7-1.7-8.3 10.4 7.2 17.7 18.7 17.7 32.3 0 22.1-17.9 40-40 40zm-104-40c0-39.8-32.2-72-72-72s-72 32.2-72 72 32.2 72 72 72 72-32.2 72-72zm-112 0c0-13.6 7.3-25.1 17.7-32.3-1 2.6-1.7 5.3-1.7 8.3 0 13.3 10.7 24 24 24s24-10.7 24-24c0-2.9-.7-5.7-1.7-8.3 10.4 7.2 17.7 18.7 17.7 32.3 0 22.1-17.9 40-40 40s-40-17.9-40-40zm192 128H184c-13.2 0-24 10.8-24 24s10.8 24 24 24h128c13.2 0 24-10.8 24-24s-10.8-24-24-24z"],
|
||||||
|
"minus-square": [448, 512, [], "f146", "M108 284c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h232c6.6 0 12 5.4 12 12v32c0 6.6-5.4 12-12 12H108zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"],
|
||||||
|
"money-bill-alt": [640, 512, [], "f3d1", "M320 144c-53.02 0-96 50.14-96 112 0 61.85 42.98 112 96 112 53 0 96-50.13 96-112 0-61.86-42.98-112-96-112zm40 168c0 4.42-3.58 8-8 8h-64c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h16v-55.44l-.47.31a7.992 7.992 0 0 1-11.09-2.22l-8.88-13.31a7.992 7.992 0 0 1 2.22-11.09l15.33-10.22a23.99 23.99 0 0 1 13.31-4.03H328c4.42 0 8 3.58 8 8v88h16c4.42 0 8 3.58 8 8v16zM608 64H32C14.33 64 0 78.33 0 96v320c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V96c0-17.67-14.33-32-32-32zm-16 272c-35.35 0-64 28.65-64 64H112c0-35.35-28.65-64-64-64V176c35.35 0 64-28.65 64-64h416c0 35.35 28.65 64 64 64v160z"],
|
||||||
|
"moon": [512, 512, [], "f186", "M279.135 512c78.756 0 150.982-35.804 198.844-94.775 28.27-34.831-2.558-85.722-46.249-77.401-82.348 15.683-158.272-47.268-158.272-130.792 0-48.424 26.06-92.292 67.434-115.836 38.745-22.05 28.999-80.788-15.022-88.919A257.936 257.936 0 0 0 279.135 0c-141.36 0-256 114.575-256 256 0 141.36 114.576 256 256 256zm0-464c12.985 0 25.689 1.201 38.016 3.478-54.76 31.163-91.693 90.042-91.693 157.554 0 113.848 103.641 199.2 215.252 177.944C402.574 433.964 344.366 464 279.135 464c-114.875 0-208-93.125-208-208s93.125-208 208-208z"],
|
||||||
|
"newspaper": [576, 512, [], "f1ea", "M552 64H112c-20.858 0-38.643 13.377-45.248 32H24c-13.255 0-24 10.745-24 24v272c0 30.928 25.072 56 56 56h496c13.255 0 24-10.745 24-24V88c0-13.255-10.745-24-24-24zM48 392V144h16v248c0 4.411-3.589 8-8 8s-8-3.589-8-8zm480 8H111.422c.374-2.614.578-5.283.578-8V112h416v288zM172 280h136c6.627 0 12-5.373 12-12v-96c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v96c0 6.627 5.373 12 12 12zm28-80h80v40h-80v-40zm-40 140v-24c0-6.627 5.373-12 12-12h136c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H172c-6.627 0-12-5.373-12-12zm192 0v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0-144v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0 72v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12z"],
|
||||||
|
"object-group": [512, 512, [], "f247", "M500 128c6.627 0 12-5.373 12-12V44c0-6.627-5.373-12-12-12h-72c-6.627 0-12 5.373-12 12v12H96V44c0-6.627-5.373-12-12-12H12C5.373 32 0 37.373 0 44v72c0 6.627 5.373 12 12 12h12v256H12c-6.627 0-12 5.373-12 12v72c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-12h320v12c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-72c0-6.627-5.373-12-12-12h-12V128h12zm-52-64h32v32h-32V64zM32 64h32v32H32V64zm32 384H32v-32h32v32zm416 0h-32v-32h32v32zm-40-64h-12c-6.627 0-12 5.373-12 12v12H96v-12c0-6.627-5.373-12-12-12H72V128h12c6.627 0 12-5.373 12-12v-12h320v12c0 6.627 5.373 12 12 12h12v256zm-36-192h-84v-52c0-6.628-5.373-12-12-12H108c-6.627 0-12 5.372-12 12v168c0 6.628 5.373 12 12 12h84v52c0 6.628 5.373 12 12 12h200c6.627 0 12-5.372 12-12V204c0-6.628-5.373-12-12-12zm-268-24h144v112H136V168zm240 176H232v-24h76c6.627 0 12-5.372 12-12v-76h56v112z"],
|
||||||
|
"object-ungroup": [576, 512, [], "f248", "M564 224c6.627 0 12-5.373 12-12v-72c0-6.627-5.373-12-12-12h-72c-6.627 0-12 5.373-12 12v12h-88v-24h12c6.627 0 12-5.373 12-12V44c0-6.627-5.373-12-12-12h-72c-6.627 0-12 5.373-12 12v12H96V44c0-6.627-5.373-12-12-12H12C5.373 32 0 37.373 0 44v72c0 6.627 5.373 12 12 12h12v160H12c-6.627 0-12 5.373-12 12v72c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-12h88v24h-12c-6.627 0-12 5.373-12 12v72c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-12h224v12c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-72c0-6.627-5.373-12-12-12h-12V224h12zM352 64h32v32h-32V64zm0 256h32v32h-32v-32zM64 352H32v-32h32v32zm0-256H32V64h32v32zm32 216v-12c0-6.627-5.373-12-12-12H72V128h12c6.627 0 12-5.373 12-12v-12h224v12c0 6.627 5.373 12 12 12h12v160h-12c-6.627 0-12 5.373-12 12v12H96zm128 136h-32v-32h32v32zm280-64h-12c-6.627 0-12 5.373-12 12v12H256v-12c0-6.627-5.373-12-12-12h-12v-24h88v12c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-72c0-6.627-5.373-12-12-12h-12v-88h88v12c0 6.627 5.373 12 12 12h12v160zm40 64h-32v-32h32v32zm0-256h-32v-32h32v32z"],
|
||||||
|
"paper-plane": [512, 512, [], "f1d8", "M440 6.5L24 246.4c-34.4 19.9-31.1 70.8 5.7 85.9L144 379.6V464c0 46.4 59.2 65.5 86.6 28.6l43.8-59.1 111.9 46.2c5.9 2.4 12.1 3.6 18.3 3.6 8.2 0 16.3-2.1 23.6-6.2 12.8-7.2 21.6-20 23.9-34.5l59.4-387.2c6.1-40.1-36.9-68.8-71.5-48.9zM192 464v-64.6l36.6 15.1L192 464zm212.6-28.7l-153.8-63.5L391 169.5c10.7-15.5-9.5-33.5-23.7-21.2L155.8 332.6 48 288 464 48l-59.4 387.3z"],
|
||||||
|
"pause-circle": [512, 512, [], "f28b", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm96-280v160c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16zm-112 0v160c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16z"],
|
||||||
|
"play-circle": [512, 512, [], "f144", "M371.7 238l-176-107c-15.8-8.8-35.7 2.5-35.7 21v208c0 18.4 19.8 29.8 35.7 21l176-101c16.4-9.1 16.4-32.8 0-42zM504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256z"],
|
||||||
|
"plus-square": [448, 512, [], "f0fe", "M352 240v32c0 6.6-5.4 12-12 12h-88v88c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-88h-88c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h88v-88c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v88h88c6.6 0 12 5.4 12 12zm96-160v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"],
|
||||||
|
"question-circle": [512, 512, [], "f059", "M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"],
|
||||||
|
"registered": [512, 512, [], "f25d", "M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 448c-110.532 0-200-89.451-200-200 0-110.531 89.451-200 200-200 110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200zm110.442-81.791c-53.046-96.284-50.25-91.468-53.271-96.085 24.267-13.879 39.482-41.563 39.482-73.176 0-52.503-30.247-85.252-101.498-85.252h-78.667c-6.617 0-12 5.383-12 12V380c0 6.617 5.383 12 12 12h38.568c6.617 0 12-5.383 12-12v-83.663h31.958l47.515 89.303a11.98 11.98 0 0 0 10.593 6.36h42.81c9.14 0 14.914-9.799 10.51-17.791zM256.933 239.906h-33.875v-64.14h27.377c32.417 0 38.929 12.133 38.929 31.709-.001 20.913-11.518 32.431-32.431 32.431z"],
|
||||||
|
"sad-cry": [496, 512, [], "f5b3", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm144 386.4V280c0-13.2-10.8-24-24-24s-24 10.8-24 24v151.4C315.5 447 282.8 456 248 456s-67.5-9-96-24.6V280c0-13.2-10.8-24-24-24s-24 10.8-24 24v114.4c-34.6-36-56-84.7-56-138.4 0-110.3 89.7-200 200-200s200 89.7 200 200c0 53.7-21.4 102.5-56 138.4zM205.8 234.5c4.4-2.4 6.9-7.4 6.1-12.4-4-25.2-34.2-42.1-59.8-42.1s-55.9 16.9-59.8 42.1c-.8 5 1.7 10 6.1 12.4 4.4 2.4 9.9 1.8 13.7-1.6l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c2.5 2.3 7.9 4.8 13.7 1.6zM344 180c-25.7 0-55.9 16.9-59.8 42.1-.8 5 1.7 10 6.1 12.4 4.5 2.4 9.9 1.8 13.7-1.6l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c2.5 2.2 8 4.7 13.7 1.6 4.4-2.4 6.9-7.4 6.1-12.4-3.9-25.2-34.1-42.1-59.8-42.1zm-96 92c-30.9 0-56 28.7-56 64s25.1 64 56 64 56-28.7 56-64-25.1-64-56-64z"],
|
||||||
|
"sad-tear": [496, 512, [], "f5b4", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm8-152c-13.2 0-24 10.8-24 24s10.8 24 24 24c23.8 0 46.3 10.5 61.6 28.8 8.1 9.8 23.2 11.9 33.8 3.1 10.2-8.5 11.6-23.6 3.1-33.8C330 320.8 294.1 304 256 304zm-88-64c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-165.6 98.8C151 290.1 126 325.4 126 342.9c0 22.7 18.8 41.1 42 41.1s42-18.4 42-41.1c0-17.5-25-52.8-36.4-68.1-2.8-3.7-8.4-3.7-11.2 0z"],
|
||||||
|
"save": [448, 512, [], "f0c7", "M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM272 80v80H144V80h128zm122 352H54a6 6 0 0 1-6-6V86a6 6 0 0 1 6-6h42v104c0 13.255 10.745 24 24 24h176c13.255 0 24-10.745 24-24V83.882l78.243 78.243a6 6 0 0 1 1.757 4.243V426a6 6 0 0 1-6 6zM224 232c-48.523 0-88 39.477-88 88s39.477 88 88 88 88-39.477 88-88-39.477-88-88-88zm0 128c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.944 40-40 40z"],
|
||||||
|
"share-square": [576, 512, [], "f14d", "M561.938 158.06L417.94 14.092C387.926-15.922 336 5.097 336 48.032v57.198c-42.45 1.88-84.03 6.55-120.76 17.99-35.17 10.95-63.07 27.58-82.91 49.42C108.22 199.2 96 232.6 96 271.94c0 61.697 33.178 112.455 84.87 144.76 37.546 23.508 85.248-12.651 71.02-55.74-15.515-47.119-17.156-70.923 84.11-78.76V336c0 42.993 51.968 63.913 81.94 33.94l143.998-144c18.75-18.74 18.75-49.14 0-67.88zM384 336V232.16C255.309 234.082 166.492 255.35 206.31 376 176.79 357.55 144 324.08 144 271.94c0-109.334 129.14-118.947 240-119.85V48l144 144-144 144zm24.74 84.493a82.658 82.658 0 0 0 20.974-9.303c7.976-4.952 18.286.826 18.286 10.214V464c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h132c6.627 0 12 5.373 12 12v4.486c0 4.917-2.987 9.369-7.569 11.152-13.702 5.331-26.396 11.537-38.05 18.585a12.138 12.138 0 0 1-6.28 1.777H54a6 6 0 0 0-6 6v340a6 6 0 0 0 6 6h340a6 6 0 0 0 6-6v-25.966c0-5.37 3.579-10.059 8.74-11.541z"],
|
||||||
|
"smile": [496, 512, [], "f118", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"],
|
||||||
|
"smile-beam": [496, 512, [], "f5b8", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm84-143.4c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.6-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.2-8.4-25.3-7.1-33.8 3.1zM136.5 211c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.4 1.1 7.4-.5 9.3-3.7l9.5-17zM328 152c-23.8 0-52.7 29.3-56 71.4-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4z"],
|
||||||
|
"smile-wink": [496, 512, [], "f4da", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm117.8-146.4c-10.2-8.5-25.3-7.1-33.8 3.1-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8zM168 240c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-60c-25.7 0-55.9 16.9-59.9 42.1-1.7 11.2 11.5 18.2 19.8 10.8l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c8.5 7.4 21.6.3 19.8-10.8-3.8-25.2-34-42.1-59.7-42.1z"],
|
||||||
|
"snowflake": [448, 512, [], "f2dc", "M440.1 355.2l-39.2-23 34.1-9.3c8.4-2.3 13.4-11.1 11.1-19.6l-4.1-15.5c-2.2-8.5-10.9-13.6-19.3-11.3L343 298.2 271.2 256l71.9-42.2 79.7 21.7c8.4 2.3 17-2.8 19.3-11.3l4.1-15.5c2.2-8.5-2.7-17.3-11.1-19.6l-34.1-9.3 39.2-23c7.5-4.4 10.1-14.2 5.8-21.9l-7.9-13.9c-4.3-7.7-14-10.3-21.5-5.9l-39.2 23 9.1-34.7c2.2-8.5-2.7-17.3-11.1-19.6l-15.2-4.1c-8.4-2.3-17 2.8-19.3 11.3l-21.3 81-71.9 42.2v-84.5L306 70.4c6.1-6.2 6.1-16.4 0-22.6l-11.1-11.3c-6.1-6.2-16.1-6.2-22.2 0l-24.9 25.4V16c0-8.8-7-16-15.7-16h-15.7c-8.7 0-15.7 7.2-15.7 16v46.1l-24.9-25.4c-6.1-6.2-16.1-6.2-22.2 0L142.1 48c-6.1 6.2-6.1 16.4 0 22.6l58.3 59.3v84.5l-71.9-42.2-21.3-81c-2.2-8.5-10.9-13.6-19.3-11.3L72.7 84c-8.4 2.3-13.4 11.1-11.1 19.6l9.1 34.7-39.2-23c-7.5-4.4-17.1-1.8-21.5 5.9l-7.9 13.9c-4.3 7.7-1.8 17.4 5.8 21.9l39.2 23-34.1 9.1c-8.4 2.3-13.4 11.1-11.1 19.6L6 224.2c2.2 8.5 10.9 13.6 19.3 11.3l79.7-21.7 71.9 42.2-71.9 42.2-79.7-21.7c-8.4-2.3-17 2.8-19.3 11.3l-4.1 15.5c-2.2 8.5 2.7 17.3 11.1 19.6l34.1 9.3-39.2 23c-7.5 4.4-10.1 14.2-5.8 21.9L10 391c4.3 7.7 14 10.3 21.5 5.9l39.2-23-9.1 34.7c-2.2 8.5 2.7 17.3 11.1 19.6l15.2 4.1c8.4 2.3 17-2.8 19.3-11.3l21.3-81 71.9-42.2v84.5l-58.3 59.3c-6.1 6.2-6.1 16.4 0 22.6l11.1 11.3c6.1 6.2 16.1 6.2 22.2 0l24.9-25.4V496c0 8.8 7 16 15.7 16h15.7c8.7 0 15.7-7.2 15.7-16v-46.1l24.9 25.4c6.1 6.2 16.1 6.2 22.2 0l11.1-11.3c6.1-6.2 6.1-16.4 0-22.6l-58.3-59.3v-84.5l71.9 42.2 21.3 81c2.2 8.5 10.9 13.6 19.3 11.3L375 428c8.4-2.3 13.4-11.1 11.1-19.6l-9.1-34.7 39.2 23c7.5 4.4 17.1 1.8 21.5-5.9l7.9-13.9c4.6-7.5 2.1-17.3-5.5-21.7z"],
|
||||||
|
"square": [448, 512, [], "f0c8", "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"],
|
||||||
|
"star": [576, 512, [], "f005", "M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"],
|
||||||
|
"star-half": [576, 512, [], "f089", "M288 385.3l-124.3 65.4 23.7-138.4-100.6-98 139-20.2 62.2-126V0c-11.4 0-22.8 5.9-28.7 17.8L194 150.2 47.9 171.4c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.1 23 46 46.4 33.7L288 439.6v-54.3z"],
|
||||||
|
"sticky-note": [448, 512, [], "f249", "M448 348.106V80c0-26.51-21.49-48-48-48H48C21.49 32 0 53.49 0 80v351.988c0 26.51 21.49 48 48 48h268.118a48 48 0 0 0 33.941-14.059l83.882-83.882A48 48 0 0 0 448 348.106zm-128 80v-76.118h76.118L320 428.106zM400 80v223.988H296c-13.255 0-24 10.745-24 24v104H48V80h352z"],
|
||||||
|
"stop-circle": [512, 512, [], "f28d", "M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm296-80v160c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h160c8.8 0 16 7.2 16 16z"],
|
||||||
|
"sun": [512, 512, [], "f185", "M494.2 221.9l-59.8-40.5 13.7-71c2.6-13.2-1.6-26.8-11.1-36.4-9.6-9.5-23.2-13.7-36.2-11.1l-70.9 13.7-40.4-59.9c-15.1-22.3-51.9-22.3-67 0l-40.4 59.9-70.8-13.7C98 60.4 84.5 64.5 75 74.1c-9.5 9.6-13.7 23.1-11.1 36.3l13.7 71-59.8 40.5C6.6 229.5 0 242 0 255.5s6.7 26 17.8 33.5l59.8 40.5-13.7 71c-2.6 13.2 1.6 26.8 11.1 36.3 9.5 9.5 22.9 13.7 36.3 11.1l70.8-13.7 40.4 59.9C230 505.3 242.6 512 256 512s26-6.7 33.5-17.8l40.4-59.9 70.9 13.7c13.4 2.7 26.8-1.6 36.3-11.1 9.5-9.5 13.6-23.1 11.1-36.3l-13.7-71 59.8-40.5c11.1-7.5 17.8-20.1 17.8-33.5-.1-13.6-6.7-26.1-17.9-33.7zm-112.9 85.6l17.6 91.2-91-17.6L256 458l-51.9-77-90.9 17.6 17.6-91.2-76.8-52 76.8-52-17.6-91.2 91 17.6L256 53l51.9 76.9 91-17.6-17.6 91.1 76.8 52-76.8 52.1zM256 152c-57.3 0-104 46.7-104 104s46.7 104 104 104 104-46.7 104-104-46.7-104-104-104zm0 160c-30.9 0-56-25.1-56-56s25.1-56 56-56 56 25.1 56 56-25.1 56-56 56z"],
|
||||||
|
"surprise": [496, 512, [], "f5c2", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm0-176c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64zm-48-72c0-17.7-14.3-32-32-32s-32 14.3-32 32 14.3 32 32 32 32-14.3 32-32zm128-32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"],
|
||||||
|
"thumbs-down": [512, 512, [], "f165", "M466.27 225.31c4.674-22.647.864-44.538-8.99-62.99 2.958-23.868-4.021-48.565-17.34-66.99C438.986 39.423 404.117 0 327 0c-7 0-15 .01-22.22.01C201.195.01 168.997 40 128 40h-10.845c-5.64-4.975-13.042-8-21.155-8H32C14.327 32 0 46.327 0 64v240c0 17.673 14.327 32 32 32h64c11.842 0 22.175-6.438 27.708-16h7.052c19.146 16.953 46.013 60.653 68.76 83.4 13.667 13.667 10.153 108.6 71.76 108.6 57.58 0 95.27-31.936 95.27-104.73 0-18.41-3.93-33.73-8.85-46.54h36.48c48.602 0 85.82-41.565 85.82-85.58 0-19.15-4.96-34.99-13.73-49.84zM64 296c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zm330.18 16.73H290.19c0 37.82 28.36 55.37 28.36 94.54 0 23.75 0 56.73-47.27 56.73-18.91-18.91-9.46-66.18-37.82-94.54C206.9 342.89 167.28 272 138.92 272H128V85.83c53.611 0 100.001-37.82 171.64-37.82h37.82c35.512 0 60.82 17.12 53.12 65.9 15.2 8.16 26.5 36.44 13.94 57.57 21.581 20.384 18.699 51.065 5.21 65.62 9.45 0 22.36 18.91 22.27 37.81-.09 18.91-16.71 37.82-37.82 37.82z"],
|
||||||
|
"thumbs-up": [512, 512, [], "f164", "M466.27 286.69C475.04 271.84 480 256 480 236.85c0-44.015-37.218-85.58-85.82-85.58H357.7c4.92-12.81 8.85-28.13 8.85-46.54C366.55 31.936 328.86 0 271.28 0c-61.607 0-58.093 94.933-71.76 108.6-22.747 22.747-49.615 66.447-68.76 83.4H32c-17.673 0-32 14.327-32 32v240c0 17.673 14.327 32 32 32h64c14.893 0 27.408-10.174 30.978-23.95 44.509 1.001 75.06 39.94 177.802 39.94 7.22 0 15.22.01 22.22.01 77.117 0 111.986-39.423 112.94-95.33 13.319-18.425 20.299-43.122 17.34-66.99 9.854-18.452 13.664-40.343 8.99-62.99zm-61.75 53.83c12.56 21.13 1.26 49.41-13.94 57.57 7.7 48.78-17.608 65.9-53.12 65.9h-37.82c-71.639 0-118.029-37.82-171.64-37.82V240h10.92c28.36 0 67.98-70.89 94.54-97.46 28.36-28.36 18.91-75.63 37.82-94.54 47.27 0 47.27 32.98 47.27 56.73 0 39.17-28.36 56.72-28.36 94.54h103.99c21.11 0 37.73 18.91 37.82 37.82.09 18.9-12.82 37.81-22.27 37.81 13.489 14.555 16.371 45.236-5.21 65.62zM88 432c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z"],
|
||||||
|
"times-circle": [512, 512, [], "f057", "M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm101.8-262.2L295.6 256l62.2 62.2c4.7 4.7 4.7 12.3 0 17l-22.6 22.6c-4.7 4.7-12.3 4.7-17 0L256 295.6l-62.2 62.2c-4.7 4.7-12.3 4.7-17 0l-22.6-22.6c-4.7-4.7-4.7-12.3 0-17l62.2-62.2-62.2-62.2c-4.7-4.7-4.7-12.3 0-17l22.6-22.6c4.7-4.7 12.3-4.7 17 0l62.2 62.2 62.2-62.2c4.7-4.7 12.3-4.7 17 0l22.6 22.6c4.7 4.7 4.7 12.3 0 17z"],
|
||||||
|
"tired": [496, 512, [], "f5c8", "M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm129.1-303.8c-3.8-4.4-10.3-5.4-15.3-2.5l-80 48c-3.6 2.2-5.8 6.1-5.8 10.3s2.2 8.1 5.8 10.3l80 48c5.4 3.2 11.8 1.6 15.3-2.5 3.8-4.5 3.9-11 .1-15.5L343.6 208l33.6-40.3c3.8-4.5 3.7-11.1-.1-15.5zM220 208c0-4.2-2.2-8.1-5.8-10.3l-80-48c-5-3-11.5-1.9-15.3 2.5-3.8 4.5-3.9 11-.1 15.5l33.6 40.3-33.6 40.3c-3.8 4.5-3.7 11 .1 15.5 3.5 4.1 9.9 5.7 15.3 2.5l80-48c3.6-2.2 5.8-6.1 5.8-10.3zm28 64c-45.4 0-100.9 38.3-107.8 93.3-1.5 11.8 6.9 21.6 15.5 17.9C178.4 373.5 212 368 248 368s69.6 5.5 92.3 15.2c8.5 3.7 17-6 15.5-17.9-6.9-55-62.4-93.3-107.8-93.3z"],
|
||||||
|
"trash-alt": [448, 512, [], "f2ed", "M268 416h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12zM432 80h-82.41l-34-56.7A48 48 0 0 0 274.41 0H173.59a48 48 0 0 0-41.16 23.3L98.41 80H16A16 16 0 0 0 0 96v16a16 16 0 0 0 16 16h16v336a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128h16a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16zM171.84 50.91A6 6 0 0 1 177 48h94a6 6 0 0 1 5.15 2.91L293.61 80H154.39zM368 464H80V128h288zm-212-48h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12z"],
|
||||||
|
"user": [448, 512, [], "f007", "M313.6 304c-28.7 0-42.5 16-89.6 16-47.1 0-60.8-16-89.6-16C60.2 304 0 364.2 0 438.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-25.6c0-74.2-60.2-134.4-134.4-134.4zM400 464H48v-25.6c0-47.6 38.8-86.4 86.4-86.4 14.6 0 38.3 16 89.6 16 51.7 0 74.9-16 89.6-16 47.6 0 86.4 38.8 86.4 86.4V464zM224 288c79.5 0 144-64.5 144-144S303.5 0 224 0 80 64.5 80 144s64.5 144 144 144zm0-240c52.9 0 96 43.1 96 96s-43.1 96-96 96-96-43.1-96-96 43.1-96 96-96z"],
|
||||||
|
"user-circle": [496, 512, [], "f2bd", "M248 104c-53 0-96 43-96 96s43 96 96 96 96-43 96-96-43-96-96-96zm0 144c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-240C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-49.7 0-95.1-18.3-130.1-48.4 14.9-23 40.4-38.6 69.6-39.5 20.8 6.4 40.6 9.6 60.5 9.6s39.7-3.1 60.5-9.6c29.2 1 54.7 16.5 69.6 39.5-35 30.1-80.4 48.4-130.1 48.4zm162.7-84.1c-24.4-31.4-62.1-51.9-105.1-51.9-10.2 0-26 9.6-57.6 9.6-31.5 0-47.4-9.6-57.6-9.6-42.9 0-80.6 20.5-105.1 51.9C61.9 339.2 48 299.2 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 43.2-13.9 83.2-37.3 115.9z"],
|
||||||
|
"window-close": [512, 512, [], "f410", "M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 394c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v340zM356.5 194.6L295.1 256l61.4 61.4c4.6 4.6 4.6 12.1 0 16.8l-22.3 22.3c-4.6 4.6-12.1 4.6-16.8 0L256 295.1l-61.4 61.4c-4.6 4.6-12.1 4.6-16.8 0l-22.3-22.3c-4.6-4.6-4.6-12.1 0-16.8l61.4-61.4-61.4-61.4c-4.6-4.6-4.6-12.1 0-16.8l22.3-22.3c4.6-4.6 12.1-4.6 16.8 0l61.4 61.4 61.4-61.4c4.6-4.6 12.1-4.6 16.8 0l22.3 22.3c4.7 4.6 4.7 12.1 0 16.8z"],
|
||||||
|
"window-maximize": [512, 512, [], "f2d0", "M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 394c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V192h416v234z"],
|
||||||
|
"window-minimize": [512, 512, [], "f2d1", "M480 480H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h448c17.7 0 32 14.3 32 32s-14.3 32-32 32z"],
|
||||||
|
"window-restore": [512, 512, [], "f2d2", "M464 0H144c-26.5 0-48 21.5-48 48v48H48c-26.5 0-48 21.5-48 48v320c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h48c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm-96 464H48V256h320v208zm96-96h-48V144c0-26.5-21.5-48-48-48H144V48h320v320z"]
|
||||||
|
};
|
||||||
|
|
||||||
|
bunker(function () {
|
||||||
|
defineIcons('far', icons);
|
||||||
|
});
|
||||||
|
|
||||||
|
}());
|
5
style/fontawesome/js/regular.min.js
vendored
Normal file
5
style/fontawesome/js/regular.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1065
style/fontawesome/js/solid.js
Normal file
1065
style/fontawesome/js/solid.js
Normal file
File diff suppressed because it is too large
Load diff
5
style/fontawesome/js/solid.min.js
vendored
Normal file
5
style/fontawesome/js/solid.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
68
style/fontawesome/js/v4-shims.js
Normal file
68
style/fontawesome/js/v4-shims.js
Normal file
File diff suppressed because one or more lines are too long
5
style/fontawesome/js/v4-shims.min.js
vendored
Normal file
5
style/fontawesome/js/v4-shims.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
19
style/fontawesome/less/_animated.less
vendored
Normal file
19
style/fontawesome/less/_animated.less
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
// Animated Icons
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-spin {
|
||||||
|
animation: fa-spin 2s infinite linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-pulse {
|
||||||
|
animation: fa-spin 1s infinite steps(8);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes fa-spin {
|
||||||
|
0% {
|
||||||
|
transform: rotate(0deg);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
16
style/fontawesome/less/_bordered-pulled.less
vendored
Normal file
16
style/fontawesome/less/_bordered-pulled.less
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
// Bordered & Pulled
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-border {
|
||||||
|
border-radius: .1em;
|
||||||
|
border: solid .08em @fa-border-color;
|
||||||
|
padding: .2em .25em .15em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-pull-left { float: left; }
|
||||||
|
.@{fa-css-prefix}-pull-right { float: right; }
|
||||||
|
|
||||||
|
.@{fa-css-prefix}, .fas, .far, .fal, .fab {
|
||||||
|
&.@{fa-css-prefix}-pull-left { margin-right: .3em; }
|
||||||
|
&.@{fa-css-prefix}-pull-right { margin-left: .3em; }
|
||||||
|
}
|
12
style/fontawesome/less/_core.less
vendored
Normal file
12
style/fontawesome/less/_core.less
vendored
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
// Base Class Definition
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}, .fas, .far, .fal, .fab {
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
display: inline-block;
|
||||||
|
font-style: normal;
|
||||||
|
font-variant: normal;
|
||||||
|
text-rendering: auto;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
6
style/fontawesome/less/_fixed-width.less
vendored
Normal file
6
style/fontawesome/less/_fixed-width.less
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
// Fixed Width Icons
|
||||||
|
// -------------------------
|
||||||
|
.@{fa-css-prefix}-fw {
|
||||||
|
text-align: center;
|
||||||
|
width: (20em / 16);
|
||||||
|
}
|
1368
style/fontawesome/less/_icons.less
vendored
Normal file
1368
style/fontawesome/less/_icons.less
vendored
Normal file
File diff suppressed because it is too large
Load diff
27
style/fontawesome/less/_larger.less
vendored
Normal file
27
style/fontawesome/less/_larger.less
vendored
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
// Icon Sizes
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.larger(@factor) when (@factor > 0) {
|
||||||
|
.larger((@factor - 1));
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-@{factor}x {
|
||||||
|
font-size: (@factor * 1em);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* makes the font 33% larger relative to the icon container */
|
||||||
|
.@{fa-css-prefix}-lg {
|
||||||
|
font-size: (4em / 3);
|
||||||
|
line-height: (3em / 4);
|
||||||
|
vertical-align: -.0667em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-xs {
|
||||||
|
font-size: .75em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-sm {
|
||||||
|
font-size: .875em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.larger(10);
|
18
style/fontawesome/less/_list.less
vendored
Normal file
18
style/fontawesome/less/_list.less
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
// List Icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-ul {
|
||||||
|
list-style-type: none;
|
||||||
|
margin-left: (@fa-li-width * 5/4);
|
||||||
|
padding-left: 0;
|
||||||
|
|
||||||
|
> li { position: relative; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-li {
|
||||||
|
left: -@fa-li-width;
|
||||||
|
position: absolute;
|
||||||
|
text-align: center;
|
||||||
|
width: @fa-li-width;
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
56
style/fontawesome/less/_mixins.less
vendored
Normal file
56
style/fontawesome/less/_mixins.less
vendored
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
// Mixins
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
|
.fa-icon() {
|
||||||
|
-moz-osx-font-smoothing: grayscale;
|
||||||
|
-webkit-font-smoothing: antialiased;
|
||||||
|
display: inline-block;
|
||||||
|
font-style: normal;
|
||||||
|
font-variant: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fa-icon-rotate(@degrees, @rotation) {
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation})";
|
||||||
|
transform: rotate(@degrees);
|
||||||
|
}
|
||||||
|
|
||||||
|
.fa-icon-flip(@horiz, @vert, @rotation) {
|
||||||
|
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation}, mirror=1)";
|
||||||
|
transform: scale(@horiz, @vert);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Only display content to screen readers. A la Bootstrap 4.
|
||||||
|
//
|
||||||
|
// See: http://a11yproject.com/posts/how-to-hide-content/
|
||||||
|
|
||||||
|
.sr-only() {
|
||||||
|
border: 0;
|
||||||
|
clip: rect(0,0,0,0);
|
||||||
|
height: 1px;
|
||||||
|
margin: -1px;
|
||||||
|
overflow: hidden;
|
||||||
|
padding: 0;
|
||||||
|
position: absolute;
|
||||||
|
width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Use in conjunction with .sr-only to only display content when it's focused.
|
||||||
|
//
|
||||||
|
// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
|
||||||
|
//
|
||||||
|
// Credit: HTML5 Boilerplate
|
||||||
|
|
||||||
|
.sr-only-focusable() {
|
||||||
|
&:active,
|
||||||
|
&:focus {
|
||||||
|
clip: auto;
|
||||||
|
height: auto;
|
||||||
|
margin: 0;
|
||||||
|
overflow: visible;
|
||||||
|
position: static;
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
}
|
24
style/fontawesome/less/_rotated-flipped.less
vendored
Normal file
24
style/fontawesome/less/_rotated-flipped.less
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
// Rotated & Flipped Icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }
|
||||||
|
.@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
|
||||||
|
.@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
|
||||||
|
.@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); }
|
||||||
|
.@{fa-css-prefix}-flip-both, .@{fa-css-prefix}-flip-horizontal.@{fa-css-prefix}-flip-vertical { .fa-icon-flip(-1, -1, 2); }
|
||||||
|
|
||||||
|
// Hook for IE8-9
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
:root {
|
||||||
|
.@{fa-css-prefix}-rotate-90,
|
||||||
|
.@{fa-css-prefix}-rotate-180,
|
||||||
|
.@{fa-css-prefix}-rotate-270,
|
||||||
|
.@{fa-css-prefix}-flip-horizontal,
|
||||||
|
.@{fa-css-prefix}-flip-vertical,
|
||||||
|
.@{fa-css-prefix}-flip-both {
|
||||||
|
filter: none;
|
||||||
|
}
|
||||||
|
}
|
5
style/fontawesome/less/_screen-reader.less
vendored
Normal file
5
style/fontawesome/less/_screen-reader.less
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
// Screen Readers
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.sr-only { .sr-only(); }
|
||||||
|
.sr-only-focusable { .sr-only-focusable(); }
|
2062
style/fontawesome/less/_shims.less
vendored
Normal file
2062
style/fontawesome/less/_shims.less
vendored
Normal file
File diff suppressed because it is too large
Load diff
22
style/fontawesome/less/_stacked.less
vendored
Normal file
22
style/fontawesome/less/_stacked.less
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
// Stacked Icons
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-stack {
|
||||||
|
display: inline-block;
|
||||||
|
height: 2em;
|
||||||
|
line-height: 2em;
|
||||||
|
position: relative;
|
||||||
|
vertical-align: middle;
|
||||||
|
width: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
|
||||||
|
left: 0;
|
||||||
|
position: absolute;
|
||||||
|
text-align: center;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.@{fa-css-prefix}-stack-1x { line-height: inherit; }
|
||||||
|
.@{fa-css-prefix}-stack-2x { font-size: 2em; }
|
||||||
|
.@{fa-css-prefix}-inverse { color: @fa-inverse; }
|
1378
style/fontawesome/less/_variables.less
vendored
Normal file
1378
style/fontawesome/less/_variables.less
vendored
Normal file
File diff suppressed because it is too large
Load diff
22
style/fontawesome/less/brands.less
vendored
Normal file
22
style/fontawesome/less/brands.less
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
/*!
|
||||||
|
* Font Awesome Free 5.8.2 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
*/
|
||||||
|
@import "_variables.less";
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Font Awesome 5 Brands';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: normal;
|
||||||
|
font-display: @fa-font-display;
|
||||||
|
src: url('@{fa-font-path}/fa-brands-400.eot');
|
||||||
|
src: url('@{fa-font-path}/fa-brands-400.eot?#iefix') format('embedded-opentype'),
|
||||||
|
url('@{fa-font-path}/fa-brands-400.woff2') format('woff2'),
|
||||||
|
url('@{fa-font-path}/fa-brands-400.woff') format('woff'),
|
||||||
|
url('@{fa-font-path}/fa-brands-400.ttf') format('truetype'),
|
||||||
|
url('@{fa-font-path}/fa-brands-400.svg#fontawesome') format('svg');
|
||||||
|
}
|
||||||
|
|
||||||
|
.fab {
|
||||||
|
font-family: 'Font Awesome 5 Brands';
|
||||||
|
}
|
16
style/fontawesome/less/fontawesome.less
vendored
Normal file
16
style/fontawesome/less/fontawesome.less
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
/*!
|
||||||
|
* Font Awesome Free 5.8.2 by @fontawesome - https://fontawesome.com
|
||||||
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||||
|
*/
|
||||||
|
@import "_variables.less";
|
||||||
|
@import "_mixins.less";
|
||||||
|
@import "_core.less";
|
||||||
|
@import "_larger.less";
|
||||||
|
@import "_fixed-width.less";
|
||||||
|
@import "_list.less";
|
||||||
|
@import "_bordered-pulled.less";
|
||||||
|
@import "_animated.less";
|
||||||
|
@import "_rotated-flipped.less";
|
||||||
|
@import "_stacked.less";
|
||||||
|
@import "_icons.less";
|
||||||
|
@import "_screen-reader.less";
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue