This introduces the new crafting page design featuring a new vertical layout and list display of all crafting steps. It also makes it easy to move items between the have/need sections and even from each step into your inventory (causing a new crafting plan to be created which doesn't plan on making that item). * Convert the `BaseController.hide` and `show` methods to be much more robust in the use of CSS transitions (using a timer in case a transition doesn't actually fire). * Change `hide`/`show` to use events for communicating animation state instead of callbacks * Convert several controllers to fire events for communication with parent controllers instead of accepting functions. * Rewrite the `CraftPageController`, `CraftPage` model and related Jade/SCSS files to implement the new design. * Alter the `InventoryController` and `StackController` to allow a variety of action buttons, and for the events from those action buttons to bubble up to parent controllers * Add the `StepController` and its related model, template, and style sheet as part of the new craft page. * Tweak the `ItemSelectorController` and related files to allow for a variety of styles for the launcher button
34 lines
767 B
Plaintext
34 lines
767 B
Plaintext
//-
|
|
//- Crafting Guide - _header.jade
|
|
//-
|
|
//- Copyright (c) 2014-2015 by Redwood Labs
|
|
//- All rights reserved.
|
|
//-
|
|
|
|
.view__header
|
|
h1
|
|
a.logo(href="/"): img(src="/images/workbench_front.png")
|
|
p Crafting Guide for Minecraft
|
|
|
|
.addthis_sharing_toolbox
|
|
.divider.bottom
|
|
.login
|
|
span.name
|
|
a(href="/login") Login
|
|
|
|
.navBar
|
|
a(data-page="home", href="/")
|
|
p Home
|
|
.dot
|
|
a(data-page="configure", href="/configure/")
|
|
p Configure
|
|
.dot
|
|
a(data-page="browse", href="/browse/")
|
|
p Browse
|
|
.dot
|
|
a(data-page="craft", href="/craft/")
|
|
p Craft
|
|
.dot
|
|
|
|
.view__item_selector.search: p find an item...
|