It's a display of tabular data, using divs because I needed a nice and friendly display for mobile.
Color coding, badges and icons
A Pen by Laura Moraiti on CodePen.
<?php | |
namespace wodCZ\Flysystem\DI; | |
use Nette; | |
use Nette\DI\CompilerExtension; | |
class FlysystemExtension extends CompilerExtension | |
{ | |
public function loadConfiguration() |
It's a display of tabular data, using divs because I needed a nice and friendly display for mobile.
Color coding, badges and icons
A Pen by Laura Moraiti on CodePen.
<?php | |
namespace App\Forms; | |
use Nette\Forms\Controls; | |
use Nette\Forms\Form; | |
/** | |
* Class BS3FormRenderer |
<?php | |
namespace Libs\Utils; | |
use Kdyby\Doctrine\EntityManager; | |
use Nette\DI\Container; | |
class EntityManagerAccessor |
/* global angular,ionic */ | |
(function (angular, ionic) { | |
'use strict'; | |
angular.module('jett.ionic.scroll.sista', ['ionic']) | |
.factory('ScrollPositions', function () { | |
var scrollPositions = {}; | |
return { | |
set: function (state_name, scrollPos) { |
(function($, undefined) { | |
$.nette.ext('spinner', { | |
init: function () { | |
}, | |
start: function () { | |
this.counter++; | |
if (this.counter === 1) { | |
$("html").addClass('wait'); |
#Introduction If you're a php developer on ubuntu, there comes the time where you have to install/reinstall your system. I did it already a few times and i decided to write down the steps for a typical web developer stack with php. This is for a developer machine and not for a live environment!
I hope it helps you too!
fyi @mheiniger and me started with an installer here: https://github.com/mheiniger/webdev-setup
<?php | |
namespace Libs\Forms; | |
use Nette\Forms\Controls; | |
use Nette\Utils\Strings; | |
use Symfony\Component\PropertyAccess\PropertyAccess; | |
class BaseForm extends Form | |
{ |
server { | |
listen %ip%:%web_port%; | |
server_name %domain_idn% %alias_idn%; | |
location / { | |
rewrite ^(.*) https://%domain_idn%$1 permanent; | |
} | |
} |
<?php | |
namespace Libs\Utils; | |
use Nette\ComponentModel\IContainer; | |
use Nette\Forms\Controls\BaseControl; | |
use Nette\Utils\Strings; | |
use Symfony\Component\PropertyAccess\PropertyAccess; |