Fixed markup for public status + PHP Censor logo fixes.

This commit is contained in:
Dmitry Khomutov 2017-08-19 11:01:55 +07:00
parent 74f0537d04
commit c58c93600c
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
9 changed files with 179 additions and 35 deletions

View file

@ -1,7 +1,3 @@
<p align="center">
<img width="500" height="auto" src="docs/images/php-censor-black.png"></a>
</p>
[![PHP Censor](http://ci.php-censor.info/build-status/image/2?branch=master&label=PHPCensor&style=flat-square)](http://ci.php-censor.info/build-status/view/2?branch=master)
[![Travis CI](https://img.shields.io/travis/corpsee/php-censor/master.svg?label=TravisCI&style=flat-square)](https://travis-ci.org/corpsee/php-censor?branch=master)
[![Latest Version](https://img.shields.io/packagist/v/corpsee/php-censor.svg?label=Version&style=flat-square)](https://packagist.org/packages/corpsee/php-censor)
@ -9,11 +5,12 @@
[![License](https://img.shields.io/packagist/l/corpsee/php-censor.svg?label=License&style=flat-square)](https://packagist.org/packages/corpsee/php-censor)
[![SensioLabs Insight](https://img.shields.io/sensiolabs/i/26f28bee-a861-45b2-bc18-ed2ac7defd22.svg?label=Insight&style=flat-square)](https://insight.sensiolabs.com/projects/26f28bee-a861-45b2-bc18-ed2ac7defd22)
PHP Censor
==========
<p align="center">
<img width="500" height="auto" src="docs/images/php-censor-black.png" alt="PHP Censor" />
</p>
**PHP Censor** is a open source self-hosted continuous integration server for PHP projects (Fork of
[PHPCI](https://www.phptesting.org)).
**PHP Censor** is a open source self-hosted continuous integration server for PHP projects
([PHPCI](https://www.phptesting.org) fork).
[![Dashboard](docs/screenshots/dashboard.png)](docs/screenshots/dashboard.png)

View file

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
id="svg4370"
viewBox="0 0 727.5 124.50821"
height="35.138985mm"
width="205.31667mm">
<defs
id="defs4372" />
<metadata
id="metadata4375">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="translate(-8.3928568,-901.42299)"
id="layer1">
<path
id="path3371"
d="m 8.3928568,901.42299 0,124.50821 727.5000032,0 0,-124.50821 -727.5000032,0 z m 13.3761462,13.71941 700.061187,0 0,97.0694 -700.061187,0 0,-97.0694 z"
style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3395"
d="m 50.23762,929.54834 0,68.60079 13.721283,0 0,-20.92425 41.171357,0 6.50517,-6.21631 0,-34.19723 -6.50517,-7.263 -54.89264,0 z m 13.721283,13.37802 34.641783,0 0,21.26564 -34.641783,0 0,-21.26564 z"
style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3409"
d="m 120.65173,929.54892 0,68.59972 13.58201,0 0,-27.14007 34.19769,0 0,27.14007 13.33951,0 0,-68.59972 -13.33951,0 0,27.87761 -34.19769,0 0,-27.87761 z"
style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3395-6"
d="m 191.61467,929.55397 0,68.59891 13.72128,0 0,-20.92237 41.17135,0 6.50519,-6.21632 0,-34.1991 -6.50519,-7.26112 -54.89263,0 z m 13.72128,13.37614 34.64179,0 0,21.26752 -34.64179,0 0,-21.26752 z"
style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3456"
d="m 342.64439,950.30033 0,-13.48942 -6.68839,-7.26199 -47.67685,0 -6.51696,7.26199 0,54.64925 6.51696,6.68848 47.67685,0 6.68839,-6.68848 0,-14.23443 -13.20545,0 0,7.54596 -34.12834,0 0,-41.84583 34.12834,0 0,7.37447 z"
style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3485"
d="m 409.52915,942.92586 0,-13.37694 -57.79529,0 0,68.59972 57.79529,0 0,-13.37695 -44.24679,0 0,-13.76312 40.47119,0 0,-13.58204 -40.47119,0 0,-14.50067 z"
style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3501"
d="m 418.36547,929.54892 13.70331,0 34.07639,44.49136 0,-44.49136 13.70332,0 0,68.59972 -13.70332,0 -34.07639,-44.2389 0,44.2389 -13.70331,0 z"
style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3515"
d="m 550.54785,950.30033 0,-13.48942 -6.79096,-7.26199 -47.7797,0 -6.66976,7.26199 0,27.38087 6.66976,6.81679 41.35244,0 0,13.76312 -34.68268,0 0,-7.54596 -13.33952,0 0,14.23443 6.66976,6.68848 47.7797,0 6.79096,-6.68848 0,-27.26838 -6.79096,-6.76525 -41.10994,0 0,-14.50067 34.68268,0 0,7.37447 z"
style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3529"
d="m 567.28333,929.54834 -6.79217,7.263 0,54.64878 6.79217,6.68901 47.7797,0 6.67026,-6.68901 0,-54.64878 -6.67026,-7.263 -47.7797,0 z m 6.67026,13.37802 34.43919,0 0,41.84476 -34.43919,0 0,-41.84476 z"
style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3545"
d="m 631.55484,929.54834 0,68.60079 13.46054,0 0,-20.92425 20.61663,0 13.58248,14.23524 0,6.68901 13.58059,0 0,-13.37801 -6.66837,-7.54624 6.66837,-6.21631 0,-34.19723 -6.66837,-7.263 -54.57187,0 z m 13.46054,13.37802 34.19911,0 0,21.26564 -34.19911,0 0,-21.26564 z"
style="fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

View file

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
id="svg4370"
viewBox="0 0 727.5 124.50821"
height="35.138985mm"
width="205.31667mm">
<defs
id="defs4372" />
<metadata
id="metadata4375">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
transform="translate(-8.3928568,-901.42299)"
id="layer1">
<path
id="path3371"
d="m 8.3928568,901.42299 0,124.50821 727.5000032,0 0,-124.50821 -727.5000032,0 z m 13.3761462,13.71941 700.061187,0 0,97.0694 -700.061187,0 0,-97.0694 z"
style="fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3395"
d="m 50.23762,929.54834 0,68.60079 13.721283,0 0,-20.92425 41.171357,0 6.50517,-6.21631 0,-34.19723 -6.50517,-7.263 -54.89264,0 z m 13.721283,13.37802 34.641783,0 0,21.26564 -34.641783,0 0,-21.26564 z"
style="fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3409"
d="m 120.65173,929.54892 0,68.59972 13.58201,0 0,-27.14007 34.19769,0 0,27.14007 13.33951,0 0,-68.59972 -13.33951,0 0,27.87761 -34.19769,0 0,-27.87761 z"
style="fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3395-6"
d="m 191.61467,929.55397 0,68.59891 13.72128,0 0,-20.92237 41.17135,0 6.50519,-6.21632 0,-34.1991 -6.50519,-7.26112 -54.89263,0 z m 13.72128,13.37614 34.64179,0 0,21.26752 -34.64179,0 0,-21.26752 z"
style="fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3456"
d="m 342.64439,950.30033 0,-13.48942 -6.68839,-7.26199 -47.67685,0 -6.51696,7.26199 0,54.64925 6.51696,6.68848 47.67685,0 6.68839,-6.68848 0,-14.23443 -13.20545,0 0,7.54596 -34.12834,0 0,-41.84583 34.12834,0 0,7.37447 z"
style="fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3485"
d="m 409.52915,942.92586 0,-13.37694 -57.79529,0 0,68.59972 57.79529,0 0,-13.37695 -44.24679,0 0,-13.76312 40.47119,0 0,-13.58204 -40.47119,0 0,-14.50067 z"
style="fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3501"
d="m 418.36547,929.54892 13.70331,0 34.07639,44.49136 0,-44.49136 13.70332,0 0,68.59972 -13.70332,0 -34.07639,-44.2389 0,44.2389 -13.70331,0 z"
style="fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3515"
d="m 550.54785,950.30033 0,-13.48942 -6.79096,-7.26199 -47.7797,0 -6.66976,7.26199 0,27.38087 6.66976,6.81679 41.35244,0 0,13.76312 -34.68268,0 0,-7.54596 -13.33952,0 0,14.23443 6.66976,6.68848 47.7797,0 6.79096,-6.68848 0,-27.26838 -6.79096,-6.76525 -41.10994,0 0,-14.50067 34.68268,0 0,7.37447 z"
style="fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3529"
d="m 567.28333,929.54834 -6.79217,7.263 0,54.64878 6.79217,6.68901 47.7797,0 6.67026,-6.68901 0,-54.64878 -6.67026,-7.263 -47.7797,0 z m 6.67026,13.37802 34.43919,0 0,41.84476 -34.43919,0 0,-41.84476 z"
style="fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
id="path3545"
d="m 631.55484,929.54834 0,68.60079 13.46054,0 0,-20.92425 20.61663,0 13.58248,14.23524 0,6.68901 13.58059,0 0,-13.37801 -6.66837,-7.54624 6.66837,-6.21631 0,-34.19723 -6.66837,-7.263 -54.57187,0 z m 13.46054,13.37802 34.19911,0 0,21.26564 -34.19911,0 0,-21.26564 z"
style="fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

View file

@ -11,6 +11,17 @@ body
padding-top: 0;
}
a {
color: #3c8dbc;
}
a:hover,
a:active,
a:focus {
outline: none;
text-decoration: none;
color: #72afd2;
}
#logo {
margin: 0 auto;
padding: 100px 30px 50px 30px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

View file

@ -13,7 +13,6 @@
<?php print $error; ?>
</div>
<?php endif; ?>
<div class="">
<form class="form" action="<?php print APP_URL; ?>session/forgot-password" method="POST">
<div class="form-group">
@ -26,6 +25,4 @@
</div>
</form>
</div>
<?php endif; ?>
<?php endif; ?>

View file

@ -4,6 +4,6 @@
<?php endif; ?>
<?php print $form; ?>
<a style="margin-top: -22px; font-size: 0.85em; color: #246" class="pull-right" href="<?php print APP_URL; ?>session/forgot-password">
<a style="margin-top: -22px;" class="pull-right" href="<?php print APP_URL; ?>session/forgot-password">
<?php Lang::out('forgotten_password_link'); ?>
</a>
</a>

View file

@ -1,26 +1,23 @@
<?php use PHPCensor\Helper\Lang; ?>
<?php if (empty($error)): ?>
<div class="box-header">
<?php Lang::out('reset_enter_password'); ?>
</div>
<div class="box-body">
<form class="form" action="<?php print APP_URL; ?>session/reset-password/<?php print $id; ?>/<?php print $key; ?>" method="POST">
<div class="form-group">
<label for="password"><?php Lang::out('reset_new_password'); ?></label>
<input type="password" id="password" name="password" class="form-control" required>
</div>
<div class="form-group">
<input class="btn btn-success" type="submit" value="<?php Lang::out('reset_change_password'); ?>">
</div>
</form>
</div>
<?php else: ?>
<div class="alert alert-danger" style="margin-bottom: 0">
<?php print $error; ?>
<div class="box-header">
<?php Lang::out('reset_enter_password'); ?>
</div>
<?php endif; ?>
<div class="box-body">
<form class="form" action="<?php print APP_URL; ?>session/reset-password/<?php print $id; ?>/<?php print $key; ?>" method="POST">
<div class="form-group">
<label for="password"><?php Lang::out('reset_new_password'); ?></label>
<input type="password" id="password" name="password" class="form-control" required>
</div>
<div class="form-group">
<input class="btn btn-success" type="submit" value="<?php Lang::out('reset_change_password'); ?>">
</div>
</form>
</div>
<?php else: ?>
<div class="alert alert-danger" style="margin-bottom: 0">
<?php print $error; ?>
</div>
<?php endif; ?>