fd345f8e90
* [WIP]Hub * [listing] Show items, users and item_groups * Show filters * [start] cart, api for rfq and opp * rfq working * [wip] keys * wip quotes * [hub] register/unregister * [hub] rename password to access_token, remove passed company field * [hub] publishing cases, api call wrapper * [hub] add and remove fields working * [hub] fix flags, update on client save working * [hub] new hub page, client item CUD at hub working * listing, standard rate, local site hack * item listing, item page, search, back to home * [hub] implement hub company * [hub] company filter * [hub] basic rfq-ing, item page cleanup * categories wip * [hub] use get_doc_before_save() * [hub] send opportunity message to hub, api to make locally * [hub] enqueueing in hub api request wrapper * cleanup * [hub] refactor shopping cart's product.py to reuse * sync dynamic item fields daily * Scheduler heartbeat check * [wip] hub categories * [hub] wip enqueued callbacks * [hub] outgoing messages, fixing callback loop * [hub] bug: callback save after primary save * [hub] pricing, stock, currency * [hub] replace send_hub_request with make_and_enqueue * add hub.less, refactor code * Remove template html files, add styling for hub item cards * fix paging * add breadcrumb * Add sidebar * [hub] add company page, change country * [hub] order_by filters * [hub] make hub category a tree * [hub] enqueue batched item enqueueing * [hub] requested products page * [minor] * update hub url * [fix] url * [fix] more reform * fix recursion * [hub] data migration plans as jsons * Hub register, create data connector, sync with run * [add] user registration by session user * Removed hub_message * Remove sync code from hub_settings * Remove hub methods from item.py * Update Hub Sync plan * Hub unregister * Update Hub connector on reregister * Dont delete Hub Connector on unregister * Enable hub on success response * Add new hub whitelisted methods * [hub] list working * Hub register from hub page * [hub] Add hub logo in desk icon, link to page * [hub] hide page head on empty state * [hub] make rfq * [hub] push opportunity doc, poll for opportunity docs * add fields to item mapping * update hub mappings * Make RFQ * [hub] item, home routing * Make rfq and send opportunity refactor * [hub][fix] remote lead data * images passed as base64 * set default company on register * Revert "images passed as base64" This reverts commit 0b033a5fb7072b2d39a1b87a47dc41e7af707bb4. * Add sync to hub page * Prompt for publish items to hub * add post process to hub document to lead * Rename Hub document to Hub message, create opportunity in post process
140 lines
1.7 KiB
Plaintext
140 lines
1.7 KiB
Plaintext
@import "../../../../frappe/frappe/public/less/variables.less";
|
|
|
|
/* hub */
|
|
div[data-page-route="hub"] {
|
|
.page-head {
|
|
height: 80px;
|
|
|
|
.title-text {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
.page-content {
|
|
margin-top: 80px;
|
|
}
|
|
|
|
.page-title h1 {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.account-details {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
[data-original-title="Search"] {
|
|
float: right;
|
|
width: 220px;
|
|
}
|
|
|
|
.hub-main-section {
|
|
padding: 30px;
|
|
}
|
|
|
|
.listing-body {
|
|
margin: 0;
|
|
}
|
|
|
|
.main-list-section {
|
|
padding: 0;
|
|
// border-right: 1px solid #d1d8dd;
|
|
}
|
|
|
|
.side-list-section {
|
|
padding: 0;
|
|
}
|
|
|
|
.item-list-header h3 {
|
|
font-weight: normal;
|
|
}
|
|
|
|
.hub-item-page {
|
|
|
|
h2 {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.item-header {
|
|
display: flex;
|
|
}
|
|
|
|
.item-page-image {
|
|
flex: 1;
|
|
}
|
|
|
|
.title-content {
|
|
flex: 3;
|
|
|
|
.description {
|
|
margin: 30px 0px;
|
|
}
|
|
|
|
.actions {
|
|
margin-top: 30px;
|
|
|
|
.rfq-btn.disabled {
|
|
background-color: #b1bdca;
|
|
color: #fff;
|
|
border-color: #b1bdca;
|
|
}
|
|
}
|
|
}
|
|
|
|
.company-items {
|
|
margin-top: 40px;
|
|
}
|
|
}
|
|
|
|
.company-header {
|
|
display: flex;
|
|
}
|
|
|
|
.item-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.hub-item-wrapper {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.img-wrapper {
|
|
border: 1px solid @border-color;
|
|
border-radius: 3px;
|
|
padding: 12px;
|
|
overflow: hidden;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
|
|
img {
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.helper {
|
|
height: 100%;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.standard-image {
|
|
font-size: 72px;
|
|
border: none;
|
|
background-color: @light-bg;
|
|
}
|
|
}
|
|
|
|
.hub-item-title {
|
|
width: 100%;
|
|
}
|
|
|
|
.breadcrumb {
|
|
padding-left: 0;
|
|
padding-top: 0;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
} |