Skip to content

Commit

Permalink
Fixed adding / removing attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Sep 2, 2021
1 parent 0d36fb5 commit 63ccfcc
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 13 deletions.
25 changes: 16 additions & 9 deletions mujina-idp/src/main/resources/public/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ ul {
list-style: none;
}

ul.attribute-list {
margin: 10px 0 0 0;
padding: 0;
}

.login-container, .user-container {
display: flex;
align-items: center;
Expand Down Expand Up @@ -73,17 +78,19 @@ p.error {
background-color: #4fa9c5;
}

a.powered-by {
position: absolute;
margin: 10px;
section.powered-by {
display: flex;
margin-top: 25px;
}

section.powered-by a {
margin-left: auto;
font-size: 12px;
text-decoration: none;
color: #4DB3CF;
bottom: 10px;
right: 10px;
}

a.powered-by:visited {
section.powered-by a.powered-by:visited {
text-decoration: none;
color: #4DB3CF;
}
Expand Down Expand Up @@ -140,7 +147,7 @@ select.attribute-select {
height: 40px;
}

div.attribute-value {
li.attribute-value {
display: flex;
position: relative;
flex-direction: column;
Expand All @@ -154,11 +161,11 @@ span.remove-attribute-value {
font-size: 16px;
}

div.attribute-value label {
li.attribute-value label {
font-size: 13px;
}

div.attribute-value input {
li.attribute-value input {
margin-top: 2px;
font-size: 16px;
}
Expand Down
5 changes: 4 additions & 1 deletion mujina-idp/src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@
<section class="login">
<h1>Mujina Identity Provider</h1>
<a class="button" th:href="@{/user.html}">Login</a>
<section class="powered-by">
<a href="https://openconext.org/" target="_blank" rel="noreferrer noopener">Copyright © 2018 OpenConext</a>
</section>
</section>
<a class="powered-by" href="https://openconext.org/" target="_blank">Copyright © 2018 OpenConext</a>

</section>
</body>
</html>
5 changes: 3 additions & 2 deletions mujina-idp/src/main/resources/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ <h1>Mujina Identity Provider</h1>
<div class="help"><span class="explain-link">?</span></div>
</div>
<ul id="attribute-list" class="attribute-list"></ul>

<section class="powered-by">
<a href="https://openconext.org/" target="_blank" rel="noreferrer noopener">Copyright © 2018 OpenConext</a>
</section>
</form>
</div>
<a class="powered-by" href="https://openconext.org/" target="_blank" rel="noreferrer noopener">Copyright © 2018 OpenConext</a>
</main>
</body>
</html>
4 changes: 3 additions & 1 deletion mujina-idp/src/main/resources/templates/user.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ <h1>Mujina Identity Provider</h1>
<li>Authority</li>
<li th:text="${authority.authority}"></li>
</ul>
<section class="powered-by">
<a href="https://openconext.org/" target="_blank" rel="noreferrer noopener">Copyright © 2018 OpenConext</a>
</section>
</section>
<a class="powered-by" href="https://openconext.org/" target="_blank">Copyright © 2018 OpenConext</a>
</section>
</html>

0 comments on commit 63ccfcc

Please sign in to comment.