Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

b/264210103 Reload form when clicking title, menu #36

Merged
merged 1 commit into from
Jan 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sources/src/main/resources/META-INF/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<header class="mdl-layout__header mdl-layout__header--transparent">
<div class="mdl-layout__header-row">
<!-- Title -->
<span class="mdl-layout-title">Just-in-Time Access</span>
<span class="mdl-layout-title"><a href="javascript:window.location.reload()">Just-in-Time Access</a></span>
</div>
</header>
<div class="mdl-layout__drawer">
Expand Down Expand Up @@ -686,7 +686,7 @@ <h2 class="mdl-card__title-text">Audit and review just-in-time access</h2>
const backend = queryParameters.get("debug") ? new DebugModel() : new Model();
const localSettings = new LocalSettings();

$("#menu-requestaccess").click(() => gui.requestPane.show());
$("#menu-requestaccess").click(() => window.location.reload());
$("#menu-help").click(() => gui.helpPane.show());
$(document).ready(async () => {
//
Expand Down
6 changes: 6 additions & 0 deletions sources/src/main/resources/META-INF/resources/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ h3.mdl-card__title-text {
margin-bottom: 10px;
}

.mdl-layout-title a {
color: rgb(66,66,66);
text-decoration: none;
font-weight: 400;
}

/* ==== Forms === */
fieldset {
border-radius: 4px;
Expand Down