-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update css and add Siimple3 and Materialize templates
- Loading branch information
1 parent
161fed8
commit c062257
Showing
18 changed files
with
367 additions
and
129 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,51 @@ | ||
{ | ||
"name": "tamtamchik/simple-flash", | ||
"type": "library", | ||
"description": "Easy, framework agnostic flash notifications for PHP.", | ||
"keywords": [ | ||
"flash", | ||
"notifications", | ||
"messages", | ||
"agnostic" | ||
], | ||
"homepage": "http://github.com/tamtamchik/simple-flash", | ||
"minimum-stability": "stable", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Yuri Tkachenko", | ||
"email": "yuri.tam.tkachenko@gmail.com", | ||
"homepage": "http://tamtamchika.net" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.4.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "4.*", | ||
"scrutinizer/ocular": "1.*" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Tamtamchik\\SimpleFlash\\": "src" | ||
}, | ||
"files": [ | ||
"src/function.php" | ||
] | ||
}, | ||
"scripts": { | ||
"tests": "vendor/bin/phpunit", | ||
"examples": "php -S localhost:8000 -t examples/" | ||
"name": "tamtamchik/simple-flash", | ||
"type": "library", | ||
"description": "Easy, framework agnostic flash notifications for PHP.", | ||
"keywords": [ | ||
"flash", | ||
"notifications", | ||
"messages", | ||
"agnostic" | ||
], | ||
"homepage": "http://github.com/tamtamchik/simple-flash", | ||
"minimum-stability": "stable", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Yuri Tkachenko", | ||
"email": "yuri.tam.tkachenko@gmail.com", | ||
"homepage": "http://tamtamchika.net" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.4.0" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "4.*", | ||
"scrutinizer/ocular": "1.*" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Tamtamchik\\SimpleFlash\\": "src" | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "1.3.x-dev", | ||
"1.2.x": "1.2.x-dev", | ||
"1.1.x": "1.1.x-dev", | ||
"1.0.x": "1.0.x-dev" | ||
} | ||
"files": [ | ||
"src/function.php" | ||
] | ||
}, | ||
"scripts": { | ||
"tests": "vendor/bin/phpunit", | ||
"examples": "php -S localhost:8000 -t examples/" | ||
}, | ||
"config": { | ||
"process-timeout": 0 | ||
}, | ||
"extra": { | ||
"branch-alias": { | ||
"dev-master": "1.3.x-dev", | ||
"1.2.x": "1.2.x-dev", | ||
"1.1.x": "1.1.x-dev", | ||
"1.0.x": "1.0.x-dev" | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,51 @@ | ||
<ul> | ||
<li> | ||
<a href="./">Bootstrap 3</a> | ||
[<a target="_blank" href="http://getbootstrap.com">http://getbootstrap.com</a>] | ||
</li> | ||
<li> | ||
<a href="./bootstrap4.php">Bootstrap 4</a> | ||
[<a target="_blank" href="https://v4-alpha.getbootstrap.com">https://v4-alpha.getbootstrap.com</a>] | ||
[<a target="_blank" href="http://getbootstrap.com">http://getbootstrap.com</a>] | ||
</li> | ||
<li> | ||
<a href="./foundation5.php">Foundation 5</a> | ||
[<a target="_blank" href="http://foundation.zurb.com/sites/docs/v/5.5.3">http://foundation.zurb.com/sites/docs/v/5.5.3</a>] | ||
<a href="./bootstrap3.php">Bootstrap 3</a> | ||
[<a target="_blank" href="https://getbootstrap.com/docs/3.3">https://getbootstrap.com/docs/3.3</a>] | ||
</li> | ||
<li> | ||
<a href="./foundation6.php">Foundation 6</a> | ||
[<a target="_blank" href="http://foundation.zurb.com">http://foundation.zurb.com</a>] | ||
</li> | ||
<li> | ||
<a href="./foundation5.php">Foundation 5</a> | ||
[<a target="_blank" href="http://foundation.zurb.com/sites/docs/v/5.5.3">http://foundation.zurb.com/sites/docs/v/5.5.3</a>] | ||
</li> | ||
<li> | ||
<a href="./semantic2.php">Semantic UI 2</a> | ||
[<a target="_blank" href="https://semantic-ui.com">https://semantic-ui.com</a>] | ||
</li> | ||
<li> | ||
<a href="./uikit3.php">UIKit 3</a> | ||
[<a target="_blank" href="https://getuikit.com">https://getuikit.com</a>] | ||
</li> | ||
<li> | ||
<a href="./uikit2.php">UIKit 2</a> | ||
[<a target="_blank" href="https://getuikit.com/v2/">https://getuikit.com/v2/</a>] | ||
</li> | ||
<li> | ||
<a href="./uikit3.php">UIKit 3</a> | ||
[<a target="_blank" href="https://getuikit.com">https://getuikit.com</a>] | ||
<a href="./siimple3.php">Siimple 3</a> | ||
[<a target="_blank" href="https://www.siimple.xyz">https://www.siimple.xyz</a>] | ||
</li> | ||
<li> | ||
<a href="./siimple.php">Siimple</a> | ||
[<a target="_blank" href="https://siimple.juanes.xyz">https://siimple.juanes.xyz</a>] | ||
<a href="./siimple2.php">Siimple 2</a> | ||
[<a target="_blank" href="https://github.com/siimple/siimple/releases/tag/v2.0.1">https://github.com/siimple/siimple/releases/tag/v2.0.1</a>] | ||
</li> | ||
<li> | ||
<a href="./siimple2.php">Siimple 2</a> | ||
[<a target="_blank" href="https://siimple.juanes.xyz">https://siimple.juanes.xyz</a>] | ||
<a href="./siimple.php">Siimple</a> | ||
[<a target="_blank" href="https://github.com/siimple/siimple/releases/tag/v1.3.7">https://github.com/siimple/siimple/releases/tag/v1.3.7</a>] | ||
</li> | ||
<li> | ||
<a href="./bulma.php">Bulma</a> | ||
[<a target="_blank" href="http://bulma.io">http://bulma.io</a>] | ||
</li> | ||
<li> | ||
<a href="./materialize.php">Materialize</a> | ||
[<a target="_blank" href="https://materializecss.com">https://materializecss.com</a>] | ||
</li> | ||
<li><a href="./custom.php">Custom Template</a></li> | ||
</ul> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
session_start(); | ||
|
||
require_once __DIR__ . '/../vendor/autoload.php'; | ||
|
||
flash()->error(['Invalid email!', 'Invalid username!']) | ||
->warning('Warning message.') | ||
->info('Info message.') | ||
->success('Success message!'); | ||
?> | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Test Bootstrap 3 default template example.</title> | ||
<!-- Latest compiled and minified CSS --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css"> | ||
</head> | ||
<body> | ||
|
||
<a href="https://github.com/tamtamchik/simple-flash"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a> | ||
<br /> | ||
|
||
<div class="container" style="width: 600px;"> | ||
|
||
<?php include_once '_menu.php'; ?> | ||
|
||
<hr /> | ||
|
||
<?= flash() ?> | ||
</div> | ||
|
||
<!-- Latest compiled and minified JavaScript --> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script> | ||
|
||
</body> | ||
</html> |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,3 @@ | ||
<?php | ||
session_start(); | ||
|
||
require_once __DIR__ . '/../vendor/autoload.php'; | ||
|
||
flash()->error(['Invalid email!', 'Invalid username!']) | ||
->warning('Warning message.') | ||
->info('Info message.') | ||
->success('Success message!'); | ||
?> | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Test Bootstrap 3 default template example.</title> | ||
<!-- Latest compiled and minified CSS --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css"> | ||
</head> | ||
<body> | ||
|
||
<a href="https://github.com/tamtamchik/simple-flash"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a> | ||
<br /> | ||
|
||
<div class="container" style="width: 600px;"> | ||
|
||
<?php include_once '_menu.php'; ?> | ||
|
||
<hr /> | ||
|
||
<?= flash() ?> | ||
</div> | ||
|
||
<!-- Latest compiled and minified JavaScript --> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script> | ||
|
||
</body> | ||
</html> | ||
include_once 'bootstrap3.php'; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php | ||
|
||
use Tamtamchik\SimpleFlash\TemplateFactory; | ||
use Tamtamchik\SimpleFlash\Templates; | ||
|
||
session_start(); | ||
|
||
require_once __DIR__ . '/../vendor/autoload.php'; | ||
|
||
flash()->error(['Invalid email!', 'Invalid username!']) | ||
->warning('Warning message.') | ||
->info('Info message.') | ||
->success('Success message!'); | ||
|
||
flash()->setTemplate(TemplateFactory::create(Templates::MATERIALIZE)); | ||
|
||
?> | ||
|
||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Test Materialize default template example.</title> | ||
<!-- Latest compiled and minified CSS --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/css/materialize.min.css" /> | ||
</head> | ||
<body> | ||
|
||
<a href="https://github.com/tamtamchik/simple-flash"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"></a> | ||
<br/> | ||
|
||
<div class="container" style="width: 600px;"> | ||
|
||
<?php include_once '_menu.php'; ?> | ||
|
||
<hr/> | ||
|
||
<?= flash() ?> | ||
</div> | ||
|
||
<!-- Latest compiled and minified JavaScript --> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/js/materialize.min.js"></script> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.