Commits

Nikita Vasilyev  committed 661d020

Remove unused files

  • Participants
  • Parent commits f981a57

Comments (0)

Files changed (2)

File css/header.css

-h1,
-.header__home {
-  font-family: "Interstate","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Garuda,Verdana,sans-serif;
-}
-
-.header {
-  height: 16px;
-  background: #333;
-  font: 100 14px/16px "Interstate","Lucida Grande",Arial,sans-serif;
-  padding: 8px 16px;
-  color: #eee;
-  overflow: hidden;
-  border-bottom: 2px solid rgb(204, 204, 204);
-}
-.header__home {
-  font-size: 16px;
-  font-weight: normal;
-  color: #ff4500;
-  float: left;
-}
-.header__profile {
-  float: right;
-}

File js/app/login.js

-SC.initialize({
-  client_id: '40cb7f3bd24d40b339dea8923162ae20',
-  redirect_uri: location.href.replace(/[?#].*$/, '') + 'callback.html'
-});
-
-
-var LoginView = Backbone.View.extend({
-  tagName: 'div',
-  template: Handlebars.compile($('#tpl-login').text()),
-
-  initialize: function() {
-
-  },
-
-  render: function() {
-    this.$el.html( this.template() );
-  },
-
-  events: {
-    click: 'login'
-  },
-
-  login: function() {
-    var that = this;
-    SC.connect(function() {
-      that.remove();
-      startApp();
-    });
-  }
-});
-
-
-if (SC.accessToken()){
-  startApp();
-} else {
-  $("#login").click(function(){
-    SC.connect(function(){
-      startApp();
-    });
-  });
-}