Skip to content

Commit

Permalink
Merge branch 'master' of github.com:concerto/concerto into revised_in…
Browse files Browse the repository at this point in the history
…fo_arch
  • Loading branch information
brzaik committed Jul 6, 2012
2 parents 9b2cf79 + 258dc6a commit 52fcd80
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 6 deletions.
1 change: 1 addition & 0 deletions app/assets/stylesheets/application/layout/navs.scss.erb
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@
border-right: 0px !important;
@include border-radius(12px 0 0 12px !important);
background: $grayLight;
margin-top: 35px;

.nav-header {
color: #666;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,27 @@
position: static;
}

// fluid grid resets:
.row-fluid {
[class*="span"].collapse-right {
margin-right: 0px;
}
}

// nav resets:
.nav-drawer-left {
@include border-radius(12px !important);
border-right: solid 4px $grayLight !important;
margin-top: 0px;

> li:first-child > a {
@include border-radius(8px 8px 0 0 !important);
}
> li:last-child > a {
@include border-radius(0 0 8px 8px !important);
}
}

}


Expand Down Expand Up @@ -128,4 +149,25 @@
width: auto;
}

// fluid grid resets:
.row-fluid {
[class*="span"].collapse-right {
margin-right: 0px;
}
}

// nav resets:
.nav-drawer-left {
@include border-radius(12px !important);
border-right: solid 4px $grayLight !important;
margin-top: 0px;

> li:first-child > a {
@include border-radius(8px 8px 0 0 !important);
}
> li:last-child > a {
@include border-radius(0 0 8px 8px !important);
}
}

}
3 changes: 1 addition & 2 deletions app/views/contents/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<div class="row-fluid">
<div class="span2 collapse-right">
<br /><br />
<ul class="nav nav-tabs nav-stacked nav-drawer-left">
<li class="nav-header">Add content type:</li>
<li class="nav-header">Content type to add:</li>
<% content_types.each do |subclass| %>
<li<% if @content.class.to_s == subclass.model_name.human %> class="active"<% end %>>
<%= link_to subclass.model_name.human, new_content_path(:type => subclass.model_name.singular) %>
Expand Down
7 changes: 3 additions & 4 deletions app/views/templates/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<div class="row-fluid">
<div class="span2 collapse-right">
<br /><br />
<ul class="nav nav-tabs nav-stacked nav-drawer-left">
<li class="nav-header">Add template by:</li>
<li<% if @type == "create" %> class="active"<% end %>><%= link_to "Creating from Scratch", new_template_path(:type=> "create") %></li>
<li<% if @type == "import" %> class="active"<% end %>><%= link_to "Importing Existing", new_template_path(:type=> "import") %></li>
<li class="nav-header">Template method:</li>
<li<% if @type == "create" %> class="active"<% end %>><%= link_to "Create from Scratch", new_template_path(:type=> "create") %></li>
<li<% if @type == "import" %> class="active"<% end %>><%= link_to "Import Existing", new_template_path(:type=> "import") %></li>
</ul>
</div>
<div class="span10">
Expand Down

0 comments on commit 52fcd80

Please sign in to comment.