diff --git a/front/salix/components/home/home.html b/front/salix/components/home/home.html index 2d29cd047..f916e274e 100644 --- a/front/salix/components/home/home.html +++ b/front/salix/components/home/home.html @@ -64,138 +64,3 @@   - -
- Shortcuts -
- - - -
SHORTCUTS
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Ctrl - - + - - Alt - - + - - A - - 🠮 - - - - - ITEMS -
- Ctrl - - + - - Alt - - + - - T - - 🠮 - - - - - TICKETS -
- Ctrl - - + - - Alt - - + - - R - - 🠮 - - - - CLAIMS
- Ctrl - - + - - Alt - - + - - C - - 🠮 - - - - - CLIENTS -
-
- - - -
\ No newline at end of file diff --git a/front/salix/components/home/home.js b/front/salix/components/home/home.js index 0f0d7185b..90eed2b30 100644 --- a/front/salix/components/home/home.js +++ b/front/salix/components/home/home.js @@ -18,10 +18,6 @@ export default class Controller extends Component { this.getStarredModules(); } - showShortcuts() { - this.$.shortcuts.show(); - } - countModules() { this.starredCount = 0; this.regularCount = 0; diff --git a/front/salix/components/home/locale/es.yml b/front/salix/components/home/locale/es.yml index 174ed1085..aab63f17e 100644 --- a/front/salix/components/home/locale/es.yml +++ b/front/salix/components/home/locale/es.yml @@ -1,9 +1,4 @@ Favorites: Favoritos -Shortcuts: Acceso rápido -SHORTCUTS: ACCESO RÁPIDO -ITEMS: ARTÍCULOS -CLAIMS: RECLAMACIONES -CLIENTS: CLIENTES You can set modules as favorites by clicking their icon: Puedes establecer módulos como favoritos haciendo clic en el icono Add to favorites: Añadir a favoritos. Remove from favorites: Quitar de favoritos. \ No newline at end of file diff --git a/front/salix/components/home/style.scss b/front/salix/components/home/style.scss index 32ffd6248..c8ef6457f 100644 --- a/front/salix/components/home/style.scss +++ b/front/salix/components/home/style.scss @@ -108,71 +108,4 @@ vn-home { } } } -} - -.tdBorder { - border-radius: 5px 5px 5px; - width: 75px; - border: 3px solid rgba(0, 0, 0, 0.781); -} - -.shortcuts-words { - font-size: 25px; - padding-left: 20px; - padding-right: 20px; - float: left; - margin-left: -15px; - margin-top: -40px; -} - -.plusStyle { - font-size: 50px; - padding-left: 10px; - padding-right: 10px; -} - -.arrowStyle { - font-size: 50px; - padding-left: 10px; - padding-right: 10px; -} - -.dialogHeader { - text-align: center; - background-color: $color-main; - font-size: 25px; - color: white; - font-weight: bold; - padding: 10px; - margin-bottom: 50px; -} - -.titleStyle { - font-size: 30px; - font-weight: 400; - padding-left: 10px; - padding-right: 10px; -} - -.iconStyle { - - color: white; - background-color: $color-main; - font-size: 50px; - font-weight: normal; - width: 50px; - padding: 5px; - border-radius: 5px 5px 5px; -} - -.shortcuts { - background-color: $color-main; - max-width: 120px; - font-size: 18px; - font-weight: 600; - color: white; - text-align: center; - padding: 15px; - cursor: pointer; - border-radius: 5px; } \ No newline at end of file diff --git a/front/salix/components/user-popover/index.html b/front/salix/components/user-popover/index.html index 22d86f1aa..1a6a0a3b7 100644 --- a/front/salix/components/user-popover/index.html +++ b/front/salix/components/user-popover/index.html @@ -100,5 +100,145 @@ show-field="name" value-field="code"> +
+ + Shortcuts + +
+ - \ No newline at end of file + + + + +
SHORTCUTS
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Ctrl + + + + + Alt + + + + + A + + 🠮 + + + + + ITEMS +
+ Ctrl + + + + + Alt + + + + + T + + 🠮 + + + + + TICKETS +
+ Ctrl + + + + + Alt + + + + + R + + 🠮 + + + + CLAIMS
+ Ctrl + + + + + Alt + + + + + C + + 🠮 + + + + + CLIENTS +
+
+ + + +
\ No newline at end of file diff --git a/front/salix/components/user-popover/index.js b/front/salix/components/user-popover/index.js index 0d35d8995..e0be89359 100644 --- a/front/salix/components/user-popover/index.js +++ b/front/salix/components/user-popover/index.js @@ -73,6 +73,10 @@ class Controller { return this.vnConfig.user.companyFk; } + showShortcuts() { + this.$.shortcuts.show(); + } + show(event) { this.$.warehouses.refresh(); this.$.companies.refresh(); diff --git a/front/salix/components/user-popover/locale/es.yml b/front/salix/components/user-popover/locale/es.yml index 7518a98bc..b9f895732 100644 --- a/front/salix/components/user-popover/locale/es.yml +++ b/front/salix/components/user-popover/locale/es.yml @@ -3,4 +3,9 @@ Local warehouse: Almacén local Local bank: Banco local Local company: Empresa local User warehouse: Almacén del usuario -User company: Empresa del usuario \ No newline at end of file +User company: Empresa del usuario +Shortcuts: Acceso rápido +SHORTCUTS: ACCESO RÁPIDO +ITEMS: ARTÍCULOS +CLAIMS: RECLAMACIONES +CLIENTS: CLIENTES \ No newline at end of file diff --git a/front/salix/components/user-popover/style.scss b/front/salix/components/user-popover/style.scss index 9050c6654..3e8e6d2e2 100644 --- a/front/salix/components/user-popover/style.scss +++ b/front/salix/components/user-popover/style.scss @@ -38,4 +38,62 @@ height: initial; vertical-align: middle; font-size: 1rem; +} + +.tdBorder { + border-radius: 5px 5px 5px; + width: 75px; + border: 3px solid rgba(0, 0, 0, 0.781); +} + +.shortcuts-words { + font-size: 25px; + padding-left: 20px; + padding-right: 20px; + float: left; + margin-left: -15px; + margin-top: -40px; +} + +.plusStyle { + font-size: 50px; + padding-left: 10px; + padding-right: 10px; +} + +.arrowStyle { + font-size: 50px; + padding-left: 10px; + padding-right: 10px; +} + +.dialogHeader { + text-align: center; + background-color: $color-main; + font-size: 25px; + color: white; + font-weight: bold; + padding: 10px; + margin-bottom: 50px; +} + +.titleStyle { + font-size: 30px; + font-weight: 400; + padding-left: 10px; + padding-right: 10px; +} + +.iconStyle { + color: white; + background-color: $color-main; + font-size: 50px; + font-weight: normal; + width: 50px; + padding: 5px; + border-radius: 5px 5px 5px; +} + +.shortcuts { + width: 250px; } \ No newline at end of file