History

New design

Thibaut committed 12 years ago

Commit 465a1721 parent a3aa03b29 files · +235 −293Browse files

Showing the changes to assets/javascripts (4 of 29 files). Show all

Unified · Split

4 files
  1. assets/javascripts/templates/pages/news_tmpl.coffee +5 −1
  2. assets/javascripts/templates/pages/root_tmpl.coffee.erb +2 −2
  3. assets/javascripts/views/search/search_scope.coffee +1 −1
  4. assets/javascripts/views/sidebar/sidebar_hover.coffee +1 −1
assets/javascripts/templates/pages/news_tmpl.coffee+5−1
@@ -33,7 +33,11 @@ newsItem = (date, news) -> · 32 unmodified lines
3333 result
3434
3535 app.news = [
36− [ 1413676800000, # October 19, 2014
36+ [ 1415491200000, # November 9, 2014
37+ """ New design
38+ Feedback welcome on <a href="https://twitter.com/DevDocs" target="_blank">Twitter</a> and <a href="https://github.com/Thibaut/devdocs" target="_blank">GitHub</a>. """
39+ ], [
40+ 1413676800000, # October 19, 2014
3741 """ New <a href="/svg/">SVG</a>, <a href="/marionette/">Marionette.js</a>, and <a href="/mongoose/">Mongoose</a> documentations """,
3842 ], [
3943 1413590400000, # October 18, 2014
assets/javascripts/templates/pages/root_tmpl.coffee.erb+2−2
@@ -13,8 +13,8 @@ app.templates.intro = """ · 12 unmodified lines
1313 <ol class="_intro-list">
1414 <li>Your local version of DevDocs won't self-update. Unless you're offline or modifying the code,
1515 I recommend using the hosted version at <a href="http://devdocs.io">devdocs.io</a>.
16− <li>Run <code class="_label">thor docs:list</code> to see all available documentations.
17− <li>Run <code class="_label">thor docs:download --all</code> to download/update all documentations.
16+ <li>Run <code>thor docs:list</code> to see all available documentations.
17+ <li>Run <code>thor docs:download --all</code> to download/update all documentations.
1818 <li>To be notified about new versions, don't forget to <a href="https://github.com/Thibaut/devdocs/subscription">watch the repository</a> on GitHub.
1919 <li>The <a href="https://github.com/Thibaut/devdocs/issues">issue tracker</a> is the preferred channel for bug reports and
2020 feature requests. For everything else, use the <a href="https://groups.google.com/d/forum/devdocs">mailing list</a>.
assets/javascripts/views/search/search_scope.coffee+1−1
@@ -49,7 +49,7 @@ class app.views.SearchScope extends app.View · 48 unmodified lines
4949
5050 @input.removeAttribute 'placeholder'
5151 @input.value = @input.value[@input.selectionStart..]
52− @input.style.paddingLeft = @tag.offsetWidth + 6 + 'px'
52+ @input.style.paddingLeft = @tag.offsetWidth + 10 + 'px'
5353 $.trigger @input, 'input'
5454
5555 reset: =>
assets/javascripts/views/sidebar/sidebar_hover.coffee+1−1
@@ -59,7 +59,7 @@ class app.views.SidebarHover extends app.View · 58 unmodified lines
5959 el.classList.contains 'active'
6060
6161 isTruncated: (el) ->
62− el.scrollWidth >= el.offsetWidth
62+ el.scrollWidth > el.offsetWidth
6363
6464 onFocus: (event) =>
6565 @focusTime = Date.now()