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
aa60b14c
Commit
aa60b14c
authored
Nov 26, 2014
by
Dan Whaley
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1721 from hypothesis/style-show-differences-checkbox
Reposition and style show differences checkbox
parents
a106f6cd
723fe28a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
annotations.scss
h/static/styles/annotations.scss
+5
-0
annotation.html
h/templates/client/annotation.html
+6
-6
No files found.
h/static/styles/annotations.scss
View file @
aa60b14c
...
...
@@ -59,6 +59,11 @@
font-size
:
.923em
;
}
.show-differences
{
border-left
:
3px
solid
#D3D3D3
;
padding
:
0
.3em
0
.615em
;
}
//PRIVACY CONTROL////////////////////////////
privacy
{
...
...
h/templates/client/annotation.html
View file @
aa60b14c
...
...
@@ -52,13 +52,13 @@
<blockquote
class=
"annotation-quote"
ng-bind-html=
"target.diffHTML"
ng-show=
"target.diffHTML && vm.showDiff"
></blockquote>
<div
class=
"small show-differences"
ng-show=
"vm.hasDiff"
>
<input
type=
"checkbox"
ng-model=
"vm.showDiff"
ng-click=
"$event.stopPropagation()"
>
Show differences
</input>
</div>
</section>
<div
class=
"small pull-right"
ng-show=
"vm.hasDiff"
>
<input
type=
"checkbox"
ng-model=
"vm.showDiff"
ng-click=
"$event.stopPropagation()"
>
Show differences
</input>
</div>
<!-- / Excerpts -- >
...
...
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