Skip to content

Commit

Permalink
Resolve remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Zelzahn committed Jul 22, 2024
1 parent f5e730b commit 8cfe1a1
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 12 deletions.
2 changes: 1 addition & 1 deletion loama/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# LOAMA

This is the actual Access Management App, written in Vue.
LOAMA is a Linked Open Access Management App, written in Vue.

## IDP Provider

Expand Down
14 changes: 13 additions & 1 deletion loama/src/components/SidePanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
{{ pod.name }}
</LoButton>
</div>
<LoButton :left-icon="PhX" variant="secondary" @click="emit('toggleProvider')">Close Panel</LoButton>
<LoButton :left-icon="PhX" variant="secondary" @click="emit('toggleProvider')">
Close Panel
</LoButton>
</div>
</template>

Expand Down Expand Up @@ -41,6 +43,16 @@ const openPodUrl = (pod: { name: string; url: string }) => {
width: 100%;
margin-top: 10px;
border-right: 0.25rem solid var(--solid-purple);
background-color: #f0f0f0;
width: 30%;
position: fixed;
top: 0;
left: 0;
bottom: 0;
z-index: 999;
overflow-y: auto;
padding: 20px;
margin: 0;
}
h2 {
Expand Down
1 change: 0 additions & 1 deletion loama/src/components/explorer/ExplorerEntry.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
</template>

<script setup lang="ts">
import { defineProps } from 'vue';
import { RouterLink } from 'vue-router';
import LoButton from "../LoButton.vue";
import { PhFolder, PhFile, PhArrowRight } from '@phosphor-icons/vue';
Expand Down
4 changes: 2 additions & 2 deletions loama/src/components/explorer/FallbackExplorer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ span {
--gradient: conic-gradient(from -90deg at 10px 10px, var(--solid-purple) 90deg, #0000 0);
background: var(--gradient), var(--gradient), var(--gradient);
background-size: 50% 50%;
animation: l16 1s infinite;
animation: shifting 1s infinite;
}
@keyframes l16 {
@keyframes shifting {
0% {
background-position: 0 0, 10px 10px, 20px 20px
}
Expand Down
4 changes: 4 additions & 0 deletions loama/src/components/header/HeaderBase.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ img {
width: calc(var(--base-unit)*8);
}
img:hover {
cursor: pointer;
}
.hidden {
display: none;
}
Expand Down
19 changes: 12 additions & 7 deletions loama/src/components/header/HeaderContextMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<span>{{ store.usedPod }}</span>
<div>
<label for="pod">Selected Pod</label>
<select>
<option v-for="pod in pods" :key="pod">{{ pod }}</option>
</select>
<select>
<option v-for="pod in pods" :key="pod">{{ pod }}</option>
</select>
</div>
<a @click.prevent="logout">
<PhSignOut/>
<PhSignOut />
<span>Sign out</span>
</a>
</aside>
Expand All @@ -24,30 +24,35 @@ const pods = await listPods(store.session as Session);
async function logout() {
store.session.logout();
router.push('/');
router.push('/');
}
</script>

<style lang="css" scoped>
aside {
z-index: 10;
border-radius: 0.5rem;
display: flex;
flex-flow: column nowrap;
border: 0.25rem solid var(--solid-purple);
background-color: var(--off-white);
}
aside > div {
aside>div {
padding: var(--base-unit);
}
label {
color: var(--off-black);
font-weight: 700;
display: block;
}
select {
margin-bottom: var(--base-unit);
}
aside > span {
aside>span {
background-color: var(--solid-purple);
color: var(--off-white);
font-family: Raleway;
Expand Down

0 comments on commit 8cfe1a1

Please sign in to comment.