Commit Graph

546 Commits

Author SHA1 Message Date
Samuel Georges d69053481c Tweak some styles 2016-05-05 17:39:36 +10:00
Samuel Georges f33c3519c9 Minor style tweak 2016-04-30 07:51:01 +10:00
Samuel Georges 1608d80127 Reorganise code editor prefs
Fixes visual bugs
Update dashboard icon
Restyle flash messages
2016-04-30 04:53:33 +10:00
Samuel Georges e772e87de5 Complete rebuild of datepicker form widget
The datepicker now handles timezones and locale mainly on the client side. When a user selects a date/time, the value is chosen in their timezone preference, the script will then convert the value to the application timezone (UTC) for storage in the database. The reverse is true: when the value is loaded, it is converted from UTC to the user preference. The entire process is seamless. Dates are also formatted in the locale preference.

Example scenario: This fixes the issue when selecting the blog post published date. In some cases, the date could be set to 24th April but the server time is 23rd April, so the post appears unpublished against the user's intent.

There is still some issues around DATE and TIME column types stored in the database. It is best to always use TIMESTAMP/DATETIME to retain the timezone conversions. DATE will reset the time to 00:00 UTC which can cause issues and TIME does not play nicely with Carbon at all. We should still try to add support for these columns in the datepicker, even though they are not recommended.
2016-04-24 09:33:39 +10:00
Samuel Georges d49cef2201 Pass the app timezone for conversions 2016-04-24 05:36:02 +10:00
Samuel Georges 02165a8a4a Introduce a new localized date control
Added a helped Backend::DateTime() for rendering the appropriate HTML output as a <time /> tag
The meta now specifies the locale and timezone preference used here
Lists now take advantage of this to display dates relative to the timezone and language (awesome sauce)
@todo Still need to get apply this logic to the datepicker form widget
2016-04-23 13:17:04 +10:00
Samuel Georges 13fb0e6388 Update moment, add moment.timezone library + locales 2016-04-23 13:11:26 +10:00
Samuel Georges 6c081d9265 Combine editor preferences and backend preferences
Add backend timezone setting used for converting display dates
2016-04-23 05:31:05 +10:00
Samuel Georges abaa65cc0e Cut back the design
Switch to hard lines
2016-04-22 08:21:08 +10:00
Samuel Georges 51bef96db9 More styling changes and other minor improvements 2016-04-21 04:52:21 +10:00
Lucas Martín e2566c36a0 update codeeditor with new features (#1863)
update ace v1.2.0 to v1.2.3
add codecompletion and live codecompletion(with documentation inline)
add snippets to lenguajes(php,javascript,html,css)
add translation to spanish
add search and replace buttons
2016-04-19 16:36:45 +10:00
Samuel Georges 9fd0681ee7 Refit backend brand settings to latest UI changes 2016-04-16 04:43:34 +10:00
Samuel Georges d652c854b1 Lots of small UI fixes 2016-04-12 18:03:55 +10:00
Samuel Georges b02f0c2230 Trial Noto font, adjust primary tab sizing
Noto appears to be much easier to read and is more consistent for other languages. Eg, on windows, sans-serif appears to change completely when mb characters are introduced.
2016-04-11 04:59:59 +10:00
Samuel Georges 4043921834 Adds extra flavor to buttons
Reduce font sizes a bit
Fixes rogue hand from appearing when clicking drag scroll enabled elements
2016-04-07 20:17:48 +10:00
Samuel Georges c5362652c1 Begin the process of refitting brand settings
Introduce secondary and accent colors
Switch some CSS to use the new storm utils
Other minor improvements
2016-04-05 20:04:11 +10:00
Samuel Georges 03c7cbbeed Adds an API to the sidenav script for setting the active item
setActiveItem function
This will be useful for setting a custom active class
2016-04-05 20:02:25 +10:00
Samuel Georges 594f9958cb Rebuilt the mobile navigation. 2016-04-04 22:12:19 +10:00
Samuel Georges 838f836051 Revert the nav to the classic style
Various sizing fixes
Set the standard padding to 20px
Mute system links unless hover or active
Fixes an issue where the scroll indicator appears always on fancy layout, these containers cannot use padding!
Refs #1895
2016-04-04 18:37:55 +10:00
Pásztor Gábor ef228c4915 Minro style improvements 2016-03-30 21:29:30 +02:00
alekseybobkov aaff88b8c2 Reduced base border radius 2016-03-02 21:40:33 -08:00
alekseybobkov 9956870c38 Minor update in the top menu styles 2016-03-02 21:34:39 -08:00
Samuel Georges 090b39bdc5 Fixes font size on collapse button 2016-03-02 18:22:49 +11:00
Samuel Georges 852785960b Tweak main menu to behave more like tiles 2016-03-02 18:05:52 +11:00
Samuel Georges 9c59dd58d3 Trial tooltip nav, recompile assets 2016-03-01 08:59:20 +11:00
Samuel Georges 7c6e3b1360 Remove old code 2016-03-01 07:54:05 +11:00
Samuel Georges 6d60d486a9 Fixes responsive nav taking up more room than it should 2016-03-01 07:42:02 +11:00
alekseybobkov 00ced6c79f UI update 2016-02-28 19:52:21 -08:00
Samuel Georges 46e70385e2 The timeout looks bad when there are no widgets 2016-02-25 19:04:59 +11:00
Samuel Georges c736643202 Tweak the dash loader @alekseybobkov
The leaf is too hard to customize (white label considerations)
Use a white container with subtle fade after loading
Introduce rspin (reverse spin) animation, not used, but may come in handy
2016-02-25 18:57:13 +11:00
Samuel Georges f6d76fade6 Moved dashboard css from storm to backend
Dashboard is a specific part of the backend and storm should stand alone from this
2016-02-25 18:07:25 +11:00
alekseybobkov a892fff938 UI updates 2016-02-24 21:24:31 -08:00
alekseybobkov b1770626d7 UI updates 2016-02-23 21:44:05 -08:00
alekseybobkov 6ed4bd5ef6 Updates in the UI 2016-02-22 21:52:23 -08:00
alekseybobkov a943708b99 UI updates 2016-02-19 22:12:41 -08:00
alekseybobkov 68aa59dae7 Updated main menu styles 2016-02-15 20:27:01 -08:00
alekseybobkov e38f7b6987 Minor fix in the tabs styles. 2016-01-30 21:01:17 -08:00
alekseybobkov f6dec96c86 Improved memory management in the table widget client-side scripts. Minor CSS fixes. 2016-01-22 21:43:45 -08:00
alekseybobkov 5e454ee069 Minor update in the sidebar navigation client-side code. Plugins now can load navigation menus from plugin.yaml file. 2015-11-28 19:18:08 -08:00
alekseybobkov e358bb4b57 Added new list.sortable plugin. Minor fix in the scrollpad implementation. 2015-11-27 22:12:27 -08:00
alekseybobkov 30eedebed9 Added the ability to load plugin permissions from the plugin.yaml file. Minor improvement in the side panel behavior. 2015-11-19 21:02:10 -08:00
alekseybobkov 0e2e18af7f Added autocomplete column type to the Table widget 2015-11-17 21:26:03 -08:00
alekseybobkov e7a51a75f4 Minor improvements in the back-end control styling 2015-11-15 15:18:15 -08:00
alekseybobkov 67590fefad Added flex layout CSS classes. Inspector container wrapper now uses flex layout. Minor CSS fixes. 2015-11-14 20:28:34 -08:00
alekseybobkov 3217bf03d8 Minor fix in the flyout implementation 2015-11-11 20:18:38 -08:00
alekseybobkov bb4192a5de Minor style fix in the fancy layout tabs. Improved live update mode in Inspector. 2015-10-30 23:01:35 -07:00
alekseybobkov 6162d24651 Minor back-end styling fix in fancy layout / master tabs. 2015-10-21 21:37:41 -07:00
Samuel Georges 6203970122 Progress bar should turn red on error - refs #1518
Tidy up progress bar control, streamline brand colours
2015-10-17 12:17:10 +11:00
alekseybobkov 61acdf9f46 Fixed Redactor toolbar styling in Fancy layout, minor fix in Inspector. 2015-10-15 20:17:50 -07:00
alekseybobkov a5b217ff0b Merge branch 'develop' into builder-ui
Conflicts:
	modules/backend/widgets/table/assets/js/build-min.js
	modules/backend/widgets/table/assets/js/table.js
2015-10-15 17:32:19 -07:00
alekseybobkov 889a25f1c6 Added the autocomplete Inspector editor. Minor fixes in the Inspector memory management. Added destroy() method to the existing autocomplete control. 2015-10-05 20:56:35 -07:00
Samuel Georges 9a54db74ad Move docs out of JS file 2015-09-26 08:29:17 +10:00
Samuel Georges 6e1194784a Take some emphasis off the inactive main menu items
NB: The "wizard" CMS icon doesn't seem to like font size 28px, but all other icons appear to render cleanly at this size.
2015-09-26 08:10:25 +10:00
alekseybobkov 83b4994d61 Added new Inspector property editors - text and set, minor refactoring of the Inspector code. 2015-09-20 21:15:21 -07:00
alekseybobkov fea5d8389f Minor fixes and improvements. 2015-09-10 20:45:07 -07:00
Samuel Georges e2fafa3552 Revert eac25c69de
Toolbar no longer sets height 100%, tests in Chrome 45 fine
2015-09-09 08:32:44 +10:00
Samuel Georges 7a2c0eea07 Update BS sweet alert to latest, recompile assets 2015-09-01 19:05:44 +10:00
alekseybobkov 268b918a51 Merge branch 'master' of github.com:octobercms/october into builder-ui 2015-08-27 18:30:45 -07:00
Samuel Georges 793bf30c26 Decouple the toolbar from the layout system 2015-08-26 20:24:37 +10:00
alekseybobkov c38126ce65 Implemented the oc.tableCellChanged event for the table widget. Added readonly mode support in the code editor widget. 2015-08-25 21:34:21 -07:00
Samuel Georges 4c1db1d8db Tidy up backend alerts, make long text in alerts readable 2015-08-22 13:41:57 +10:00
Samuel Georges 4d04c5dda7 Sweet alert logic has grown large enough to warrant its own file 2015-08-15 09:53:55 +10:00
Samuel Georges 0e3403f1aa Use a nicer syntax for <html lang="" />
Recompile assets
2015-08-15 09:49:51 +10:00
Jérémy GAULIN 29a8ec1143 Ensure the client side language file is properly loaded
Switch widget needs short text. There is not really a 3 letters word or abreviation in french that is as understable as raw "On/Off".

Tidy up patch

Fix quote

https://github.com/octobercms/october/pull/1363/files#r36929168
2015-08-15 09:46:26 +10:00
Jérémy GAULIN 3f8d17995a Translate alert messages. Switched to `sweetAlert.alert()` instead of raw `window.alert()`.
Override `swal` and `sweetAlert` functions to set translation on default buttons.

Changed `sweetAlert()` to `swal()` to be consistent with `mediamanager.js`
2015-08-15 09:46:24 +10:00
Samuel Georges 7f62725c1c Recompile assets for #1362 2015-08-15 09:34:29 +10:00
alekseybobkov a253d6fc57 Added customization options for the Table widget toolbar button labels 2015-08-13 20:26:11 -07:00
alekseybobkov 68ae32309c Merge branch 'develop' into builder-ui 2015-08-13 18:30:03 -07:00
alekseybobkov c03124c53c Added the tab form expand controls JS class. Temporary update in the _head layout. 2015-08-13 18:27:14 -07:00
Jérémy GAULIN b5577eed25 Disable SweetAlert forced focus when a Bootstrap modal is already open (which was causing infinite loop).
Bootstrap is enforcing focus on it's modal box, sweet alert too. Focus on sweet alert buttons is not really important, keyboard actions are still available.
2015-08-08 21:59:19 +02:00
Samuel Georges e75d988fc0 Recompile assets 2015-08-03 20:15:00 +10:00
Samuel Georges b4709256ef Merge pull request #1327 from dshoreman/fix-chrome-height-bug
Fix height issues introduced in Chrome 45
2015-08-03 20:07:43 +10:00
Samuel Georges 8cd97b27a6 Add prettify, update Ace, recompile assets 2015-08-03 19:00:45 +10:00
Samuel Georges c6409a8680 Minor exception handling 2015-08-01 17:06:49 +10:00
Dave Shoreman 12353036a3 Update source LESS files 2015-07-31 08:57:14 +01:00
Dave Shoreman eac25c69de Fix height issues introduced in Chrome 45
The `height:100%` rule applied to .layout is inherited by both the
backend navbar, and the search box of the settings sidebar.

This fixes the issue by specifically applying `height:auto` to the
affected elements.
2015-07-30 08:20:15 +01:00
Samuel Georges 3f58cd70fc And client-side locale messages 2015-07-29 19:17:38 +10:00
Samuel Georges e6a17f8f2b Support multiple children inside .layout-cell.width-fix 2015-07-29 19:15:42 +10:00
Samuel Georges f47b99d183 Move storm to its own build 2015-07-29 19:13:42 +10:00
Samuel Georges d453f922dc Improve the hint API, add inset mode to loader 2015-07-25 09:23:34 +10:00
Samuel Georges f99f838faf Merge branch 'develop' into importexport 2015-07-19 10:14:45 +10:00
Samuel Georges 301f64c350 Recompile assets 2015-07-19 10:08:02 +10:00
Samuel Georges d9307ef4fe Fixes bug in sortable script + broken image ref
Conflicts:
	modules/backend/assets/css/october.css
2015-07-19 10:07:34 +10:00
Samuel Georges 1636f79224 Add 'is-divided' style to simple lists
Minor fix to popup docs
2015-07-18 16:14:39 +10:00
Samuel Georges 142c8f7193 Finally get the column sorting working 2015-07-18 14:36:15 +10:00
alekseybobkov 68a90eac7d Added CSS style for the light side panel fix button, added CSS style for single-line list items (file list widget). 2015-07-17 17:54:38 -07:00
alekseybobkov 88232c8345 Minor 2015-07-16 18:19:09 +10:00
alekseybobkov 33b8584ab9 Merge branch 'develop' into builder-ui
Conflicts:
	modules/backend/assets/css/october.css
2015-07-15 18:12:13 -07:00
alekseybobkov e69be53317 Minor 2015-07-15 18:06:05 -07:00
Samuel Georges 095721bd40 Update and decouple drag.sort, add usePlaceholderClone option, recompile assets 2015-07-15 17:01:58 +10:00
alekseybobkov c5ad9ca07b Fixed dropdowns in popover windows 2015-07-14 21:49:08 -07:00
alekseybobkov 02961c6c8f Fixes in the drop-down styling, minor client-side fixes in the back-end 2015-07-14 21:12:45 -07:00
alekseybobkov 5e3818a49d General plugin details can be loaded from plugin.yaml file. Minor updates in the back-end UI. 2015-07-14 18:01:55 -07:00
Samuel Georges 978af199f7 * Build 279
Adds 'unchecked' state to input.trigger api, clean up + fixes various logic flaws
2015-07-14 17:46:05 +10:00
alekseybobkov 931a1f10cf Added namespace input preset 2015-07-11 16:04:01 -07:00
Samuel Georges 54cfccbcf6 Merge pull request #1265 from vojtasvoboda/login-style
Login page - more space for other locales
2015-07-11 11:47:44 +10:00
alekseybobkov 3851ae68cd Merge branch 'develop' into builder-ui
Conflicts:
	modules/backend/assets/css/october.css
2015-07-10 18:05:27 -07:00
Samuel Georges efcac4320b Update auth layout, recompile assets 2015-07-11 10:32:25 +10:00
Samuel Georges 84da7f3698 Improve tabs consistency, fix conflict with .primary
.primary -> .primary-tabs
.secondary -> .secondary-tabs
.master -> .master-tabs
2015-07-10 15:51:24 +10:00
alekseybobkov cf0224c2e8 Merge branch 'develop' into builder-ui
Conflicts:
	modules/backend/assets/css/october.css
2015-07-08 21:11:08 -07:00
alekseybobkov 8b147015ec Minor drop-down fixes 2015-07-08 21:04:57 -07:00
alekseybobkov aafb6014e1 Merge branch 'develop' into builder-ui 2015-07-07 21:40:33 -07:00
alekseybobkov 5c15f81f96 Implemented Flyout layout control, minor improvements in the file list control and back-end styles. 2015-07-07 21:37:18 -07:00
Vojta Svoboda e395f4777e Little bit more space for other locales 2015-07-07 22:17:33 +02:00
Samuel Georges 79fd2e9473 Fix double scrollbars on popups, fix broken "retry update" button 2015-07-04 16:03:15 +10:00
Samuel Georges 461e4f75de Improve admin list toolbar
Change "Admins" group to "Owners" (more descriptive)
Fix bug in Firefox on Mediafinder form widget not respecting max-width 100%
Recompile assets
2015-07-04 09:34:35 +10:00
Samuel Georges 6cf11693b8 Recompile assets 2015-07-01 20:05:46 +10:00
Samuel Georges 6784519ce3 Move balloon selector to Storm UI as checkbox.balloon 2015-07-01 11:38:37 +10:00
Samuel Georges 85c47bea7a Move select and custom checkboxes/radios to Storm UI 2015-07-01 11:23:50 +10:00
Samuel Georges 78cf62cff1 Add a note about October.Drivers for mail methods that use it
Trim field partials to allow :empty selector to work
2015-06-30 15:30:14 +10:00
Samuel Georges 56caa1db3d Fixes a bug in the plugin installation page 2015-06-29 17:35:29 +10:00
Samuel Georges 81eb02296d Fixes broken invalid state 2015-06-27 14:53:17 +10:00
Samuel Georges e6f70eafdd Translate prompt for FileUpload + MediaFinder
Remove redundant language key
Recompile assets
2015-06-20 22:21:18 +10:00
Samuel Georges d9dfa21372 Adds CSRF protection to the backend - Refs #105 2015-06-20 21:17:58 +10:00
Samuel Georges 9cce76c574 Tidy up some LESS and JS 2015-06-20 21:13:03 +10:00
Samuel Georges b65019dac4 october.utils.js -> backend.js 2015-06-20 20:37:11 +10:00
Michał Płodowski 48c663d3c6 Fix #424 2015-06-12 20:39:19 +02:00
Samuel Georges 0a5e6adad1 Fixes tooltip background color
Other minor clean ups
2015-06-09 18:49:56 +10:00
Samuel Georges 99146294aa Minor touch ups
Add danger style to popover
2015-06-06 16:49:30 +10:00
Samuel Georges f11586bb2f Update dropzone to latest 2015-06-05 21:07:53 +10:00
Samuel Georges 29623bb0f3 Load vendor CSS first, fixes issue with sweet alert 2015-06-05 17:22:22 +10:00
Samuel Georges 39291967d6 Fix minor issue with tabs events not firing 2015-06-04 17:37:08 +10:00
Samuel Georges 36673a9d18 Remove duplicate mixins, fix buttons 2015-06-03 19:44:29 +10:00
Samuel Georges ae957de1cc Move callout to storm 2015-06-03 19:30:23 +10:00
Samuel Georges bed7d0825f Fixes loading animation in various places 2015-06-03 19:22:18 +10:00
Samuel Georges 3bfd704127 Remove double up on fonts 2015-06-03 19:05:08 +10:00
Samuel Georges d6f6f0dccd Register the system styles as a package, recompile them
Bring back missing styles
2015-06-03 17:23:53 +10:00
Samuel Georges 019e93bfa1 Recompile assets, fix some dependencies 2015-06-03 15:08:43 +10:00
Samuel Georges 757b5dd935 Move input based controls to "input" collection
changemonitor -> input.monitor
hotkey -> input.hotkey
inputpreset -> input.preset
triggerapi -> input.trigger
2015-05-30 16:50:21 +10:00
Samuel Georges f4c97fd1ea Rename "drag" JS files, write basic readme, create an entry point for all controls 2015-05-30 13:59:33 +10:00
Samuel Georges 6a56f97a4f Recompile assets, remove the dedicated vendor script file
October's backend JS is one massive file now
2015-05-29 23:05:10 +10:00
Samuel Georges 4ec70747d4 Move chart + scoreboard to UI lib 2015-05-29 22:24:02 +10:00
Samuel Georges 713583c5a4 Move toolbar to UI lib 2015-05-29 21:47:32 +10:00
Samuel Georges b566583f9a Fixes broken refs 2015-05-29 21:16:18 +10:00
Samuel Georges 7a4b76e021 Fixes to core so compile assets works again 2015-05-29 20:40:25 +10:00
Samuel Georges 7440529cee Move mustache and modernizr to UI lib 2015-05-29 19:53:16 +10:00
Samuel Georges db39026df7 Move filter to UI lib 2015-05-29 19:24:49 +10:00
Samuel Georges 624c9f9e2d Move pagination to UI lib 2015-05-29 19:07:13 +10:00
Samuel Georges f9bb2fa238 Break inspector out, clean up flags + icons 2015-05-29 18:55:21 +10:00
Samuel Georges 12c035502c Various clean up + documentation 2015-05-28 20:44:07 +10:00
Samuel Georges 714c19de4a Move tab and tooltip 2015-05-28 20:34:32 +10:00
Samuel Georges 8e59305ede Update refs to flash message script 2015-05-28 20:33:49 +10:00
Samuel Georges c6724961ae Move popup and popover 2015-05-28 20:32:47 +10:00
Samuel Georges 9e8232bae3 Move load indicator out, renamed and merged all as loader.* 2015-05-28 17:44:56 +10:00
Samuel Georges 37e5918e43 Move rowlink + utility classes out 2015-05-26 19:54:35 +10:00
Samuel Georges 3c8f7bec4d Move dropdown out 2015-05-26 19:47:23 +10:00
Samuel Georges 011db03765 Move progress bar out 2015-05-26 19:32:44 +10:00
Samuel Georges fbe1a4c2e9 Move breadcrumb out 2015-05-26 19:21:26 +10:00
Samuel Georges b70ba41e17 Move flash messages out 2015-05-26 19:16:09 +10:00
Samuel Georges 5a66dd7fb6 Begin moving backend controls to dedicated UI area 2015-05-26 18:55:39 +10:00