171 Commits

Author SHA1 Message Date
Samuel Georges
5a66dd7fb6 Begin moving backend controls to dedicated UI area 2015-05-26 18:55:39 +10:00
Samuel Georges
b40554fd64 Dead reference 2015-05-21 23:03:07 +10:00
Samuel Georges
a1291c3716 Restyle Administrator pages 2015-05-21 22:55:08 +10:00
alekseybobkov
af2849c9a5 Fixes a problem with sorting new added menu items. Fixes https://github.com/rainlab/pages-plugin/issues/41 2015-05-18 14:03:28 -07:00
Samuel Georges
4d057ba266 Fixes flaw in logic
Recompile JS from #1135
2015-05-16 09:57:40 +10:00
Scott Bedard
fdbe7b3e35 Adds option to set chart value by data-value
This allows for more expressive charts by separating the value and the display value. For example, values like these could now be used without breaking the chart.

```
<div class="scoreboard-item control-chart" data-control="chart-pie">
    <ul>
        <li data-value="11024>Foo <span>~11k</span></li>
        <li data-value="1234">Bar<span><?= number_format(1234) ?></span></li>
    </ul>
</div>
```
2015-05-14 13:14:02 -04:00
alekseybobkov
20fb98d9a8 Refactoring and improvements in the back-end client-side memory management. 2015-04-28 20:13:04 -07:00
alekseybobkov
57777c0aad Ace editor updated to the latest version. Implemented the back-end controls utility class. Some back-end UI classes are updated and displsable now. Editor tabs on the CMS page now properly free memory and DOM elements when they're closed. 2015-04-25 22:48:49 -07:00
alekseybobkov
0e4db692af Refactored october.hotkey.js, codeeditor.js, richeditor.js. Minor fix in the rich editor styling. 2015-04-25 14:07:22 -07:00
alekseybobkov
87b34295eb Refactored hotkey plugin for the better memory handling. Added dispose-control event support. 2015-04-24 21:08:07 -07:00
alekseybobkov
35f742c8f5 Further CMS page JS normalization, minor fix in Inspector. 2015-04-21 22:20:55 -07:00
alekseybobkov
5928aded9f CMS page JS code is tested and fixed after refactoring. 2015-04-21 21:30:02 -07:00
alekseybobkov
7fb36588cc Implemented keyboard navigation. Minor fix in the scrollpad class. 2015-04-15 21:48:16 -07:00
alekseybobkov
c1740c479c Media Manager: implemented insert link, insert image, and crop and insert features. Minor fixes in October core and third-party JS plugins. 2015-04-11 18:55:02 -07:00
alekseybobkov
790b464679 Merge branch 'develop' into media-manager 2015-04-04 19:01:08 -07:00
alekseybobkov
332d92f538 Implemented image inserting to Redactor. 2015-04-04 18:59:36 -07:00
Samuel Georges
9e9aa97101 Minor clean up, tabs can now define a url (data-tab-url) set using replaceState 2015-04-04 17:26:47 +11:00
alekseybobkov
cb0c483857 Fixed a problem with duplicate proxy IDs in the base foundation class. Added a new event to the popup plugin. 2015-03-30 22:34:42 -07:00
alekseybobkov
9ed3d03484 jQuery in the back-end updated to v.2.1.3. Fixed several memory management issues in select2 (an event attached to the mask element is never unbound), framework.js (onunload event attached to window is never unbound and holds references to the Request instances). Added popup adaptive size option. Started media manager popup API. 2015-03-29 18:56:06 -07:00
alekseybobkov
16cb546f30 Tested and fixing the Media Manager dispose() method. Minor fixes in the DragScroll and Toolbar controls (memory management). 2015-03-28 17:18:07 -07:00
alekseybobkov
c299e3a7e7 Performance improvements in Media Manager drag-select implementation. 2015-03-28 13:36:01 -07:00
alekseybobkov
9be05a0488 Added comment to the scrollpad script, re-compiled controls LESS. 2015-03-28 12:15:33 -07:00
alekseybobkov
f6cf7e9840 Added new back-end control Scrollpad. Added Element and Event utility functions to the Foundation library. Implemented file list scrolling in the Media Manager. Some minor fixes. 2015-03-28 11:42:40 -07:00
Samuel Georges
aa7f831a4e Fixes a conflict with triggerapi and popup scripts
The hide event wasn't namespaced and caused the backdrop to hide
2015-03-27 17:36:28 +11:00
alekseybobkov
5731ad0db7 Merge branch 'develop' into media-manager 2015-03-26 18:37:24 -07:00
Samuel Georges
5f9acc2e8d Fixes #358 - Main menu / Tabs no longer use inverted scrolling when horizontal 2015-03-26 22:06:01 +11:00
alekseybobkov
ed2ca5308b Implemented (draft) support for touch devices. Minor fixes. Reworked the proxy implementation in the base class. The Media Manager JS class now uses the base class. 2015-03-24 20:47:49 -07:00
alekseybobkov
f7d08f1197 Implemented folder creation, fixed a minor issue with selecting items, added a new event to the Popup control. 2015-03-21 23:09:33 -07:00
alekseybobkov
331276c244 Implemented file and folder deletion 2015-03-18 22:20:53 -07:00
alekseybobkov
03c46012dc Merge branch 'develop' into media-manager 2015-03-17 19:30:57 -07:00
Samuel Georges
5648507e0c Adds soft copy directory support, minor fix to loadindicator 2015-03-18 05:38:25 +11:00
alekseybobkov
78ad303236 Merge branch 'develop' into media-manager
Conflicts:
	composer.json
	modules/backend/assets/css/october.css
	modules/backend/assets/less/controls/lists.less
	modules/backend/assets/less/october.less
	modules/backend/widgets/Form.php
	modules/backend/widgets/form/partials/_field.htm
2015-03-15 13:06:50 -07:00
alekseybobkov
18e058ad59 Added the Media tab, minor update in .htaccess to allow temporary public directory to be accessible; implemented the basic UI components and navigation; implemented grid, list and tiles view modes; implemented drag-select interface; implemented Media Library cache refreshing; implemented thumbnail generating for local and remote media files; fixed memory leak in third-party Flot Resize library; minor update in the AJAX framework - AJAX request cancelling is not considered as an error anymore; added back-end UI components for creating panels. 2015-03-15 12:52:03 -07:00
Samuel Georges
9b8e1ce3c1 Improve theme list to allow editing properties 2015-03-14 18:09:54 +11:00
Samuel Georges
3cdd390e38 Merge pull request #991 from ebuster/patch-1
Respect radio-button value in form triggers
2015-03-14 11:14:35 +11:00
Samuel Georges
a8389fb1aa Tooltip now auto initializes
initForm can now pass context
Various improvements and bug fixes
2015-03-12 20:50:16 +11:00
ebuster
539705dbdf Respect radio-button value in form triggers
When I tried to use form triggers for radio button I found that this is impossible:

    field1:
        type: radio
        options:
            val1: ...
            val2: ...
    field1:
        type: ...
        trigger:
            action: hide
            field: type
            condition: value[val2]

Propsed fix allows conditions like that.

* and of couse - we need rebuild october-min.js
2015-03-07 23:36:25 +03:00
Samuel Georges
ec14cd6bee Updates for new input preset /form field API 2015-03-07 11:20:54 +11:00
Samuel Georges
8ca1f8b7a3 Discovered an undoc feature "data-input-preset-prefix-input"... added to API as "prefixInput" 2015-03-07 11:14:03 +11:00
Samuel Georges
f8c3eac9c6 Streamline data-input-preset in to FormField API 2015-03-07 10:45:22 +11:00
Samuel Georges
7e3cf98a75 Adds data-trigger-closest-parent to Trigger API
Test code:

<form id="form1">
    <input
        type="text" name="aa" value="aaa"
        data-trigger-action="show"
        data-trigger="input[name=bb]"
        data-trigger-condition="checked"
        data-trigger-closest-parent="form"
     />

    <input type="checkbox" name="bb" />
</form>

<form id="form2">
    <input
        type="text" name="aa" value="aaa"
        data-trigger-action="show"
        data-trigger="input[name=bb]"
        data-trigger-condition="checked"
        data-trigger-closest-parent="form"
     />

    <input type="checkbox" name="bb" />
</form>
2015-03-07 09:47:44 +11:00
Samuel Georges
690ec1e5db Improvements made to the user menu in the back-end
Clicking your avatar will display a popover with settings links from the mysettings context.
2015-03-06 20:41:14 +11:00
Samuel Georges
2cf8ad8c27 Minor fixes, improvements to full screen rich editor 2015-03-06 18:54:45 +11:00
Samuel Georges
62796e08b6 Finish the dragvalue plugin 2015-03-06 18:53:04 +11:00
Samuel Georges
bc317ffbb8 Fixes a weird issue where a fixed sidebar cannot be accessed on small screens 2015-03-06 17:31:54 +11:00
Chris
b627bbbefb Added trigger on empty value 2015-03-05 11:03:20 +01:00
Samuel Georges
561e969d2d Extract controls to their own stylesheet
(So they can be used elsewhere; namely documentation)
Add indicator-center and clean up load indicator
Fancy layout should live with the other layouts, it isn't really a control
2015-03-04 18:23:02 +11:00
Samuel Georges
89434928f1 * Build 214 2015-03-03 18:45:37 +11:00
Samuel Georges
0a57f3a111 Fixes console error: The "title" has not been specified! 2015-03-03 18:39:07 +11:00
Samuel Georges
e48963b1e9 Improve mode detection for relations by using an event target 2015-02-28 19:33:11 +11:00