login page is now standalone, and error messages have been styled
This commit is contained in:
@@ -50,7 +50,7 @@ def login(request):
|
|||||||
if handled:
|
if handled:
|
||||||
return handled
|
return handled
|
||||||
|
|
||||||
return shortcuts.render_to_response('login_required.html', {
|
return shortcuts.render_to_response('splash.html', {
|
||||||
'form': form,
|
'form': form,
|
||||||
}, context_instance=template.RequestContext(request))
|
}, context_instance=template.RequestContext(request))
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
/* @override http://looce.com:8080/media/dashboard/css/style.css */
|
||||||
|
|
||||||
@import url("reset.css");
|
@import url("reset.css");
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@@ -731,11 +733,17 @@ p#copy {
|
|||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dash_block form .errorlist {
|
.dash_block form .errorlist, #standalone .errorlist {
|
||||||
color: #ff5c5f;
|
color: #ff5c5f;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#standalone .errorlist li {
|
||||||
|
float: left;
|
||||||
|
width: 100%;
|
||||||
|
margin-top: -10px;
|
||||||
|
}
|
||||||
|
|
||||||
.dash_block label {
|
.dash_block label {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user