feeds/app/views/admin/feeds/new.html.erb

45 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<% content_for :page_specific_css do %>
<%= stylesheet_link_tag "new_channel" %>
<% end %>
<% content_for :page_specific_javascript do %>
<%= javascript_include_tag "new_channel" %>
<% end %>
<div id="import-container">
<div id="import-head" class="muted">
<i class='icons-rss'></i><br/>
Subscribe to channels
</div>
<div id="loading" style="display:none;">
<%= image_tag 'preloader.gif' %><br/>
<span class="progress_msg"></span>
</div>
<div id="site-url-wrapper" class="import-wrapper">
<input type="text" class="import-url" name="url" value="" placeholder="http://www.rulingcom.com">
<button id="find-channels" class="btn btn-primary">Find Channels</button>
</div>
<div id="channels" style="display:none; text-align:center;">
</div>
</div>
<div id="selectCategoryModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="selectCategoryModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4>Select category for feed to merge.</h4>
</div>
<div class="modal-body">
<label class="import-modal-label muted">Category : </label>
<select class="import-modal-select" name="local_category" id="local-category">
<option>Loading categories ...</option>
</select>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
<button class="btn btn-primary" id="subscribe-button">Subscribe</button>
</div>
</div>
<script type="text/javascript">
var I18n = {};
I18n.locale = "<%= I18n.locale.to_s %>";
</script>