diff --git a/src/Volo.Abp.Identity.Web/Areas/Identity/Views/Users/Index.cshtml b/src/Volo.Abp.Identity.Web/Areas/Identity/Views/Users/Index.cshtml index 755c1d0c0e..ed16546d72 100644 --- a/src/Volo.Abp.Identity.Web/Areas/Identity/Views/Users/Index.cshtml +++ b/src/Volo.Abp.Identity.Web/Areas/Identity/Views/Users/Index.cshtml @@ -1,22 +1,34 @@ @model IReadOnlyList -@section styles -{ - +@section styles { + + + } -@section scripts -{ - +@section scripts { + + }

Users

- \ No newline at end of file + + + + + + + + + + @foreach (var user in Model) + { + + + + + + } + +
UsernameEmail AddressPhone Number
@user.UserName@user.Email@(user.PhoneNumber ?? "-")
\ No newline at end of file diff --git a/src/Volo.Abp.Identity.Web/Volo.Abp.Identity.Web.csproj b/src/Volo.Abp.Identity.Web/Volo.Abp.Identity.Web.csproj index 113ca5ea0e..4cb0a66f59 100644 --- a/src/Volo.Abp.Identity.Web/Volo.Abp.Identity.Web.csproj +++ b/src/Volo.Abp.Identity.Web/Volo.Abp.Identity.Web.csproj @@ -11,13 +11,7 @@ - - - - - - - + diff --git a/src/Volo.Abp.Identity.Web/compilerconfig.json b/src/Volo.Abp.Identity.Web/compilerconfig.json new file mode 100644 index 0000000000..5012a34173 --- /dev/null +++ b/src/Volo.Abp.Identity.Web/compilerconfig.json @@ -0,0 +1,6 @@ +[ + { + "outputFile": "wwwroot/modules/identity/views/users/index.css", + "inputFile": "wwwroot/modules/identity/views/users/index.less" + } +] \ No newline at end of file diff --git a/src/Volo.Abp.Identity.Web/compilerconfig.json.defaults b/src/Volo.Abp.Identity.Web/compilerconfig.json.defaults new file mode 100644 index 0000000000..c75eb7d519 --- /dev/null +++ b/src/Volo.Abp.Identity.Web/compilerconfig.json.defaults @@ -0,0 +1,49 @@ +{ + "compilers": { + "less": { + "autoPrefix": "", + "cssComb": "none", + "ieCompat": true, + "strictMath": false, + "strictUnits": false, + "relativeUrls": true, + "rootPath": "", + "sourceMapRoot": "", + "sourceMapBasePath": "", + "sourceMap": false + }, + "sass": { + "includePath": "", + "indentType": "space", + "indentWidth": 2, + "outputStyle": "nested", + "Precision": 5, + "relativeUrls": true, + "sourceMapRoot": "", + "sourceMap": false + }, + "stylus": { + "sourceMap": false + }, + "babel": { + "sourceMap": false + }, + "coffeescript": { + "bare": false, + "runtimeMode": "node", + "sourceMap": false + } + }, + "minifiers": { + "css": { + "enabled": true, + "termSemicolons": true, + "gzip": false + }, + "javascript": { + "enabled": true, + "termSemicolons": true, + "gzip": false + } + } +} \ No newline at end of file diff --git a/src/Volo.Abp.Identity.Web/wwwroot/libs/_identity/datatables/datatables.css b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/libs/datatables/datatables.css similarity index 100% rename from src/Volo.Abp.Identity.Web/wwwroot/libs/_identity/datatables/datatables.css rename to src/Volo.Abp.Identity.Web/wwwroot/modules/identity/libs/datatables/datatables.css diff --git a/src/Volo.Abp.Identity.Web/wwwroot/libs/_identity/datatables/datatables.js b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/libs/datatables/datatables.js similarity index 100% rename from src/Volo.Abp.Identity.Web/wwwroot/libs/_identity/datatables/datatables.js rename to src/Volo.Abp.Identity.Web/wwwroot/modules/identity/libs/datatables/datatables.js diff --git a/src/Volo.Abp.Identity.Web/wwwroot/libs/_identity/datatables/datatables.min.css b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/libs/datatables/datatables.min.css similarity index 100% rename from src/Volo.Abp.Identity.Web/wwwroot/libs/_identity/datatables/datatables.min.css rename to src/Volo.Abp.Identity.Web/wwwroot/modules/identity/libs/datatables/datatables.min.css diff --git a/src/Volo.Abp.Identity.Web/wwwroot/libs/_identity/datatables/datatables.min.js b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/libs/datatables/datatables.min.js similarity index 100% rename from src/Volo.Abp.Identity.Web/wwwroot/libs/_identity/datatables/datatables.min.js rename to src/Volo.Abp.Identity.Web/wwwroot/modules/identity/libs/datatables/datatables.min.js diff --git a/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.css b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.css new file mode 100644 index 0000000000..00bc312198 --- /dev/null +++ b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.css @@ -0,0 +1,3 @@ +#IdentityUsersTable { + width: 100%; +} \ No newline at end of file diff --git a/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.js b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.js new file mode 100644 index 0000000000..7170f72224 --- /dev/null +++ b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.js @@ -0,0 +1,3 @@ +$(function() { + $('#IdentityUsersTable').DataTable(); +}); \ No newline at end of file diff --git a/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.less b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.less new file mode 100644 index 0000000000..f267dfefb8 --- /dev/null +++ b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.less @@ -0,0 +1,3 @@ +#IdentityUsersTable { + width: 100%; +} diff --git a/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.min.css b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.min.css new file mode 100644 index 0000000000..3690048700 --- /dev/null +++ b/src/Volo.Abp.Identity.Web/wwwroot/modules/identity/views/users/index.min.css @@ -0,0 +1 @@ +#IdentityUsersTable{width:100%;} \ No newline at end of file