Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
100 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module FontAwesomeVersionHelper | ||
def font_awesome_four? | ||
Bundler.environment.specs['font-awesome-rails'].first.version >= Gem::Version.new('4') | ||
end | ||
|
||
def fa3(if3) | ||
fa3or4(if3, '') | ||
end | ||
|
||
def fa4(if4) | ||
fa3or4('', if4) | ||
end | ||
|
||
def fa3or4(if3, if4) | ||
font_awesome_four? ? if4 : if3 | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
<% if bootstrap_three? %><div class="modal-dialog"><div class="modal-content"><% end %> | ||
<div class="modal-header"> | ||
<h4 class="sr-only" id="beModalLabel">Select a provider in the list to browse your files.</h4> | ||
<div class="ev-providers"> | ||
<%= render :partial => 'providers' %> | ||
</div> | ||
</div> | ||
<div class="modal-body ev-body" tabindex="-1"> | ||
<div class="loading-progress" aria-live="assertive"> | ||
<span class="loading-text">Loading...</span> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h4 class="sr-only" id="beModalLabel">Select a provider in the list to browse your files.</h4> | ||
<div class="ev-providers"> | ||
<%= render :partial => 'providers' %> | ||
</div> | ||
</div> | ||
<div class="ev-browser row<%=bs2('-fluid')%>" aria-live="polite"> | ||
<div class="<%=fa3or4('fa3','fa4')%> <%=bs2or3('bs2 span','bs3 col-xs-')%>12 ev-files list"> | ||
<%= render :partial => 'files' if provider.present? %> | ||
<div class="modal-body ev-body" tabindex="-1"> | ||
<div class="loading-progress" aria-live="assertive"> | ||
<span class="loading-text">Loading...</span> | ||
</div> | ||
<div class="ev-browser row" aria-live="polite"> | ||
<div class="<%=fa3or4('fa3','fa4')%> col-xs-12 ev-files list"> | ||
<%= render :partial => 'files' if provider.present? %> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="modal-footer"> | ||
<span class="pull-left ev-status">0 files selected</span> | ||
<%= form_tag '#', :class => "ev-submit-form form-horizontal", :data => { :resolver => browse_everything_engine.resolver_path } do %> | ||
<input type="hidden" name="context" value=""/> | ||
<button class="ev-cancel btn btn-danger"><%= t('browse_everything.modal_form.cancel')%></button> | ||
<button class="ev-submit btn btn-primary" data-loading-text="Loading..."><%= t('browse_everything.modal_form.submit')%></button> | ||
<% end %> | ||
</div> | ||
</div> | ||
<div class="modal-footer"> | ||
<span class="pull-left ev-status">0 files selected</span> | ||
<%= form_tag '#', :class => "ev-submit-form form-horizontal", :data => { :resolver => browse_everything_engine.resolver_path } do %> | ||
<input type="hidden" name="context" value=""/> | ||
<button class="ev-cancel btn btn-danger"><%= t('browse_everything.modal_form.cancel')%></button> | ||
<button class="ev-submit btn btn-primary" data-loading-text="Loading..."><%= t('browse_everything.modal_form.submit')%></button> | ||
<% end %> | ||
</div> | ||
<% if bootstrap_three? %></div></div><% end %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
require 'aws-sdk' | ||
require 'aws-sdk-s3' | ||
|
||
module BrowseEverything | ||
module Driver | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.