diff --git a/lib/user.js b/lib/user.js index 8e5d3efa..59affb02 100644 --- a/lib/user.js +++ b/lib/user.js @@ -75,6 +75,7 @@ Volcanos("user", {help: "用户操作", agent: { "edit": "编辑", "save": "保存", "copy": "复制", "show": "显示", "hide": "隐藏", "project": "项目", "profile": "详情", "actions": "参数", "plugin": "插件", + "prev": "上一页", "next": "下一页", "open": "打开", "close": "关闭", "start": "启动", "stop": "停止", diff --git a/page/index.css b/page/index.css index fcc7bea2..cfe2344f 100644 --- a/page/index.css +++ b/page/index.css @@ -11,6 +11,8 @@ input[name=where] { width:320px; } input[name=date] { width:150px; } input[name=path] { width:160px; } input[name=line] { width:40px; } +input[name=limit] { width:50px; } +input[name=offend] { width:50px; } input[name=text] { width:160px; } input[name=url] { width:320px; } diff --git a/plugin/state.js b/plugin/state.js index 76060976..046dd47a 100644 --- a/plugin/state.js +++ b/plugin/state.js @@ -218,10 +218,10 @@ Volcanos("onaction", {help: "交互操作", list: [ }, next: function(event, can) { - can.Update(event, [ctx.ACTION, "next", can.Status("total")||0, can.Option("limit")||can.Action("limit"), can.Option("offend")||can.Action("offend")]) + can.Update(event, [ctx.ACTION, "next", can.Status("total")||0, can.Option("limit")||can.Action("limit")||"", can.Option("offend")||can.Action("offend")||""]) }, prev: function(event, can) { - can.Update(event, [ctx.ACTION, "prev", can.Status("total")||0, can.Option("limit")||can.Action("limit"), can.Option("offend")||can.Action("offend")]) + can.Update(event, [ctx.ACTION, "prev", can.Status("total")||0, can.Option("limit")||can.Action("limit")||"", can.Option("offend")||can.Action("offend")||""]) }, listTags: function(event, can, button) { var list = []