-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add skip and take to spaces api * Add batch loading (infinity scroll) on spaces * User skip and take on load spaces in modal * Fix all skip and take query * Fix version container max width
- Loading branch information
Showing
8 changed files
with
83 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 34 additions & 33 deletions
67
src/Mimisbrunnr.Web.Host/ClientApp/src/components/home/Version.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,35 @@ | ||
<template> | ||
<div class="text-muted version"> | ||
Version: {{this.version}} | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import axios from 'axios' | ||
export default { | ||
name: "Version", | ||
data() { | ||
return { | ||
version: "" | ||
} | ||
}, | ||
mounted: async function(){ | ||
var versionRequest = await axios.get("/api/version"); | ||
if(versionRequest.status == 200) | ||
this.version = versionRequest.data.version; | ||
} | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
.version{ | ||
position: absolute; | ||
bottom: 1em; | ||
} | ||
@media (max-width: 860px) { | ||
.version { | ||
bottom: 4em; | ||
} | ||
} | ||
<template> | ||
<div class="text-muted version"> | ||
Version: {{this.version}} | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import axios from 'axios' | ||
export default { | ||
name: "Version", | ||
data() { | ||
return { | ||
version: "" | ||
} | ||
}, | ||
mounted: async function(){ | ||
var versionRequest = await axios.get("/api/version"); | ||
if(versionRequest.status == 200) | ||
this.version = versionRequest.data.version; | ||
} | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
.version{ | ||
position: absolute; | ||
bottom: 1em; | ||
max-width: 90%; | ||
} | ||
@media (max-width: 860px) { | ||
.version { | ||
bottom: 4em; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters