Permalink
Browse files

starts of the landing page settings

  • Loading branch information...
1 parent 0e624c6 commit ff2760bcff2448287b1767e54ba20afd2e26eef9 @rauhryan rauhryan committed Apr 7, 2013
Showing with 84 additions and 18 deletions.
  1. +1 −1 public/css/main.min.css
  2. +48 −0 public/css/scss/_section.scss
  3. +1 −0 public/css/scss/main.scss
  4. +34 −17 views/repo.erb
Oops, something went wrong.
@@ -0,0 +1,48 @@
+%widget {
+ background-color: #f6f6f6;
+ padding: 1px;
+ border: 1px solid #ccc;
+ border-radius: 2px;
+ > .widget-header {
+ padding: 0px 5px;
+ border-bottom: 1px solid #ccc;
+ font-weight: bold;
+ }
+ > .widget-body {
+ padding: 5px;
+ background-color: #fff;
+ }
+}
+
+.widget-settings {
+ @include clearfix;
+ .widget-action {
+ float: left;
+ width: 30px;
+ }
+
+ .widget-body {
+ margin-left: 30px;
+
+ > .widget-header {
+ padding: 0px 5px;
+ border-bottom: 1px solid #ccc;
+ font-weight: bold;
+ }
+ }
+}
+
+.nav-section {
+
+ @extend %widget;
+ .widget-header {
+ h3 {
+ margin-top: 0;
+ color: #999;
+ }
+ }
+
+ .widget-body {
+
+ }
+}
@@ -7,6 +7,7 @@
@import "header";
@import "footer";
@import "overlay";
+@import "section";
.navbar {
&.navbar-fixed-top, &.navbar-static-top {
View
@@ -26,29 +26,46 @@
<div class="tabbable row">
<div class="span3">
<ul class="nav nav-list">
- <li class="active"><a href="#linked" data-toggle="tab">Linked repos</a></li>
- <li class=""><a href="#settings" data-toggle="tab">Settings</a></li>
+ <li class="active"><a href="#settings" data-toggle="tab">Options</a></li>
+ <li class=""><a href="#linked" data-toggle="tab">Linked repostories </a></li>
</ul>
</div>
<div class="span9">
-
- <div class="tab-content">
- <div class="tab-pane active" id="linked">
- <h3> Linked repos </h3>
- <ul>
- <% @actions.linked.labels.each do |label| %>
- <li> <%= label.name %> </li>
+ <div class="tab-content">
+ <div class="tab-pane active" id="settings">
+ <div class="nav-section">
+ <div class="widget-header" >
+ <h3> Settings </h3>
+ </div>
+ <div class="widget-body" >
+ <div class="widget-settings">
+ <div class="widget-action" >
+ <input name="settings" value="show_all" type="checkbox" checked />
+ </div>
+ <div class="widget-body" >
+ <div class="widget-header" >
+ Show all issues
+ </div>
+ Toggles whether all issues show up in the backlog column. Toggling this setting on will make your
+ board load faster, but only issues that have the lowest index label applied will show up in the backlog column
+ </div>
+ </div>
+ </div>
- <% end %>
- </ul>
- </div>
- <div class="tab-pane " id="settings">
- <h3> Settings </h3>
- <ul>
- </ul>
+ </div>
+ </div>
+ <div class="tab-pane " id="linked">
+ <h3> Linked repos </h3>
+ <ul>
+ <% @actions.linked.labels.each do |label| %>
+
+ <li> <%= label.name %> </li>
+
+ <% end %>
+ </ul>
+ </div>
</div>
</div>
- </div>
</div>

0 comments on commit ff2760b

Please sign in to comment.