- front
- application
- assets
- domain
- infrastructure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set $mod Mod4 | |
font pango:monospace 8 | |
# font pango: Roboto-Mono Condensed 11 | |
# font pango: Input Mono 11 | |
# This font is widely installed, provides lots of unicode glyphs, right-to-left | |
# text rendering and scalability on retina/hidpi displays (thanks to pango). | |
font pango:DejaVu Sans Mono 8 |
- Index page
- Header
- Title
- Main
- Create button
- Delete button
- Header
- Product list
- Index page
- Title
- Create button
- Delete button
- Product list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "./web/bundles/pimui/lib/bootstrap/less/bootstrap.less"; | |
@import (less) "./web/bundles/pimui/lib/font-awesome/css/font-awesome.css"; | |
... | |
@import "./web/bundles/pimui/less/lib/bootstrap.switch.less"; | |
@import "./web/bundles/pimui/less/base/general.less"; | |
... | |
@import "./web/bundles/pimui/less/pages/Default.less"; | |
@import "./web/bundles/pimui/less/pages/FullPage.less"; | |
@import "./web/bundles/pimui/less/pages/Login.less"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ReferenceEntityListController extends BaseController { | |
renderRoute() { | |
mediator.trigger('pim_menu:highlight:tab', {extension: 'pim-menu-reference-entity'}); | |
... | |
ReactDOM.render( | |
<Provider store={store}> | |
<ReferenceEntityView /> | |
</Provider>, | |
this.el | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { reverse } from 'underscore' | |
export default function() { | |
return reverse([1, 2, 3]) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(['underscore'], function(_){ | |
return _.reverse([1, 2, 3]); | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CustomUIBundle/Resources/public/js/fields/name-text-field.js | |
define(['pim/form', 'jquery'], function (BaseForm, $) { | |
return BaseForm.extend({ | |
placeholder: null, | |
template: _.template(` | |
<input value="<%- value %>" type="text" placeholder="<%- placeholder %>"> | |
`), | |
events: { | |
'change input': 'updateData' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// CustomUIBundle/Resources/public/js/forms/name-form.js | |
define(['pim/form', 'jquery'], function (BaseForm, $) { | |
return BaseForm.extend({ | |
events: { | |
'submit form': 'submitForm' | |
}, | |
template: ` | |
<form> | |
<div data-drop-zone="fields"></div> |
NewerOlder