gallery update

This commit is contained in:
devin 2012-08-01 16:35:59 +08:00 committed by chris
parent 587595f815
commit e27c1b0175
3 changed files with 66 additions and 14 deletions

View File

@ -415,13 +415,3 @@ var galleryAPI = function(){
} }

View File

@ -3,6 +3,59 @@
<% end %> <% end %>
<%= stylesheet_link_tag "gallery" %> <%= stylesheet_link_tag "gallery" %>
<div id="filter" class="subnav">
<ul class="nav nav-pills filter">
<li class="accordion-group">
<div class="accordion-heading">
<a href="#collapse-categories" data-toggle="collapse" data-parent=".filters" class="accordion-toggle"><%= t("gallery.category") %> <b class="web-symbol"></b></a>
</div>
</li>
</ul>
<div class="filters">
<div class="accordion-body collapse" id="collapse-categories">
<div class="accordion-inner" data-toggle="buttons-checkbox">
<a href="#" class="btn js_history">album categories</a>
</div>
<div class="filter-clear">
<a href="panel/gallery/back_end/orbit_gallery" class="btn js_history"><i class="icons-brush-large"></i>清除</a>
</div>
</div>
<div class="table-label">
<table class="table main-list">
<thead>
<tr>
<th class="span1">
<input id="check_all" name="check_all" type="checkbox" value="1">
<a href="#" class="list-remove"><i class="icon-trash"></i></a>
</th>
<th class="span2">Thumbnail</th>
<th class="span2">Category</th>
<th>Title</th>
</tr>
</thead>
</table>
</div>
</div>
</div>
<table id="gallery_list" class="table main-list">
<thead>
<tr>
<th class="span1"></th>
<th class="span2"></th>
<th class="span2"></th>
<th></th>
</tr>
</thead>
<tbody id="tbody_gallery" class="sort-holder">
<tr>
<td class="span1"></td>
<td class="span2"></td>
<td class="span2"></td>
<td></td>
</tr>
</tbody>
</table>
<div id="gallery_panel"> <div id="gallery_panel">
<a class="btn" href="categories" onclick="return false;" ><%= t('gallery.manage_categories') %></a> <a class="btn" href="categories" onclick="return false;" ><%= t('gallery.manage_categories') %></a>
@ -18,7 +71,6 @@
<% end %> <% end %>
</select> </select>
</div> </div>
<div id="orbit_gallery" class="rg"> <div id="orbit_gallery" class="rg">
<div class="rghead"> <div class="rghead">
<div class="rgfn"> <div class="rgfn">
@ -32,7 +84,6 @@
</div> </div>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
var gallery = new galleryAPI(); var gallery = new galleryAPI();
gallery.initialize(); gallery.initialize();

View File

@ -11,4 +11,15 @@ zh_tw:
delete: Delete delete: Delete
english: English english: English
chinese: Chinese chinese: Chinese
album_desc: Album Desc
add_album: Add Album add_album: Add Album
back_to_photos: Back to Photos
back_to_albums: Back to Albums
add_images: Add Images
del_album: Delete Album
edit: Edit
delete_selected: Delete Selected
del_album?: "Delete this album?"
album_not_found: "Album not found"
pic_not_found: "Picture not found"