PHPCI
PHPCI copied to clipboard
Build status page is unstyled
Before submitting your issue, please make sure that you've checked all of the checkboxes below.
- [x] You're running the latest release version of PHPCI.
- [x] Ensure that you're running at least PHP 5.3.6, you can check this by running
php -v
- [x] You've run
composer install --no-dev -o
from the root of your installation. - [x] You have set up either the PHPCI Worker, Daemon or Cron Job to run builds.
To help us better understand your issue, please answer the following.
Expected behaviour
When I visit the public build status page enabled for my project, I expect to see a page that tells me about the status of the build. I also expect the style of this page to match the rest of PHPCI.
Actual behaviour
When I visit /build-status/view/<project-id>
I am greeted by a page that is missing CSS. It seems that the files /assets/css/bootstrap.min.css
and /assets/css/phpci.css
are referenced, but the directory structure does not contain these files. Additionally, clicking a link does not do anything (the href is the empty anchor #
), which makes me think that there is something wrong with the javascript, too.
Steps to reproduce
Enable the build status page for a project, and visit this page.
Environment info
Operating System: Arch Linux PHP Version: 7.0.10 MySQL Version: 10.1.16-MariaDB
Missing CSS
I solved it doing this:
cd /var/www/phpci/public/assets/css
wget https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css
touch phpci.css
And I got this:
Link href
I have not checked this yet :see_no_evil: