Merge branch 'master' of https://github.com/travis-ci/travis-web
BIN
assets/images/icons/github.png
Normal file
After Width: | Height: | Size: 7.9 KiB |
|
@ -52,13 +52,11 @@ require 'travis/model'
|
||||||
@get('log').clear()
|
@get('log').clear()
|
||||||
|
|
||||||
sponsor: (->
|
sponsor: (->
|
||||||
worker = @get('log.workerName')
|
{
|
||||||
if worker && worker.length
|
name: "Blue Box"
|
||||||
Travis.WORKERS[worker] || {
|
url: "http://bluebox.net"
|
||||||
name: "Travis Pro"
|
|
||||||
url: "http://travis-ci.com"
|
|
||||||
}
|
}
|
||||||
).property('log.workerName')
|
).property()
|
||||||
|
|
||||||
configValues: (->
|
configValues: (->
|
||||||
config = @get('config')
|
config = @get('config')
|
||||||
|
|
|
@ -12,12 +12,6 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="right">
|
<div id="right">
|
||||||
<div id="github-wrapper">
|
|
||||||
<a id="github" href="https://github.com/travis-ci" title="Fork me on GitHub">
|
|
||||||
{{t layouts.application.fork_me}}
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="slider" {{action toggle target="Travis.slider"}}>
|
<div id="slider" {{action toggle target="Travis.slider"}}>
|
||||||
<div class='icon'></div>
|
<div class='icon'></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,9 +1,3 @@
|
||||||
<div id="github-wrapper">
|
|
||||||
<a id="github" href="https://github.com/travis-ci" title="Fork me on GitHub">
|
|
||||||
{{t layouts.application.fork_me}}
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="slider" {{action toggle target="Travis.slider"}}>
|
<div id="slider" {{action toggle target="Travis.slider"}}>
|
||||||
<div class='icon'></div>
|
<div class='icon'></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -15,7 +9,7 @@
|
||||||
<div id="about" class="box">
|
<div id="about" class="box">
|
||||||
<h4>{{t layouts.about.join}}</h4>
|
<h4>{{t layouts.about.join}}</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li>{{t layouts.about.repository}}: <a href="http://github.com/travis-ci">Github</a></li>
|
<li>{{t layouts.about.repository}}: <a href="http://github.com/travis-ci">GitHub</a></li>
|
||||||
<li>{{t layouts.about.twitter}}: <a href="http://twitter.com/travisci">@travisci</a></li>
|
<li>{{t layouts.about.twitter}}: <a href="http://twitter.com/travisci">@travisci</a></li>
|
||||||
<li>{{t layouts.about.mailing_list}}: <a href="http://groups.google.com/group/travis-ci">travis-ci</a></li>
|
<li>{{t layouts.about.mailing_list}}: <a href="http://groups.google.com/group/travis-ci">travis-ci</a></li>
|
||||||
<li><a href="irc://irc.freenode.net#travis">irc.freenode.net#travis</a></li>
|
<li><a href="irc://irc.freenode.net#travis">irc.freenode.net#travis</a></li>
|
||||||
|
|
|
@ -7,9 +7,10 @@
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#if repo.isLoaded}}
|
{{#if repo.isLoaded}}
|
||||||
{{#with repo}}
|
{{#with repo}}
|
||||||
<h3>
|
<div id="repo-header">
|
||||||
<a {{bindAttr href="controller.urlGithub"}}>{{slug}}</a>
|
<h3>{{#linkTo "repo" this}}{{slug}}{{/linkTo}}</h3>
|
||||||
</h3>
|
<div class="github-icon"><a {{bindAttr href="controller.urlGithub"}}><img src="/images/icons/github.png" width="21" height="21"/></a></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p class="description">{{description}}</p>
|
<p class="description">{{description}}</p>
|
||||||
|
|
||||||
|
|
|
@ -46,41 +46,3 @@
|
||||||
{ id: '43', type: 'silver', link: "<a href=\"http://busyconf.com\">BusyConf</a><span>: Conferences and Events Made Easy</span>"}
|
{ id: '43', type: 'silver', link: "<a href=\"http://busyconf.com\">BusyConf</a><span>: Conferences and Events Made Easy</span>"}
|
||||||
]
|
]
|
||||||
|
|
||||||
@Travis.WORKERS = {
|
|
||||||
"jvm-otp1.worker.travis-ci.org":
|
|
||||||
name: "Travis Pro"
|
|
||||||
url: "http://travis-ci.com"
|
|
||||||
"jvm-otp2.worker.travis-ci.org":
|
|
||||||
name: "Transloadit"
|
|
||||||
url: "http://transloadit.com"
|
|
||||||
"ppp1.worker.travis-ci.org":
|
|
||||||
name: "Travis Pro"
|
|
||||||
url: "http://beta.travis-ci.com"
|
|
||||||
"ppp2.worker.travis-ci.org":
|
|
||||||
name: "EnterpriseRails"
|
|
||||||
url: "http://www.enterprise-rails.com"
|
|
||||||
"ppp3.worker.travis-ci.org":
|
|
||||||
name: "Alchemy CMS"
|
|
||||||
url: "http://alchemy-cms.com/"
|
|
||||||
"rails1.worker.travis-ci.org":
|
|
||||||
name: "EnterpriseRails"
|
|
||||||
url: "http://www.enterprise-rails.com"
|
|
||||||
"ruby1.worker.travis-ci.org":
|
|
||||||
name: "Engine Yard"
|
|
||||||
url: "http://www.engineyard.com"
|
|
||||||
"ruby2.worker.travis-ci.org":
|
|
||||||
name: "EnterpriseRails"
|
|
||||||
url: "http://www.enterprise-rails.com"
|
|
||||||
"ruby3.worker.travis-ci.org":
|
|
||||||
name: "Railslove"
|
|
||||||
url: "http://railslove.de"
|
|
||||||
"ruby4.worker.travis-ci.org":
|
|
||||||
name: "Engine Yard"
|
|
||||||
url: "http://www.engineyard.com"
|
|
||||||
"spree.worker.travis-ci.org":
|
|
||||||
name: "Spree"
|
|
||||||
url: "http://spreecommerce.com"
|
|
||||||
"staging.worker.travis-ci.org":
|
|
||||||
name: "EnterpriseRails"
|
|
||||||
url: "http://www.enterprise-rails.com"
|
|
||||||
}
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ describe 'on the "build" state', ->
|
||||||
]
|
]
|
||||||
|
|
||||||
displaysRepository
|
displaysRepository
|
||||||
href: 'http://github.com/travis-ci/travis-core'
|
href: '/travis-ci/travis-core'
|
||||||
|
|
||||||
displaysSummary
|
displaysSummary
|
||||||
type: 'build'
|
type: 'build'
|
||||||
|
|
|
@ -11,7 +11,7 @@ describe 'on the "builds" state', ->
|
||||||
]
|
]
|
||||||
|
|
||||||
displaysRepository
|
displaysRepository
|
||||||
href: 'http://github.com/travis-ci/travis-core'
|
href: '/travis-ci/travis-core'
|
||||||
|
|
||||||
displaysTabs
|
displaysTabs
|
||||||
current: { href: '/travis-ci/travis-core' }
|
current: { href: '/travis-ci/travis-core' }
|
||||||
|
|
|
@ -11,7 +11,7 @@ describe 'on the "current" state', ->
|
||||||
]
|
]
|
||||||
|
|
||||||
displaysRepository
|
displaysRepository
|
||||||
href: 'http://github.com/travis-ci/travis-core'
|
href: '/travis-ci/travis-core'
|
||||||
|
|
||||||
displaysSummary
|
displaysSummary
|
||||||
type: 'build'
|
type: 'build'
|
||||||
|
|
|
@ -11,7 +11,7 @@ describe 'on the "index" state', ->
|
||||||
]
|
]
|
||||||
|
|
||||||
displaysRepository
|
displaysRepository
|
||||||
href: 'http://github.com/travis-ci/travis-core'
|
href: '/travis-ci/travis-core'
|
||||||
|
|
||||||
displaysSummary
|
displaysSummary
|
||||||
type: 'build'
|
type: 'build'
|
||||||
|
|
|
@ -21,7 +21,7 @@ describe 'on the "job" state', ->
|
||||||
waits 100
|
waits 100
|
||||||
runs ->
|
runs ->
|
||||||
displaysRepository
|
displaysRepository
|
||||||
href: 'http://github.com/travis-ci/travis-core'
|
href: '/travis-ci/travis-core'
|
||||||
|
|
||||||
displaysSummary
|
displaysSummary
|
||||||
id: 1
|
id: 1
|
||||||
|
|
|
@ -13,7 +13,7 @@ describe 'my repos tab', ->
|
||||||
]
|
]
|
||||||
|
|
||||||
displaysRepository
|
displaysRepository
|
||||||
href: 'http://github.com/travis-ci/travis-core'
|
href: '/travis-ci/travis-core'
|
||||||
|
|
||||||
displaysSummary
|
displaysSummary
|
||||||
type: 'build'
|
type: 'build'
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
@displaysRepository = (repo) ->
|
@displaysRepository = (repo) ->
|
||||||
expect($('#repo h3 a').attr('href')).toEqual (repo.href)
|
expect($('#repo h3 a').attr('href')).toEqual (repo.href)
|
||||||
|
expect($('#repo .github-icon a').attr('href')).toEqual ("http://github.com#{repo.href}")
|
||||||
|
|
||||||
@displaysTabs = (tabs) ->
|
@displaysTabs = (tabs) ->
|
||||||
for name, tab of tabs
|
for name, tab of tabs
|
||||||
|
|
|
@ -6,6 +6,19 @@
|
||||||
overflow-x: hidden
|
overflow-x: hidden
|
||||||
padding-right: 10px
|
padding-right: 10px
|
||||||
|
|
||||||
|
h3
|
||||||
|
display: inline-block
|
||||||
|
margin-right: 5px
|
||||||
|
|
||||||
|
.github-icon
|
||||||
|
width: 21px
|
||||||
|
height: 21px
|
||||||
|
display: inline-block
|
||||||
|
|
||||||
|
.github-icon
|
||||||
|
img
|
||||||
|
margin-top: 2px
|
||||||
|
|
||||||
.not-found
|
.not-found
|
||||||
display: block
|
display: block
|
||||||
padding: 10px 5px
|
padding: 10px 5px
|
||||||
|
|
|
@ -16,7 +16,4 @@
|
||||||
@include border-bottom-left-radius(4px)
|
@include border-bottom-left-radius(4px)
|
||||||
|
|
||||||
#top .profile
|
#top .profile
|
||||||
margin-right: 140px
|
margin-right: 50px
|
||||||
|
|
||||||
.maximized #top .profile
|
|
||||||
margin-right: 40px
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ en:
|
||||||
repository: Repository
|
repository: Repository
|
||||||
twitter: Twitter
|
twitter: Twitter
|
||||||
application:
|
application:
|
||||||
fork_me: Fork me on Github
|
fork_me: Fork me on GitHub
|
||||||
my_repositories: My Repositories
|
my_repositories: My Repositories
|
||||||
recent: Recent
|
recent: Recent
|
||||||
search: Search
|
search: Search
|
||||||
|
@ -91,7 +91,7 @@ en:
|
||||||
admin: Admin
|
admin: Admin
|
||||||
blog: Blog
|
blog: Blog
|
||||||
docs: Docs
|
docs: Docs
|
||||||
github_login: Sign in with Github
|
github_login: Sign in with GitHub
|
||||||
home: Home
|
home: Home
|
||||||
profile: Profile
|
profile: Profile
|
||||||
sign_out: Sign Out
|
sign_out: Sign Out
|
||||||
|
@ -114,7 +114,7 @@ en:
|
||||||
profiles:
|
profiles:
|
||||||
show:
|
show:
|
||||||
email: Email
|
email: Email
|
||||||
github: Github
|
github: GitHub
|
||||||
locale: locale
|
locale: locale
|
||||||
message:
|
message:
|
||||||
config: how to configure custom build options
|
config: how to configure custom build options
|
||||||
|
|
BIN
public/images/icons/github.png
Normal file
After Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 25 KiB |