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
98e5b736
Commit
98e5b736
authored
Mar 17, 2015
by
Randall Leeds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace arrows and comment icons
parent
4aea892a
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
167 additions
and
195 deletions
+167
-195
h.eot
h/static/fonts/h.eot
+0
-0
selection.json
h/static/fonts/selection.json
+147
-171
icomoon.css
h/static/icomoon.css
+14
-18
toolbar.coffee
h/static/scripts/annotator/plugin/toolbar.coffee
+1
-1
guest.coffee
h/static/scripts/guest.coffee
+1
-1
host.coffee
h/static/scripts/host.coffee
+4
-4
No files found.
h/static/fonts/h.eot
View file @
98e5b736
No preview for this file type
h/static/fonts/selection.json
View file @
98e5b736
This diff is collapsed.
Click to expand it.
h/static/icomoon.css
View file @
98e5b736
This diff is collapsed.
Click to expand it.
h/static/scripts/annotator/plugin/toolbar.coffee
View file @
98e5b736
...
...
@@ -50,7 +50,7 @@ class Annotator.Plugin.Toolbar extends Annotator.Plugin
@
annotator
.
setVisibleHighlights
state
,
"title"
:
"New Comment"
"class"
:
"h-icon-
mode
-comment"
"class"
:
"h-icon-
insert
-comment"
"on"
:
"click"
:
(
event
)
=>
event
.
preventDefault
()
...
...
h/static/scripts/guest.coffee
View file @
98e5b736
...
...
@@ -37,7 +37,7 @@ module.exports = class Annotator.Guest extends Annotator
html
:
jQuery
.
extend
{},
Annotator
::
html
,
adder
:
'''
<div class="annotator-adder">
<button class="h-icon-
mode
-comment" data-action="comment"></button>
<button class="h-icon-
insert
-comment" data-action="comment"></button>
<button class="h-icon-border-color" data-action="highlight"></button>
</div>
'''
...
...
h/static/scripts/host.coffee
View file @
98e5b736
...
...
@@ -66,8 +66,8 @@ module.exports = class Annotator.Host extends Annotator.Guest
if
@
toolbar
?
@
toolbar
.
find
(
'.annotator-toolbar-toggle'
)
.
removeClass
(
'h-icon-
arrow-back
'
)
.
addClass
(
'h-icon-
arrow-forward
'
)
.
removeClass
(
'h-icon-
chevron-left
'
)
.
addClass
(
'h-icon-
chevron-right
'
)
hideFrame
:
->
@
frame
.
css
'margin-left'
:
''
...
...
@@ -76,8 +76,8 @@ module.exports = class Annotator.Host extends Annotator.Guest
if
@
toolbar
?
@
toolbar
.
find
(
'.annotator-toolbar-toggle'
)
.
removeClass
(
'h-icon-
arrow-forward
'
)
.
addClass
(
'h-icon-
arrow-back
'
)
.
removeClass
(
'h-icon-
chevron-right
'
)
.
addClass
(
'h-icon-
chevron-left
'
)
_addCrossFrameListeners
:
->
...
...
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