[design] module pages, messages, timelines

This commit is contained in:
Rushabh Mehta
2014-12-25 17:17:32 +05:30
committed by Anand Doshi
parent 4096a3ab2b
commit a5b149c061
5 changed files with 5 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ pscript['onload_Accounts Browser'] = function(wrapper){
chart_area = $("<div>") chart_area = $("<div>")
.css({"margin-bottom": "15px", "min-height": "200px"}) .css({"margin-bottom": "15px", "min-height": "200px"})
.appendTo(main), .appendTo(main),
help_area = $('<div class="well">'+ help_area = $('<div class="msg-box">'+
'<h4>'+__('Quick Help')+'</h4>'+ '<h4>'+__('Quick Help')+'</h4>'+
'<ol>'+ '<ol>'+
'<li>'+__('To add child nodes, explore tree and click on the node under which you want to add more nodes.')+'</li>'+ '<li>'+__('To add child nodes, explore tree and click on the node under which you want to add more nodes.')+'</li>'+

View File

@@ -1,7 +1,3 @@
.small {
font-size: 11.5px;
}
.erpnext-footer { .erpnext-footer {
margin: 11px auto; margin: 11px auto;
text-align: center; text-align: center;

View File

@@ -69,7 +69,7 @@ erpnext.AccountTreeGrid = frappe.views.TreeGridReport.extend({
{fieldtype: "Label", label: __("To")}, {fieldtype: "Label", label: __("To")},
{fieldtype: "Date", label: __("To Date"), fieldname: "to_date"}, {fieldtype: "Date", label: __("To Date"), fieldname: "to_date"},
{fieldtype: "Button", label: __("Refresh"), icon:"icon-refresh icon-white", {fieldtype: "Button", label: __("Refresh"), icon:"icon-refresh icon-white",
cssClass:"btn-info"}, cssClass:"btn-primary"},
{fieldtype: "Button", label: __("Reset Filters"), icon: "icon-filter"}, {fieldtype: "Button", label: __("Reset Filters"), icon: "icon-filter"},
], ],
setup_filters: function() { setup_filters: function() {

View File

@@ -8,7 +8,7 @@ frappe.provide("shopping_cart");
$.extend(shopping_cart, { $.extend(shopping_cart, {
show_error: function(title, text) { show_error: function(title, text) {
$("#cart-container").html('<div class="well"><h4>' + title + '</h4> ' + text + '</div>'); $("#cart-container").html('<div class="msg-box"><h4>' + title + '</h4> ' + text + '</div>');
}, },
bind_events: function() { bind_events: function() {
@@ -96,7 +96,7 @@ $.extend(shopping_cart, {
}); });
if(!(addresses && addresses.length)) { if(!(addresses && addresses.length)) {
$cart_shipping_address.html('<div class="well">'+frappe._("Hey! Go ahead and add an address")+'</div>'); $cart_shipping_address.html('<div class="msg-box">'+frappe._("Hey! Go ahead and add an address")+'</div>');
} else { } else {
shopping_cart.render_address($cart_shipping_address, addresses, doc.shipping_address_name); shopping_cart.render_address($cart_shipping_address, addresses, doc.shipping_address_name);
shopping_cart.render_address($cart_billing_address, addresses, doc.customer_address); shopping_cart.render_address($cart_billing_address, addresses, doc.customer_address);

View File

@@ -44,7 +44,7 @@ cur_frm.cscript.setup_upload = function() {
.click(function() { .click(function() {
$log.html("Working..."); $log.html("Working...");
}) })
.addClass("btn-info") .addClass("btn-primary")
.attr('value', 'Upload and Rename') .attr('value', 'Upload and Rename')
} }