移动端版本管理
This commit is contained in:
parent
3334299808
commit
754acc6945
|
@ -325,6 +325,8 @@ class AdminController < ApplicationController
|
||||||
#移动端版本管理
|
#移动端版本管理
|
||||||
def mobile_version
|
def mobile_version
|
||||||
@versions = PhoneAppVersion.reorder('created_at desc')
|
@versions = PhoneAppVersion.reorder('created_at desc')
|
||||||
|
@new_version = PhoneAppVersion.new
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -33,7 +33,4 @@
|
||||||
<%= submit_tag l(:button_save), :class => "small", :name => nil %>
|
<%= submit_tag l(:button_save), :class => "small", :name => nil %>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
|
@ -2,8 +2,9 @@
|
||||||
<a href="javascript:void(0)" onclick="$('#new_version').slideToggle(400); ">发布新版本</a>
|
<a href="javascript:void(0)" onclick="$('#new_version').slideToggle(400); ">发布新版本</a>
|
||||||
<div>
|
<div>
|
||||||
<form id="new_version" style="display: none">
|
<form id="new_version" style="display: none">
|
||||||
发布新版本
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<br/>
|
<br/>
|
||||||
<div>当前版本:</div>
|
<div>当前版本:</div>
|
||||||
|
|
Loading…
Reference in New Issue