There are some settings that not only apply to a specific widget or page, but to the WebUI application as a whole. These settings can be accessed through the Application Settings menu, which you can open by clicking on the icon:
Use Classic Theme¶
From AIMMS 4.59 onwards, the look and feel of the WebUI has been upgraded to a more modern look and a consistent styling. However, for app developers who need more time to make sure their customized application looks as required with this new theme, the WebUI will offer you the choice which theme you want to use. More specifically, if you open an entirely new WebUI application, you automatically get the new look and feel (because there cannot be any backward compatibility issues in that scenario). If you open an already existing WebUI, however, you are offered the choice to try the new theme or to keep the old one for the time being. Should you want to toggle between the two, after having made this choice, we offer the ‘Use Classic Theme’ option in the ‘Miscellaneous’ tab. Simply set the switch to ‘on’ for the old theme, or to ‘off’ for the new theme:
Besides this, we offer a ClassicTheme.css file, which you can use to adjust some settings when you choose to retain the classic theme. The comments in this file should provide pointers on what to change. When adjusted, the file should be copied into the resources/css folder of your WebUI project. Furthermore, make sure you do use the new page navigation menu, as released with AIMMS 4.53.1.
When opting to use the new theme, we offer two .css files, which you can use to easily add a logo to the header bar of your WebUI pages and to change the color of the horizontal line below the header bar. The ReadMe file offers guidance on how to do this. If you indeed start using the new theme, we strongly advice you to ‘start from scratch’, in case you are using lots of customized css for your model. If you want a more extensive change, we suggest to connect with our support team. Please also make sure to remove any ‘ClassicTheme.css’ file, as described in the previous paragraph, in case you have copied it to your css folder.
This is a logical condition which determines whether or not the user interface is editable when the application is run under the AIMMS PRO platform.
When this condition evaluates to “true” and the value of the “Limited Options Editor” (see also below) evaluates to “false”, then all editing options available in developer mode are also made available to the end-user who runs the application in AIMMS PRO/Cloud. For example, the end-user can change the order of the widgets on a page in this case.
When the “UI Editable” condition evaluates to “false”, then the end-user running the application in AIMMS PRO/Cloud is no longer allowed to edit the user interface, but only to use the pages and widgets as are, i.e. as provided by the app developer. More specifically, the Application Settings, Page Settings, and Widget Manager icons are no longer available in the Menu Bar. In particular, the order of the widgets on a page cannot be changed in this case. The Page Manager icon may still be available, but the option for adding new pages (i.e., the “+” button) is removed. The page visibility and the page options (including page name) are not editable by the end-user. The page order may be temporarily modified for visualization, but as soon as a complete re-load take place the original page order is re-established. Moreover, the “cog wheel” Settings icon is no longer available for any of the widgets, so the widget options are no longer editable.
Limited Option Editor(1/0)¶
This is a logical condition which determines whether or not the PRO user of the app gets limited access to the options in the widget/page editor.
Please note that, when the “UI Editable” option value evaluates to “false”, then the value of this “Limited Options Editor” is not relevant.
When the “UI Editable” option value evaluates to “true” and the value of the “Limited Options Editor” evaluates to “true” as well, then the editing options available in developer mode are made available to the end-user who runs the application in AIMMS PRO/Cloud except from the following:
- The Application Settings are not available for editing
- The Miscellaneous and Advanced sections are not available for editing in the Settings of any widget
For example, the order of the widgets on a page in the Widget Manager can still be changed in this latter case.
This a string option for some text about the used license which may be placed on the top of the menu bar.