Merge branch 'app-ui' of https://github.com/liyasthomas/postwoman into app-ui
This commit is contained in:
@@ -348,6 +348,10 @@ h3 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.popover {
|
&.popover {
|
||||||
|
.wrapper {
|
||||||
|
min-height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.popover-inner {
|
.popover-inner {
|
||||||
background: $bgcolor;
|
background: $bgcolor;
|
||||||
color: $fgcolor;
|
color: $fgcolor;
|
||||||
@@ -616,6 +620,10 @@ ol li {
|
|||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hide-on-large-screen {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: $responsiveWidth) {
|
@media (max-width: $responsiveWidth) {
|
||||||
|
|
||||||
ul,
|
ul,
|
||||||
@@ -632,6 +640,10 @@ ol li {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hide-on-large-screen {
|
||||||
|
display: inline-flex;
|
||||||
|
}
|
||||||
|
|
||||||
.show-on-small-screen {
|
.show-on-small-screen {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<span>{{ collection.name }}</span>
|
<span>{{ collection.name }}</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="hide-on-small-screen">
|
||||||
<button
|
<button
|
||||||
class="icon"
|
class="icon"
|
||||||
@click="removeCollection"
|
@click="removeCollection"
|
||||||
@@ -32,6 +32,46 @@
|
|||||||
<i class="material-icons">create_new_folder</i>
|
<i class="material-icons">create_new_folder</i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<v-popover class="hide-on-large-screen">
|
||||||
|
<button class="tooltip-target icon" v-tooltip="'More'">
|
||||||
|
<i class="material-icons">more_vert</i>
|
||||||
|
</button>
|
||||||
|
<template slot="popover">
|
||||||
|
<div>
|
||||||
|
<button
|
||||||
|
class="icon"
|
||||||
|
@click="removeCollection"
|
||||||
|
v-tooltip="'Delete collection'"
|
||||||
|
v-close-popover
|
||||||
|
>
|
||||||
|
<i class="material-icons">delete</i>
|
||||||
|
<span>Delete</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<button
|
||||||
|
class="icon"
|
||||||
|
@click="$emit('edit-collection')"
|
||||||
|
v-tooltip="'Edit collection'"
|
||||||
|
v-close-popover
|
||||||
|
>
|
||||||
|
<i class="material-icons">create</i>
|
||||||
|
<span>Edit</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<button
|
||||||
|
class="icon"
|
||||||
|
@click="$emit('add-folder')"
|
||||||
|
v-tooltip="'New Folder'"
|
||||||
|
v-close-popover
|
||||||
|
>
|
||||||
|
<i class="material-icons">create_new_folder</i>
|
||||||
|
<span>New folder</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</v-popover>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-show="showChildren">
|
<div v-show="showChildren">
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<span>{{ folder.name }}</span>
|
<span>{{ folder.name }}</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="hide-on-small-screen">
|
||||||
<button class="icon" @click="removeFolder" v-tooltip="'Delete folder'">
|
<button class="icon" @click="removeFolder" v-tooltip="'Delete folder'">
|
||||||
<i class="material-icons">delete</i>
|
<i class="material-icons">delete</i>
|
||||||
</button>
|
</button>
|
||||||
@@ -17,6 +17,25 @@
|
|||||||
<i class="material-icons">edit</i>
|
<i class="material-icons">edit</i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<v-popover class="hide-on-large-screen">
|
||||||
|
<button class="tooltip-target icon" v-tooltip="'More'">
|
||||||
|
<i class="material-icons">more_vert</i>
|
||||||
|
</button>
|
||||||
|
<template slot="popover">
|
||||||
|
<div>
|
||||||
|
<button class="icon" @click="removeFolder" v-tooltip="'Delete folder'">
|
||||||
|
<i class="material-icons">delete</i>
|
||||||
|
<span>Delete</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<button class="icon" @click="editFolder" v-tooltip="'Edit folder'">
|
||||||
|
<i class="material-icons">edit</i>
|
||||||
|
<span>Edit</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</v-popover>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-show="showChildren">
|
<div v-show="showChildren">
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<span>{{ request.name }}</span>
|
<span>{{ request.name }}</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="hide-on-small-screen">
|
||||||
<button class="icon" @click="removeRequest" v-tooltip="'Delete request'">
|
<button class="icon" @click="removeRequest" v-tooltip="'Delete request'">
|
||||||
<i class="material-icons">delete</i>
|
<i class="material-icons">delete</i>
|
||||||
</button>
|
</button>
|
||||||
@@ -18,6 +18,29 @@
|
|||||||
<i class="material-icons">edit</i>
|
<i class="material-icons">edit</i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<v-popover class="hide-on-large-screen">
|
||||||
|
<button class="tooltip-target icon" v-tooltip="'More'">
|
||||||
|
<i class="material-icons">more_vert</i>
|
||||||
|
</button>
|
||||||
|
<template slot="popover">
|
||||||
|
<div>
|
||||||
|
<button class="icon" @click="removeRequest" v-tooltip="'Delete request'">
|
||||||
|
<i class="material-icons">delete</i>
|
||||||
|
<span>Delete</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<button
|
||||||
|
class="icon"
|
||||||
|
@click="$emit('edit-request')"
|
||||||
|
v-tooltip="'Edit request'"
|
||||||
|
>
|
||||||
|
<i class="material-icons">edit</i>
|
||||||
|
<span>Edit</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</v-popover>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
href="https://opencollective.com/postwoman"
|
href="https://opencollective.com/postwoman"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener"
|
rel="noopener"
|
||||||
|
v-close-popover
|
||||||
>
|
>
|
||||||
<button class="icon">
|
<button class="icon">
|
||||||
<i class="material-icons">favorite</i>
|
<i class="material-icons">favorite</i>
|
||||||
@@ -52,6 +53,7 @@
|
|||||||
<button
|
<button
|
||||||
class="icon"
|
class="icon"
|
||||||
onClick="window.open('https://twitter.com/share?text=👽 Postwoman • API request builder - Helps you create your requests faster, saving you precious time on your development&url=https://postwoman.io&hashtags=postwoman&via=liyasthomas');"
|
onClick="window.open('https://twitter.com/share?text=👽 Postwoman • API request builder - Helps you create your requests faster, saving you precious time on your development&url=https://postwoman.io&hashtags=postwoman&via=liyasthomas');"
|
||||||
|
v-close-popover
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
|||||||
Reference in New Issue
Block a user