Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beta.ordbok.uib.no
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Språksamlingane
beta.ordbok.uib.no
Commits
9f8152af
Commit
9f8152af
authored
3 years ago
by
Henrik Askjer
Browse files
Options
Downloads
Plain Diff
Merge branch 'menus-and-settings' into pagination
parents
6d016240
99a64886
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/ArticleFooter.vue
+13
-19
13 additions, 19 deletions
src/components/ArticleFooter.vue
src/components/Menu.vue
+1
-1
1 addition, 1 deletion
src/components/Menu.vue
with
14 additions
and
20 deletions
src/components/ArticleFooter.vue
+
13
−
19
View file @
9f8152af
...
...
@@ -14,37 +14,37 @@
<v-btn
v-if=
"showLinkCopy"
x-small
depressed
class=
"toolbar-button"
rounded
tabindex=
"0"
@
click=
"copy_link"
>
<v-icon
small
>
link
</v-icon><span
class =
"button-text"
>
{{
$t
(
"
article_footer.copy_link
"
)
}}
</span>
<v-icon
small
left
>
link
</v-icon><span
class =
"button-text"
>
{{
$t
(
"
article_footer.copy_link
"
)
}}
</span>
</v-btn>
<v-btn
v-if=
"webShareApiSupported"
depressed
x-small
class=
"toolbar-button"
rounded
tabindex=
"0"
@
click=
"shareViaWebShare"
>
<v-icon
x-small
>
share
</v-icon><span
class =
"button-text"
>
{{
$t
(
"
article_footer.share
"
)
}}
</span>
<v-icon
x-small
left
>
share
</v-icon><span
class =
"button-text"
>
{{
$t
(
"
article_footer.share
"
)
}}
</span>
</v-btn>
<v-dialog
max-width=
"600px"
v-model=
"citation_dialog"
>
<template
v-slot:activator=
"
{ on, attrs }">
<v-btn
depressed
x-small
class=
"toolbar-button"
rounded
tabindex=
"0"
v-on=
"on"
v-bind=
"attrs"
>
<v-icon
x-small
>
format_quote
</v-icon>
<span
class =
"button-text"
>
{{
$t
(
"
article_footer.cite
"
)
}}
</span>
<v-icon
left
x-small
>
format_quote
</v-icon>
<span
class =
"button-text"
>
{{
$t
(
"
article_footer.cite
"
)
}}
</span>
</v-btn>
</
template
>
<v-card>
<v-card-title>
Sitere artikkelen
</v-card-title>
<v-card-text>
<v-toolbar
elevation=
"0"
>
<v-toolbar-title>
Sitere artikkelen
</v-toolbar-title>
<v-spacer></v-spacer><v-toolbar-items><v-btn
:aria-label=
"$t('article_footer.cancel')"
@
click=
"close_citation_dialog"
text
><v-icon>
close
</v-icon></v-btn></v-toolbar-items></v-toolbar>
<v-card-text
class=
"text--primary"
>
{{$t("article_footer.description")}}
<br/>
<div
id =
"citation"
v-html=
"this.create_citation()"
/>
</v-card-text>
<v-card-actions>
<v-btn
depressed
x-small
class=
"toolbar-button
"
rounded
tabindex=
"0"
@
click=
"copy_citation"
><br>
<v-icon
x-small
icon
>
content_copy
</v-icon>
<span
class =
"button-text"
>
{{$t("article_footer.copy")}}
</span>
<v-card-actions
>
<v-btn
depressed
:
x-small
=
"$vuetify.breakpoint.mobile"
:small=
"!$vuetify.breakpoint.mobile
"
rounded
tabindex=
"0"
@
click=
"copy_citation"
><br>
<v-icon
left
:
x-small
=
"$vuetify.breakpoint.mobile"
:small=
"!$vuetify.breakpoint.mobile"
icon
>
content_copy
</v-icon>
<span
class =
"button-text"
>
{{$t("article_footer.copy")}}
</span>
</v-btn>
<v-btn
depressed
x-small
class=
"toolbar-button"
rounded
tabindex=
"0"
@
click=
"download_ris"
><br>
<v-icon
x-small
icon
>
get_app
</v-icon>
<span
class =
"button-text"
>
{{$t("article_footer.download")}}
</span>
</v-btn><v-spacer/>
<v-btn
depressed
x-small
class=
"toolbar-button"
rounded
tabindex=
"0"
@
click=
"close_citation_dialog"
><br>
<v-icon
x-small
icon
>
close
</v-icon>
<span
class =
"button-text"
>
{{$t("article_footer.cancel")}}
</span>
<v-btn
depressed
:x-small=
"$vuetify.breakpoint.mobile"
:small=
"!$vuetify.breakpoint.mobile"
rounded
tabindex=
"0"
@
click=
"download_ris"
><br>
<v-icon
left
:x-small=
"$vuetify.breakpoint.mobile"
:small=
"!$vuetify.breakpoint.mobile"
icon
>
get_app
</v-icon>
<span
class =
"button-text"
>
{{$t("article_footer.download")}}
</span>
</v-btn>
</v-card-actions>
</v-card>
</v-dialog>
...
...
@@ -143,12 +143,6 @@ export default {
</
script
>
<
style
scoped
>
.button-text
{
padding-left
:
3px
;
font-size
:
12px
;
color
:
var
(
--v-primary-base
)
!important
;
}
.v-icon
{
color
:
var
(
--v-primary-base
)
!important
;
}
...
...
This diff is collapsed.
Click to expand it.
src/components/Menu.vue
+
1
−
1
View file @
9f8152af
...
...
@@ -23,7 +23,7 @@
</v-card-text>
<v-card-actions><v-spacer/>
<v-btn
rounded
depressed
@
click=
'$store.commit("resetStore")'
>
Tilbakestill
</v-btn>
<v-btn
rounded
depressed
@
click=
'$store.commit("resetStore")'
>
{{
$t
(
"
menu.reset
"
)
}}
</v-btn>
<v-btn
rounded
depressed
@
click=
"$emit('close')"
>
{{
$t
(
"
close
"
)
}}
</v-btn>
</v-card-actions>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment