Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
524443a4
Commit
524443a4
authored
May 07, 2020
by
Lyza Danger Gardner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add SVG icons needed by annotator
parent
6b68c263
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
0 deletions
+14
-0
index.js
src/annotator/index.js
+6
-0
caret-left.svg
src/images/icons/caret-left.svg
+1
-0
hide.svg
src/images/icons/hide.svg
+1
-0
note.svg
src/images/icons/note.svg
+1
-0
show.svg
src/images/icons/show.svg
+1
-0
icons.js
src/sidebar/icons.js
+4
-0
No files found.
src/annotator/index.js
View file @
524443a4
...
...
@@ -14,7 +14,13 @@ if (process.env.NODE_ENV !== 'production') {
import
{
registerIcons
}
from
'../shared/components/svg-icon'
;
registerIcons
({
annotate
:
require
(
'../images/icons/annotate.svg'
),
cancel
:
require
(
'../images/icons/cancel.svg'
),
'caret-left'
:
require
(
'../images/icons/caret-left.svg'
),
'caret-right'
:
require
(
'../images/icons/caret-right.svg'
),
hide
:
require
(
'../images/icons/hide.svg'
),
highlight
:
require
(
'../images/icons/highlight.svg'
),
note
:
require
(
'../images/icons/note.svg'
),
show
:
require
(
'../images/icons/show.svg'
),
});
import
configFrom
from
'./config/index'
;
...
...
src/images/icons/caret-left.svg
0 → 100644
View file @
524443a4
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
><g
fill-rule=
"evenodd"
><rect
fill=
"none"
stroke=
"none"
x=
"0"
y=
"0"
width=
"16"
height=
"16"
></rect><path
fill=
"none"
stroke=
"currentColor"
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"2"
d=
"M10 12L6 8l4-4"
></path></g></svg>
src/images/icons/hide.svg
0 → 100644
View file @
524443a4
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
><g
fill-rule=
"evenodd"
><rect
fill=
"none"
stroke=
"none"
x=
"0"
y=
"0"
width=
"16"
height=
"16"
></rect><path
fill=
"none"
stroke=
"currentColor"
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"2"
d=
"M8.73 12.973A9.89 9.89 0 0 1 8 13c-3.866 0-7-2.239-7-5 0-.753.233-1.467.65-2.107m5.62-2.866A9.89 9.89 0 0 1 8 3c3.866 0 7 2.239 7 5 0 .753-.233 1.467-.65 2.107M1 1l14 14L1 1z"
></path></g></svg>
src/images/icons/note.svg
0 → 100644
View file @
524443a4
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
><g
fill-rule=
"evenodd"
><rect
fill=
"none"
stroke=
"none"
x=
"0"
y=
"0"
width=
"16"
height=
"16"
></rect><path
fill=
"none"
stroke=
"currentColor"
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"2"
d=
"M1 15h6l8-6V1H1v14zm6-1V9h7"
></path></g></svg>
src/images/icons/show.svg
0 → 100644
View file @
524443a4
<svg
xmlns=
"http://www.w3.org/2000/svg"
width=
"16"
height=
"16"
viewBox=
"0 0 16 16"
><g
fill-rule=
"evenodd"
><rect
fill=
"none"
stroke=
"none"
x=
"0"
y=
"0"
width=
"16"
height=
"16"
></rect><path
fill=
"none"
stroke=
"currentColor"
stroke-linecap=
"round"
stroke-linejoin=
"round"
stroke-width=
"2"
d=
"M8 13c3.866 0 7-2.239 7-5s-3.134-5-7-5-7 2.239-7 5 3.134 5 7 5zm0-4a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"
></path></g></svg>
src/sidebar/icons.js
View file @
524443a4
...
...
@@ -8,6 +8,7 @@ export default {
'arrow-left'
:
require
(
'../images/icons/arrow-left.svg'
),
'arrow-right'
:
require
(
'../images/icons/arrow-right.svg'
),
cancel
:
require
(
'../images/icons/cancel.svg'
),
'caret-left'
:
require
(
'../images/icons/caret-left.svg'
),
'caret-right'
:
require
(
'../images/icons/caret-right.svg'
),
'cc-std'
:
require
(
'../images/icons/cc-std.svg'
),
'cc-zero'
:
require
(
'../images/icons/cc-zero.svg'
),
...
...
@@ -31,12 +32,14 @@ export default {
'format-quote'
:
require
(
'../images/icons/format-quote.svg'
),
groups
:
require
(
'../images/icons/groups.svg'
),
help
:
require
(
'../images/icons/help.svg'
),
hide
:
require
(
'../images/icons/hide.svg'
),
highlight
:
require
(
'../images/icons/highlight.svg'
),
image
:
require
(
'../images/icons/image.svg'
),
leave
:
require
(
'../images/icons/leave.svg'
),
link
:
require
(
'../images/icons/link.svg'
),
lock
:
require
(
'../images/icons/lock.svg'
),
logo
:
require
(
'../images/icons/logo.svg'
),
note
:
require
(
'../images/icons/note.svg'
),
pointer
:
require
(
'../images/icons/pointer.svg'
),
profile
:
require
(
'../images/icons/profile.svg'
),
public
:
require
(
'../images/icons/public.svg'
),
...
...
@@ -45,6 +48,7 @@ export default {
reply
:
require
(
'../images/icons/reply.svg'
),
search
:
require
(
'../images/icons/search.svg'
),
share
:
require
(
'../images/icons/share.svg'
),
show
:
require
(
'../images/icons/show.svg'
),
success
:
require
(
'../images/icons/check.svg'
),
sort
:
require
(
'../images/icons/sort.svg'
),
trash
:
require
(
'../images/icons/trash.svg'
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment