Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UNL Resource Scheduler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Experience Group
UNL Resource Scheduler
Commits
b8f10de3
Commit
b8f10de3
authored
5 years ago
by
Jeff Sturek
Browse files
Options
Downloads
Patches
Plain Diff
Clean up users page and make user toolbox display on load
parent
a8e19b49
Branches
Branches containing commit
No related tags found
1 merge request
!13
Clean up users page and make user toolbox display on load
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
views/admin/users.erb
+10
-6
10 additions, 6 deletions
views/admin/users.erb
with
10 additions
and
6 deletions
views/admin/users.erb
+
10
−
6
View file @
b8f10de3
<div
id=
"pagetitle"
>
<h3>
Manage Users
<span
class=
"dcf-subhead"
><a
id=
"show-toolbox"
href=
"#"
>
Show Toolbox
</a></span></h3>
<h3>
Manage Users
<span
class=
"dcf-subhead"
><a
id=
"show-toolbox"
href=
"#"
>
Show
User
Toolbox
</a></span></h3>
</div>
<div
id=
"toolbox"
class=
"toolbox"
style=
"display: none;"
>
...
...
@@ -7,7 +7,7 @@
<div
class=
"tools"
>
<a
class=
"dcf-btn dcf-btn-primary"
href=
"
<%=
@space
.
admin_users_href
%>
add/"
>
Add User
</a>
<a
class=
"dcf-btn dcf-btn-primary"
href=
"
<%=
@space
.
admin_users_href
%><%=
@user
.
id
%>
/edit/"
>
Edit My User
</a>
<a
class=
"dcf-btn
n
wdn-button-triad"
href=
"
<%=
@space
.
admin_users_href
%><%=
@user
.
id
%>
/manage/"
>
My Resources
</a>
<a
class=
"dcf-btn wdn-button-triad"
href=
"
<%=
@space
.
admin_users_href
%><%=
@user
.
id
%>
/manage/"
>
My Resources
</a>
</div>
</div>
...
...
@@ -16,7 +16,7 @@
<div
class=
"dcf-col-100% dcf-col-25%-start@sm"
>
<label
style=
"font-size: 120%; margin-right: 20px;"
>
Find users by:
</label>
<br>
<a
href=
"
<%=
@space
.
admin_users_href
%>
"
class=
"dcf-btn"
style=
"font-size: 60%"
>
Clear
</a>
<a
href=
"
<%=
@space
.
admin_users_href
%>
"
class=
"dcf-btn
dcf-mb-6
"
style=
"font-size: 60%"
>
Clear
</a>
</div>
<div
class=
"dcf-col-100% dcf-col-75%-end@sm"
"
>
<label>
Resource Authorization:
</label>
...
...
@@ -62,10 +62,10 @@
<%
end
%>
</td>
<td
class=
"table-actions"
>
<a
href=
"
<%=
@space
.
admin_users_href
%><%=
user
.
id
%>
/edit/"
class=
"dcf-btn dcf-btn-primary"
>
Edit
</a>
<a
href=
"
<%=
@space
.
admin_users_href
%><%=
user
.
id
%>
/manage/"
class=
"dcf-btn wdn-button-triad"
>
Resources
</a>
<a
href=
"
<%=
@space
.
admin_users_href
%><%=
user
.
id
%>
/edit/"
class=
"dcf-btn dcf-btn-primary
dcf-mb-2
"
>
Edit
</a>
<a
href=
"
<%=
@space
.
admin_users_href
%><%=
user
.
id
%>
/manage/"
class=
"dcf-btn wdn-button-triad
dcf-mb-2
"
>
Resources
</a>
<form
class=
"delete-form delete-user"
action=
"
<%=
@space
.
admin_users_href
%><%=
user
.
id
%>
/delete/"
method=
"POST"
>
<button
type=
"submit"
class=
"dcf-btn"
>
Delete
</button>
<button
type=
"submit"
class=
"dcf-btn
dcf-mb-2
"
>
Delete
</button>
</form>
</td>
</tr>
...
...
@@ -91,6 +91,7 @@
$('#show-toolbox').hide();
$('#toolbox').slideDown();
});
$('#hide-toolbox').click(function (click) {
click.preventDefault();
$('#toolbox').slideUp(400, function () {
...
...
@@ -107,5 +108,8 @@
window.location = '?' + conditions.join('&');
});
$( "#show-toolbox" ).trigger( "click" );
});
});]
)
%>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment