Merge remote branch 'origin/trunk_safe' into trunk_safe
This commit is contained in:
commit
8f613022f0
@ -50,7 +50,7 @@ def login(request):
|
||||
if handled:
|
||||
return handled
|
||||
|
||||
return shortcuts.render_to_response('login_required.html', {
|
||||
return shortcuts.render_to_response('splash.html', {
|
||||
'form': form,
|
||||
}, context_instance=template.RequestContext(request))
|
||||
|
||||
|
@ -39,7 +39,7 @@ class UserDeleteForm(forms.SelfHandlingForm):
|
||||
def handle(self, request, data):
|
||||
user_id = data['user']
|
||||
api.user_delete(request, user_id)
|
||||
messages.success(request,
|
||||
messages.info(request,
|
||||
'%s was successfully deleted.'
|
||||
% user_id)
|
||||
return redirect(request.build_absolute_uri())
|
||||
|
@ -6,5 +6,5 @@
|
||||
{{ field.errors }}
|
||||
{{ field }}
|
||||
{% endfor %}
|
||||
<input type="submit" value="Submit" class="large-rounded" />
|
||||
<input type="submit" value="Create User" class="large-rounded" />
|
||||
</form>
|
||||
|
@ -1,3 +1,5 @@
|
||||
/* @override http://looce.com:8080/media/dashboard/css/style.css */
|
||||
|
||||
@import url("reset.css");
|
||||
|
||||
@font-face {
|
||||
@ -216,6 +218,17 @@ border: 1px solid #cbe0e8;
|
||||
-webkit-box-shadow: 0 0 10px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
#standalone #login_wrapper .status_box {
|
||||
width: 335px;
|
||||
margin: 0;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
#standalone #login_wrapper h2 {
|
||||
min-width: 65px;
|
||||
}
|
||||
#standalone #login_wrapper p {
|
||||
width: 183px;
|
||||
}
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
@ -370,7 +383,7 @@ input[readonly="readonly"] {
|
||||
padding-right: 21px;
|
||||
}
|
||||
|
||||
.search input[type="text"], .dash_block form input[type="text"], .dash_block form textarea{
|
||||
.search input[type="text"], .dash_block form input[type="text"], .dash_block form input[type="password"], .dash_block form textarea{
|
||||
margin-left: -1px;
|
||||
border: 1px solid #ccc;
|
||||
height: 31px;
|
||||
@ -385,7 +398,7 @@ input[readonly="readonly"] {
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.search input[type="text"]:focus, .modal_window input:focus, .modal_window textarea:focus, .dash_block form input[type="text"]:focus {
|
||||
.search input[type="text"]:focus, .modal_window input:focus, .modal_window textarea:focus, .dash_block form input[type="text"]:focus, .dash_block form input[type="password"]:focus {
|
||||
outline: none;
|
||||
box-shadow:0 0 3px #41bad4;
|
||||
-moz-box-shadow:0 0 3px #41bad4;
|
||||
@ -1029,8 +1042,8 @@ ol li.first a {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.dash_block form input[type="text"] {
|
||||
width: 284px;
|
||||
.dash_block form input[type="text"],.dash_block form input[type="password"] {
|
||||
width: 309px;
|
||||
}
|
||||
|
||||
.modal_window .continue_link, .dash_block form input[type="submit"], .dash_block a.more {
|
||||
|
@ -25,6 +25,11 @@ $(function(){
|
||||
$("#tenant_form input#id__id").example("YetAnotherTenant");
|
||||
$("#tenant_form textarea#id_description").example("One or two sentence description.");
|
||||
|
||||
// update/create tenant
|
||||
$("#user_form input#id_id").example("username");
|
||||
$("#user_form input#id_email").example("email@example.com");
|
||||
$("#user_form input#id_password").example("password");
|
||||
|
||||
// table search box
|
||||
$("input#table_search").example("Search...")
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user