Created
September 5, 2013 21:07
-
-
Save nrrrdcore/03a23ff398d5bd8c33b6 to your computer and use it in GitHub Desktop.
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
<%= render 'shared/nav', :found_repository => view.found_repositories.first %> | |
<div class="map-gui clearfix"> | |
<div class="top"> | |
<h2 class="repos-imported">We found <%= view.found_repositories.size %> projects<% if !view.index? %> at <%= view.importer_url %><% end %></h2> | |
<p>If you don't see the project you want to import to GitHub below try <a href="<%= url_for(:action => 'new') %>">starting over</a> with a different url.</p> | |
</div> | |
<div> | |
<% if !view.index? && view.none_found? %> | |
<div class="fill"> | |
<p>Sorry, we couldn't find any repositories at <%= view.importer_url %></p> | |
</div> | |
<% else %> | |
<div class="import-repos-container"> | |
<form> | |
<ol class="slats"> | |
<% view.found_repositories.each do |repo| %> | |
<li class="imported"> | |
<h2 <% if repo.status.error? %> class="error"<% end %>> | |
<%= repo.name %> | |
<p><%= repo.short_url %></p> | |
</h2> | |
<a href="<%= import_overview_path(repo) %>" class="button primary">Start Import</a> | |
</li> | |
<% end %> | |
<!-- <% view.imported_repositories.each do |repo| %> | |
<li> | |
<a href="<%= import_overview_path(repo) %>"> | |
<h2> | |
<%= repo.name %> | |
<p><%= repo.short_url %></p> | |
</h2> | |
</a> | |
</li> | |
<% end %> | |
--> | |
</ol> | |
</form> | |
</div> | |
<% end %> | |
</div> | |
<div class="clearfix outside"> | |
<br/> | |
<% if view.index? %> | |
<% view.importers_with_errors.each do |importer| %> | |
<%= importer.url %> - <% importer.error_message %> - <% link_to importer, :method => :delete %><br/> | |
<% end %> | |
<% end %> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment