Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
removing the assets/project_key/images from gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
simensta committed Aug 11, 2015
1 parent e63625c commit 13b3d8b
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ db/*.sqlite3
/log/*
/tmp/*

#project images
/app/assets/images/anzac/*
/app/assets/images/whale_tales/*
/app/assets/images/emigrant/*

# various artifacts
**.war
*.rbc
Expand Down
Binary file added app/assets/images/anzac/att_q_ex.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/anzac/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/anzac/hs_example_marking.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/anzac/hs_transfer_ex.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/anzac/two_part_att_ex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/emigrant/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/emigrant/hero.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions app/assets/javascripts/components/app-router.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ class AppRouter
controllerForPage: (page) ->
React.createClass
displayName: "#{page.name}Page"

componentDidMount: ->
# value = $(@refs.inputs.getDOMNode()).find('select')[0].value
el = $(React.findDOMNode(this)).find("#accordion")
el.accordion
collapsible: true


render: ->
formatted_name = page.name.replace("_", " ")
<div className="page-content">
Expand Down
5 changes: 5 additions & 0 deletions app/assets/javascripts/components/app.cjsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ App = React.createClass
project = result[0]
@setState project: project #, => console.log ' PROJECT: ', @state.project

# componentDidUpdate: ->
# # value = $(@refs.inputs.getDOMNode()).find('select')[0].value
# console.log "findDOMnode", $(React.findDOMNode(this))
# console.log "@refs", $(@refs)

render: ->
return null if ! @state.project?

Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/light-box.styl
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

span
border-bottom-right-radius: 8px;
border-top-left-radius: 4px
border-top-left-radius: 3px
border-style: solid;
border-width: 3px;
border-color: #ffffff;
Expand Down

0 comments on commit 13b3d8b

Please sign in to comment.