mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-05-28 16:45:11 +08:00
Merge branch 'master' of https://github.com/Deployd/Deployd
This commit is contained in:
38
lib/app.js
38
lib/app.js
@@ -48,7 +48,43 @@ app.get('/plugins', function(req, res) {
|
||||
name: 'Users',
|
||||
overview_html: '<p>The Users plugin lets you configure users...</p>',
|
||||
configurable_objects: [
|
||||
{name: "Roles"}
|
||||
{name: "Roles & Permissions"},
|
||||
{name: "Existing Users"
|
||||
, list: "User List"
|
||||
, source: "/users"
|
||||
},
|
||||
{name: "Model"},
|
||||
{
|
||||
name: "New User"
|
||||
, helper_text: "Fill out the form below to create a new user"
|
||||
, form: {
|
||||
action: "/user"
|
||||
, method: "POST"
|
||||
, fields: [
|
||||
{
|
||||
name: "Full Name"
|
||||
, type: "text"
|
||||
, required: true
|
||||
}
|
||||
, {
|
||||
name: "Email"
|
||||
, type: "email"
|
||||
, required: true
|
||||
},
|
||||
{
|
||||
name: "Password"
|
||||
, type: "password"
|
||||
, required: true
|
||||
}
|
||||
, {
|
||||
name: "Twitter"
|
||||
, type: "text"
|
||||
, required: false
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
}
|
||||
],
|
||||
_id: 1234
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user