diff options
author | root <root@vagrantz.xyz> | 2021-04-06 10:57:50 +0000 |
---|---|---|
committer | root <root@vagrantz.xyz> | 2021-04-06 10:57:50 +0000 |
commit | 8170d5bc0544fbc02155b8b57751cd1dec33dd69 (patch) | |
tree | d5cffb086fe6d5585c1e00ea5d5d2d907e6d2cd6 /views/partials/header.ejs |
Diffstat (limited to 'views/partials/header.ejs')
-rw-r--r-- | views/partials/header.ejs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/views/partials/header.ejs b/views/partials/header.ejs new file mode 100644 index 0000000..13a6cf0 --- /dev/null +++ b/views/partials/header.ejs @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>Recipes</title> + <link rel="stylesheet" type='text/css' href="/main.css"> + <script defer src="/libs/fontawesome/all.min.js"></script> + <script type='text/javascript' src="/libs/jquery/jquery-3.6.0.min.js"></script> +</head> +<body> +<% if(error && error.length > 0) { %> + <div"> + <div class='flashCardError' role="alert"> + <%= error %> + </div> + </div> +<% } %> +<% if(success && success.length > 0) { %> + <div> + <div class='flashCardSuccess' role="alert"> + <%= success %> + </div> + </div> +<% } %> |