Permalink
Browse files

more package page tweaks

  • Loading branch information...
possibilities committed Sep 13, 2012
1 parent 1aac629 commit 52bf3dc4017529b0a2d1325ca16fc5d49b12ca56
Showing with 8 additions and 7 deletions.
  1. +5 −4 app/atmosphere.html
  2. +1 −1 app/client/display.js
  3. +2 −2 app/docs.html
  4. BIN data/{ → dump}/packages.bson
View
@@ -27,8 +27,8 @@ <h1><a href="#">Atmosphere <small>Beer. Wings. Smart Packages</small></a></h1>
<template name="content">
<ul class="nav nav-tabs nav-main">
- <li class="{{isActiveTop "wtf"}} pull-right"><a href="wtf/app">WTF¿</a></li>
- <li class="{{isActiveTop "package|packages"}} pull-right"><a href="">Packages</a></li>
+ <li class="{{isActiveTop "wtf"}} pull-right"><a class="nav-link" href="wtf/app">WTF¿</a></li>
+ <li class="{{isActiveTop "package|packages"}} pull-right"><a class="nav-link" href="">Packages</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active">
@@ -71,7 +71,7 @@ <h1><a href="#">Atmosphere <small>Beer. Wings. Smart Packages</small></a></h1>
<tr>
<td>
<dl class="package-title">
- <dt><a href="/package/{{name}}">{{trunc name 80}}</a></dt>
+ <dt><a class="nav-link" href="/package/{{name}}">{{trunc name 80}}</a></dt>
<dd>{{trunc description 75}}</dd>
</dl>
</td>
@@ -101,11 +101,12 @@ <h1><a href="#">Atmosphere <small>Beer. Wings. Smart Packages</small></a></h1>
</template>
<template name="package">
+ <a href="/" class="nav-link pull-right">« Back to packages</a>
{{#with package}}
{{#if package}}
<dl>
<dt><p>Name</p></dt>
- <dd><p><a href="{{homepage}}">{{name}}</a></p></dd>
+ <dd><p><a class="nav-link" href="{{homepage}}">{{name}}</a></p></dd>
<dt><p>Description</p></dt>
<dd><p>{{description}}</p></dd>
<dt><p>Author</p></dt>
View
@@ -107,7 +107,7 @@
};
Template.content.events = {
- 'click .nav a, dt a': function(e) {
+ 'click a.nav-link': function(e) {
e.preventDefault();
var path = $(e.target).attr('href') || '';
Router.navigate(path, { trigger: true });
View
@@ -127,10 +127,10 @@ <h2>Curating 3rd party packages</h2>
<template name="wtfNav">
<ul class="nav nav-pills nav-wtf">
<li class="{{isActive "wtf/app"}}">
- <a href="wtf/app">Building an app?</a>
+ <a class="nav-link" href="wtf/app">Building an app?</a>
</li>
<li class="{{isActive "wtf/package"}}">
- <a href="wtf/package">Building a smart package?</a>
+ <a class="nav-link" href="wtf/package">Building a smart package?</a>
</li>
</ul>
</template>
File renamed without changes.

0 comments on commit 52bf3dc

Please sign in to comment.