增加已经写好的 admin 的模板

This commit is contained in:
virusdefender
2015-08-02 09:47:50 +08:00
parent 64f31a61be
commit 8b058a3785
12 changed files with 391 additions and 68 deletions

View File

@@ -1,5 +1,5 @@
define(["jquery", "avalon", "editor", "uploader", "datetime_picker",
"validation", "dropdown"
require(["jquery", "avalon", "editor", "uploader", "datetimepicker",
"validation"
],
function ($, avalon, editor, uploader) {
$("#add-contest-form")
@@ -102,7 +102,6 @@ define(["jquery", "avalon", "editor", "uploader", "datetime_picker",
text += possible.charAt(Math.floor(Math.random() * possible.length));
return text;
}
var editor1 = editor("#editor");
var vm = avalon.define({