Skip to content

Commit

Permalink
Merge pull request #98 from 1chooo/ho-dev
Browse files Browse the repository at this point in the history
change header
  • Loading branch information
1chooo authored Sep 7, 2023
2 parents a902dcb + 1976d3f commit b0db0c5
Show file tree
Hide file tree
Showing 14 changed files with 87 additions and 73 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Simple AI - Bridging the Gap with AI For Everyone
# SIMPLE AI - Bridging the Gap with AI For Everyone

[![project badge](https://img.shields.io/badge/1chooo-simple__ai-informational)](https://github.com/1chooo/simple-ai)
[![Made with Python](https://img.shields.io/badge/Python=3.10.1-blue?logo=python&logoColor=white)](https://python.org "Go to Python homepage")
Expand Down
12 changes: 12 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,15 @@ async def page_signup(request: Request, ):
return templates.TemplateResponse(
f"signup.html", {"request": request}
)

@app.get("/help", response_class=HTMLResponse)
async def page_help(request: Request, ):
return templates.TemplateResponse(
f"help.html", {"request": request}
)

@app.get("/settings", response_class=HTMLResponse)
async def page_settings(request: Request, ):
return templates.TemplateResponse(
f"settings.html", {"request": request}
)
24 changes: 12 additions & 12 deletions templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@
<html lang="en">

<head>
<title>Portal - Bootstrap 5 Admin Dashboard Template For Developers</title>
<title>SIMPLE AI - Bridging the Gap with AI For Everyone</title>

<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="description" content="Portal - Bootstrap 5 Admin Dashboard Template For Developers">
<meta name="author" content="Xiaoying Riley at 3rd Wave Media">
<link rel="shortcut icon" href="favicon.ico">
<meta name="description" content="SIMPLE AI - Bridging the Gap with AI For Everyone">
<meta name="author" content="Hugo ChunHo Lin">
<link rel="shortcut icon" href="/static/favicon.png">

<!-- FontAwesome JS-->
<script defer src="/static/plugins/fontawesome/js/all.min.js"></script>
<!-- FontAwesome JS-->
<script defer src="/static/plugins/fontawesome/js/all.min.js"></script>

<!-- App CSS -->
<link id="theme-style" rel="stylesheet" href="/static/css/portal.css">
<!-- App CSS -->
<link id="theme-style" rel="stylesheet" href="/static/css/portal.css">

</head>

Expand Down
8 changes: 4 additions & 4 deletions templates/account.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<html lang="en">

<head>
<title>Portal - Bootstrap 5 Admin Dashboard Template For Developers</title>
<title>SIMPLE AI - Bridging the Gap with AI For Everyone</title>

<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="description" content="Portal - Bootstrap 5 Admin Dashboard Template For Developers">
<meta name="author" content="Xiaoying Riley at 3rd Wave Media">
<link rel="shortcut icon" href="favicon.ico">
<meta name="description" content="SIMPLE AI - Bridging the Gap with AI For Everyone">
<meta name="author" content="Hugo ChunHo Lin">
<link rel="shortcut icon" href="/static/favicon.png">

<!-- FontAwesome JS-->
<script defer src="/static/plugins/fontawesome/js/all.min.js"></script>
Expand Down
8 changes: 4 additions & 4 deletions templates/charts.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<html lang="en">

<head>
<title>Portal - Bootstrap 5 Admin Dashboard Template For Developers</title>
<title>SIMPLE AI - Bridging the Gap with AI For Everyone</title>

<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="description" content="Portal - Bootstrap 5 Admin Dashboard Template For Developers">
<meta name="author" content="Xiaoying Riley at 3rd Wave Media">
<link rel="shortcut icon" href="favicon.ico">
<meta name="description" content="SIMPLE AI - Bridging the Gap with AI For Everyone">
<meta name="author" content="Hugo ChunHo Lin">
<link rel="shortcut icon" href="/static/favicon.png">

<!-- FontAwesome JS-->
<script defer src="/static/plugins/fontawesome/js/all.min.js"></script>
Expand Down
12 changes: 6 additions & 6 deletions templates/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<html lang="en">

<head>
<title>Portal - Bootstrap 5 Admin Dashboard Template For Developers</title>
<title>SIMPLE AI - Bridging the Gap with AI For Everyone</title>

<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="description" content="Portal - Bootstrap 5 Admin Dashboard Template For Developers">
<meta name="author" content="Xiaoying Riley at 3rd Wave Media">
<link rel="shortcut icon" href="favicon.ico">
<meta name="description" content="SIMPLE AI - Bridging the Gap with AI For Everyone">
<meta name="author" content="Hugo ChunHo Lin">
<link rel="shortcut icon" href="/static/favicon.png">

<!-- FontAwesome JS-->
<script defer src="/static/plugins/fontawesome/js/all.min.js"></script>
Expand Down Expand Up @@ -191,8 +191,8 @@ <h5 class="dropdown-menu-title mb-0">Notifications</h5>
<div class="sidepanel-inner d-flex flex-column">
<a href="#" id="sidepanel-close" class="sidepanel-close d-xl-none">&times;</a>
<div class="app-branding">
<a class="app-logo" href="/"><img class="logo-icon me-2" src="/static/images/app-logo.svg"
alt="logo"><span class="logo-text">PORTAL</span></a>
<a class="app-logo" href="/"><img class="logo-icon me-2" src="/static/favicon.png"
alt="logo"><span class="logo-text">SIMPLE AI</span></a>

</div><!--//app-branding-->

Expand Down
12 changes: 6 additions & 6 deletions templates/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<html lang="en">

<head>
<title>Portal - Bootstrap 5 Admin Dashboard Template For Developers</title>
<title>SIMPLE AI - Bridging the Gap with AI For Everyone</title>

<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="description" content="Portal - Bootstrap 5 Admin Dashboard Template For Developers">
<meta name="author" content="Xiaoying Riley at 3rd Wave Media">
<link rel="shortcut icon" href="favicon.ico">
<meta name="description" content="SIMPLE AI - Bridging the Gap with AI For Everyone">
<meta name="author" content="Hugo ChunHo Lin">
<link rel="shortcut icon" href="/static/favicon.png">

<!-- FontAwesome JS-->
<script defer src="/static/plugins/fontawesome/js/all.min.js"></script>
Expand Down Expand Up @@ -191,15 +191,15 @@ <h5 class="dropdown-menu-title mb-0">Notifications</h5>
<div class="sidepanel-inner d-flex flex-column">
<a href="#" id="sidepanel-close" class="sidepanel-close d-xl-none">&times;</a>
<div class="app-branding">
<a class="app-logo" href="index.html"><img class="logo-icon me-2" src="/static/images/app-logo.svg"
<a class="app-logo" href="/"><img class="logo-icon me-2" src="/static/images/app-logo.svg"
alt="logo"><span class="logo-text">PORTAL</span></a>

</div><!--//app-branding-->
<nav id="app-nav-main" class="app-nav app-nav-main flex-grow-1">
<ul class="app-menu list-unstyled accordion" id="menu-accordion">
<li class="nav-item">
<!--//Bootstrap Icons: https://icons.getbootstrap.com/ -->
<a class="nav-link" href="index.html">
<a class="nav-link" href="/">
<span class="nav-icon">
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-house-door"
fill="currentColor" xmlns="http://www.w3.org/2000/svg">
Expand Down
30 changes: 16 additions & 14 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<html lang="en">

<head>
<title>Simple AI - Bridging the Gap with AI For Everyone</title>
<title>SIMPLE AI - Bridging the Gap with AI For Everyone</title>

<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="description" content="Simple AI - Bridging the Gap with AI For Everyone">
<meta name="description" content="SIMPLE AI - Bridging the Gap with AI For Everyone">
<meta name="author" content="Hugo ChunHo Lin">
<link rel="shortcut icon" href="/static/favicon.png">

Expand All @@ -27,7 +27,7 @@
<div class="container-fluid py-2">
<div class="app-header-content">
<div class="row justify-content-between align-items-center">

<div class="col-auto">
<a id="sidepanel-toggler" class="sidepanel-toggler d-inline-block d-xl-none" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"
Expand All @@ -37,18 +37,20 @@
stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path>
</svg>
</a>
</div><!--//col-->
</div>
<!--//col-->
<div class="search-mobile-trigger d-sm-none col">
<i class="search-mobile-trigger-icon fa-solid fa-magnifying-glass"></i>
</div><!--//col-->
</div>
<!--//app-search-box-->
<div class="app-search-box col">
<form class="app-search-form">
<input type="text" placeholder="Search..." name="search"
class="form-control search-input">
<button type="submit" class="btn search-btn btn-primary" value="Search"><i
class="fa-solid fa-magnifying-glass"></i></button>
</form>
</div><!--//app-search-box-->
</div>

<div class="app-utilities col-auto">
<div class="app-utility-item app-notifications-dropdown dropdown">
Expand Down Expand Up @@ -156,7 +158,7 @@ <h5 class="dropdown-menu-title mb-0">Notifications</h5>
</div><!--//dropdown-menu-->
</div><!--//app-utility-item-->
<div class="app-utility-item">
<a href="settings.html" title="Settings">
<a href="/settings/" title="Settings">
<!--//Bootstrap Icons: https://icons.getbootstrap.com/ -->
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-gear icon"
fill="currentColor" xmlns="http://www.w3.org/2000/svg">
Expand All @@ -174,7 +176,7 @@ <h5 class="dropdown-menu-title mb-0">Notifications</h5>
alt="user profile"></a>
<ul class="dropdown-menu" aria-labelledby="user-dropdown-toggle">
<li><a class="dropdown-item" href="account.html">Account</a></li>
<li><a class="dropdown-item" href="settings.html">Settings</a></li>
<li><a class="dropdown-item" href="/settings/">Settings</a></li>
<li>
<hr class="dropdown-divider">
</li>
Expand All @@ -191,8 +193,8 @@ <h5 class="dropdown-menu-title mb-0">Notifications</h5>
<div class="sidepanel-inner d-flex flex-column">
<a href="#" id="sidepanel-close" class="sidepanel-close d-xl-none">&times;</a>
<div class="app-branding">
<a class="app-logo" href="/"><img class="logo-icon me-2" src="/static/images/app-logo.svg"
alt="logo"><span class="logo-text">PORTAL</span></a>
<a class="app-logo" href="/"><img class="logo-icon me-2" src="/static/favicon.png"
alt="logo"><span class="logo-text">SIMPLE AI</span></a>

</div><!--//app-branding-->

Expand Down Expand Up @@ -275,7 +277,7 @@ <h5 class="dropdown-menu-title mb-0">Notifications</h5>
href="notifications.html">Notifications</a></li>
<li class="submenu-item"><a class="submenu-link" href="account.html">Account</a>
</li>
<li class="submenu-item"><a class="submenu-link" href="settings.html">Settings</a>
<li class="submenu-item"><a class="submenu-link" href="/settings/">Settings</a>
</li>
</ul>
</div>
Expand Down Expand Up @@ -329,7 +331,7 @@ <h5 class="dropdown-menu-title mb-0">Notifications</h5>

<li class="nav-item">
<!--//Bootstrap Icons: https://icons.getbootstrap.com/ -->
<a class="nav-link" href="help.html">
<a class="nav-link" href="/help/">
<span class="nav-icon">
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-question-circle"
fill="currentColor" xmlns="http://www.w3.org/2000/svg">
Expand All @@ -349,7 +351,7 @@ <h5 class="dropdown-menu-title mb-0">Notifications</h5>
<ul class="app-menu footer-menu list-unstyled">
<li class="nav-item">
<!--//Bootstrap Icons: https://icons.getbootstrap.com/ -->
<a class="nav-link" href="settings.html">
<a class="nav-link" href="/settings/">
<span class="nav-icon">
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-gear"
fill="currentColor" xmlns="http://www.w3.org/2000/svg">
Expand Down Expand Up @@ -411,7 +413,7 @@ <h1 class="app-page-title">Overview</h1>
<div class="app-card alert alert-dismissible shadow-sm mb-4 border-left-decoration" role="alert">
<div class="inner">
<div class="app-card-body p-3 p-lg-4">
<h3 class="mb-3">Welcome, Simple AI!</h3>
<h3 class="mb-3">Welcome, SIMPLE AI!</h3>

<div class="row gx-5 gy-3">
<div>
Expand Down
8 changes: 4 additions & 4 deletions templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<html lang="en">

<head>
<title>Portal - Bootstrap 5 Admin Dashboard Template For Developers</title>
<title>SIMPLE AI - Bridging the Gap with AI For Everyone</title>

<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="description" content="Portal - Bootstrap 5 Admin Dashboard Template For Developers">
<meta name="author" content="Xiaoying Riley at 3rd Wave Media">
<link rel="shortcut icon" href="favicon.ico">
<meta name="description" content="SIMPLE AI - Bridging the Gap with AI For Everyone">
<meta name="author" content="Hugo ChunHo Lin">
<link rel="shortcut icon" href="/static/favicon.png">

<!-- FontAwesome JS-->
<script defer src="/static/plugins/fontawesome/js/all.min.js"></script>
Expand Down
8 changes: 4 additions & 4 deletions templates/notifications.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<html lang="en">

<head>
<title>Portal - Bootstrap 5 Admin Dashboard Template For Developers</title>
<title>SIMPLE AI - Bridging the Gap with AI For Everyone</title>

<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="description" content="Portal - Bootstrap 5 Admin Dashboard Template For Developers">
<meta name="author" content="Xiaoying Riley at 3rd Wave Media">
<link rel="shortcut icon" href="favicon.ico">
<meta name="description" content="SIMPLE AI - Bridging the Gap with AI For Everyone">
<meta name="author" content="Hugo ChunHo Lin">
<link rel="shortcut icon" href="/static/favicon.png">

<!-- FontAwesome JS-->
<script defer src="/static/plugins/fontawesome/js/all.min.js"></script>
Expand Down
8 changes: 4 additions & 4 deletions templates/orders.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<html lang="en">

<head>
<title>Portal - Bootstrap 5 Admin Dashboard Template For Developers</title>
<title>SIMPLE AI - Bridging the Gap with AI For Everyone</title>

<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="description" content="Portal - Bootstrap 5 Admin Dashboard Template For Developers">
<meta name="author" content="Xiaoying Riley at 3rd Wave Media">
<link rel="shortcut icon" href="favicon.ico">
<meta name="description" content="SIMPLE AI - Bridging the Gap with AI For Everyone">
<meta name="author" content="Hugo ChunHo Lin">
<link rel="shortcut icon" href="/static/favicon.png">

<!-- FontAwesome JS-->
<script defer src="/static/plugins/fontawesome/js/all.min.js"></script>
Expand Down
8 changes: 4 additions & 4 deletions templates/reset-password.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<html lang="en">

<head>
<title>Portal - Bootstrap 5 Admin Dashboard Template For Developers</title>
<title>SIMPLE AI - Bridging the Gap with AI For Everyone</title>

<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="description" content="Portal - Bootstrap 5 Admin Dashboard Template For Developers">
<meta name="author" content="Xiaoying Riley at 3rd Wave Media">
<link rel="shortcut icon" href="favicon.ico">
<meta name="description" content="SIMPLE AI - Bridging the Gap with AI For Everyone">
<meta name="author" content="Hugo ChunHo Lin">
<link rel="shortcut icon" href="/static/favicon.png">

<!-- FontAwesome JS-->
<script defer src="/static/plugins/fontawesome/js/all.min.js"></script>
Expand Down
Loading

0 comments on commit b0db0c5

Please sign in to comment.