diff --git a/assets/js/admin.utils.js b/assets/js/admin.utils.js index 4fe65369..820092f0 100644 --- a/assets/js/admin.utils.js +++ b/assets/js/admin.utils.js @@ -2,23 +2,11 @@ * @Author: printempw * @Date: 2016-02-04 16:48:42 * @Last Modified by: printempw -* @Last Modified time: 2016-04-03 09:12:46 +* @Last Modified time: 2016-04-03 11:42:38 */ 'use strict'; -function uploadSkin(uname) { - Ply.dialog("confirm", { - text: "更改该用户对应哪个模型的皮肤?", - ok: "Steve", - cancel: "Alex" - }).done(function(){ - uploadTexture(uname, 'steve'); - }).fail(function(){ - uploadTexture(uname, 'alex'); - }); -} - function uploadTexture(uname, type) { var ply = new Ply({ el: '

为该用户上传新的 ' + type + ' 材质:

'+ diff --git a/templates/admin/list.tpl.php b/templates/admin/list.tpl.php index 72ea1c28..2a91e5ea 100644 --- a/templates/admin/list.tpl.php +++ b/templates/admin/list.tpl.php @@ -57,13 +57,31 @@ src="../cape/.png" /> - 皮肤 - 披风 +
+ + +
+ 删除材质 - 材质预览 - 删除材质 - 更改密码 +
+ + +