-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #93 from Toxantron/dev
Update master with latest version
- Loading branch information
Showing
10 changed files
with
189 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,13 @@ | |
|
||
PHP web app for planning poker. It includes a master view for the ScrumMaster and a simple responsive card view for the team. A deployed demo is available at http://www.scrumpoker.online | ||
|
||
## Sponsors | ||
The project is supported by the following sponsors. If you would like to become a sponsor yourself, please take a look [at the section below](#sponsoring). | ||
|
||
```md | ||
[![Company Logo](https://example.com/logo.svg)](https://example.com) | ||
``` | ||
|
||
## Idea | ||
Everyone who ever managed a software project using scrum will have either heard of or played planning poker. It is a simple tool to determine a stories/features complexity. For the detailed process refer to https://en.wikipedia.org/wiki/Planning_poker. So far there are a couple of apps where you can select a card and display it on the screen - but none of them offer a network collaboration mode. Some of the existing web apps are nowhere near responsive or come with too overloaded UIs. I want to create a simple web app where the Scrum Master can start a named session and all team members can join the session. | ||
|
||
|
@@ -25,3 +32,13 @@ For every story the Scrum Master will than start a poll and each member of the s | |
If you want to contribute you can just clone the repository and follow the deployment instructions. We also offer support for [Vagrant](doc/Vagrant.md) and [Docker](doc/Docker.md). Any changes must be commited to a fork and then merged by issuing a pull request. For information on the REST API or ticketing plugins please have a look at the [wiki documentation](https://github.com/Toxantron/scrumonline/blob/master/doc/). | ||
|
||
You can also use the [REST API](https://github.com/Toxantron/scrumonline/blob/master/doc/Developer-Documentation.md) to build a mobile for iOS or Android. In that case I am happy to link your app in the README and on the page. | ||
|
||
## Sponsoring | ||
If you want to support the project, you can become an official sponsor. There are three different levels of sponsoring and each is rewarded with your logo and link in different places. The price for the next level always includes the previous levels privileges. Prices only show the current price for each type and may | ||
change over time based on demand. To become an official sponsor please contact [email protected] with the [necessary information](https://github.com/Toxantron/scrumonline/blob/master/src/sponsors.php) and your desired sponsoring level. You will recieve an official invoice for your sponsorship, which makes it tax deductible for companies. Within 7 days after payment the page will be updated with your logo. Alternatively if you contribute developer time or server resources, you can also be listed as a sponsor. | ||
|
||
| Level | Price annually | Logo placement | | ||
|---|---:|---| | ||
| Basic | 20€ | Sponsors tab | | ||
| Footer | 100€ | Footer | | ||
| Repo | 150€ | README on GitHub | |
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
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,74 @@ | ||
<?php | ||
// Defintion of a sponsor object. It contains the necessary information | ||
// sponsors need to provide | ||
class Sponsor | ||
{ | ||
// Link url of the sponsor | ||
private $linkURL; | ||
|
||
// URL of the sponsors logo | ||
private $logoURL; | ||
|
||
function __construct($linkURL, $logoURL) | ||
{ | ||
$this->linkURL = $linkURL; | ||
$this->logoURL = $logoURL; | ||
} | ||
|
||
// Render this sponsor instance | ||
public function render() | ||
{ | ||
return "<a href=\"" . $this->linkURL . "\"><img src=\"" . $this->logoURL . "\"></a>"; | ||
} | ||
|
||
public static function renderFooter() | ||
{ | ||
$sponsors = [ | ||
// All sponsors for the footer | ||
//new Sponsor("https://example.com", "https://example.com/logo.png"), | ||
]; | ||
|
||
Sponsor::renderSponsors($sponsors); | ||
} | ||
|
||
public static function renderOthers() | ||
{ | ||
$sponsors = [ | ||
// All sponsors for the sponsors tab | ||
//new Sponsor("https://example.com", "https://example.com/logo.png"), | ||
]; | ||
|
||
Sponsor::renderSponsors($sponsors); | ||
} | ||
|
||
private static function renderSponsors($sponsors) | ||
{ | ||
echo "<div class=\"sponsors\">"; | ||
|
||
foreach($sponsors as $sponsor) | ||
echo $sponsor->render(); | ||
|
||
echo "</div>"; | ||
} | ||
|
||
private static $donors = [ | ||
//"Author" => "Message" | ||
]; | ||
|
||
public static function donorCount() | ||
{ | ||
return sizeof(Sponsor::$donors); | ||
} | ||
|
||
public static function renderDonors() | ||
{ | ||
echo "<div class=\"donors\">"; | ||
|
||
foreach (Sponsor::$donors as $donorName => $message) { | ||
echo "<div><div class=\"message\">\"" . $message ."\"</div><div class=\"donor\">" . $donorName . "</div></div>"; | ||
} | ||
|
||
echo "</div>"; | ||
} | ||
} | ||
|
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,19 @@ | ||
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" /> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script> | ||
<script> | ||
window.addEventListener("load", function(){ | ||
window.cookieconsent.initialise({ | ||
"palette": { | ||
"popup": { | ||
"background": "#eb6c44", | ||
"text": "#ffffff" | ||
}, | ||
"button": { | ||
"background": "#f5d948" | ||
} | ||
}, | ||
"content": { | ||
"href": "<?= $src ?>doc/Cookies.md" | ||
} | ||
})}); | ||
</script> |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div> | ||
<h1>Other Sponsors:</h1> | ||
|
||
<?= Sponsor::renderOthers() ?> | ||
</div> | ||
|
||
<div> | ||
<h1>Donors (<?= Sponsor::donorCount() ?> total):</h1> | ||
|
||
<?= Sponsor::renderDonors() ?> | ||
</div> | ||
|
||
|
||
|
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