summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashantsinalkar2020-03-01 23:18:24 +0530
committerprashantsinalkar2020-03-01 23:18:24 +0530
commitdf264aadde958473d500b1ad55418ce6ac8fea24 (patch)
tree7224495d02ace06a87b70502036a0f642957906a
parentb447c126fdbdfdb48a315f646e240148813810c8 (diff)
downloadarduino_projects_website-df264aadde958473d500b1ad55418ce6ac8fea24.tar.gz
arduino_projects_website-df264aadde958473d500b1ad55418ce6ac8fea24.tar.bz2
arduino_projects_website-df264aadde958473d500b1ad55418ce6ac8fea24.zip
added dashboard file
-rw-r--r--arduino_blog/templates/dashboard.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/arduino_blog/templates/dashboard.html b/arduino_blog/templates/dashboard.html
new file mode 100644
index 0000000..a4528a8
--- /dev/null
+++ b/arduino_blog/templates/dashboard.html
@@ -0,0 +1,23 @@
+{% extends "base.html" %}
+
+{% block css%}
+ <link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/dashboard.css" type="text/css" />
+{% endblock %}
+{% block content %}
+{% if success %}
+ <center>
+ <div class="alert alert-success" role="alert">
+ <strong> {{ msg }} </strong>
+ </div>
+ <!-- <a href="{{URL_ROOT}}/exam/"> Home </a> -->
+ </center>
+{% else %}
+ {% if msg %}
+ <center>
+ <div class="alert alert-warning" role="alert">
+ <strong> {{ msg }} </strong>
+ </div>
+ {% endif %}
+{% endif %}
+<br/>
+{% endblock content %}