File tree Expand file tree Collapse file tree
src/BookStore.Web/Components/Pages/Admin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 <MudTh >
3333 <MudTableSortLabel SortLabel =" name" T =" AdminAuthorDto" >Name</MudTableSortLabel >
3434 </MudTh >
35- <MudTh >Actions</MudTh >
35+ <MudTh Class = " text-end " >Actions</MudTh >
3636 </HeaderContent >
3737 <RowTemplate Context =" context" >
3838 <MudTd DataLabel =" Name" >
3939 <MudText Typo =" Typo.body2" Class =" fw-semibold" >@context.Name </MudText >
4040 </MudTd >
41- <MudTd DataLabel =" Actions" >
42- <MudIconButton Icon =" @Icons.Material.Filled.Edit" Color =" Color.Primary" OnClick =" @(() => EditAuthor(context))" Size =" Size.Small" />
43- <MudIconButton Icon =" @Icons.Material.Filled.Delete" Color =" Color.Error" OnClick =" @(() => DeleteAuthor(context))" Size =" Size.Small" />
41+ <MudTd DataLabel =" Actions" Class =" text-end" >
42+ <MudMenu Icon =" @Icons.Material.Filled.MoreVert" AnchorOrigin =" Origin.BottomRight" TransformOrigin =" Origin.TopRight" Dense =" true" >
43+ <MudMenuItem Icon =" @Icons.Material.Filled.Edit" OnClick =" @(() => EditAuthor(context))" >Edit</MudMenuItem >
44+ <MudMenuItem Icon =" @Icons.Material.Filled.Delete" OnClick =" @(() => DeleteAuthor(context))" >Delete</MudMenuItem >
45+ </MudMenu >
4446 </MudTd >
4547 </RowTemplate >
4648 <PagerContent >
Original file line number Diff line number Diff line change 3232 <MudTh >
3333 <MudTableSortLabel SortLabel =" name" T =" AdminCategoryDto" >Name</MudTableSortLabel >
3434 </MudTh >
35- <MudTh >Actions</MudTh >
35+ <MudTh Class = " text-end " >Actions</MudTh >
3636 </HeaderContent >
3737 <RowTemplate Context =" context" >
3838 <MudTd DataLabel =" Name" >
3939 <MudText Typo =" Typo.body2" Class =" fw-semibold" >@context.Name </MudText >
4040 </MudTd >
41- <MudTd DataLabel =" Actions" >
42- <MudIconButton Icon =" @Icons.Material.Filled.Edit" Color =" Color.Primary" OnClick =" @(() => EditCategory(context))" Size =" Size.Small" />
43- <MudIconButton Icon =" @Icons.Material.Filled.Delete" Color =" Color.Error" OnClick =" @(() => DeleteCategory(context))" Size =" Size.Small" />
41+ <MudTd DataLabel =" Actions" Class =" text-end" >
42+ <MudMenu Icon =" @Icons.Material.Filled.MoreVert" AnchorOrigin =" Origin.BottomRight" TransformOrigin =" Origin.TopRight" Dense =" true" >
43+ <MudMenuItem Icon =" @Icons.Material.Filled.Edit" OnClick =" @(() => EditCategory(context))" >Edit</MudMenuItem >
44+ <MudMenuItem Icon =" @Icons.Material.Filled.Delete" OnClick =" @(() => DeleteCategory(context))" >Delete</MudMenuItem >
45+ </MudMenu >
4446 </MudTd >
4547 </RowTemplate >
4648 <PagerContent >
Original file line number Diff line number Diff line change 3232 <MudTh >
3333 <MudTableSortLabel SortLabel =" name" T =" PublisherDto" >Name</MudTableSortLabel >
3434 </MudTh >
35- <MudTh >Actions</MudTh >
35+ <MudTh Class = " text-end " >Actions</MudTh >
3636 </HeaderContent >
3737 <RowTemplate Context =" context" >
3838 <MudTd DataLabel =" Name" >
3939 <MudText Typo =" Typo.body2" Class =" fw-semibold" >@context.Name </MudText >
4040 </MudTd >
41- <MudTd DataLabel =" Actions" >
42- <MudIconButton Icon =" @Icons.Material.Filled.Edit" Color =" Color.Primary" OnClick =" @(() => EditPublisher(context))" Size =" Size.Small" />
43- <MudIconButton Icon =" @Icons.Material.Filled.Delete" Color =" Color.Error" OnClick =" @(() => DeletePublisher(context))" Size =" Size.Small" />
41+ <MudTd DataLabel =" Actions" Class =" text-end" >
42+ <MudMenu Icon =" @Icons.Material.Filled.MoreVert" AnchorOrigin =" Origin.BottomRight" TransformOrigin =" Origin.TopRight" Dense =" true" >
43+ <MudMenuItem Icon =" @Icons.Material.Filled.Edit" OnClick =" @(() => EditPublisher(context))" >Edit</MudMenuItem >
44+ <MudMenuItem Icon =" @Icons.Material.Filled.Delete" OnClick =" @(() => DeletePublisher(context))" >Delete</MudMenuItem >
45+ </MudMenu >
4446 </MudTd >
4547 </RowTemplate >
4648 <PagerContent >
Original file line number Diff line number Diff line change 3232 <MudTh >Name / Tagline</MudTh >
3333 <MudTh >Theme</MudTh >
3434 <MudTh >Status</MudTh >
35- <MudTh >Actions</MudTh >
35+ <MudTh Class = " text-end " >Actions</MudTh >
3636 </HeaderContent >
3737 <RowTemplate >
3838 <MudTd DataLabel =" ID" >@context.Id </MudTd >
4848 @( context .IsEnabled ? " Enabled" : " Disabled" )
4949 </MudChip >
5050 </MudTd >
51- <MudTd DataLabel =" Actions" >
52- <MudIconButton Icon =" @Icons.Material.Filled.Edit" Color =" Color.Info" OnClick =" @(() => OpenEditDialog(context))" />
51+ <MudTd DataLabel =" Actions" Class =" text-end" >
52+ <MudMenu Icon =" @Icons.Material.Filled.MoreVert" AnchorOrigin =" Origin.BottomRight" TransformOrigin =" Origin.TopRight" Dense =" true" >
53+ <MudMenuItem Icon =" @Icons.Material.Filled.Edit" OnClick =" @(() => OpenEditDialog(context))" >Edit</MudMenuItem >
54+ </MudMenu >
5355 </MudTd >
5456 </RowTemplate >
5557 </MudTable >
You can’t perform that action at this time.
0 commit comments