made all.js and all.css and all guests share same session
This commit is contained in:
parent
bfc03cf8bd
commit
afaac60982
177
build.json
Normal file
177
build.json
Normal file
@ -0,0 +1,177 @@
|
||||
[
|
||||
{
|
||||
"lib/js/core.min.js": [
|
||||
"lib/js/wn/class.js",
|
||||
"lib/js/wn/provide.js",
|
||||
"lib/js/wn/xmlhttp.js",
|
||||
"lib/js/wn/versions.js",
|
||||
"lib/js/wn/assets.js",
|
||||
"lib/js/wn/require.js",
|
||||
"lib/js/wn/dom.js",
|
||||
"lib/js/wn/page.js",
|
||||
"lib/js/lib/json2.js",
|
||||
"lib/js/core.js"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"lib/js/wn/ui/toolbar.min.js": [
|
||||
"lib/js/wn/ui/toolbar/selector_dialog.js",
|
||||
"lib/js/wn/ui/toolbar/new.js",
|
||||
"lib/js/wn/ui/toolbar/search.js",
|
||||
"lib/js/wn/ui/toolbar/report.js",
|
||||
"lib/js/wn/ui/toolbar/recent.js",
|
||||
"lib/js/wn/ui/toolbar/toolbar.js"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"lib/js/legacy/report.compressed.js": [
|
||||
"lib/js/legacy/widgets/report_builder/report_builder.js",
|
||||
"lib/js/legacy/widgets/report_builder/datatable.js",
|
||||
"lib/js/legacy/widgets/report_builder/calculator.js"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"css/all-web.css": [
|
||||
"lib/css/legacy/body.css",
|
||||
"lib/css/legacy/menus.css",
|
||||
"lib/css/legacy/messages.css",
|
||||
"lib/css/legacy/dialog.css",
|
||||
"lib/css/legacy/bootstrap-buttons.css",
|
||||
"lib/css/bootstrap/bootstrap-topbar.css",
|
||||
"erpnext/startup/startup.css",
|
||||
"erpnext/website/css/website.css"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"css/all-app.css": [
|
||||
"lib/css/legacy/body.css",
|
||||
"lib/css/legacy/menus.css",
|
||||
"lib/css/legacy/messages.css",
|
||||
"lib/css/legacy/forms.css",
|
||||
"lib/css/legacy/grid.css",
|
||||
"lib/css/legacy/listing.css",
|
||||
"lib/css/legacy/report.css",
|
||||
"lib/css/legacy/calendar.css",
|
||||
"lib/css/legacy/autosuggest.css",
|
||||
"lib/css/legacy/dialog.css",
|
||||
"lib/css/legacy/tabs.css",
|
||||
"lib/css/legacy/bw-icons.css",
|
||||
"lib/css/legacy/sidebar.css",
|
||||
"lib/css/legacy/bootstrap-buttons.css",
|
||||
"lib/css/bootstrap/bootstrap-topbar.css",
|
||||
"erpnext/startup/startup.css"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"js/all-web.js": [
|
||||
"lib/js/lib/jquery.min.js:concat",
|
||||
"lib/js/lib/history/history.min.js:concat",
|
||||
"lib/js/core.min.js:concat",
|
||||
"lib/js/legacy/globals.js",
|
||||
"lib/js/legacy/utils/datatype.js",
|
||||
"lib/js/legacy/utils/browser_detect.js",
|
||||
"lib/js/legacy/utils/datetime.js",
|
||||
"lib/js/legacy/utils/dom.js",
|
||||
"lib/js/legacy/utils/handler.js",
|
||||
"lib/js/legacy/utils/msgprint.js",
|
||||
"lib/js/legacy/utils/shortcut.js",
|
||||
"lib/js/legacy/widgets/form/fields.js",
|
||||
"lib/js/wn/ui/dialog.js",
|
||||
"lib/js/legacy/widgets/dialog.js",
|
||||
"lib/js/wn/ui/listing.js",
|
||||
"lib/js/legacy/widgets/layout.js",
|
||||
"lib/js/legacy/webpage/page_header.js",
|
||||
"lib/js/legacy/widgets/select.js",
|
||||
"lib/js/legacy/webpage/history.js",
|
||||
"lib/js/legacy/webpage/search.js",
|
||||
"lib/js/legacy/webpage/spinner.js",
|
||||
"lib/js/legacy/webpage/freeze_page.js",
|
||||
"lib/js/legacy/webpage/error_console.js",
|
||||
"lib/js/legacy/webpage/loaders.js",
|
||||
"lib/js/legacy/webpage/uploader.js",
|
||||
"lib/js/legacy/webpage/page.js",
|
||||
"lib/js/legacy/wn/page_layout.js",
|
||||
"lib/js/legacy/wn/widgets/footer.js",
|
||||
"lib/js/legacy/model/local_data.js",
|
||||
"lib/js/legacy/model/doclist.js",
|
||||
"lib/js/legacy/webpage/body.js",
|
||||
"lib/js/legacy/app.js",
|
||||
"js/app.js",
|
||||
"lib/js/bootstrap/bootstrap-dropdown.js:concat",
|
||||
"erpnext/startup/startup.js",
|
||||
"erpnext/website/js/topbar.js"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"js/all-app.js": [
|
||||
"lib/js/lib/jquery.min.js:concat",
|
||||
"lib/js/lib/history/history.min.js:concat",
|
||||
"lib/js/core.min.js:concat",
|
||||
"lib/js/legacy/globals.js",
|
||||
"lib/js/legacy/utils/datatype.js",
|
||||
"lib/js/legacy/utils/browser_detect.js",
|
||||
"lib/js/legacy/utils/datetime.js",
|
||||
"lib/js/legacy/utils/dom.js",
|
||||
"lib/js/legacy/utils/handler.js",
|
||||
"lib/js/legacy/utils/msgprint.js",
|
||||
"lib/js/legacy/utils/shortcut.js",
|
||||
"lib/js/legacy/utils/printElement.js",
|
||||
"lib/js/legacy/widgets/form/fields.js",
|
||||
"lib/js/wn/ui/dialog.js",
|
||||
"lib/js/legacy/widgets/dialog.js",
|
||||
"lib/js/legacy/widgets/listing.js",
|
||||
"lib/js/wn/ui/listing.js",
|
||||
"lib/js/legacy/widgets/layout.js",
|
||||
"lib/js/legacy/widgets/tabbedpage.js",
|
||||
"lib/js/legacy/webpage/page_header.js",
|
||||
"lib/js/legacy/widgets/select.js",
|
||||
"lib/js/legacy/widgets/tags.js",
|
||||
"lib/js/legacy/widgets/export_query.js",
|
||||
"lib/js/legacy/webpage/history.js",
|
||||
"lib/js/legacy/webpage/search.js",
|
||||
"lib/js/legacy/webpage/spinner.js",
|
||||
"lib/js/legacy/webpage/freeze_page.js",
|
||||
"lib/js/legacy/webpage/error_console.js",
|
||||
"lib/js/legacy/webpage/loaders.js",
|
||||
"lib/js/legacy/webpage/uploader.js",
|
||||
"lib/js/legacy/webpage/page.js",
|
||||
"lib/js/legacy/wn/page_layout.js",
|
||||
"lib/js/legacy/wn/widgets/page_sidebar.js",
|
||||
"lib/js/legacy/wn/widgets/footer.js",
|
||||
"lib/js/legacy/model/local_data.js",
|
||||
"lib/js/legacy/model/doclist.js",
|
||||
"lib/js/bootstrap/bootstrap-dropdown.js:concat",
|
||||
"lib/js/wn/ui/toolbar.min.js:concat",
|
||||
"lib/js/legacy/webpage/body.js",
|
||||
"lib/js/legacy/widgets/form/fields.js",
|
||||
"lib/js/legacy/widgets/form/form_container.js",
|
||||
"lib/js/legacy/widgets/form/form_header.js",
|
||||
"lib/js/legacy/widgets/form/form.js",
|
||||
"lib/js/legacy/widgets/form/form_fields.js",
|
||||
"lib/js/legacy/widgets/form/grid.js",
|
||||
"lib/js/legacy/widgets/form/form_grid.js",
|
||||
"lib/js/legacy/widgets/form/print_format.js",
|
||||
"lib/js/legacy/widgets/form/email.js",
|
||||
"lib/js/legacy/widgets/form/clientscriptAPI.js",
|
||||
"lib/js/legacy/widgets/form/form_comments.js",
|
||||
"lib/js/legacy/wn/widgets/form/sidebar.js",
|
||||
"lib/js/legacy/wn/widgets/form/comments.js",
|
||||
"lib/js/legacy/wn/widgets/form/attachments.js",
|
||||
"lib/js/legacy/wn/widgets/form/assign_to.js",
|
||||
"lib/js/legacy/app.js",
|
||||
"js/app.js",
|
||||
"erpnext/startup/startup.js",
|
||||
"erpnext/startup/modules.js",
|
||||
"erpnext/startup/toolbar.js",
|
||||
"erpnext/startup/feature_setup.js"
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
|
2248
css/all-app.css
Normal file
2248
css/all-app.css
Normal file
File diff suppressed because it is too large
Load Diff
1158
css/all-web.css
Normal file
1158
css/all-web.css
Normal file
File diff suppressed because it is too large
Load Diff
1850
css/style-app.css
Normal file
1850
css/style-app.css
Normal file
File diff suppressed because it is too large
Load Diff
629
css/style-web.css
Normal file
629
css/style-web.css
Normal file
@ -0,0 +1,629 @@
|
||||
|
||||
/*
|
||||
* lib/css/legacy/body.css
|
||||
*/html {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font-family: Arial, Helvetica, Sans;
|
||||
font-size: 12px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/* heading from bootstrap */
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
margin: 0;
|
||||
font-weight: bold;
|
||||
color: #333333;
|
||||
text-rendering: optimizelegibility;
|
||||
margin-bottom: 0.3em;
|
||||
}
|
||||
h1 small,
|
||||
h2 small,
|
||||
h3 small,
|
||||
h4 small,
|
||||
h5 small,
|
||||
h6 small {
|
||||
font-weight: normal;
|
||||
color: #999999;
|
||||
}
|
||||
h1 {
|
||||
font-size: 30px;
|
||||
line-height: 36px;
|
||||
}
|
||||
h1 small {
|
||||
font-size: 18px;
|
||||
}
|
||||
h2 {
|
||||
font-size: 24px;
|
||||
line-height: 36px;
|
||||
}
|
||||
h2 small {
|
||||
font-size: 18px;
|
||||
}
|
||||
h3 {
|
||||
line-height: 27px;
|
||||
font-size: 18px;
|
||||
}
|
||||
h3 small {
|
||||
font-size: 14px;
|
||||
}
|
||||
h4, h5, h6 {
|
||||
line-height: 18px;
|
||||
}
|
||||
h4 {
|
||||
font-size: 14px;
|
||||
}
|
||||
h4 small {
|
||||
font-size: 12px;
|
||||
}
|
||||
h5 {
|
||||
font-size: 12px;
|
||||
}
|
||||
h6 {
|
||||
font-size: 11px;
|
||||
color: #999999;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
pre { margin: 0px; padding: 0px; }
|
||||
|
||||
button { margin: 2px; margin-left: 0px; }
|
||||
|
||||
label {
|
||||
padding-top: 15px;
|
||||
color: #404040;
|
||||
}
|
||||
|
||||
select, input, textarea {
|
||||
border: 1px solid #AAA;
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
font-size: 13px;
|
||||
padding: 4px;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
textarea {
|
||||
font-family: inherit;
|
||||
height: 120px;
|
||||
width: 90%;
|
||||
font-size: 12px;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
table { padding: 0px; border-collapse: 'collapse'}
|
||||
|
||||
td {
|
||||
padding:0px;
|
||||
margin: 0px;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0px 0px 9px 0px;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
li {
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
a:active { outline:none; }
|
||||
|
||||
:focus { -moz-outline-style:none; }
|
||||
|
||||
table.simpletable { border-collapse: collapse; margin-bottom: 10px;}
|
||||
table.simpletable td {border: 1pt solid #000; vertical-align: top; padding: 2px; }
|
||||
|
||||
div.fix_ff_cursor { overflow: auto; }
|
||||
|
||||
/* --- Layout --- */
|
||||
|
||||
div.comment { color: #444; }
|
||||
|
||||
div#body_div {
|
||||
position: relative;
|
||||
display: none;
|
||||
margin-top: 56px;
|
||||
padding-right: 7px;
|
||||
}
|
||||
|
||||
div.no_script {
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.loading_div {
|
||||
position: absolute;
|
||||
background-color: #FFFFCC;
|
||||
z-index: 1999;
|
||||
right: 5px;
|
||||
width: 90px;
|
||||
display: none;
|
||||
text-align: center;
|
||||
padding: 2px;
|
||||
font-size: 12px;
|
||||
border: 1px solid #FF4;
|
||||
}
|
||||
|
||||
|
||||
div#head_div { background-color: #FFF; }
|
||||
|
||||
#head_banner { background-color: #FFF; }
|
||||
|
||||
.link_type {
|
||||
padding:2px;
|
||||
color: #00b;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.link_type:hover {
|
||||
color: #fff !important;
|
||||
background-color: #07b;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
div.std-footer {
|
||||
margin: 13px 0px;
|
||||
border-top: 1px solid #AAA;
|
||||
padding: 13px;
|
||||
}
|
||||
|
||||
div.std-footer-item {
|
||||
margin: 0px 13px 13px 0px;
|
||||
}
|
||||
|
||||
.shadow {
|
||||
-moz-box-shadow: 0px 2px 2px #888;
|
||||
-webkit-box-shadow: 0px 2px 2px #888;
|
||||
box-shadow: 0px 2px 2px #888;
|
||||
}
|
||||
|
||||
.round {
|
||||
-webkit-border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.gradient {
|
||||
background: #ededed; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ededed 0%, #d1d1d1 47%, #b7b7b7 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ededed), color-stop(47%,#d1d1d1), color-stop(100%,#b7b7b7)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ededed 0%,#d1d1d1 47%,#b7b7b7 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ededed 0%,#d1d1d1 47%,#b7b7b7 100%); /* Opera11.10+ */
|
||||
background: -ms-linear-gradient(top, #ededed 0%,#d1d1d1 47%,#b7b7b7 100%); /* IE10+ */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#b7b7b7',GradientType=0 ); /* IE6-9 */
|
||||
background: linear-gradient(top, #ededed 0%,#d1d1d1 47%,#b7b7b7 100%); /* W3C */
|
||||
}
|
||||
|
||||
.header-gradient {
|
||||
background: #84827c; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #84827c 0%, #27211c 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#84827c), color-stop(100%,#27211c)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #84827c 0%,#27211c 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #84827c 0%,#27211c 100%); /* Opera11.10+ */
|
||||
background: -ms-linear-gradient(top, #84827c 0%,#27211c 100%); /* IE10+ */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#84827c', endColorstr='#27211c',GradientType=0 ); /* IE6-9 */
|
||||
background: linear-gradient(top, #84827c 0%,#27211c 100%); /* W3C */
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.layout_wrapper {
|
||||
padding: 15px;
|
||||
-moz-box-shadow: 1px 1px 6px #AAA;
|
||||
-webkit-box-shadow: 1px 1px 6px #AAA;
|
||||
box-shadow: 1px 1px 6px #AAA;
|
||||
background-color: #FFF;
|
||||
}
|
||||
|
||||
/* from bootstrap */
|
||||
.container {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
zoom: 1;
|
||||
}
|
||||
.container:before, .container:after {
|
||||
display: table;
|
||||
content: "";
|
||||
zoom: 1;
|
||||
}
|
||||
.container:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/*
|
||||
* lib/css/legacy/menus.css
|
||||
*/
|
||||
/******** Menus - menu.js ************/
|
||||
|
||||
ul.menu_toolbar {
|
||||
z-index: 30;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
||||
ul.menu_toolbar li {
|
||||
list-style: none;
|
||||
margin: 0px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.top_menu {
|
||||
margin: 0px;
|
||||
padding: 4px;
|
||||
cursor: pointer;
|
||||
color: #FFF;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.top_menu_mo {
|
||||
background-color: #000;
|
||||
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
}
|
||||
|
||||
div.menu_toolbar_dropdown {
|
||||
position: absolute;
|
||||
margin-top: 4px;
|
||||
margin-left: 8px;
|
||||
width: 140px;
|
||||
background-color: #FFF;
|
||||
color: #000;
|
||||
display: none;
|
||||
border: 2px solid #333;
|
||||
z-index: 31;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
div.dd_item {
|
||||
cursor: pointer;
|
||||
padding: 4px;
|
||||
background-color: #FFF;
|
||||
}
|
||||
div.dd_item_mo { background-color: #FE8; }
|
||||
/*
|
||||
* lib/css/legacy/messages.css
|
||||
*/
|
||||
/* FLOATING MESSAGE */
|
||||
|
||||
.btn-img { cursor: pointer; }
|
||||
|
||||
div.fetching { color: #888; text-align:right; }
|
||||
|
||||
div.notice {
|
||||
postion: absolute;
|
||||
background-color: #000;
|
||||
-moz-border-radius: 5px; -webkit-border-radius: 5px;
|
||||
opacity: 0.6;
|
||||
right: 0;
|
||||
top: 0;
|
||||
margin-top: 8px;
|
||||
z-index: -1;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
/** help **/
|
||||
|
||||
.info-box {
|
||||
background-color: #F8F8F8;
|
||||
border: 1px solid #CCCCCC;
|
||||
border-radius: 3px 3px 3px 3px;
|
||||
line-height: 1.6em;
|
||||
overflow: auto;
|
||||
padding: 6px 10px;
|
||||
margin-bottom: 9px;
|
||||
}
|
||||
|
||||
.help_box, .help-box {
|
||||
background-color:#FFC;
|
||||
font-size: 13px;
|
||||
color: #864;
|
||||
padding: 7px;
|
||||
margin: 11px 0px;
|
||||
border: 1px solid #EEB;
|
||||
}
|
||||
|
||||
.help_box_big {
|
||||
background-color:#FFC;
|
||||
color: #864;
|
||||
padding: 7px;
|
||||
margin: 7px 0px;
|
||||
border: 1px solid #EEB;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
}
|
||||
/*
|
||||
* lib/css/legacy/dialog.css
|
||||
*//***** Dialogs *******/
|
||||
|
||||
div.dialog_wrapper {
|
||||
position: absolute;
|
||||
width: 440px;
|
||||
display: none;
|
||||
z-index: 90;
|
||||
background-color: #FFF;
|
||||
border: 3px solid #222;
|
||||
box-shadow:1px 1px 5px #777;
|
||||
-moz-box-shadow: 1px 1px 5px #777;
|
||||
-webkit-box-shadow: 1px 1px 5px #777;
|
||||
|
||||
border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
}
|
||||
|
||||
div.dialog_head {
|
||||
height: 22px;
|
||||
padding: 4px;
|
||||
background-color: #222;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
div.dialog_body {
|
||||
padding: 8px 4px 16px 4px;
|
||||
border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
}
|
||||
|
||||
div.dialog_back {
|
||||
position: fixed;
|
||||
display: none;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
background-color: #EEE;
|
||||
opacity: 0.6;
|
||||
z-index: 50;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div.dialog_message {
|
||||
display: none;
|
||||
position: absolute;
|
||||
width: 250px;
|
||||
font-size: 12px;
|
||||
z-index: 91;
|
||||
background-color:#FFF;
|
||||
padding: 12px;
|
||||
border: 1px solid #444;
|
||||
}
|
||||
|
||||
div.dialog_row {
|
||||
padding: 8px 8px 0px 8px;
|
||||
}
|
||||
|
||||
div.dialog_row table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
div.dialog_row table td {
|
||||
}
|
||||
|
||||
div.dialog_row input[type="text"], div.dialog_row input[type="password"], div.dialog_row textarea, div.dialog_row select {
|
||||
width: 80%;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
div.dialog_row table td textarea {
|
||||
width: 80%;
|
||||
height: 200px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
/*
|
||||
* lib/css/legacy/bootstrap-buttons.css
|
||||
*/.btn.danger,
|
||||
.alert-message.danger,
|
||||
.btn.danger:hover,
|
||||
.alert-message.danger:hover,
|
||||
.btn.error,
|
||||
.alert-message.error,
|
||||
.btn.error:hover,
|
||||
.alert-message.error:hover,
|
||||
.btn.success,
|
||||
.alert-message.success,
|
||||
.btn.success:hover,
|
||||
.alert-message.success:hover,
|
||||
.btn.info,
|
||||
.alert-message.info,
|
||||
.btn.info:hover,
|
||||
.alert-message.info:hover {
|
||||
color: #ffffff;
|
||||
}
|
||||
.btn .close, .alert-message .close {
|
||||
font-family: Arial, sans-serif;
|
||||
line-height: 18px;
|
||||
}
|
||||
.btn.danger,
|
||||
.alert-message.danger,
|
||||
.btn.error,
|
||||
.alert-message.error {
|
||||
background-color: #c43c35;
|
||||
background-repeat: repeat-x;
|
||||
background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
|
||||
background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
|
||||
background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35));
|
||||
background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
|
||||
background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
|
||||
background-image: linear-gradient(top, #ee5f5b, #c43c35);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
border-color: #c43c35 #c43c35 #882a25;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.btn.success, .alert-message.success {
|
||||
background-color: #57a957;
|
||||
background-repeat: repeat-x;
|
||||
background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957));
|
||||
background-image: -moz-linear-gradient(top, #62c462, #57a957);
|
||||
background-image: -ms-linear-gradient(top, #62c462, #57a957);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957));
|
||||
background-image: -webkit-linear-gradient(top, #62c462, #57a957);
|
||||
background-image: -o-linear-gradient(top, #62c462, #57a957);
|
||||
background-image: linear-gradient(top, #62c462, #57a957);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
border-color: #57a957 #57a957 #3d773d;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.btn.info, .alert-message.info {
|
||||
background-color: #339bb9;
|
||||
background-repeat: repeat-x;
|
||||
background-image: -khtml-gradient(linear, left top, left bottom, from(#5bc0de), to(#339bb9));
|
||||
background-image: -moz-linear-gradient(top, #5bc0de, #339bb9);
|
||||
background-image: -ms-linear-gradient(top, #5bc0de, #339bb9);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #5bc0de), color-stop(100%, #339bb9));
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9);
|
||||
background-image: -o-linear-gradient(top, #5bc0de, #339bb9);
|
||||
background-image: linear-gradient(top, #5bc0de, #339bb9);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
border-color: #339bb9 #339bb9 #22697d;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.btn {
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
background-color: #e6e6e6;
|
||||
background-repeat: no-repeat;
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
|
||||
background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
||||
background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
|
||||
background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
||||
background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
||||
background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
|
||||
padding: 5px 14px 6px;
|
||||
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
|
||||
color: #333;
|
||||
font-size: 11px;
|
||||
line-height: normal;
|
||||
border: 1px solid #ccc;
|
||||
border-bottom-color: #bbb;
|
||||
-webkit-border-radius: 4px;
|
||||
-moz-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
-webkit-transition: 0.1s linear all;
|
||||
-moz-transition: 0.1s linear all;
|
||||
-ms-transition: 0.1s linear all;
|
||||
-o-transition: 0.1s linear all;
|
||||
transition: 0.1s linear all;
|
||||
}
|
||||
.btn:hover {
|
||||
background-position: 0 -15px;
|
||||
color: #333;
|
||||
text-decoration: none;
|
||||
}
|
||||
.btn:focus {
|
||||
outline: 1px dotted #666;
|
||||
}
|
||||
.btn.primary {
|
||||
color: #ffffff;
|
||||
background-color: #0064cd;
|
||||
background-repeat: repeat-x;
|
||||
background-image: -khtml-gradient(linear, left top, left bottom, from(#049cdb), to(#0064cd));
|
||||
background-image: -moz-linear-gradient(top, #049cdb, #0064cd);
|
||||
background-image: -ms-linear-gradient(top, #049cdb, #0064cd);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #049cdb), color-stop(100%, #0064cd));
|
||||
background-image: -webkit-linear-gradient(top, #049cdb, #0064cd);
|
||||
background-image: -o-linear-gradient(top, #049cdb, #0064cd);
|
||||
background-image: linear-gradient(top, #049cdb, #0064cd);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#049cdb', endColorstr='#0064cd', GradientType=0);
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||
border-color: #0064cd #0064cd #003f81;
|
||||
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
.btn.active, .btn :active {
|
||||
-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.btn.disabled {
|
||||
cursor: default;
|
||||
background-image: none;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
filter: alpha(opacity=65);
|
||||
-khtml-opacity: 0.65;
|
||||
-moz-opacity: 0.65;
|
||||
opacity: 0.65;
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.btn[disabled] {
|
||||
cursor: default;
|
||||
background-image: none;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
filter: alpha(opacity=65);
|
||||
-khtml-opacity: 0.65;
|
||||
-moz-opacity: 0.65;
|
||||
opacity: 0.65;
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.btn.large {
|
||||
font-size: 15px;
|
||||
line-height: normal;
|
||||
padding: 9px 14px 9px;
|
||||
-webkit-border-radius: 6px;
|
||||
-moz-border-radius: 6px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.btn.small {
|
||||
padding: 5px 7px 5px;
|
||||
font-size: 11px;
|
||||
}
|
||||
:root .alert-message, :root .btn {
|
||||
border-radius: 0 \0;
|
||||
}
|
||||
button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* CLose */
|
||||
|
||||
.close {
|
||||
float: right;
|
||||
color: #000000;
|
||||
font-size: 15px;
|
||||
font-weight: bold;
|
||||
line-height: 13.5px;
|
||||
margin-bottom: -2px;
|
||||
text-shadow: 0 1px 0 #ffffff;
|
||||
filter: alpha(opacity=25);
|
||||
-khtml-opacity: 0.25;
|
||||
-moz-opacity: 0.25;
|
||||
opacity: 0.25;
|
||||
text-decoration: none;
|
||||
}
|
||||
.close:hover {
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
filter: alpha(opacity=40);
|
||||
-khtml-opacity: 0.4;
|
||||
-moz-opacity: 0.4;
|
||||
opacity: 0.4;
|
||||
cursor: pointer;
|
||||
font-weight: bold;
|
||||
}
|
@ -27,7 +27,7 @@ body {
|
||||
}
|
||||
|
||||
.module-icons {
|
||||
background: url(images/module-icons.png) no-repeat top left;
|
||||
background: url(../images/module-icons.png) no-repeat top left;
|
||||
width:16px;
|
||||
height:16px;
|
||||
}
|
||||
|
@ -17,8 +17,6 @@ erpnext.startup.start = function() {
|
||||
|
||||
if(user == 'Guest'){
|
||||
$dh(page_body.left_sidebar);
|
||||
wn.require('erpnext/website/css/website.css');
|
||||
wn.require('erpnext/website/js/topbar.js');
|
||||
if(wn.boot.custom_css) {
|
||||
set_style(wn.boot.custom_css);
|
||||
}
|
||||
@ -27,13 +25,10 @@ erpnext.startup.start = function() {
|
||||
}
|
||||
} else {
|
||||
// modules
|
||||
wn.require('erpnext/startup/modules.js');
|
||||
pscript.startup_make_sidebar();
|
||||
|
||||
// setup toolbar
|
||||
wn.require('erpnext/startup/toolbar.js');
|
||||
erpnext.toolbar.setup();
|
||||
wn.require('erpnext/startup/feature_setup.js');
|
||||
|
||||
// border to the body
|
||||
// ------------------
|
||||
@ -83,4 +78,6 @@ ModulePage = function(parent, module_name, module_label, help_page, callback) {
|
||||
}
|
||||
|
||||
// start
|
||||
erpnext.startup.start();
|
||||
$(document).bind('startup', function() {
|
||||
erpnext.startup.start();
|
||||
});
|
||||
|
@ -1,6 +1,4 @@
|
||||
wn.provide('erpnext.topbar');
|
||||
wn.require('lib/css/bootstrap/bootstrap-topbar.css');
|
||||
wn.require('lib/js/bootstrap/bootstrap-dropdown.js');
|
||||
|
||||
/*
|
||||
<li class="dropdown">\
|
||||
@ -45,7 +43,6 @@ erpnext.topbar.TopBar = Class.extend({
|
||||
}
|
||||
});
|
||||
|
||||
erpnext.topbar.topbar = new erpnext.topbar.TopBar();
|
||||
|
||||
// footer
|
||||
erpnext.Footer = Class.extend({
|
||||
@ -72,4 +69,7 @@ erpnext.Footer = Class.extend({
|
||||
}
|
||||
});
|
||||
|
||||
erpnext.footer = new erpnext.Footer();
|
||||
$(document).bind('startup', function() {
|
||||
erpnext.footer = new erpnext.Footer();
|
||||
erpnext.topbar.topbar = new erpnext.topbar.TopBar();
|
||||
})
|
||||
|
@ -21,11 +21,8 @@ def init():
|
||||
# init request
|
||||
try:
|
||||
webnotes.http_request = webnotes.auth.HTTPRequest()
|
||||
except Exception, e:
|
||||
if webnotes.response['message']=='Authentication Failed':
|
||||
pass
|
||||
else:
|
||||
raise e
|
||||
except webnotes.AuthenticationError, e:
|
||||
pass
|
||||
|
||||
def respond():
|
||||
import webnotes
|
||||
|
2279
js/all-app.js
Normal file
2279
js/all-app.js
Normal file
File diff suppressed because one or more lines are too long
1160
js/all-web.js
Normal file
1160
js/all-web.js
Normal file
File diff suppressed because one or more lines are too long
@ -10,14 +10,6 @@ wn.app = {
|
||||
wn.modules_path = 'erpnext';
|
||||
wn.settings.no_history = true;
|
||||
|
||||
wn.require('lib/js/lib/jquery.min.js');
|
||||
wn.require('lib/js/legacy/tiny_mce_33/jquery.tinymce.js');
|
||||
|
||||
// for datepicker
|
||||
wn.require('lib/js/legacy/jquery/jquery-ui.min.js')
|
||||
wn.require('lib/js/legacy/wnf.compressed.js');
|
||||
wn.require('lib/css/legacy/default.css');
|
||||
|
||||
$(document).bind('ready', function() {
|
||||
startup();
|
||||
});
|
||||
|
@ -1 +1 @@
|
||||
385
|
||||
417
|
Loading…
x
Reference in New Issue
Block a user