Removed old files and fixed asset precompilation

This commit is contained in:
Godwin
2016-01-17 16:50:46 -08:00
parent 5dbe43f42d
commit a83bd6e800
251 changed files with 2 additions and 8086 deletions
@@ -1,16 +0,0 @@
= form_for @conference_admin do |f|
- if @conference_admin.errors.any?
#error_explanation
%h2= "#{pluralize(@conference_admin.errors.count, "error")} prohibited this conference_admin from being saved:"
%ul
- @conference_admin.errors.full_messages.each do |msg|
%li= msg
.field
= f.label :conference_id
= f.number_field :conference_id
.field
= f.label :user_id
= f.number_field :user_id
.actions
= f.submit 'Save'
@@ -1,7 +0,0 @@
%h1 Editing conference_admin
= render 'form'
= link_to 'Show', @conference_admin
\|
= link_to 'Back', conference_admins_path
@@ -1,21 +0,0 @@
%h1 Listing conference_admins
%table
%tr
%th Conference
%th User
%th
%th
%th
- @conference_admins.each do |conference_admin|
%tr
%td= conference_admin.conference_id
%td= conference_admin.user_id
%td= link_to 'Show', conference_admin
%td= link_to 'Edit', edit_conference_admin_path(conference_admin)
%td= link_to 'Destroy', conference_admin, :method => :delete, :data => { :confirm => 'Are you sure?' }
%br
= link_to 'New Conference admin', new_conference_admin_path
@@ -1,5 +0,0 @@
%h1 New conference_admin
= render 'form'
= link_to 'Back', conference_admins_path
@@ -1,12 +0,0 @@
%p#notice= notice
%p
%b Conference:
= @conference_admin.conference_id
%p
%b User:
= @conference_admin.user_id
= link_to 'Edit', edit_conference_admin_path(@conference_admin)
\|
= link_to 'Back', conference_admins_path
@@ -1,19 +0,0 @@
= form_for @conference_host_organization do |f|
- if @conference_host_organization.errors.any?
#error_explanation
%h2= "#{pluralize(@conference_host_organization.errors.count, "error")} prohibited this conference_host_organization from being saved:"
%ul
- @conference_host_organization.errors.full_messages.each do |msg|
%li= msg
.field
= f.label :conference_id
= f.number_field :conference_id
.field
= f.label :organization_id
= f.number_field :organization_id
.field
= f.label :order
= f.number_field :order
.actions
= f.submit 'Save'
@@ -1,7 +0,0 @@
%h1 Editing conference_host_organization
= render 'form'
= link_to 'Show', @conference_host_organization
\|
= link_to 'Back', conference_host_organizations_path
@@ -1,23 +0,0 @@
%h1 Listing conference_host_organizations
%table
%tr
%th Conference
%th Organization
%th Order
%th
%th
%th
- @conference_host_organizations.each do |conference_host_organization|
%tr
%td= conference_host_organization.conference_id
%td= conference_host_organization.organization_id
%td= conference_host_organization.order
%td= link_to 'Show', conference_host_organization
%td= link_to 'Edit', edit_conference_host_organization_path(conference_host_organization)
%td= link_to 'Destroy', conference_host_organization, :method => :delete, :data => { :confirm => 'Are you sure?' }
%br
= link_to 'New Conference host organization', new_conference_host_organization_path
@@ -1,5 +0,0 @@
%h1 New conference_host_organization
= render 'form'
= link_to 'Back', conference_host_organizations_path
@@ -1,15 +0,0 @@
%p#notice= notice
%p
%b Conference:
= @conference_host_organization.conference_id
%p
%b Organization:
= @conference_host_organization.organization_id
%p
%b Order:
= @conference_host_organization.order
= link_to 'Edit', edit_conference_host_organization_path(@conference_host_organization)
\|
= link_to 'Back', conference_host_organizations_path
@@ -1,5 +0,0 @@
= form_for @conference_registration do |f|
= f.number_field :conference_id
= f.number_field :user_id
= f.text_field :is_attending
= f.actions :Save
@@ -1,7 +0,0 @@
%h1 Editing conference_registration
= render 'form'
= link_to 'Show', @conference_registration
\|
= link_to 'Back', conference_registrations_path
@@ -1,23 +0,0 @@
%h1 Listing conference_registrations
%table
%tr
%th Conference
%th User
%th Is attending
%th
%th
%th
- @conference_registrations.each do |conference_registration|
%tr
%td= conference_registration.conference_id
%td= conference_registration.user_id
%td= conference_registration.is_attending
%td= link_to 'Show', conference_registration
%td= link_to 'Edit', edit_conference_registration_path(conference_registration)
%td= link_to 'Destroy', conference_registration, :method => :delete, :data => { :confirm => 'Are you sure?' }
%br
= link_to 'New Conference registration', new_conference_registration_path
@@ -1,5 +0,0 @@
%h1 New conference_registration
= render 'form'
= link_to 'Back', conference_registrations_path
@@ -1,15 +0,0 @@
%p#notice= notice
%p
%b Conference:
= @conference_registration.conference_id
%p
%b User:
= @conference_registration.user_id
%p
%b Is attending:
= @conference_registration.is_attending
= link_to 'Edit', edit_conference_registration_path(@conference_registration)
\|
= link_to 'Back', conference_registrations_path
@@ -1,16 +0,0 @@
= form_for @conference_type do |f|
- if @conference_type.errors.any?
#error_explanation
%h2= "#{pluralize(@conference_type.errors.count, "error")} prohibited this conference_type from being saved:"
%ul
- @conference_type.errors.full_messages.each do |msg|
%li= msg
.field
= f.label :title
= f.text_field :title
.field
= f.label :info
= f.text_field :info
.actions
= f.submit 'Save'
@@ -1,7 +0,0 @@
%h1 Editing conference_type
= render 'form'
= link_to 'Show', @conference_type
\|
= link_to 'Back', conference_types_path
@@ -1,21 +0,0 @@
%h1 Listing conference_types
%table
%tr
%th Title
%th Info
%th
%th
%th
- @conference_types.each do |conference_type|
%tr
%td= conference_type.title
%td= conference_type.info
%td= link_to 'Show', conference_type
%td= link_to 'Edit', edit_conference_type_path(conference_type)
%td= link_to 'Destroy', conference_type, :method => :delete, :data => { :confirm => 'Are you sure?' }
%br
= link_to 'New Conference type', new_conference_type_path
-5
View File
@@ -1,5 +0,0 @@
%h1 New conference_type
= render 'form'
= link_to 'Back', conference_types_path
-12
View File
@@ -1,12 +0,0 @@
%p#notice= notice
%p
%b Title:
= @conference_type.title
%p
%b Info:
= @conference_type.info
= link_to 'Edit', edit_conference_type_path(@conference_type)
\|
= link_to 'Back', conference_types_path
-23
View File
@@ -1,23 +0,0 @@
= render 'conferences/page_header', :page_key => (@location ? 'Edit_Location' : 'New_Location')
%article
= form_tag save_location_path(@this_conference.slug), class: 'composition' do
= row do
= columns(medium: 12) do
= (hidden_field_tag :location_id, @location.id) if @location
.text-field.input-field.big
= label_tag :title
= text_field_tag :title, @location ? @location.title : nil, :required => true
= row do
= columns(medium: 6) do
.text-area-field.input-field
= label_tag :address
= text_area_tag :address, @location ? @location.address : nil, :required => true
= columns(medium: 6) do
%h3=_'articles.locations.headings.amenities'
- [:sound, :projector, :tools].each do |need|
.single-check-box-field.input-field
= label_tag "needs_#{need}" do
= check_box_tag "needs[#{need}]", 1, @location && @amenities.include?(need)
= _"workshop.options.needs.#{need}"
.actions
= button_tag :save, :value => :save
-16
View File
@@ -1,16 +0,0 @@
= form_for @event_type do |f|
- if @event_type.errors.any?
#error_explanation
%h2= "#{pluralize(@event_type.errors.count, "error")} prohibited this event_type from being saved:"
%ul
- @event_type.errors.full_messages.each do |msg|
%li= msg
.field
= f.label :slug
= f.text_field :slug
.field
= f.label :info
= f.text_area :info
.actions
= f.submit 'Save'
-7
View File
@@ -1,7 +0,0 @@
%h1 Editing event_type
= render 'form'
= link_to 'Show', @event_type
\|
= link_to 'Back', event_types_path
-21
View File
@@ -1,21 +0,0 @@
%h1 Listing event_types
%table
%tr
%th Slug
%th Info
%th
%th
%th
- @event_types.each do |event_type|
%tr
%td= event_type.slug
%td= event_type.info
%td= link_to 'Show', event_type
%td= link_to 'Edit', edit_event_type_path(event_type)
%td= link_to 'Destroy', event_type, :method => :delete, :data => { :confirm => 'Are you sure?' }
%br
= link_to 'New Event type', new_event_type_path
-5
View File
@@ -1,5 +0,0 @@
%h1 New event_type
= render 'form'
= link_to 'Back', event_types_path
-12
View File
@@ -1,12 +0,0 @@
%p#notice= notice
%p
%b Slug:
= @event_type.slug
%p
%b Info:
= @event_type.info
= link_to 'Edit', edit_event_type_path(@event_type)
\|
= link_to 'Back', event_types_path
-37
View File
@@ -42,40 +42,3 @@
%footer= render 'shared/footer'
- if content_for?(:footer_scripts)
= yield :footer_scripts
-# if content_for?(:scripts) || content_for?(:dom_ready)
-# #{content_for?(:scripts) ? "#{yield :scripts}" : ''}#{content_for?(:dom_ready) ? "$(function(){#{yield :dom_ready}});" : ''}
:javascript
(function() {
if (!String.prototype.trim) {
(function() {
var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
String.prototype.trim = function() {
return this.replace(rtrim, '');
};
})();
}
function classExists(elem,className){var p = new RegExp('(^| )'+className+'( |$)');return (elem.className && elem.className.match(p));}
function addClass(elem,className){if(classExists(elem,className)){return true;}elem.className += ' '+className;}
function removeClass(elem,className){var c = elem.className;var p = new RegExp('(^| )'+className+'( |$)');c = c.replace(p,' ').replace(/ /g,' ');elem.className = c.trim();}
[].slice.call(document.querySelectorAll('.input-field input')).forEach(function(inputEl) {
if (inputEl.value.trim() === '') {
inputEl.parentNode.className = inputEl.parentNode.className + ' empty';
}
inputEl.addEventListener('focus', onInputFocus);
inputEl.addEventListener('blur', onInputBlur);
});
function onInputFocus(ev) {
removeClass(ev.target.parentNode, 'empty')
}
function onInputBlur(ev) {
if (ev.target.value.trim() === '') {
addClass(ev.target.parentNode, 'empty');
}
}
})();
-2
View File
@@ -1,2 +0,0 @@
%h1 Oauths#callback
%p Find me in app/views/oauths/callback.html.haml
-2
View File
@@ -1,2 +0,0 @@
%h1 Oauths#oauth
%p Find me in app/views/oauths/oauth.html.haml
@@ -1,19 +0,0 @@
= form_for @user_organization_relationship do |f|
- if @user_organization_relationship.errors.any?
#error_explanation
%h2= "#{pluralize(@user_organization_relationship.errors.count, "error")} prohibited this user_organization_relationship from being saved:"
%ul
- @user_organization_relationship.errors.full_messages.each do |msg|
%li= msg
.field
= f.label :user_id
= f.number_field :user_id
.field
= f.label :organization_id
= f.number_field :organization_id
.field
= f.label :relationship
= f.text_field :relationship
.actions
= f.submit 'Save'
@@ -1,7 +0,0 @@
%h1 Editing user_organization_relationship
= render 'form'
= link_to 'Show', @user_organization_relationship
\|
= link_to 'Back', user_organization_relationships_path
@@ -1,23 +0,0 @@
%h1 Listing user_organization_relationships
%table
%tr
%th User
%th Organization
%th Relationship
%th
%th
%th
- @user_organization_relationships.each do |user_organization_relationship|
%tr
%td= user_organization_relationship.user_id
%td= user_organization_relationship.organization_id
%td= user_organization_relationship.relationship
%td= link_to 'Show', user_organization_relationship
%td= link_to 'Edit', edit_user_organization_relationship_path(user_organization_relationship)
%td= link_to 'Destroy', user_organization_relationship, :method => :delete, :data => { :confirm => 'Are you sure?' }
%br
= link_to 'New User organization relationship', new_user_organization_relationship_path
@@ -1,5 +0,0 @@
%h1 New user_organization_relationship
= render 'form'
= link_to 'Back', user_organization_relationships_path
@@ -1,15 +0,0 @@
%p#notice= notice
%p
%b User:
= @user_organization_relationship.user_id
%p
%b Organization:
= @user_organization_relationship.organization_id
%p
%b Relationship:
= @user_organization_relationship.relationship
= link_to 'Edit', edit_user_organization_relationship_path(@user_organization_relationship)
\|
= link_to 'Back', user_organization_relationships_path
-4
View File
@@ -1,4 +0,0 @@
= form_tag user_sessions_path, :method => :post do
= email_field_tag :email
= password_field_tag :password
= form_actions [:Sign_In, :facebook_sign_in]
-2
View File
@@ -1,2 +0,0 @@
%h1 UserSessions#create
%p Find me in app/views/user_sessions/create.html.haml
@@ -1,2 +0,0 @@
%h1 UserSessions#destroy
%p Find me in app/views/user_sessions/destroy.html.haml
-11
View File
@@ -1,11 +0,0 @@
- banner_title 'Login'
.row
.columns.medium-6
= render 'form'
.columns.medium-6
%h2 #{_ 'user.Create_Account'}
%p #{_ 'user.why_register', 'paragraph'}
%p
= render '/users/form'