Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SWP_Datenverwaltung_2020_Natlab_Datenbanksystem_Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
altanmk93
SWP_Datenverwaltung_2020_Natlab_Datenbanksystem_Frontend
Commits
6066fa8b
Commit
6066fa8b
authored
4 years ago
by
oetrb
Browse files
Options
Downloads
Patches
Plain Diff
search style changed
parent
d62430c3
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/assets/search.svg
+66
-0
66 additions, 0 deletions
src/assets/search.svg
src/components/DynamicTable.vue
+43
-5
43 additions, 5 deletions
src/components/DynamicTable.vue
with
109 additions
and
5 deletions
src/assets/search.svg
0 → 100644
+
66
−
0
View file @
6066fa8b
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
version=
"1.1"
id=
"Capa_1"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
x=
"0px"
y=
"0px"
viewBox=
"0 0 512 512"
style=
"enable-background:new 0 0 512 512;"
xml:space=
"preserve"
>
<g>
<g>
<path
d=
"M310,190c-5.52,0-10,4.48-10,10s4.48,10,10,10c5.52,0,10-4.48,10-10S315.52,190,310,190z"
/>
</g>
</g>
<g>
<g>
<path
d=
"M500.281,443.719l-133.48-133.48C388.546,277.485,400,239.555,400,200C400,89.72,310.28,0,200,0S0,89.72,0,200
s89.72,200,200,200c39.556,0,77.486-11.455,110.239-33.198l36.895,36.895c0.005,0.005,0.01,0.01,0.016,0.016l96.568,96.568
C451.276,507.838,461.319,512,472,512c10.681,0,20.724-4.162,28.278-11.716C507.837,492.731,512,482.687,512,472
S507.837,451.269,500.281,443.719z M305.536,345.727c0,0.001-0.001,0.001-0.002,0.002C274.667,368.149,238.175,380,200,380
c-99.252,0-180-80.748-180-180S100.748,20,200,20s180,80.748,180,180c0,38.175-11.851,74.667-34.272,105.535
C334.511,320.988,320.989,334.511,305.536,345.727z M326.516,354.793c10.35-8.467,19.811-17.928,28.277-28.277l28.371,28.371
c-8.628,10.183-18.094,19.65-28.277,28.277L326.516,354.793z M486.139,486.139c-3.78,3.78-8.801,5.861-14.139,5.861
s-10.359-2.081-14.139-5.861l-88.795-88.795c10.127-8.691,19.587-18.15,28.277-28.277l88.798,88.798
C489.919,461.639,492,466.658,492,472C492,477.342,489.919,482.361,486.139,486.139z"
/>
</g>
</g>
<g>
<g>
<path
d=
"M200,40c-88.225,0-160,71.775-160,160s71.775,160,160,160s160-71.775,160-160S288.225,40,200,40z M200,340
c-77.196,0-140-62.804-140-140S122.804,60,200,60s140,62.804,140,140S277.196,340,200,340z"
/>
</g>
</g>
<g>
<g>
<path
d=
"M312.065,157.073c-8.611-22.412-23.604-41.574-43.36-55.413C248.479,87.49,224.721,80,200,80c-5.522,0-10,4.478-10,10
c0,5.522,4.478,10,10,10c41.099,0,78.631,25.818,93.396,64.247c1.528,3.976,5.317,6.416,9.337,6.416
c1.192,0,2.405-0.215,3.584-0.668C311.472,168.014,314.046,162.229,312.065,157.073z"
/>
</g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>
This diff is collapsed.
Click to expand it.
src/components/DynamicTable.vue
+
43
−
5
View file @
6066fa8b
<
template
>
<
template
>
<div
class=
"content col-md-12"
>
<div
class=
"content col-md-12"
>
<div
class=
"searchblock col-md-3"
>
<div
class=
"search_box"
>
<input
v-model=
"filter"
id=
"searchfield"
placeholder=
"Suchen"
type=
"text"
>
<div
class=
"search_box-inner"
>
{{
keyword
}}
<i><img
src=
"../assets/search.svg"
></i>
<input
id=
"inpt_search"
v-model=
"filter"
type=
"text"
class=
"search__input"
placeholder=
"Suchen..."
/>
</div>
</div>
</div>
<table
id=
"Table"
>
<table
id=
"Table"
>
<tr>
<tr>
...
@@ -66,8 +68,6 @@ export default {
...
@@ -66,8 +68,6 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
"
sortTable
"
:
function
sortTable
(
col
)
{
"
sortTable
"
:
function
sortTable
(
col
)
{
this
.
currentSort
=
col
;
this
.
currentSort
=
col
;
if
(
this
.
currentSortDir
===
'
asc
'
)
{
if
(
this
.
currentSortDir
===
'
asc
'
)
{
...
@@ -432,6 +432,44 @@ export default {
...
@@ -432,6 +432,44 @@ export default {
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.search_box
{
margin-top
:
50px
;
text-align
:
left
;
}
.search_box-inner
{
display
:
inline
;
font-size
:
1em
;
border-radius
:
8em
;
border
:
0.1em
solid
rgba
(
218
,
208
,
190
,
1
);
box-shadow
:
0
0
0.3em
rgba
(
60
,
60
,
60
,
0.4
);
padding
:
0.3em
;
background
:
white
;
}
.search_box-inner
i
img
{
width
:
2%
;
text-align
:
center
;
margin
:
5px
;
}
#inpt_search
{
transition
:
all
0.2s
ease-out
;
width
:
5px
;
border-radius
:
0
;
box-shadow
:
none
;
outline
:
none
;
padding
:
0
;
margin
:
0
;
border
:
0
;
background-color
:
transparent
;
opacity
:
0
;
}
#inpt_search
:focus
{
width
:
10em
;
opacity
:
1
;
}
.content
table
{
.content
table
{
margin-top
:
50px
;
margin-top
:
50px
;
margin-right
:
1275px
;
margin-right
:
1275px
;
...
...
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