Skip to content

Commit

Permalink
#324 all modals work, first test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorr.it committed Oct 6, 2022
1 parent aa4ca45 commit 26cd827
Show file tree
Hide file tree
Showing 51 changed files with 1,373 additions and 1,254 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ Don't copy these line literally, but change the name, email and password to your

Now you can login and create other users in the Admin section.

### 7. Build JavaScript modules
### 7. Create stock views

The database needs two views. They are not automatically created with the database creation. You need a console to execute two SQL statements on the new database. You find the two SQL statements at the bottom of the _app\src\AppBundle\Entity\Stock.php_ source file.

### 8. Build JavaScript modules

Almost there! Since August 2021, Nexxus is using a minor bit of Vue to improve user experience. Therefor you need to build some JavaScript modules of the application. Nexxus uses [Webpack Encore](https://symfony.com/doc/3.3/frontend.html) for this, a tool made by Symfony makers. Start with installing [Node.js](https://nodejs.org/en/download/) and the dependencies:
```
Expand All @@ -106,13 +110,13 @@ Then build the JavaScript modules:
```
Or, if you are a developer and want to debug the JavaScript modules:
```
./node_modules/.bin/encore dev --watch
./node_modules/.bin/encore dev-server
```
As a developer you get introduced to this new section of the application by inspecting file _webpack.config.js_ and the files in folder _src/AppBundle/Resources/vue_.

Now Nexxus is ready to use the Vue screens.

### 8. Finishing installation
### 9. Finishing installation

Finally make sure the application root can find the source code from its new location. This happens in a different folder:
```
Expand All @@ -129,7 +133,7 @@ rm app_dev.php
```
Please check if the commands are appropiate for your specific situation. For example, you might have installed the application in different folders then _nexxus_ and _nsk_.

### 9. Use Nexxus
### 10. Use Nexxus

Congratulations, Nexxus is now ready for use. To start with, go to the Admin section and configure all meta data: Users, Locations, Product types, Attributes, Product statuses, Order statuses, Tasks. Without this meta data the application will not behave as desired.

Expand Down
10 changes: 1 addition & 9 deletions app/Resources/views/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,12 @@
{% endblock %}
</head>
<body>
<div class="modal fade" tabindex="-1" role="dialog" id="modalEditor" data-backdrop="static" data-keyboard="false">
<div class="modal fade" tabindex="-1" role="dialog" id="modalOrderEditor" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content"></div>
</div>
</div>

<div class="modal fade" tabindex="-1" role="dialog" id="modalSplitter" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog" role="document">
<div class="modal-content"></div>
</div>
</div>

<div class="modal fade" tabindex="-1" role="dialog" id="modalConfirm" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog" role="document">
<div class="modal-content">
Expand Down Expand Up @@ -80,8 +74,6 @@
<script src="{{ asset('js/bootstrap-combobox.js') }}"></script>
<script src="{{ asset('js/bootstrap-multiselect.js') }}"></script>
<script src="{{ asset('js/jquery.uploadifive.min.js') }}"></script>
<script src="{{ asset('js/ajax-form.js') }}"></script>
<script src="{{ asset('js/ajax-modal.js') }}"></script>
<script src="{{ asset('js/scripts.js') }}?refresh={{ random() }}"></script>
{% block javascripts %}
{% endblock %}
Expand Down
Loading

0 comments on commit 26cd827

Please sign in to comment.