mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
renamed bin to js
This commit is contained in:
parent
f36e30240c
commit
33543cc125
25 changed files with 21 additions and 21 deletions
|
@ -6,7 +6,7 @@
|
|||
RewriteRule ^([a-zA-Z0-9-]+)$ ?site=$1
|
||||
|
||||
#alles, was versucht ein Script aufzurufen
|
||||
RewriteRule /bin/(.+) /bin/$1
|
||||
RewriteRule /js/(.+) /js/$1
|
||||
|
||||
#Error Seite
|
||||
RewriteRule ^error/([a-zA-Z0-9-_]+)$ ?site=error&id=$1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<head>
|
||||
<link rel="stylesheet" href="/style/adduser.css">
|
||||
<script src="/bin/adduser.js" charset="utf-8"></script>
|
||||
<script src="/js/adduser.js" charset="utf-8"></script>
|
||||
</head>
|
||||
<h1>Benutzer hinzufügen</h1>
|
||||
<div class="adduser">
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<head>
|
||||
<title>Installationsfehler</title>
|
||||
<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>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script src="/bin/list.js" charset="utf-8"></script>
|
||||
<script src="/js/list.js" charset="utf-8"></script>
|
||||
<div class="container mt-5">
|
||||
<h1>Liste</h1>
|
||||
</div>
|
||||
|
@ -28,7 +28,7 @@
|
|||
$checked = "";
|
||||
}
|
||||
|
||||
print_r("<div class='$div_item_row_classes $div_item_row_color_classes'>");
|
||||
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='$div_item_quantity_classes'>$item->Anzahl $item->Einheit</div>");
|
||||
print_r("<div class='$div_item_name_classes'>$item->Name</div>");
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
if($_SERVER["REQUEST_URI"]!="/new-recipe"){
|
||||
$submitFunction = "update";
|
||||
$title = "Bearbeiten";
|
||||
$script = '<script src="/bin/edit-recipe.js" charset="utf-8"></script>';
|
||||
$script = '<script src="/js/edit-recipe.js" charset="utf-8"></script>';
|
||||
$additionalInput = "<input type='hidden' name='id' value=''>";
|
||||
}
|
||||
else{
|
||||
|
@ -12,8 +12,8 @@
|
|||
$additionalInput = "";
|
||||
}
|
||||
?>
|
||||
<script src="/bin/manageRecipe.js" charset="utf-8"></script>
|
||||
<script src="/bin/autocomplete.js" charset="utf-8"></script>
|
||||
<script src="/js/manageRecipe.js" charset="utf-8"></script>
|
||||
<script src="/js/autocomplete.js" charset="utf-8"></script>
|
||||
<?php echo $script; ?>
|
||||
<div class="container mt-5">
|
||||
<h1><?php echo $title ?></h1>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script src="/bin/recipe.js" charset="utf-8"></script>
|
||||
<script src="/js/recipe.js" charset="utf-8"></script>
|
||||
<?php
|
||||
include $_SESSION["docroot"].'/php/classes.recipe.php';
|
||||
$book = new cookbook;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
<!-- <link rel="stylesheet" href="/style/recipes.css"> -->
|
||||
<script src="/bin/search.js" charset="utf-8"></script>
|
||||
<script src="/js/search.js" charset="utf-8"></script>
|
||||
|
||||
<div class="container mt-5 mb-5">
|
||||
<h1>Rezepte</h1>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script src="/bin/settings.js" charset="utf-8"></script>
|
||||
<script src="/js/settings.js" charset="utf-8"></script>
|
||||
<div class="container mt-5">
|
||||
<h1>Einstellungen</h1>
|
||||
</div>
|
||||
|
|
|
@ -45,8 +45,8 @@ $user->get_info($_COOKIE["token"]);
|
|||
}
|
||||
?>
|
||||
<link rel="stylesheet" href="/style/helper.css">
|
||||
<script src="/bin/jquery.js"></script>
|
||||
<script src="/bin/main.js"></script>
|
||||
<script src="/js/jquery.js"></script>
|
||||
<script src="/js/main.js"></script>
|
||||
<title>Einkaufsliste</title>
|
||||
</head>
|
||||
|
||||
|
@ -100,7 +100,7 @@ $user->get_info($_COOKIE["token"]);
|
|||
}
|
||||
echo "</div>";
|
||||
?>
|
||||
<script src="bin/bootstrap.bundle.min.js"></script>
|
||||
<script src="js/bootstrap.bundle.min.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<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="/bin/jquery.js"></script>
|
||||
<script src="/js/jquery.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
<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="/bin/jquery.js"></script>
|
||||
<script src="/bin/adduser.js" charset="utf-8"></script>
|
||||
<script src="/js/jquery.js"></script>
|
||||
<script src="/js/adduser.js" charset="utf-8"></script>
|
||||
<title>Benutzer hinzufügen</title>
|
||||
</head>
|
||||
<body>
|
||||
|
|
0
bin/jquery.js → js/jquery.js
vendored
0
bin/jquery.js → js/jquery.js
vendored
|
@ -18,9 +18,6 @@ function highlightNewEntry(){
|
|||
newRow.removeClass($(checkBox).data("color"));
|
||||
newRow.addClass("alert-primary");
|
||||
setTimeout(function () {
|
||||
newRow.css({
|
||||
transition: ".5s"
|
||||
});
|
||||
newRow.removeClass("alert-primary");
|
||||
newRow.addClass($(checkBox).data("color"));
|
||||
}, 1000);
|
|
@ -7,3 +7,7 @@
|
|||
.close_toast {
|
||||
pointer-events: all;
|
||||
}
|
||||
|
||||
.list-row {
|
||||
transition: .5s;
|
||||
}
|
Loading…
Reference in a new issue