From ecbb7d0231c1d89dd1153140c20aa5f62a785936 Mon Sep 17 00:00:00 2001
From: Yaumi <mrcumy@gmail.com>
Date: Fri, 9 Oct 2020 22:58:48 +0700
Subject: [PATCH] add template

---
 .../app/includes/sidebar_profile.html         |  18 +++++++++++-------
 app/templates/change-password.html            |  17 +++++++++++++++++
 app/templates/password_success.html           |  11 +++++++++++
 digipus/__pycache__/settings.cpython-36.pyc   | Bin 3523 -> 3523 bytes
 4 files changed, 39 insertions(+), 7 deletions(-)
 create mode 100644 app/templates/change-password.html
 create mode 100644 app/templates/password_success.html

diff --git a/app/templates/app/includes/sidebar_profile.html b/app/templates/app/includes/sidebar_profile.html
index 72caa8d..dee2575 100644
--- a/app/templates/app/includes/sidebar_profile.html
+++ b/app/templates/app/includes/sidebar_profile.html
@@ -1,6 +1,6 @@
-<ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">
-      <!-- Sidebar - Brand -->
-      <a class="sidebar-brand d-flex align-items-center justify-content-center" href="{% url 'daftar_katalog' %}">
+    <ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">
+    <!-- Sidebar - Brand -->
+    <a class="sidebar-brand d-flex align-items-center justify-content-center" href="{% url 'daftar_katalog' %}">
         <div class="sidebar-brand-icon rotate-n-15"></div>
         <div class="sidebar-brand-text mx-3">Digipus</div>
     </a>
@@ -10,12 +10,16 @@
 
     <!-- Nav Item - Dashboard -->
     <li class="nav-item">
-    <a class="nav-link" href="/profil/">
-        <span>Halaman Profil</span></a>
+        <a class="nav-link" href="/profil/">
+            <span>Halaman Profil</span></a>
     </li>
 
     <li class="nav-item">
-    <a class="nav-link" href="/sunting/">
-        <span>Sunting Profil</span></a>
+        <a class="nav-link" href="/sunting/">
+            <span>Sunting Profil</span></a>
+    </li>
+    <li class="nav-item">
+        <a class="nav-link" href="/change-password/">
+            <span>Change Password</span></a>
     </li>
 </ul>
\ No newline at end of file
diff --git a/app/templates/change-password.html b/app/templates/change-password.html
new file mode 100644
index 0000000..cd9bc26
--- /dev/null
+++ b/app/templates/change-password.html
@@ -0,0 +1,17 @@
+{% extends 'app/base_profile.html' %}
+{% block title %}Change Password{% endblock%}
+{% block content %}
+
+
+<h1> Change Password </h1>
+<br/><br/>
+
+<div class = "from-group">
+	<form method="POST">
+		{% csrf_token %}
+		{{ form.as_p }}
+		<button class="btn btn-secondary"> Change Password</button>
+	</form>
+</div>
+
+{% endblock %}
\ No newline at end of file
diff --git a/app/templates/password_success.html b/app/templates/password_success.html
new file mode 100644
index 0000000..3c61031
--- /dev/null
+++ b/app/templates/password_success.html
@@ -0,0 +1,11 @@
+{% extends 'app/base_profile.html' %}
+{% block title %}Change Password{% endblock%}
+{% block content %}
+
+
+<h1> Password was Changed Successfully!</h1>
+<br/><br/>
+
+
+
+{% endblock %}
\ No newline at end of file
diff --git a/digipus/__pycache__/settings.cpython-36.pyc b/digipus/__pycache__/settings.cpython-36.pyc
index a2dfadd532b5c69b61e9c0a2768ccc1ee6376edf..20df0c90cc3f2c037c813b0bcfe76a67c759ad9f 100644
GIT binary patch
delta 552
zcmX>seOOxAn3tEUvZNutQ<#C_F#{6dXJBA(U|?V<7MZAASf3)2BAOzW&L72>BAz0V
zBAFtUBAp_WBAX(YB9YD+#h)S{C6J;JC77a^%9zEPC6vmUqSVZk&X^*fqMV|VqMD+X
zqMpu@$(W)shb5gcN;pL`N+gvfMJts%MLR{OmpMu_l_f<N&J#;zNzsGz#8c}<ComQ%
zr0Ay@q_U(KHZ!KOq!@uoV=!p~CQVb!nwe6}=dfimMoHx5q>4>oEb_=?h>}QU%#uv8
zXl9I(N@dEDPL)crOtI=^N|i{_w_(V0Nfn>KSX2U5$C6@^Dg$*8irRXpVu=*}6l=H-
zZJL=<Z09h6tb>c$H8Z6#M#-kwN6Do)q&Q|WrZ}WHfk|gD>5|Eq&Jrb`;u@up;ufWt
zA|IucA|IukA|Is!H^aS|DM~fPBT5Y}qU{a}%qaB~&nOMJpjR_flxB)|lv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