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
da78f2bd
Commit
da78f2bd
authored
Mar 23, 2017
by
Sean Roberts
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Branding adding highlightColor support
parent
f5f034b7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
annotation.html
src/sidebar/templates/annotation.html
+2
-1
excerpt.html
src/sidebar/templates/excerpt.html
+4
-2
login_control.html
src/sidebar/templates/login_control.html
+2
-2
login_form.html
src/sidebar/templates/login_form.html
+1
-1
No files found.
src/sidebar/templates/annotation.html
View file @
da78f2bd
...
@@ -107,7 +107,8 @@
...
@@ -107,7 +107,8 @@
<a
class=
"annotation-link u-strong"
ng-show=
"vm.canCollapseBody"
<a
class=
"annotation-link u-strong"
ng-show=
"vm.canCollapseBody"
ng-click=
"vm.toggleCollapseBody($event)"
ng-click=
"vm.toggleCollapseBody($event)"
ng-title=
"vm.collapseBody ? 'Show the full annotation text' : 'Show the first few lines only'"
ng-title=
"vm.collapseBody ? 'Show the full annotation text' : 'Show the first few lines only'"
ng-bind=
"vm.collapseBody ? 'More' : 'Less'"
></a>
ng-bind=
"vm.collapseBody ? 'More' : 'Less'"
h-branding=
"highlightColor"
></a>
</div>
</div>
<!-- / Tags -->
<!-- / Tags -->
...
...
src/sidebar/templates/excerpt.html
View file @
da78f2bd
...
@@ -9,11 +9,13 @@
...
@@ -9,11 +9,13 @@
ng-show=
"vm.showInlineControls()"
>
ng-show=
"vm.showInlineControls()"
>
<span
class=
"excerpt__toggle-link"
ng-show=
"vm.isExpandable()"
>
<span
class=
"excerpt__toggle-link"
ng-show=
"vm.isExpandable()"
>
…
<a
ng-click=
"vm.toggle($event)"
…
<a
ng-click=
"vm.toggle($event)"
title=
"Show the full excerpt"
>
More
</a>
title=
"Show the full excerpt"
h-branding=
"highlightColor"
>
More
</a>
</span>
</span>
<span
class=
"excerpt__toggle-link"
ng-show=
"vm.isCollapsible()"
>
<span
class=
"excerpt__toggle-link"
ng-show=
"vm.isCollapsible()"
>
<a
ng-click=
"vm.toggle($event)"
<a
ng-click=
"vm.toggle($event)"
title=
"Show the first few lines only"
>
Less
</a>
title=
"Show the first few lines only"
h-branding=
"highlightColor"
>
Less
</a>
</span>
</span>
</div>
</div>
</div>
</div>
...
...
src/sidebar/templates/login_control.html
View file @
da78f2bd
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
ng-if=
"vm.newStyle && vm.auth.status === 'unknown'"
>
⋯
</span>
ng-if=
"vm.newStyle && vm.auth.status === 'unknown'"
>
⋯
</span>
<span
class=
"login-text"
<span
class=
"login-text"
ng-if=
"vm.newStyle && vm.auth.status === 'logged-out'"
>
ng-if=
"vm.newStyle && vm.auth.status === 'logged-out'"
>
<a
href=
"{{vm.serviceUrl('signup')}}"
target=
"_blank"
>
Sign up
</a>
<a
href=
"{{vm.serviceUrl('signup')}}"
target=
"_blank"
h-branding=
"highlightColor"
>
Sign up
</a>
/
<a
href=
""
ng-click=
"vm.onLogin()"
>
Log in
</a>
/
<a
href=
""
ng-click=
"vm.onLogin()"
h-branding=
"highlightColor"
>
Log in
</a>
</span>
</span>
<div
ng-if=
"vm.newStyle"
<div
ng-if=
"vm.newStyle"
class=
"pull-right login-control-menu"
class=
"pull-right login-control-menu"
...
...
src/sidebar/templates/login_form.html
View file @
da78f2bd
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
<div
class=
"form-actions"
>
<div
class=
"form-actions"
>
<div
class=
"form-actions-message"
>
<div
class=
"form-actions-message"
>
<a
href=
"{{vm.serviceUrl('forgot-password')}}"
target=
"_blank"
>
Forgot your password?
</a>
<a
href=
"{{vm.serviceUrl('forgot-password')}}"
target=
"_blank"
h-branding=
"highlightColor"
>
Forgot your password?
</a>
</div>
</div>
<div
class=
"form-actions-buttons"
>
<div
class=
"form-actions-buttons"
>
<button
class=
"btn btn-primary"
type=
"submit"
name=
"login"
<button
class=
"btn btn-primary"
type=
"submit"
name=
"login"
...
...
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