This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$form->addDatePicker('date', 'Date') | |
->setDefaultValue(new DateTime()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Nas; | |
use Nette\Application\UI\Presenter; | |
use Nette\Application\UI\Form; | |
abstract class BasePresenter extends Presenter | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$list = array( | |
'Ing. Peter Jablčko', | |
'Ondrej koláč', | |
'Miro Hámor PhD.', | |
'Ing. Palo Kámor PhD.', | |
'Ing. Dr. Palo Kamor PhD.', | |
'Ing. Dr. Palo Kamor PhD. xxx. ' | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Nas\Templating; | |
use NasExt\Templating\FilesList; | |
use NasExt\Templating\IFilesFormatterLogger; | |
use NasExt\Templating\ITemplateFilesFormatter; | |
use Nette\Object; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Confirm dialog plugin | |
* | |
* @copyright Copyright (c) 2012 Jan Červený | |
* @license BSD | |
* @link confirmdialog.redsoft.cz | |
* @version 1.0 | |
*/ | |
(function ($, undefined) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ajax-spinner { | |
position: fixed; | |
width: 32px; | |
height: 32px; | |
/* - use if you use bacground image, no ico */ | |
/*background: url('../img/ajax_loader.gif') no-repeat;*/ | |
z-index: 123456; | |
color: green; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App; | |
use NasExt\Templating\ITemplateFilesFormatter; | |
use Nette\Application\UI\Control; | |
use Nette\Templating\ITemplate; | |
class BaseControl extends Control | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App; | |
use NasExt\Templating\ITemplateFilesFormatter; | |
use Nette\Application\UI\Control; | |
use Nette\Templating\ITemplate; | |
class BaseControl extends Control | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Nas; | |
use Kdyby\BootstrapFormRenderer\BootstrapRenderer; | |
use NasExt\Forms\Controls\RangeSlider; | |
use NasExt\Templating\ITemplateFilesFormatter; | |
use Nette\Application\UI\Control; | |
use Nette\ComponentModel\IContainer; | |
use Nette\Forms\Controls\SuggestionInput; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Display error message. | |
*/ | |
Nette.addError = function (elem, message) { | |
if (elem.focus) { | |
elem.focus(); | |
} | |
if (message) { | |
var elemPosition = $(elem).position(); | |
var elmHeight = $(elem).outerHeight(); |
OlderNewer