mirror of https://github.com/fspc/workstand.git
Drew Larson
9 years ago
2 changed files with 37 additions and 0 deletions
@ -0,0 +1,31 @@ |
|||
{% extends 'base.html' %} |
|||
|
|||
{% block content %} |
|||
<div class="demo-graphs mdl-shadow--2dp mdl-color--white mdl-cell mdl-cell--8-col mdl-shadow--2dp"> |
|||
<h2 class="mdl-card__title-text">Welcome</h2> |
|||
<form action="#"> |
|||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
|||
<input class="mdl-textfield__input" type="text" id="sample3"> |
|||
<label class="mdl-textfield__label" for="sample3">Text...</label> |
|||
</div> |
|||
</form> |
|||
<!-- Numeric Textfield with Floating Label --> |
|||
<form action="#"> |
|||
<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> |
|||
<input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?" id="sample4"> |
|||
<label class="mdl-textfield__label" for="sample4">Number...</label> |
|||
<span class="mdl-textfield__error">Input is not a number!</span> |
|||
</div> |
|||
</form> |
|||
<div class="mdl-card__actions mdl-card--border"> |
|||
<a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect"> |
|||
Get Started |
|||
</a> |
|||
</div> |
|||
<div class="mdl-card__menu"> |
|||
<button class="mdl-button mdl-button--icon mdl-js-button mdl-js-ripple-effect"> |
|||
<i class="material-icons">share</i> |
|||
</button> |
|||
</div> |
|||
</div> |
|||
{% endblock %} |
@ -0,0 +1,6 @@ |
|||
from django.conf.urls import url |
|||
from django.contrib.auth import views |
|||
|
|||
urlpatterns = [ |
|||
url(r'^login/$', views.login, {'template_name': 'login.html'}), |
|||
] |
Loading…
Reference in new issue