Permalink
Browse files

Added accounts and added template to the header

chapter6-1
  • Loading branch information...
tmeasday committed Feb 9, 2015
1 parent 04bfa8e commit 22c0d6d93747edeff2fc50b4038a007d3991f138
View
@@ -21,3 +21,5 @@ twbs:bootstrap
underscore
iron:router@1.0.0-rc.1
sacha:spin
+accounts-password
+ian:accounts-ui-bootstrap-3
View
@@ -1,3 +1,6 @@
+accounts-base@1.2.1
+accounts-password@1.1.3
+anti:i18n@0.4.3
autoupdate@1.2.3
babel-compiler@5.8.24_1
babel-runtime@0.1.4
@@ -14,19 +17,22 @@ check@1.0.6
ddp@1.2.2
ddp-client@1.2.1
ddp-common@1.2.1
+ddp-rate-limiter@1.0.0
ddp-server@1.2.1
deps@1.0.9
diff-sequence@1.0.1
ecmascript@0.1.5
ecmascript-collections@0.1.6
ejson@1.0.7
+email@1.0.7
es5-shim@4.1.13
fastclick@1.0.7
geojson-utils@1.0.4
hot-code-push@1.0.0
html-tools@1.0.5
htmljs@1.0.5
http@1.1.1
+ian:accounts-ui-bootstrap-3@1.2.83
id-map@1.0.4
insecure@1.0.4
iron:controller@1.0.12
@@ -40,6 +46,7 @@ iron:url@1.0.11
jquery@1.11.4
launch-screen@1.0.4
livedata@1.0.15
+localstorage@1.0.5
logging@1.0.8
meteor@1.1.9
meteor-base@1.0.1
@@ -49,21 +56,27 @@ mobile-experience@1.0.1
mobile-status-bar@1.0.6
mongo@1.1.2
mongo-id@1.0.1
+npm-bcrypt@0.7.8_2
npm-mongo@1.4.39_1
observe-sequence@1.0.7
ordered-dict@1.0.4
promise@0.5.0
random@1.0.4
+rate-limit@1.0.0
reactive-dict@1.1.2
reactive-var@1.0.6
reload@1.1.4
retry@1.0.4
routepolicy@1.0.6
sacha:spin@2.3.1
+service-configuration@1.0.5
session@1.1.1
+sha@1.0.4
spacebars@1.0.7
spacebars-compiler@1.0.7
+srp@1.0.4
standard-minifiers@1.0.1
+stylus@2.511.0_2
templating@1.1.4
templating-tools@1.0.0
tracker@1.0.9
View
@@ -0,0 +1,3 @@
+Accounts.ui.config({
+ passwordSignupFields: 'USERNAME_ONLY'
+});
@@ -1,10 +1,6 @@
<template name="layout">
<div class="container">
- <header class="navbar navbar-default" role="navigation">
- <div class="navbar-header">
- <a class="navbar-brand" href="{{pathFor 'postsList'}}">Microscope</a>
- </div>
- </header>
+ {{> header}}
<div id="main">
{{> yield}}
</div>
@@ -0,0 +1,18 @@
+<template name="header">
+ <nav class="navbar navbar-default" role="navigation">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navigation">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="{{pathFor 'postsList'}}">Microscope</a>
+ </div>
+ <div class="collapse navbar-collapse" id="navigation">
+ <ul class="nav navbar-nav navbar-right">
+ {{> loginButtons}}
+ </ul>
+ </div>
+ </nav>
+</template>

1 comment on commit 22c0d6d

@Vivais

This comment has been minimized.

Show comment
Hide comment
@Vivais

Vivais Dec 4, 2017

In windows i have to add session module:
meteor add session

Vivais commented on 22c0d6d Dec 4, 2017

In windows i have to add session module:
meteor add session

Please sign in to comment.