Needs work
Project:
Vagrant Drupal Development
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2014 at 14:16 UTC
Updated:
9 Dec 2015 at 17:52 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
cuteapoot commentedI wish I had seen this earlier! I actually have a patch for this. Let me attach it.
Note: it also removes some of the anchor links, and opens the "hosts" link in the same window by default (because forcing users to open stuff in a new window drives me crazy).
Comment #2
ericrdb commentedYes! It's been quite some time since I looked at this...
#2236323: Slick index.html page
Thanks for taking a stab at it, I'm eager to check out your work. With the recent commits, looks like this patch needs to be re-rolled.
Comment #3
cuteapoot commentedI'm so happy that the vagrant-hostsupdater plugin got committed, because that makes my patch so much easier to implement (it would have caused merge conflicts otherwise).
The only issue I see with my code is that it uses the Bootstrap CDN, which might cause problems for someone working offline who doesn't have that code cached. Seems relatively minor, but worth discussing.
Comment #4
ericrdb commentedExcellent, thanks for the patch and this layout is nicer on the eyes for sure.
Before committing, I do appreciate your concern about the CDN-based css files. Any objections to removing that dependency by creating local css files and referencing the local version from within index.html? I like removing that (minor?) potential failure point and don't yet see a downside for doing so.
Also, the help text for git cloning Drupal 8 needs updating because the branch name changed:
Comment #5
ericrdb commentedOne more item: how about removing lines 98-107, the commented out section?
That should keep the html code cleaner, yes? It's always there in git if we ever need the history of that file.
Comment #6
cuteapoot commentedI can't believe I missed this nine months ago! I think your suggestions are perfect, but I'm not sure how to include those CSS/JS files. I tried modifying
chef/cookbooks/core/vdd/recipes/vdd_help.rbto copy those files fromchef/cookbooks/core/vdd/templates/default, but I got syntax errors. I don't know if I'm doing Ruby wrong or if I'm doing Vagrant wrong.