Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beta.ordbok.uib.no
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
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
Margunn.Rauset
beta.ordbok.uib.no
Commits
33ee492d
Commit
33ee492d
authored
4 years ago
by
Ole Voldsæter
Browse files
Options
Downloads
Patches
Plain Diff
re meta#259
parent
276e4fc8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/Article.vue
+1
-0
1 addition, 0 deletions
src/components/Article.vue
src/components/Header.vue
+19
-3
19 additions, 3 deletions
src/components/Header.vue
with
20 additions
and
3 deletions
src/components/Article.vue
+
1
−
0
View file @
33ee492d
...
@@ -57,6 +57,7 @@ export default {
...
@@ -57,6 +57,7 @@ export default {
<!-- Add "scoped" attribute to limit CSS to this component only -->
<!-- Add "scoped" attribute to limit CSS to this component only -->
<
style
>
<
style
>
article
{
article
{
position
:
relative
;
padding
:
10px
;
padding
:
10px
;
margin
:
10px
;
margin
:
10px
;
border-radius
:
10px
;
border-radius
:
10px
;
...
...
This diff is collapsed.
Click to expand it.
src/components/Header.vue
+
19
−
3
View file @
33ee492d
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
</div>
</div>
</div>
</div>
</details>
</details>
<span
class=
"dict-label"
>
{{
dict_label
}}
</span>
</div>
</div>
</
template
>
</
template
>
...
@@ -42,6 +43,12 @@ export default {
...
@@ -42,6 +43,12 @@ export default {
article_id
:
Number
article_id
:
Number
},
},
computed
:
{
computed
:
{
dict_label
:
function
()
{
return
{
'
bob
'
:
'
BOKMÅL
'
,
'
nob
'
:
'
NYNORSK
'
}[
this
.
dictionary
]
},
group_list
:
function
()
{
group_list
:
function
()
{
return
helpers
.
group_list
(
this
.
lemmas
)
return
helpers
.
group_list
(
this
.
lemmas
)
},
},
...
@@ -89,18 +96,27 @@ export default {
...
@@ -89,18 +96,27 @@ export default {
</
script
>
</
script
>
<
style
>
<
style
scoped
>
summary
{
summary
{
width
:
30em
;
width
:
30em
;
}
}
h1
{
padding-top
:
7px
;
}
.word-classification
{
.word-classification
{
text-decoration
:
underline
dashed
;
text-decoration
:
underline
dashed
;
}
}
h1
.article_header
{
.dict-label
{
display
:
inline
;
color
:
#560027
;
font-weigth
:
bold
;
padding-left
:
5px
;
position
:
absolute
;
top
:
0px
;
font-variant-caps
:
all-small-caps
;
}
}
details
>
summary
{
details
>
summary
{
...
...
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