Commit Graph

98 Commits

Author SHA1 Message Date
Carsten Brandt
3d59b19a21 added classes to grid, list and detail view
to allow specific styling
also fixed an issue with gridview sort indicator css.

fixes #1000
2014-01-05 14:45:09 +01:00
Qiang Xue
27658e56ae Fixes #1647: Changed the default CSS class of error block to be error-block 2014-01-01 10:29:04 -05:00
Qiang Xue
ccd4ae9f3c Fixes #1691: added “viewport” meta tag to layout views. 2013-12-29 15:31:35 -05:00
Qiang Xue
60dd8d16a1 Fixes #1688: ActiveForm is creating duplicated messages in error summary 2013-12-29 10:27:38 -05:00
Qiang Xue
4148912b82 Fixes #1643: Added default value for Captcha::options 2013-12-27 10:46:13 -05:00
Alexander Makarov
a7cf6a984c Fixes #1597: Added enableAutoLogin to basic and advanced application templates so "remember me" now works properly 2013-12-22 20:16:06 +01:00
Carsten Brandt
71d80c2263 added meaningful content to robots.txt 2013-12-17 01:08:40 +01:00
Alexander Makarov
cedee94608 Added robots.txt to application templates 2013-12-12 23:31:59 +01:00
Alexander Makarov
05c67f43b8 Added favicons to application templates 2013-12-12 22:04:31 +01:00
Carsten Brandt
2c9a8b910f make null format look nice by default 2013-12-10 20:42:09 +01:00
Qiang Xue
c7c13a6693 Added concrete http exception classes. 2013-11-29 21:22:08 -05:00
Alexander Makarov
8995c0b0ca Code style fixes for layouts 2013-11-28 01:19:43 +04:00
Panagiotis Moustafellos
58bd2fb958 Only whitespace removal 2013-11-27 20:19:56 +02:00
Alexander Makarov
408eee75a9 Used full method names when sending email in advanced app 2013-11-27 12:58:28 +04:00
Alexander Makarov
e3292c959a Advanced application template now uses mailer component instead of mail() function 2013-11-27 03:48:20 +04:00
Qiang Xue
c6318050d9 removed unneeded setting. 2013-11-24 21:29:11 -05:00
Kartik Visweswaran
817cbc175a Comments cleanup.
Cleaned up a few comments ... hope its not my OCD again... :-)
2013-11-21 15:42:52 +05:30
Kartik Visweswaran
b979d3b024 Reverted closeButton
Reverted name to ```closeButton``` to be in sync with the bootstrap ```Alert``` widget.
2013-11-21 15:36:43 +05:30
Kartik Visweswaran
62493188a2 Nomenclature and code realignment.
1. Renamed closeButton to closeButtonOptions. 
2. Generate unique id for each alert box.
3. Moved parent init to the top.
2013-11-21 15:32:07 +05:30
Kartik Visweswaran
2bff5f80bc Alert types for flash messages are now configurable.
Each flash variable can be mapped to a bootstrap alert type through a configuration array passed to this widget.
2013-11-20 23:15:16 +05:30
Kartik Visweswaran
8ff4c3d46d Code & minor bug cleanup.
Cleaned up redundant code (and a typo missed earlier).
2013-11-20 22:53:08 +05:30
Kartik Visweswaran
8a436c4acb Code cleanup.
Removed redundant declarations and checks in the code.
2013-11-20 22:45:49 +05:30
Kartik Visweswaran
c550628558 CSS Class assignment correction # 2.
Ensure previous CSS classes are not appended and reinitialized in the foreach loop.
2013-11-20 22:35:35 +05:30
Kartik Visweswaran
affa9589dc CSS Class assignment corrected.
Used ```Html::addCssClass``` and ```Html::removeCssClass``` more effectively.
2013-11-20 19:58:25 +05:30
Kartik Visweswaran
70f41387b6 Update Alert.php to add some refinements and clean up bugs.
Added closeButton parameter, assignment of CSS class corrected, and added php doc comments.
2013-11-20 19:39:55 +05:30
Kartik Visweswaran
1c56edd000 Update Alert.php 2013-11-20 18:39:37 +05:30
Kartik Visweswaran
8fc77afc63 Update Alert.php to display multiple flash messages for the session.
The previous alert widget within the advanced/basic app does not render multiple flash messages. The current implementation allows display of all flash messages assigned through setFlash. Also a validation is done for allowed bootstrap alert types.
2013-11-20 17:50:47 +05:30
kumorig
7450fc1000 Small edit for consistency with frontend config.
Small edit for consistency with /apps/advanced/backend/config/main.php. Sorry, my OCD kicked in.
2013-11-20 09:26:51 +09:00
Qiang Xue
d2e5f2c507 Fixes #1234: use dash instead of underscore to separate language and country in locale id. 2013-11-19 16:33:52 -05:00
slavcodev
4c4f7bd708 Move AppAsset from config to assets directory 2013-11-13 18:17:05 +02:00
Qiang Xue
447bad5a12 Merge pull request #1184 from slavcodev/only-arrays-in-rules
Using only arrays in rules instead comma-separated string
2013-11-13 05:37:43 -08:00
Qiang Xue
75dc290a24 Fixes #1193 2013-11-13 08:31:49 -05:00
slavcodev
f57b3536a2 Fixed apps rules 2013-11-13 11:41:25 +02:00
slavcodev
ecc557ef92 Refactor all models to new rules format 2013-11-12 16:39:23 +02:00
Carsten Brandt
016d796e95 advanced app: go back after login, not home 2013-11-12 11:07:14 +01:00
slavcodev
93dd629411 Fix apps phpDoc and short tags 2013-11-12 06:24:07 +02:00
Qiang Xue
998cf7e675 updated apps to use the mail component. 2013-11-07 23:01:13 -05:00
Alexander Makarov
f2484fd616 Modified application templates so when trying to log in when already logged in it just redirects to homepage instead of throwing exceptions 2013-11-07 01:19:36 +04:00
Alexander Makarov
927e9dddb4 Refactored View 2013-11-06 22:52:27 +04:00
Qiang Xue
3caf59b1bf fixed extension list file location. 2013-11-02 16:04:38 -04:00
Alexander Mohorev
0d04846c08 php short echo syntax 2013-10-28 23:57:40 +03:00
Carsten Brandt
9fe0eb6c3f add sorting icons to gridview sort links in basic and advanced app css 2013-10-25 12:02:09 +02:00
Qiang Xue
10553b6afc adjusted the advanced app to use the new yii composer extension installer. 2013-10-22 21:29:42 -04:00
Alexander Makarov
c2dabfa78e Adjusted short tags 2013-10-20 00:59:56 +04:00
Alexander Makarov
24bc980da4 Replaced "<?php echo" with "<?=" that is always available for PHP 5.4 2013-10-18 14:09:11 +04:00
Yakir Sitbon
dfb6e1f404 Convert to short syntax [2]. 2013-10-18 12:03:36 +00:00
Alexander Makarov
e1061f19ac Advanced application template: Delete flash message after it was displayed 2013-09-24 12:07:41 +04:00
Alexander Makarov
bb6d0f1b47 Merge pull request #888 from sergon/patch-5
Update passwordResetToken.php
2013-09-18 11:27:52 -07:00
gsd
41e2c41002 Update SiteController.php 2013-09-18 22:18:12 +06:00
gsd
29394758ba Update passwordResetToken.php 2013-09-18 22:12:47 +06:00