Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
TokenVaultManagement
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jasonwai
TokenVaultManagement
Commits
947640ad
Commit
947640ad
authored
Jun 15, 2023
by
Jason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新多語言
parent
bf57cd83
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
2128 additions
and
357 deletions
+2128
-357
HomeController.cs
... Vault Management/backstage/Controllers/HomeController.cs
+2
-2
TokenVaultController .cs
...Management/backstage/Controllers/TokenVaultController .cs
+392
-49
UserController.cs
... Vault Management/backstage/Controllers/UserController.cs
+414
-80
Index.zh.resx
...t Management/backstage/Resources/Views/Home/Index.zh.resx
+138
-0
_layout.zh.resx
...nagement/backstage/Resources/Views/Shared/_layout.zh.resx
+30
-0
List.zh.resx
...agement/backstage/Resources/Views/TokenVault/List.zh.resx
+153
-0
CreateDepartment.zh.resx
...t/backstage/Resources/Views/User/CreateDepartment.zh.resx
+150
-0
CreateUser.zh.resx
...agement/backstage/Resources/Views/User/CreateUser.zh.resx
+144
-0
GetUser.zh.resx
...Management/backstage/Resources/Views/User/GetUser.zh.resx
+162
-0
ListDepartments.zh.resx
...nt/backstage/Resources/Views/User/ListDepartments.zh.resx
+144
-0
ListUsers.zh.resx
...nagement/backstage/Resources/Views/User/ListUsers.zh.resx
+147
-0
Login.zh.resx
...t Management/backstage/Resources/Views/User/Login.zh.resx
+8
-2
Startup.cs
Merchant Token Vault Management/backstage/Startup.cs
+16
-14
TokenVault_NSECURED.csproj
...ken Vault Management/backstage/TokenVault_NSECURED.csproj
+5
-0
Index.cshtml
... Token Vault Management/backstage/Views/Home/Index.cshtml
+9
-8
_Layout.cshtml
...en Vault Management/backstage/Views/Shared/_Layout.cshtml
+16
-18
List.cshtml
...n Vault Management/backstage/Views/TokenVault/List.cshtml
+17
-15
CreateDepartment.cshtml
...t Management/backstage/Views/User/CreateDepartment.cshtml
+14
-12
CreateUser.cshtml
...n Vault Management/backstage/Views/User/CreateUser.cshtml
+14
-12
GetUser.cshtml
...oken Vault Management/backstage/Views/User/GetUser.cshtml
+33
-31
ListDepartments.cshtml
...lt Management/backstage/Views/User/ListDepartments.cshtml
+9
-7
ListUsers.cshtml
...en Vault Management/backstage/Views/User/ListUsers.cshtml
+11
-9
Login.cshtml
... Token Vault Management/backstage/Views/User/Login.cshtml
+100
-98
No files found.
Merchant Token Vault Management/backstage/Controllers/HomeController.cs
View file @
947640ad
...
...
@@ -105,7 +105,7 @@ namespace backstage.Controllers
}
public
IActionResult
ChangeLanguage
(
string
lang
)
public
IActionResult
ChangeLanguage
(
string
lang
,
string
returnUrl
)
{
// 設置所選語言
Response
.
Cookies
.
Append
(
...
...
@@ -115,7 +115,7 @@ namespace backstage.Controllers
);
// 重新導向到先前的頁面或首頁
return
LocalRedirect
(
"~/"
);
return
Redirect
(
"~"
+
returnUrl
);
}
...
...
Merchant Token Vault Management/backstage/Controllers/TokenVaultController .cs
View file @
947640ad
This diff is collapsed.
Click to expand it.
Merchant Token Vault Management/backstage/Controllers/UserController.cs
View file @
947640ad
This diff is collapsed.
Click to expand it.
Merchant Token Vault Management/backstage/Resources/Views/Home/Index.zh.resx
0 → 100644
View file @
947640ad
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Number of data"
xml:space=
"preserve"
>
<value>
資料數量
</value>
</data>
<data
name=
"Number of data modifications this month"
xml:space=
"preserve"
>
<value>
本月資料修改數量
</value>
</data>
<data
name=
"Number of departments"
xml:space=
"preserve"
>
<value>
部門數量
</value>
</data>
<data
name=
"Number of new data this month"
xml:space=
"preserve"
>
<value>
本月新資料數量
</value>
</data>
<data
name=
"Number of Token Vaults"
xml:space=
"preserve"
>
<value>
Token Vault數量
</value>
</data>
<data
name=
"Statistic"
xml:space=
"preserve"
>
<value>
數據統計
</value>
</data>
</root>
\ No newline at end of file
Merchant Token Vault Management/backstage/Resources/Views/Shared/_layout.zh.resx
View file @
947640ad
...
...
@@ -117,6 +117,36 @@
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Change Password"
xml:space=
"preserve"
>
<value>
修改密碼
</value>
</data>
<data
name=
"Department List"
xml:space=
"preserve"
>
<value>
部門列表
</value>
</data>
<data
name=
"Keys"
xml:space=
"preserve"
>
<value>
金鑰管理
</value>
</data>
<data
name=
"Login"
xml:space=
"preserve"
>
<value>
登入
</value>
</data>
<data
name=
"Logout"
xml:space=
"preserve"
>
<value>
登出
</value>
</data>
<data
name=
"Setting Backup"
xml:space=
"preserve"
>
<value>
設定備份
</value>
</data>
<data
name=
"Token Vault"
xml:space=
"preserve"
>
<value>
Token Vault管理
</value>
</data>
<data
name=
"User List"
xml:space=
"preserve"
>
<value>
使用者列表
</value>
</data>
<data
name=
"Users"
xml:space=
"preserve"
>
<value>
使用者管理
</value>
</data>
<data
name=
"Vault Backup"
xml:space=
"preserve"
>
<value>
Vault備份
</value>
</data>
<data
name=
"version"
xml:space=
"preserve"
>
<value>
版本
</value>
</data>
...
...
Merchant Token Vault Management/backstage/Resources/Views/TokenVault/List.zh.resx
0 → 100644
View file @
947640ad
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Choose department"
xml:space=
"preserve"
>
<value>
選擇部門
</value>
</data>
<data
name=
"Create Department"
xml:space=
"preserve"
>
<value>
新增部門
</value>
</data>
<data
name=
"Creation Date"
xml:space=
"preserve"
>
<value>
建立日期
</value>
</data>
<data
name=
"Description"
xml:space=
"preserve"
>
<value>
描述
</value>
</data>
<data
name=
"Management"
xml:space=
"preserve"
>
<value>
管理
</value>
</data>
<data
name=
"Name"
xml:space=
"preserve"
>
<value>
名稱
</value>
</data>
<data
name=
"Number of data"
xml:space=
"preserve"
>
<value>
資料數量
</value>
</data>
<data
name=
"Number of users"
xml:space=
"preserve"
>
<value>
使用者數量
</value>
</data>
<data
name=
"Status"
xml:space=
"preserve"
>
<value>
狀態
</value>
</data>
<data
name=
"Token Vault List"
xml:space=
"preserve"
>
<value>
Token Vault列表管理
</value>
</data>
<data
name=
"Tpyes"
xml:space=
"preserve"
>
<value>
種類
</value>
</data>
</root>
\ No newline at end of file
Merchant Token Vault Management/backstage/Resources/Views/User/CreateDepartment.zh.resx
0 → 100644
View file @
947640ad
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Back to list"
xml:space=
"preserve"
>
<value>
返回列表
</value>
</data>
<data
name=
"Basic"
xml:space=
"preserve"
>
<value>
基本資料
</value>
</data>
<data
name=
"Create Department"
xml:space=
"preserve"
>
<value>
新增部門
</value>
</data>
<data
name=
"creation_date"
xml:space=
"preserve"
>
<value>
建立日期
</value>
</data>
<data
name=
"Department List"
xml:space=
"preserve"
>
<value>
部門列表
</value>
</data>
<data
name=
"merchant_id"
xml:space=
"preserve"
>
<value>
部門ID
</value>
</data>
<data
name=
"name"
xml:space=
"preserve"
>
<value>
名稱
</value>
</data>
<data
name=
"phone"
xml:space=
"preserve"
>
<value>
電話
</value>
</data>
<data
name=
"submit"
xml:space=
"preserve"
>
<value>
送出
</value>
</data>
<data
name=
"username"
xml:space=
"preserve"
>
<value>
使用者名稱
</value>
</data>
</root>
\ No newline at end of file
Merchant Token Vault Management/backstage/Resources/Views/User/CreateUser.zh.resx
0 → 100644
View file @
947640ad
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Back to list"
xml:space=
"preserve"
>
<value>
返回列表
</value>
</data>
<data
name=
"Basic"
xml:space=
"preserve"
>
<value>
基本資料
</value>
</data>
<data
name=
"Create User"
xml:space=
"preserve"
>
<value>
新增使用者
</value>
</data>
<data
name=
"email"
xml:space=
"preserve"
>
<value>
電子郵件
</value>
</data>
<data
name=
"name"
xml:space=
"preserve"
>
<value>
名稱
</value>
</data>
<data
name=
"password"
xml:space=
"preserve"
>
<value>
密碼
</value>
</data>
<data
name=
"Submit"
xml:space=
"preserve"
>
<value>
送出
</value>
</data>
<data
name=
"username"
xml:space=
"preserve"
>
<value>
使用者名稱
</value>
</data>
</root>
\ No newline at end of file
Merchant Token Vault Management/backstage/Resources/Views/User/GetUser.zh.resx
0 → 100644
View file @
947640ad
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Back to list"
xml:space=
"preserve"
>
<value>
返回列表
</value>
</data>
<data
name=
"Basic"
xml:space=
"preserve"
>
<value>
基本資料
</value>
</data>
<data
name=
"Change Password"
xml:space=
"preserve"
>
<value>
修改密碼
</value>
</data>
<data
name=
"Confrim"
xml:space=
"preserve"
>
<value>
確認
</value>
</data>
<data
name=
"creation_date"
xml:space=
"preserve"
>
<value>
建立日期
</value>
</data>
<data
name=
"Current Password"
xml:space=
"preserve"
>
<value>
目前密碼
</value>
</data>
<data
name=
"Email"
xml:space=
"preserve"
>
<value>
電子郵件
</value>
</data>
<data
name=
"Modify User"
xml:space=
"preserve"
>
<value>
修改使用者
</value>
</data>
<data
name=
"name"
xml:space=
"preserve"
>
<value>
名稱
</value>
</data>
<data
name=
"New Password"
xml:space=
"preserve"
>
<value>
新密碼
</value>
</data>
<data
name=
"Submit"
xml:space=
"preserve"
>
<value>
送出
</value>
</data>
<data
name=
"The two passwords entered do not match"
xml:space=
"preserve"
>
<value>
兩次密碼不相同
</value>
</data>
<data
name=
"Types"
xml:space=
"preserve"
>
<value>
種類
</value>
</data>
<data
name=
"username"
xml:space=
"preserve"
>
<value>
使用者名稱
</value>
</data>
</root>
\ No newline at end of file
Merchant Token Vault Management/backstage/Resources/Views/User/ListDepartments.zh.resx
0 → 100644
View file @
947640ad
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Back to list"
xml:space=
"preserve"
>
<value>
返回列表
</value>
</data>
<data
name=
"Create"
xml:space=
"preserve"
>
<value>
新增部門
</value>
</data>
<data
name=
"creation_date"
xml:space=
"preserve"
>
<value>
建立日期
</value>
</data>
<data
name=
"Department List"
xml:space=
"preserve"
>
<value>
部門列表
</value>
</data>
<data
name=
"merchant_id"
xml:space=
"preserve"
>
<value>
部門ID
</value>
</data>
<data
name=
"name"
xml:space=
"preserve"
>
<value>
名稱
</value>
</data>
<data
name=
"phone"
xml:space=
"preserve"
>
<value>
電話
</value>
</data>
<data
name=
"username"
xml:space=
"preserve"
>
<value>
使用者名稱
</value>
</data>
</root>
\ No newline at end of file
Merchant Token Vault Management/backstage/Resources/Views/User/ListUsers.zh.resx
0 → 100644
View file @
947640ad
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema
id=
"root"
xmlns=
""
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
xmlns:msdata=
"urn:schemas-microsoft-com:xml-msdata"
>
<xsd:import
namespace=
"http://www.w3.org/XML/1998/namespace"
/>
<xsd:element
name=
"root"
msdata:IsDataSet=
"true"
>
<xsd:complexType>
<xsd:choice
maxOccurs=
"unbounded"
>
<xsd:element
name=
"metadata"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
use=
"required"
type=
"xsd:string"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"assembly"
>
<xsd:complexType>
<xsd:attribute
name=
"alias"
type=
"xsd:string"
/>
<xsd:attribute
name=
"name"
type=
"xsd:string"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"data"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
<xsd:element
name=
"comment"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"2"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
msdata:Ordinal=
"1"
/>
<xsd:attribute
name=
"type"
type=
"xsd:string"
msdata:Ordinal=
"3"
/>
<xsd:attribute
name=
"mimetype"
type=
"xsd:string"
msdata:Ordinal=
"4"
/>
<xsd:attribute
ref=
"xml:space"
/>
</xsd:complexType>
</xsd:element>
<xsd:element
name=
"resheader"
>
<xsd:complexType>
<xsd:sequence>
<xsd:element
name=
"value"
type=
"xsd:string"
minOccurs=
"0"
msdata:Ordinal=
"1"
/>
</xsd:sequence>
<xsd:attribute
name=
"name"
type=
"xsd:string"
use=
"required"
/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader
name=
"resmimetype"
>
<value>
text/microsoft-resx
</value>
</resheader>
<resheader
name=
"version"
>
<value>
2.0
</value>
</resheader>
<resheader
name=
"reader"
>
<value>
System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"Admin"
xml:space=
"preserve"
>
<value>
管理員
</value>
</data>
<data
name=
"Admin count"
xml:space=
"preserve"
>
<value>
Admin數量
</value>
</data>
<data
name=
"Create"
xml:space=
"preserve"
>
<value>
新增
</value>
</data>
<data
name=
"creation_date"
xml:space=
"preserve"
>
<value>
建立日期
</value>
</data>
<data
name=
"Email"
xml:space=
"preserve"
>
<value>
電子郵件
</value>
</data>
<data
name=
"enabled"
xml:space=
"preserve"
>
<value>
啟用
</value>
</data>
<data
name=
"name"
xml:space=
"preserve"
>
<value>
名稱
</value>
</data>
<data
name=
"User count"
xml:space=
"preserve"
>
<value>
使用者數量
</value>
</data>
<data
name=
"username"
xml:space=
"preserve"
>
<value>
使用者名稱
</value>
</data>
</root>
\ No newline at end of file
Merchant Token Vault Management/backstage/Resources/Views/
Home/Index.en
.resx
→
Merchant Token Vault Management/backstage/Resources/Views/
User/Login.zh
.resx
View file @
947640ad
...
...
@@ -117,7 +117,13 @@
<resheader
name=
"writer"
>
<value>
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data
name=
"version"
xml:space=
"preserve"
>
<value>
version
</value>
<data
name=
"Login"
xml:space=
"preserve"
>
<value>
登入
</value>
</data>
<data
name=
"password"
xml:space=
"preserve"
>
<value>
密碼
</value>
</data>
<data
name=
"username"
xml:space=
"preserve"
>
<value>
使用者名稱
</value>
</data>
</root>
\ No newline at end of file
Merchant Token Vault Management/backstage/Startup.cs
View file @
947640ad
...
...
@@ -92,17 +92,7 @@ namespace backstage
services
.
AddControllersWithViews
()
.
AddViewLocalization
();
// 添加視圖本地化支持
services
.
Configure
<
RequestLocalizationOptions
>(
options
=>
{
var
supportedCultures
=
new
[]
{
new
CultureInfo
(
"en"
),
new
CultureInfo
(
"zh"
)
};
options
.
DefaultRequestCulture
=
new
RequestCulture
(
"en"
);
options
.
SupportedCultures
=
supportedCultures
;
options
.
SupportedUICultures
=
supportedCultures
;
});
}
...
...
@@ -120,7 +110,7 @@ namespace backstage
app
.
UseExceptionHandler
(
"/Home/Error"
);
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
app
.
UseHsts
();
app
.
UseStatusCodePagesWithRedirects
(
"/Home/Error"
);
//������http�}�Y������URL
app
.
UseStatusCodePagesWithRedirects
(
"/Home/Error"
);
}
app
.
UseAuthentication
();
...
...
@@ -150,11 +140,23 @@ namespace backstage
app
.
UseStaticFiles
();
app
.
UseRouting
();
app
.
UseAuthorization
();
// 將 app.UseAuthorization() 放在 app.UseRouting() 之後
//�ҥ� cookie ��h�\��
app
.
UseCookiePolicy
();
var
supportedCultures
=
new
CultureInfo
[]
{
//new CultureInfo("en-US"),
new
CultureInfo
(
"zh"
),
new
CultureInfo
(
"en"
),
};
app
.
UseRequestLocalization
(
new
RequestLocalizationOptions
()
{
SupportedCultures
=
supportedCultures
,
SupportedUICultures
=
supportedCultures
,
//當預設Provider偵測不到用戶支持上述Culture的話,就會是↓
DefaultRequestCulture
=
new
RequestCulture
(
"zh"
)
//Default UICulture、Culture
});
app
.
UseEndpoints
(
endpoints
=>
{
endpoints
.
MapControllerRoute
(
...
...
Merchant Token Vault Management/backstage/TokenVault_NSECURED.csproj
View file @
947640ad
...
...
@@ -22,6 +22,11 @@
<None Remove="Models\Payment\**" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Remove="Resources\Views\Shared\_layout.en.resx" />
</ItemGroup>
<ItemGroup>
<None Include="wwwroot\css\style.css.map" />
<None Include="wwwroot\favicon.ico" />
...
...
Merchant Token Vault Management/backstage/Views/Home/Index.cshtml
View file @
947640ad
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@{
ViewData["Title"] = "Index";
}
...
...
@@ -9,17 +10,17 @@
{
<input id="isSuccess" hidden value="@TempData["isSuccess"].ToString()" />
}
<div class="floating-msg" id="msgDiv"></div>
<div class="floating-msg" id="msgDiv"></div>
</div>
<div class="page-header">
<h3 class="page-title">
Statistic
</h3>
<h3 class="page-title">
@Localizer["Statistic"]
</h3>
</div>
<div class="row">
<div class="col-lg-4 col-md-6 grid-margin stretch-card dashboard-card">
<div class="card">
<div class="card-body">
<h4 class="card-title">
Number of departments
</h4>
<h4 class="card-title">
@Localizer["Number of departments"]
</h4>
<div class="card-content text-center">
<img src="~/images/admin-vault-department.svg" class="img-fuild">
<p class="number text-center">@ViewBag.departmentCount</p>
...
...
@@ -31,7 +32,7 @@
<div class="col-lg-4 col-md-6 grid-margin stretch-card dashboard-card">
<div class="card">
<div class="card-body">
<h4 class="card-title">
Number of Token Vaults
</h4>
<h4 class="card-title">
@Localizer["Number of Token Vaults"]
</h4>
<div class="card-content text-center">
<img src="~/images/admin-vault.svg" class="img-fuild">
<p class="number text-center">32</p>
...
...
@@ -43,7 +44,7 @@
<div class="col-lg-4 col-md-6 grid-margin stretch-card dashboard-card">
<div class="card">
<div class="card-body">
<h4 class="card-title">Token Vault Entry <br>
Number of data
</h4>
<h4 class="card-title">Token Vault Entry <br>
@Localizer["Number of data"]
</h4>
<div class="card-content text-center">
<img src="~/images/admin-vault-data.svg" class="img-fuild">
<p class="number text-center">200</p>
...
...
@@ -55,7 +56,7 @@
<div class="col-lg-4 col-md-6 grid-margin stretch-card dashboard-card">
<div class="card">
<div class="card-body">
<h4 class="card-title">Token Vualt Entry<br />
Number of new data this month
</h4>
<h4 class="card-title">Token Vualt Entry<br />
@Localizer["Number of new data this month"]
</h4>
<div class="card-content text-center">
<img src="~/images/admin-vault-add.svg" class="img-fuild">
<p class="number text-center">10</p>
...
...
@@ -67,7 +68,7 @@
<div class="col-lg-4 col-md-6 grid-margin stretch-card dashboard-card">
<div class="card">
<div class="card-body">
<h4 class="card-title">Token Vualt Entry<br />
Number of data modifications this month
</h4>
<h4 class="card-title">Token Vualt Entry<br />
@Localizer["Number of data modifications this month"]
</h4>
<div class="card-content text-center">
<img src="~/images/admin-vault-edit.svg" class="img-fuild">
<p class="number text-center">7</p>
...
...
Merchant Token Vault Management/backstage/Views/Shared/_Layout.cshtml
View file @
947640ad
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
<!DOCTYPE html>
<html
lang=
"en"
>
...
...
@@ -77,26 +76,26 @@
</div>
</a>
<div
class=
"dropdown-menu navbar-dropdown"
aria-labelledby=
"profileDropdown"
>
<a
class=
"dropdown-item"
asp-controller=
"User"
asp-action=
"ChangePassword"
asp-route-username=
"@Context.User.Claims.FirstOrDefault(m => m.Type == "
username
").
Value
"
asp-route-returnUrl=
"@Context.Request.Path"
>
<i
class=
"mdi mdi-lock-open mr-2"
></i>
Change Password
<a
class=
"dropdown-item"
asp-controller=
"User"
asp-action=
"ChangePassword"
asp-route-username=
"@Context.User.Claims.FirstOrDefault(m => m.Type == "
username
").
Value
"
asp-route-returnUrl=
"@Context.Request.Path
.Value
"
>
<i
class=
"mdi mdi-lock-open mr-2"
></i>
@Localizer["Change Password"]
</a>
<a
class=
"dropdown-item"
asp-controller=
"User"
asp-action=
"Register"
>
<i
class=
"mdi mdi-account-plus mr-2"
></i>
Setting Backup
<i
class=
"mdi mdi-account-plus mr-2"
></i>
@Localizer["Setting Backup"]
</a>
<a
class=
"dropdown-item"
asp-controller=
""
asp-action=
""
>
<i
class=
"mdi mdi-account-details mr-2"
></i>
Vault Backup
<i
class=
"mdi mdi-account-details mr-2"
></i>
@Localizer["Vault Backup"]
</a>
<div
class=
"dropdown-divider"
></div>
<a
class=
"dropdown-item"
asp-controller=
"User"
asp-action=
"Logout"
>
<i
class=
"mdi mdi-logout mr-2 text-danger"
></i>
Logout
<i
class=
"mdi mdi-logout mr-2 text-danger"
></i>
@Localizer["Logout"]
</a>
</div>
}
else
{
<a
class=
"nav-link "
asp-controller=
"User"
asp-action=
"Login"
>
Login
</a>
<a
class=
"nav-link "
asp-controller=
"User"
asp-action=
"Login"
>
@Localizer["Login"]
</a>
}
...
...
@@ -142,8 +141,7 @@
<i
class=
"mdi mdi-earth"
></i>
</a>
<div
class=
"dropdown-menu dropdown-menu-right navbar-dropdown preview-list"
aria-labelledby=
"languageDropdown"
>
<a
class=
"dropdown-item preview-item"
href=
"/Home/ChangeLanguage?lang=en"
>
<a
class=
"dropdown-item preview-item"
asp-action=
"ChangeLanguage"
asp-controller=
"Home"
asp-route-lang=
"en"
asp-route-returnUrl=
"@Context.Request.Path.Value"
>
<div
class=
"preview-thumbnail"
>
<div
class=
"preview-icon languageIcon"
>
<img
src=
"/images/icon-lan-en-80.jpg"
>
...
...
@@ -154,8 +152,8 @@
</div>
</a>
<div
class=
"dropdown-divider"
></div>
<a
class=
"dropdown-item preview-item"
href=
"/Home/ChangeLanguage?lang=zh
"
>
<a
class=
"dropdown-item preview-item"
asp-action=
"ChangeLanguage"
asp-controller=
"Home"
asp-route-lang=
"zh"
asp-route-returnUrl=
"@Context.Request.Path.Value
"
>
<div
class=
"preview-thumbnail"
>
<div
class=
"preview-icon languageIcon"
>
<img
src=
"/images/icon-lan-cn-80.jpg"
>
...
...
@@ -192,15 +190,15 @@
<ul
class=
"nav "
>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
data-toggle=
"collapse"
href=
"#Member"
aria-expanded=
"false"
aria-controls=
"Member"
>
<span
class=
"menu-title"
>
Users
</span>
<span
class=
"menu-title"
>
@Localizer["Users"]
</span>
<i
class=
"menu-arrow"
></i>
<i
class=
"mdi mdi-account-multiple menu-icon"
></i>
</a>
<div
class=
"collapse"
id=
"Member"
>
<ul
class=
"nav flex-column sub-menu"
>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
asp-controller=
"User"
asp-action=
"ListUsers"
>
User List
</a></li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
asp-controller=
"User"
asp-action=
"ListUsers"
>
@Localizer["User List"]
</a></li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
asp-controller=
"User"
asp-action=
"ListDepartments"
>
Department List
</a></li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
asp-controller=
"User"
asp-action=
"ListDepartments"
>
@Localizer["Department List"]
</a></li>
@*
<li
class=
"nav-item"
>
<a
class=
"nav-link"
asp-controller=
"Member"
asp-action=
"GetMember"
>
信徒資料
</a></li>
*@
</ul>
...
...
@@ -208,13 +206,13 @@
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"@Url.Action("
List
",
"
TokenVault
")"
>
<span
class=
"menu-title"
>
Token Vault
</span>
<span
class=
"menu-title"
>
@Localizer["Token Vault"]
</span>
<i
class=
"mdi mdi-database menu-icon"
></i>
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"@Url.Action("
ListKeys
",
"
Key
")"
>
<span
class=
"menu-title"
>
Keys
</span>
<span
class=
"menu-title"
>
@Localizer["Keys"]
</span>
<i
class=
"mdi mdi-bank menu-icon"
></i>
</a>
</li>
...
...
@@ -228,8 +226,8 @@
<div class="collapse" id="FinancialRecordExpenses">
<ul class="nav flex-column sub-menu">
<li class="nav-item"> <a class="nav-link" asp-controller="Key" asp-action="ListKeys">Key列表</a></li>-->
@*
<li
class=
"nav-item"
>
<a
class=
"nav-link"
asp-controller=
"FinancialRecordExpenses"
asp-action=
"List"
>
支出紀錄管理
</a></li>
*@
<!--</ul>
@*
<li
class=
"nav-item"
>
<a
class=
"nav-link"
asp-controller=
"FinancialRecordExpenses"
asp-action=
"List"
>
支出紀錄管理
</a></li>
*@
<!--</ul>
</div>
</li>-->
...
...
Merchant Token Vault Management/backstage/Views/TokenVault/List.cshtml
View file @
947640ad
@model backstage.Models.TokenVault.TokenVaultResponse
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model backstage.Models.TokenVault.TokenVaultResponse
@{
ViewData["Title"] =
"TokenVault列表管理"
;
ViewData["Title"] =
@Localizer["Token Vault List"]
;
}
@{
bool isAdmin = User.IsInRole("Admin");
...
...
@@ -8,7 +10,7 @@
}
<div class="page-header">
<h3 class="page-title">
Token Vault List
</h3>
<h3 class="page-title">
@Localizer["Token Vault List"]
</h3>
<input id="msg" hidden value="@TempData["msg"]" />
@if (TempData["isSuccess"] != null)
{
...
...
@@ -25,7 +27,7 @@
<div class="row">
<div class="col-md-12">
<ul class="breadcrumb breadcrumb_memberGo">
<li class="breadcrumb-item active">
Token vault
</li>
<li class="breadcrumb-item active">
@Localizer["Token Vault List"]
</li>
</ul>
</div>
...
...
@@ -37,11 +39,11 @@
<div class="row justify-content-between">
<div class="col-md-auto">
<select id="selectDepartmentList" class="form-control margin-right margin-top" asp-items="ViewBag.DepartmentsList">
<option value="">
Choose department
</option>
<option value="">
@Localizer["Choose department"]
</option>
</select>
</div>
<div class="col-md-auto">
<a type="button" class="btn btn-info float-right mb-2 @disabledClass" asp-action="CreateTokenVault">
Create
</a>
<a type="button" class="btn btn-info float-right mb-2 @disabledClass" asp-action="CreateTokenVault">
@Localizer["Create Department"]
</a>
</div>
</div>
<div class="row">
...
...
@@ -57,15 +59,15 @@
<thead>
<tr class="">
<th>Id</th>
<th>
Name
</th>
<th>
Description
</th>
<th>
Tpyes
</th>
<th>
Creation Date
</th>
<th>
Status
</th>
<th>
Management
</th>
<th>
Number of data
</th>
<th>
Number of users
</th>
<th>
@Localizer["Name"]
</th>
<th>
@Localizer["Description"]
</th>
<th>
@Localizer["Tpyes"]
</th>
<th>
@Localizer["Creation Date"]
</th>
<th>
@Localizer["Status"]
</th>
<th>
@Localizer["Management"]
</th>
<th>
@Localizer["Number of data"]
</th>
<th>
@Localizer["Number of users"]
</th>
</tr>
</thead>
<tbody id="tbody">
...
...
Merchant Token Vault Management/backstage/Views/User/CreateDepartment.cshtml
View file @
947640ad
@model backstage.Models.Users.DepartmentForCreate
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model backstage.Models.Users.DepartmentForCreate
@{
ViewData["Title"] =
"Create Department"
;
ViewData["Title"] =
@Localizer["Create Department"]
;
}
<!-- partial -->
<div class="page-header">
<h3 class="page-title">
Create Department
</h3>
<h3 class="page-title">
@Localizer["Create Department"]
</h3>
<input id="msg" hidden value="@TempData["msg"]" />
@if (TempData["isSuccess"] != null)
{
<input id="isSuccess" hidden value="@TempData["isSuccess"].ToString()" />
}
<div class="floating-msg" id="msgDiv"></div>
<div class="floating-msg" id="msgDiv"></div>
</div>
<div class="row">
<div class="col-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<h4 class="card-title">
Create Department
</h4>
<h4 class="card-title">
@Localizer["Create Department"]
</h4>
<form class="forms-sample" method="post" asp-action="CreateDepartment" autocomplete="off">
<div id="errorMsg" asp-validation-summary="All" class="text-danger"></div>
<p class="form-title card-description">
Basic
</p>
<p class="form-title card-description">
@Localizer["Basic"]
</p>
<div class="row">
<div class="col-md-4 form-group required">
<label asp-for="name" class="col-form-label" for=""></label>
<label asp-for="name" class="col-form-label" for="">
@Localizer["name"]
</label>
<input asp-for="name" type="text" class="form-control" id="">
<span asp-validation-for="name" class="text-danger"></span>
</div>
<div class="col-md-4 form-group ">
<label asp-for="phone" class="col-form-label" for="phone"></label>
<label asp-for="phone" class="col-form-label" for="phone">
@Localizer["phone"]
</label>
<input asp-for="phone" class="form-control" id="phone">
<span asp-validation-for="phone" class="text-danger"></span>
</div>
</div>
<button type="submit" class="btn btn-primary mr-2">Submit</button>
<a type="button" class="btn btn-light" asp-action="ListDepartments">Back to list</a>
<button type="submit" class="btn btn-primary mr-2">@Localizer["Submit"]</button>
<a type="button" class="btn btn-light" asp-action="ListDepartments">@Localizer["Back to list"]</a>
</form>
</div>
</div>
...
...
Merchant Token Vault Management/backstage/Views/User/CreateUser.cshtml
View file @
947640ad
@model backstage.Models.Users.User
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model backstage.Models.Users.User
@{
ViewData["Title"] = "Create User";
}
...
...
@@ -13,25 +15,25 @@
{
<input id="isSuccess" hidden value="@TempData["isSuccess"].ToString()" />
}
<div class="floating-msg" id="msgDiv"></div>
<div class="floating-msg" id="msgDiv"></div>
</div>
<div class="row">
<div class="col-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<h4 class="card-title">
Create User
</h4>
<h4 class="card-title">
@Localizer["Create User"]
</h4>
<form class="forms-sample" method="post" asp-action="CreateUser" autocomplete="off">
<div id="errorMsg" asp-validation-summary="All" class="text-danger"></div>
<p class="form-title card-description">
Basic
</p>
<p class="form-title card-description">
@Localizer["Basic"]
</p>
<div class="row">
<div class="col-md-4 form-group required">
<label asp-for="name" class="col-form-label" for=""></label>
<label asp-for="name" class="col-form-label" for="">
@Localizer["name"]
</label>
<input asp-for="name" type="text" class="form-control" id="">
<span asp-validation-for="name" class="text-danger"></span>
</div>
<div class="col-md-4 form-group required">
<label asp-for="username" class="col-form-label" for="username"></label>
<label asp-for="username" class="col-form-label" for="username">
@Localizer["username"]
</label>
<input asp-for="username" class="form-control" id="username">
<span asp-validation-for="username" class="text-danger"></span>
</div>
...
...
@@ -40,7 +42,7 @@
<div class="row">
<div class="col-md-6 form-group">
<label asp-for="email" class="col-form-label" for="email">
email
</label>
<label asp-for="email" class="col-form-label" for="email">
@Localizer["email"]
</label>
<input asp-for="email" class="form-control" id="email">
<span asp-validation-for="email" class="text-danger"></span>
</div>
...
...
@@ -48,11 +50,11 @@
</div>
<div class="row">
<div class="col-md-4 form-group required">
<label asp-for="password" class="col-form-label" for=""></label>
<label asp-for="password" class="col-form-label" for="">
@Localizer["password"]
</label>
<input asp-for="password" type="text" class="form-control" id="">
<span asp-validation-for="password" class="text-danger"></span>
</div>
</div>
...
...
@@ -60,8 +62,8 @@
<button type="submit" class="btn btn-primary mr-2">
Submit
</button>
<a type="button" class="btn btn-light" asp-action="ListUsers">
Back to list
</a>
<button type="submit" class="btn btn-primary mr-2">
@Localizer["Submit"]
</button>
<a type="button" class="btn btn-light" asp-action="ListUsers">
@Localizer["Back to list"]
</a>
</form>
</div>
</div>
...
...
Merchant Token Vault Management/backstage/Views/User/GetUser.cshtml
View file @
947640ad
@model backstage.Models.Users.User
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model backstage.Models.Users.User
@{
ViewData["Title"] = "Modify User";
}
...
...
@@ -11,7 +13,7 @@
<input id="msg" hidden value="@TempData["msg"]" />
@if (TempData["isSuccess"] != null)
{
<input id="isSuccess" hidden value="@TempData["isSuccess"].ToString()" />
<input id="isSuccess" hidden value="@TempData["isSuccess"].ToString()" />
}
<div class="floating-msg" id="msgDiv"></div>
</div>
...
...
@@ -19,18 +21,18 @@
<div class="col-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<h4 class="card-title">
Modify User
</h4>
<h4 class="card-title">
@Localizer["Modify User"]
</h4>
<form class="forms-sample" method="post" asp-action="GetUser" autocomplete="off">
<div id="errorMsg" asp-validation-summary="All" class="text-danger"></div>
<p class="form-title card-description">
Basic
</p>
<p class="form-title card-description">
@Localizer["Basic"]
</p>
<div class="row">
<div class="col-md-4 form-group required">
<label asp-for="uid" class="col-form-label" for=""></label>
<input asp-for="uid" type="text" class="form-control" disabled>
</div>
<div class="col-md-4 form-group ">
<label asp-for="created_date" class="col-form-label" for="creation_date"></label>
<label asp-for="created_date" class="col-form-label" for="creation_date">
@Localizer["created_date"]
</label>
<input asp-for="created_date" class="form-control" id="creation_date" disabled>
</div>
...
...
@@ -38,12 +40,12 @@
</div>
<div class="row">
<div class="col-md-4 form-group ">
<label asp-for="name" class="col-form-label" for=""></label>
<label asp-for="name" class="col-form-label" for="">
@Localizer["name"]
</label>
<input asp-for="name" type="text" class="form-control" id="">
<span asp-validation-for="name" class="text-danger"></span>
</div>
<div class="col-md-4 form-group ">
<label asp-for="username" class="col-form-label" for="username"></label>
<label asp-for="username" class="col-form-label" for="username">
@Localizer["username"]
</label>
<input asp-for="username" class="form-control" id="username" disabled>
<span asp-validation-for="username" class="text-danger"></span>
</div>
...
...
@@ -54,62 +56,62 @@
{
for (int i = 0; i < Model.email.Count; i++)
{
<div class="col-md-2 form-group">
<label asp-for="@Model.email[i].type" class="col-form-label" for="emailType">Types
</label>
<input name="email[@i].type" value="@Model.email[i].type" class="form-control" />
<span asp-validation-for="@Model.email[i].type" class="text-danger"></span>
</div>
<div class="col-md-6 form-group">
<label asp-for="@Model.email[i].email" class="col-form-label" for="emailAddress">Email
</label>
<input name="email[@i].email" value="@Model.email[i].email" class="form-control" />
<span asp-validation-for="@Model.email[i].email" class="text-danger"></span>
</div>
<div class="col-md-2 form-group">
<label asp-for="@Model.email[i].type" class="col-form-label" for="emailType">@Localizer["Types"]
</label>
<input name="email[@i].type" value="@Model.email[i].type" class="form-control" />
<span asp-validation-for="@Model.email[i].type" class="text-danger"></span>
</div>
<div class="col-md-6 form-group">
<label asp-for="@Model.email[i].email" class="col-form-label" for="emailAddress">@Localizer["Email"]
</label>
<input name="email[@i].email" value="@Model.email[i].email" class="form-control" />
<span asp-validation-for="@Model.email[i].email" class="text-danger"></span>
</div>
}
}
</div>
<!--<div class="row" id="">
<div class="col-md-2 form-group">
<label class="col-form-label" >新增類型</label>-->
@*<input name="email[@(Model.email != null ? Model.email.Count : 0)].type" class="form-control" />*@
<!--<input class="form-control" />
</div>
<div class="col-md-6 form-group">
<label class="col-form-label">新增電子郵件</label>-->
@*<input name="email[@(Model.email != null ? Model.email.Count : 0)].email" class="form-control" />*@
<!--<input class="form-control"/>
@*<input name="email[@(Model.email != null ? Model.email.Count : 0)].type" class="form-control" />*@
<!--<input class="form-control" />
</div>
<div class="col-md-6 form-group">
<label class="col-form-label">新增電子郵件</label>-->
@*<input name="email[@(Model.email != null ? Model.email.Count : 0)].email" class="form-control" />*@
<!--<input class="form-control"/>
</div>
</div>-->
<p class="form-title card-description">
Change Password
</p>
<p class="form-title card-description">
@Localizer["Change Password"]
</p>
<div class="row">
<div class="col-md-4 form-group required">
<label asp-for="password" class="col-form-label" for="">
Current Password
</label>
<label asp-for="password" class="col-form-label" for="">
@Localizer["Current Password"]
</label>
<input asp-for="password" type="password" class="form-control">
</div>
</div>
<div class="row">
<div class="col-md-4 form-group required">
<label asp-for="newPassword" class="col-form-label">
New Password
</label>
<label asp-for="newPassword" class="col-form-label">
@Localizer["New Password"]
</label>
<input asp-for="newPassword" type="password" class="form-control" id="newPWD">
</div>
</div>
<div class="row">
<div class="col-md-4 form-group required">
<label class="col-form-label">
Confrim
</label>
<label class="col-form-label">
@Localizer["Confrim"]
</label>
<input class="form-control" type="password" id="confirmPWD">
<span id="passwordMatchError" class="text-danger" style="display: none;">
The two passwords entered do not match
</span>
<span id="passwordMatchError" class="text-danger" style="display: none;">
@Localizer["The two passwords entered do not match"]
</span>
</div>
</div>
<button type="submit" class="btn btn-primary mr-2">
Submit
</button>
<a type="button" class="btn btn-light" asp-action="ListUsers">
Back to list
</a>
<button type="submit" class="btn btn-primary mr-2">
@Localizer["Submit"]
</button>
<a type="button" class="btn btn-light" asp-action="ListUsers">
@Localizer["Back to list"]
</a>
</form>
</div>
</div>
...
...
Merchant Token Vault Management/backstage/Views/User/ListDepartments.cshtml
View file @
947640ad
@model backstage.Models.Users.DepartmentsResponse
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model backstage.Models.Users.DepartmentsResponse
@{
bool isAdmin = User.IsInRole("Admin");
string disabledClass = isAdmin ? "" : "disabled";
}
<div class="page-header">
<h3 class="page-title">
Department List
</h3>
<h3 class="page-title">
@Localizer["Department List"]
</h3>
<input id="msg" hidden value="@TempData["msg"]" />
@if (TempData["isSuccess"] != null)
{
...
...
@@ -17,24 +19,24 @@
<div class="col-lg-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<a type="button" class="btn btn-info float-right mb-2 @disabledClass" asp-action="CreateDepartment">
Create
</a>
<a type="button" class="btn btn-info float-right mb-2 @disabledClass" asp-action="CreateDepartment">
@Localizer["Create"]
</a>
@*列表*@
<div class="">
<table class="table table-striped ">
<thead>
<tr>
<th>
merchant_id
</th>
<th>
name
</th>
<th>
@Localizer["merchant_id"]
</th>
<th>
@Localizer["name"]
</th>
@*<th>address</th>
<th>country_id</th>
<th>postcode</th>*@
<th>phone
</th>
<th>@Localizer["phone"]
</th>
@*<th>fax</th>*@
@*<th>vatid</th>*@
@*<th>enabled</th>*@
<th>creation_date
</th>
<th>@Localizer["creation_date"]
</th>
@*<th>vatid_verify</th>
<th>deposit_book_verify</th>
<th>user_natid_verify</th>
...
...
Merchant Token Vault Management/backstage/Views/User/ListUsers.cshtml
View file @
947640ad
@model backstage.Models.Users.UserResponse
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model backstage.Models.Users.UserResponse
@{
bool isAdmin = User.IsInRole("Admin");
string disabledClass = isAdmin ? "" : "disabled";
...
...
@@ -17,8 +19,8 @@
<div class="col-lg-12 grid-margin stretch-card">
<div class="card">
<div class="card-body">
<div id="adminStatus" style="float: left;">
User count:@ViewBag.userCount / Admin count
:@ViewBag.adminCount </div>
<a type="button" class="btn btn-info float-right mb-2 @disabledClass" asp-action="CreateUser">
Create
</a>
<div id="adminStatus" style="float: left;">
@Localizer["User count"]:@ViewBag.userCount / @Localizer["Admin count"]
:@ViewBag.adminCount </div>
<a type="button" class="btn btn-info float-right mb-2 @disabledClass" asp-action="CreateUser">
@Localizer["Create"]
</a>
@*列表*@
<div class="">
...
...
@@ -26,14 +28,14 @@
<thead>
<tr>
<th>uid</th>
<th>
name
</th>
<th>
@Localizer["name"]
</th>
@*<th>name_en</th>*@
<th>username
</th>
<th>email
</th>
<th>@Localizer["username"]
</th>
<th>@Localizer["Email"]
</th>
@*<th>locked</th>*@
<th>creation_date
</th>
<th>enabled
</th>
<th>Admin
</th>
<th>@Localizer["creation_date"]
</th>
<th>@Localizer["enabled"]
</th>
<th>@Localizer["Admin"]
</th>
@*<th>birthdate</th>
<th>marital_status</th>
<th>gender</th>
...
...
Merchant Token Vault Management/backstage/Views/User/Login.cshtml
View file @
947640ad
@model backstage.Models.Users.User
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@model backstage.Models.Users.User
@{
ViewData["Title"] = "Login";
ViewData["Title"] = "Login";
}
@{
Layout = null;
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta
name=
"viewport"
content=
"width=device-width"
/>
<!-- Required meta tags -->
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<title>
@ViewData["Title"]
</title>
<!-- End Required meta tags -->
<!-- plugins:css -->
<link
rel=
"stylesheet"
href=
"~/vendors/mdi/css/materialdesignicons.min.css"
>
<link
rel=
"stylesheet"
href=
"~/vendors/css/vendor.bundle.base.css"
>
<!-- endinject -->
<meta
name=
"viewport"
content=
"width=device-width"
/>
<!-- Required meta tags -->
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<title>
@ViewData["Title"]
</title>
<!-- End Required meta tags -->
<!-- plugins:css -->
<link
rel=
"stylesheet"
href=
"~/vendors/mdi/css/materialdesignicons.min.css"
>
<link
rel=
"stylesheet"
href=
"~/vendors/css/vendor.bundle.base.css"
>
<!-- endinject -->
<link
rel=
"stylesheet"
href=
"~/lib/bootstrap/dist/css/bootstrap.min.css"
/>
@*
<link
rel=
"stylesheet"
href=
"~/css/site.css"
/>
*@
<!-- Layout styles -->
<link
rel=
"stylesheet"
href=
"~/css/style.css"
>
<!-- End layout styles -->
<link
rel=
"shortcut icon"
href=
"~/images/favicon.png"
/>
<!--jquery ui datepicker-->
<link
href=
"~/lib/jquery-ui/jquery-ui.min.css"
rel=
"stylesheet"
/>
<!--END jquery ui datepicker-->
<link
rel=
"stylesheet"
href=
"~/lib/bootstrap/dist/css/bootstrap.min.css"
/>
@*
<link
rel=
"stylesheet"
href=
"~/css/site.css"
/>
*@
<!-- Layout styles -->
<link
rel=
"stylesheet"
href=
"~/css/style.css"
>
<!-- End layout styles -->
<link
rel=
"shortcut icon"
href=
"~/images/favicon.png"
/>
<!--jquery ui datepicker-->
<link
href=
"~/lib/jquery-ui/jquery-ui.min.css"
rel=
"stylesheet"
/>
<!--END jquery ui datepicker-->
</head>
<body>
<div
class=
"container-scroller"
>
<div
class=
"container-fluid page-body-wrapper full-page-wrapper"
>
<div
class=
"content-wrapper d-flex align-items-center auth"
>
<div
class=
"row flex-grow"
>
<div
class=
"col-lg-4 mx-auto"
>
<div
class=
"auth-form-light text-left p-5"
>
<div
class=
"brand-logo"
>
<img
src=
"~/images/LOGO_nsecured.svg"
>
</div>
<div
class=
"product-logo"
>
<img
src=
"~/images/logo-J-100.jpg"
>
</div>
@*
<h4
class=
"text-center"
>
Tokenization Manager
</h4>
*@
<input
id=
"msg"
hidden
value=
"@TempData["
msg
"]"
/>
@if (TempData["isSuccess"] != null)
{
<input
id=
"isSuccess"
hidden
value=
"@TempData["
isSuccess
"].
ToString
()"
/>
}
<div
id=
"msgDiv"
></div>
<!-- <h6 class="font-weight-light">基本資料</h6> -->
<form
class=
"pt-3"
method=
"post"
asp-action=
"login"
asp-route-ReturnUrl=
@Context.Request.Query["ReturnUrl"]
>
<div
id=
"errorMsg"
asp-validation-summary=
"All"
class=
"text-danger"
></div>
<div
class=
"form-group"
>
<input
class=
"form-control form-control-lg"
asp-for=
"username"
placeholder=
"username"
/>
<span
asp-validation-for=
"username"
class=
"text-danger"
></span>
</div>
<div
class=
"form-group"
>
<div
class=
"container-scroller"
>
<div
class=
"container-fluid page-body-wrapper full-page-wrapper"
>
<div
class=
"content-wrapper d-flex align-items-center auth"
>
<div
class=
"row flex-grow"
>
<div
class=
"col-lg-4 mx-auto"
>
<div
class=
"auth-form-light text-left p-5"
>
<div
class=
"brand-logo"
>
<img
src=
"~/images/LOGO_nsecured.svg"
>
</div>
<div
class=
"product-logo"
>
<img
src=
"~/images/logo-J-100.jpg"
>
</div>
@*
<h4
class=
"text-center"
>
Tokenization Manager
</h4>
*@
<input
id=
"msg"
hidden
value=
"@TempData["
msg
"]"
/>
@if (TempData["isSuccess"] != null)
{
<input
id=
"isSuccess"
hidden
value=
"@TempData["
isSuccess
"].
ToString
()"
/>
}
<div
id=
"msgDiv"
></div>
<!-- <h6 class="font-weight-light">基本資料</h6> -->
<form
class=
"pt-3"
method=
"post"
asp-action=
"login"
asp-route-ReturnUrl=
@Context.Request.Query["ReturnUrl"]
>
<div
id=
"errorMsg"
asp-validation-summary=
"All"
class=
"text-danger"
></div>
<div
class=
"form-group"
>
<input
class=
"form-control form-control-lg"
asp-for=
"username"
placeholder=
"@Localizer["
username
"]"
/>
<span
asp-validation-for=
"username"
class=
"text-danger"
></span>
</div>
<div
class=
"form-group"
>
<input
class=
"form-control form-control-lg"
type=
"password"
asp-for=
"pwd"
placeholder=
"@Localizer["
password
"]"
/>
<span
asp-validation-for=
"pwd"
class=
"text-danger"
></span>
</div>
<div
class=
"mt-3"
>
<button
type=
"submit"
class=
"btn btn-block btn-gradient-primary btn-lg font-weight-medium"
>
@Localizer["Login"]
</button>
</div>
@*
<div
class=
"my-2 d-flex justify-content-between align-items-center"
>
<div
class=
"form-check"
>
<label
class=
"form-check-label text-muted"
>
<input
type=
"checkbox"
asp-for=
"keepLogin"
class=
"form-check-input"
>
保持登入
</label>
</div>
<a
asp-action=
"RecoverPassword"
class=
"auth-link text-black"
>
忘記密碼
</a>
</div>
*@
@*
<div
class=
"mb-2"
>
<button
type=
"button"
class=
"btn btn-block btn-facebook"
>
<i
class=
"mdi mdi-facebook mr-2"
></i>
使用facebook登入
</button>
</div>
*@
@*
<div
class=
"text-center mt-4 font-weight-light"
>
沒有帳號?
<a
asp-action=
"Register"
class=
"text-primary"
>
建立
</a></div>
*@
<input
class=
"form-control form-control-lg"
type=
"password"
asp-for=
"pwd"
placeholder=
"password"
/>
<span
asp-validation-for=
"pwd"
class=
"text-danger"
></span>
</div>
<div
class=
"mt-3"
>
<button
type=
"submit"
class=
"btn btn-block btn-gradient-primary btn-lg font-weight-medium"
>
Login
</button>
</div>
@*
<div
class=
"my-2 d-flex justify-content-between align-items-center"
>
<div
class=
"form-check"
>
<label
class=
"form-check-label text-muted"
>
<input
type=
"checkbox"
asp-for=
"keepLogin"
class=
"form-check-input"
>
保持登入
</label>
</div>
<a
asp-action=
"RecoverPassword"
class=
"auth-link text-black"
>
忘記密碼
</a>
</div>
*@
@*
<div
class=
"mb-2"
>
<button
type=
"button"
class=
"btn btn-block btn-facebook"
>
<i
class=
"mdi mdi-facebook mr-2"
></i>
使用facebook登入
</button>
</div>
*@
@*
<div
class=
"text-center mt-4 font-weight-light"
>
沒有帳號?
<a
asp-action=
"Register"
class=
"text-primary"
>
建立
</a></div>
*@
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- content-wrapper ends -->
@*
<script
src=
"~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"
></script>
*@
<script
src=
"~/lib/jquery/dist/jquery.js"
></script>
<script
src=
"~/js/site.js"
asp-append-version=
"true"
></script>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- content-wrapper ends -->
@*
<script
src=
"~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"
></script>
*@
<script
src=
"~/lib/jquery/dist/jquery.js"
></script>
<script
src=
"~/js/site.js"
asp-append-version=
"true"
></script>
<!-- plugins:js -->
<script
src=
"~/vendors/js/vendor.bundle.base.js"
></script>
<!-- endinject -->
<!-- Plugin js for this page -->
<!-- End plugin js for this page -->
<!-- inject:js -->
<script
src=
"~/js/off-canvas.js"
></script>
<script
src=
"~/js/hoverable-collapse.js"
></script>
<script
src=
"~/js/misc.js"
></script>
<!-- endinject -->
<!-- Custom js for this page -->
<script
src=
"~/js/file-upload.js"
></script>
<!-- End custom js for this page -->
<!--jquery ui datepicker-->
<!-- plugins:js -->
<script
src=
"~/vendors/js/vendor.bundle.base.js"
></script>
<!-- endinject -->
<!-- Plugin js for this page -->
<!-- End plugin js for this page -->
<!-- inject:js -->
<script
src=
"~/js/off-canvas.js"
></script>
<script
src=
"~/js/hoverable-collapse.js"
></script>
<script
src=
"~/js/misc.js"
></script>
<!-- endinject -->
<!-- Custom js for this page -->
<script
src=
"~/js/file-upload.js"
></script>
<!-- End custom js for this page -->
<!--jquery ui datepicker-->
<script
src=
"~/lib/jquery-ui/jquery-ui.min.js"
></script>
<!--END jquery ui datepicker-->
<script
src=
"~/lib/jquery-ui/jquery-ui.min.js"
></script>
<!--END jquery ui datepicker-->
<script
src=
"~/lib/jquery.ba-dotimeout.js"
></script>
</body>
</html>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment