Skip to content

Commit c326440

Browse files
committed
Added tooltips and UX spacing
1 parent 07a826e commit c326440

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

Modules/UserManager/Module.css

+5
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,11 @@
321321
margin-bottom: 25px;
322322
}
323323

324+
.mtb-2 {
325+
margin-top: 0.5em;
326+
margin-bottom: 0.5em;
327+
}
328+
324329
.pb10 {
325330
padding-bottom: 10px !important;
326331
}

Modules/UserManager/Views/UserManage/Index.cshtml

+8-5
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@
2626
<nav class="navbar navbar-default" role="navigation">
2727
<div class="col-md2">
2828
<a type="button" class="AM-btn AM-btn-primary" href="@Url.Action("Create", "UserManage", new {ctl = "Edit"})">
29+
<span class="fa fa-plus color-white" aria-hidden="true"></span>
2930
@Localization.GetString("BtnCreateUser", @ResourceFile)
3031
</a>
3132
</div>
32-
<div class="col-md10 AM-d-flex AM-justify-content-end">
33+
<div class="col-md10 AM-d-flex AM-justify-content-end mtb-2">
3334
<span id="dialogs-DeleteUnauthorized mr5" class="dnnActions mr5" style="display: initial;">
3435
<a type="button" class="confirm AM-btn AM-btn-danger" href="@Url.Action("DeleteUnauthorizedUsers", "UserManage", new {})" style="color: white;">
3536
<span class="fa fa-trash color-white" aria-hidden="true"></span>
@@ -214,14 +215,16 @@
214215
<span class="fa fa-tasks color-white" aria-hidden="true"></span>
215216
</a>
216217
<span id="dialogs-delete" class="dnnActions" style="display: initial;">
217-
<a data-hint="Delete" class="confirm AM-btn AM-btn-danger AM-btn-sm delete" data-placement="top" data-singleton="true" href="@Url.Action("Delete", "UserManage", new {itemId = item.UserId})">
218+
<a data-hint="Delete" class="confirm AM-btn AM-btn-danger AM-btn-sm delete" data-placement="top" data-singleton="true" href="@Url.Action("Delete", "UserManage", new {itemId = item.UserId})"
219+
data-toggle="tooltip" data-placement="top" title="@Localization.GetString("DeleteUser", @ResourceFile)">
218220
<span class="fa fa-trash color-white" aria-hidden="true"></span>
219221
</a>
220222
</span>
221223
@if (ViewBag.IsCurrentUserSuperUser)
222224
{
223225
<span id="dialogs-impersonate" class="dnnActions" style="display: initial;">
224-
<a data-hint="Delete" class="confirm AM-btn AM-btn-primary AM-btn-sm" data-placement="top" data-singleton="true" href="@Url.Action("ImpersonateUserById", "UserManage", new {itemId = item.UserId})">
226+
<a data-hint="Delete" class="confirm AM-btn AM-btn-primary AM-btn-sm" data-placement="top" data-singleton="true" href="@Url.Action("ImpersonateUserById", "UserManage", new {itemId = item.UserId})"
227+
data-toggle="tooltip" data-placement="top" title="@Localization.GetString("ImpersonateUser", @ResourceFile)">
225228
<span class="fas fa-eye color-white" aria-hidden="true"></span>
226229
</a>
227230
</span>
@@ -258,8 +261,8 @@
258261
var deleteUnauthorizedText = '@DotNetNuke.Services.Localization.Localization.GetString("DeleteUnauthorized.Text", "~/DesktopModules/MVC/Upendo.Modules.UserManager/App_LocalResources/Index.resx")';
259262
var removeDeleteText = '@DotNetNuke.Services.Localization.Localization.GetString("RemoveDelete.Text", "~/DesktopModules/MVC/Upendo.Modules.UserManager/App_LocalResources/Index.resx")';
260263
var impersonateText = '@DotNetNuke.Services.Localization.Localization.GetString("Impersonate.Text", "~/DesktopModules/MVC/Upendo.Modules.UserManager/App_LocalResources/Impersonate.resx")';
261-
var impersonateAnotherUserAccountConfirmation = '@DotNetNuke.Services.Localization.Localization.GetString("ImpersonateAnotherUserAccountConfirmation.Text", "~/DesktopModules/MVC/Upendo.Modules.UserManager/App_LocalResources/Impersonate.resx")';
262-
var impersonateAnotherUserAccountConfirmationAlert = '@DotNetNuke.Services.Localization.Localization.GetString("ImpersonateAnotherUserAccountConfirmationAlert.Text", "~/DesktopModules/MVC/Upendo.Modules.UserManager/App_LocalResources/Impersonate.resx")';
264+
var impersonateAnotherUserAccountConfirmation = '@Html.Raw(DotNetNuke.Services.Localization.Localization.GetString("ImpersonateAnotherUserAccountConfirmation.Text", "~/DesktopModules/MVC/Upendo.Modules.UserManager/App_LocalResources/Impersonate.resx"))';
265+
var impersonateAnotherUserAccountConfirmationAlert = '@Html.Raw(DotNetNuke.Services.Localization.Localization.GetString("ImpersonateAnotherUserAccountConfirmationAlert.Text", "~/DesktopModules/MVC/Upendo.Modules.UserManager/App_LocalResources/Impersonate.resx"))';
263266
var areYouSure = '@DotNetNuke.Services.Localization.Localization.GetString("AreYouSure.Text", "~/DesktopModules/MVC/Upendo.Modules.UserManager/App_LocalResources/Impersonate.resx")';
264267
var cancel = '@DotNetNuke.Services.Localization.Localization.GetString("Cancel.Text", "~/DesktopModules/MVC/Upendo.Modules.UserManager/App_LocalResources/Shared.resx")';
265268
var deleteBtnText = '@DotNetNuke.Services.Localization.Localization.GetString("Delete.Text", "~/DesktopModules/MVC/Upendo.Modules.UserManager/App_LocalResources/Shared.resx")';

0 commit comments

Comments
 (0)