Commit 627efddf authored by randx's avatar randx

migrated to bootstrap 2

parent 2bad798e
...@@ -31,7 +31,7 @@ gem "httparty" ...@@ -31,7 +31,7 @@ gem "httparty"
gem "charlock_holmes" gem "charlock_holmes"
gem "foreman" gem "foreman"
gem "omniauth-ldap" gem "omniauth-ldap"
gem 'bootstrap-sass', "1.4.4" gem 'bootstrap-sass', "2.0.2"
gem "colored" gem "colored"
gem 'yaml_db', :git => "https://github.com/gitlabhq/yaml_db.git" gem 'yaml_db', :git => "https://github.com/gitlabhq/yaml_db.git"
gem 'modularity' gem 'modularity'
......
...@@ -71,8 +71,7 @@ GEM ...@@ -71,8 +71,7 @@ GEM
awesome_print (1.0.2) awesome_print (1.0.2)
bcrypt-ruby (3.0.1) bcrypt-ruby (3.0.1)
blankslate (2.1.2.4) blankslate (2.1.2.4)
bootstrap-sass (1.4.4) bootstrap-sass (2.0.2)
sass-rails (~> 3.1)
builder (3.0.0) builder (3.0.0)
capybara (1.1.2) capybara (1.1.2)
mime-types (>= 1.16) mime-types (>= 1.16)
...@@ -306,7 +305,7 @@ DEPENDENCIES ...@@ -306,7 +305,7 @@ DEPENDENCIES
autotest autotest
autotest-rails autotest-rails
awesome_print awesome_print
bootstrap-sass (= 1.4.4) bootstrap-sass (= 2.0.2)
capybara capybara
carrierwave carrierwave
charlock_holmes charlock_holmes
......
...@@ -4,18 +4,18 @@ var MergeRequest = { ...@@ -4,18 +4,18 @@ var MergeRequest = {
init: init:
function() { function() {
$(".tabs a").live("click", function() { $(".nav-tabs a").live("click", function() {
$(".tabs a").parent().removeClass("active"); $(".nav-tabs a").parent().removeClass("active");
$(this).parent().addClass("active"); $(this).parent().addClass("active");
}); });
$(".tabs a.merge-notes-tab").live("click", function(e) { $(".nav-tabs a.merge-notes-tab").live("click", function(e) {
$(".merge-request-diffs").hide(); $(".merge-request-diffs").hide();
$(".merge_request_notes").show(); $(".merge_request_notes").show();
e.preventDefault(); e.preventDefault();
}); });
$(".tabs a.merge-diffs-tab").live("click", function(e) { $(".nav-tabs a.merge-diffs-tab").live("click", function(e) {
if(!MergeRequest.diffs_loaded) { if(!MergeRequest.diffs_loaded) {
MergeRequest.loadDiff(); MergeRequest.loadDiff();
} }
......
a {
outline: none;
color: $link_color;
&:hover {
text-decoration:none;
color: $blue_link;
}
&.btn {
color: $style_color;
}
&.dark {
color: $style_color;
}
&.lined {
text-decoration:underlined;
}
&.gray {
color:gray;
}
&.supp_diff_link {
text-align:center;
padding:20px 0;
background:#f1f1f1;
width:100%;
float:left;
}
&.neib {
margin-right:15px;
}
}
.btn {
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f1f1f1), color-stop(25%, #f1f1f1), to(#e6e6e6));
background-image: -webkit-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
background-image: -moz-linear-gradient(top, #f1f1f1, #f1f1f1 25%, #e6e6e6);
background-image: -ms-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
background-image: -o-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
background-image: linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
&:hover {
}
&.primary {
background:$link_color;
&:hover {
background:$blue_link;
}
}
}
a:focus {
outline: none;
}
.vlink {
color: $link_color !important;
}
.pills a:hover {
background-color:#ccc;
}
.pills .active a {
background-color: #aaa;
}
.label {
background-color: #474D57;
}
.pretty_label {
@include round-borders-all(4px);
padding:2px 4px;
background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8));
background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8);
background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8);
background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8);
color: #777;
border: 1px solid #DEDFE1;
&.branch {
border:none;
font-size:13px;
background: #474D57;
color:#fff;
font-family: monospace;
}
}
.event_label {
background: #FCEEC1;
padding:0 2px;
font-family: monospace;
}
.tabs > li > a, .pills > li > a {
color:$style_color;
}
.diff_file_header a, .diff_file_header a,
.file_stats a { .file_stats a {
color:$style_color; color:$style_color;
} }
/** COLORS **/
.cgray { color:gray; }
.cred { color:#D12F19; }
.cgreen { color:#44aa22; }
.cblack { color:#111; }
.cwhite { color:#fff !important }
/** COMMON STYLES **/
.left {
float:left;
}
.right {
float:right !important;
}
.width-50p{
width:50%;
}
.width-49p{
width:49%;
}
.width-30p{
width:30%;
}
.width-65p{
width:65%;
}
.width-100p{
width:100%;
}
.append-bottom-10 {
margin-bottom:10px;
}
.append-bottom-20 {
margin-bottom:20px;
}
.prepend-top-10 {
margin-top:10px;
}
.prepend-top-20 {
margin-top:20px;
}
.padded {
padding:20px;
}
.ipadded {
padding:20px !important;
}
.lborder {
border-left:1px solid #eee;
}
.no-borders {
border:none;
}
table.no-borders {
border:none;
tr, td { border:none }
}
.no-padding {
padding:0 !important;
}
.underlined {
border-bottom: 1px solid $border_color;
}
/** LAYOUT **/ /** LAYOUT **/
.container { .container {
width:$min_app_width;
padding-top:0; padding-top:0;
z-index:5; z-index:5;
min-width:$min_app_width;
padding:0 20px
} }
.container .content { .container .content {
margin:0 $app_padding; margin:0 0;
} }
.container .sidebar { .container .sidebar {
...@@ -212,7 +42,7 @@ header { ...@@ -212,7 +42,7 @@ header {
cursor: pointer; cursor: pointer;
img { img {
border-radius: 4px; border-radius: 4px;
right: 20px; right: 0px;
position: absolute; position: absolute;
width: 33px; width: 33px;
height: 33px; height: 33px;
...@@ -271,7 +101,7 @@ header { ...@@ -271,7 +101,7 @@ header {
border-radius: 5px; border-radius: 5px;
width: 100px; width: 100px;
position: absolute; position: absolute;
right: 20px; right: 10px;
top: 46px; top: 46px;
margin-top: 0; margin-top: 0;
float: right; float: right;
...@@ -319,7 +149,7 @@ header { ...@@ -319,7 +149,7 @@ header {
nav.main_menu { nav.main_menu {
border-radius: 4px; border-radius: 4px;
margin: auto; margin: auto;
margin:30px $app_padding; margin:30px 0;
background:#eee; background:#eee;
border:1px solid #bbb; border:1px solid #bbb;
height:38px; height:38px;
...@@ -338,6 +168,14 @@ nav.main_menu { ...@@ -338,6 +168,14 @@ nav.main_menu {
color:$style_color; color:$style_color;
} }
a { a {
// Landscape phone to portrait tablet
@media (max-width: 1080px) { min-width:35px; }
// Portrait tablet to landscape and desktop
@media (min-width: 1080px) and (max-width: 1200px) { min-width:40px; }
// Large desktop
@media (min-width: 1200px) { min-width:55px; }
text-align:center;
font-weight:bold; font-weight:bold;
&:first-child{ &:first-child{
-webkit-border-top-left-radius: 4px; -webkit-border-top-left-radius: 4px;
...@@ -357,7 +195,7 @@ nav.main_menu { ...@@ -357,7 +195,7 @@ nav.main_menu {
&.home { &.home {
background: url(home_icon.PNG) no-repeat center center; background: url(home_icon.PNG) no-repeat center center;
text-indent:-9999px; text-indent:-9999px;
min-width:40px; //min-width:40px;
img { img {
position:relative; position:relative;
top:4px; top:4px;
...@@ -377,23 +215,6 @@ nav.main_menu { ...@@ -377,23 +215,6 @@ nav.main_menu {
* *
*/ */
img.avatar {
float:left;
margin-right:15px;
width:40px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
img.lil_av {
padding-left: 5px;
position: relative;
top: 3px;
}
.profile_avatar_holder { .profile_avatar_holder {
float:left; float:left;
width:60px; width:60px;
...@@ -406,67 +227,11 @@ img.lil_av { ...@@ -406,67 +227,11 @@ img.lil_av {
} }
} }
.wll {
background-color: #FFF;
padding: 10px 5px;
min-height: 20px;
border-bottom: 1px solid #eee;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
cursor:pointer;
&.smoke {
background-color:#f5f5f5;
}
&:hover {
background:$hover;
}
&:last-child { border:none }
p { padding-top:5px; margin:0; color:$style_color;}
.author { color: #999; }
p {
color:#222;
margin-bottom: 0;
img {
position:relative;
top:3px;
}
}
}
.visible_link, .visible_link,
.author_link { .author_link {
color: $link_color; color: $link_color;
} }
.entry {
position: relative;
padding: 7px 15px;
margin-bottom: 18px;
color: #404040;
filter:none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
background:#F1F1F1;
border: 1px solid #ccc;
p {
color:$style_color;
margin-bottom: 0;
img {
position:relative;
top:3px;
}
}
}
.widget { .widget {
@include shade; @include shade;
...@@ -492,86 +257,6 @@ img.lil_av { ...@@ -492,86 +257,6 @@ img.lil_av {
} }
} }
.ui-box {
margin-bottom: 40px;
@include round-borders-all(4px);
@include shade;
border-color:#ddd;
ul {
margin:0;
}
h5, .title {
padding: 0 10px;
background:#f5f5f5;
border-bottom: 1px solid #eee;
@include round-borders-top(4px);
border-top:none;
form {
padding:9px 0;
margin:0px;
}
.pills {
li {
padding:3px 0;
&.active a { background-color:$style_color; }
a {
border-radius:7px;
}
}
}
}
.bottom {
background:#f5f5f5;
border-top: 1px solid #eee;
@include round-borders-bottom(4px);
border-bottom:none;
}
&.padded {
h5, .title {
margin: -20px;
margin-bottom: 0;
padding: 5px 20px;
}
.middle_title {
background:#f5f5f5;
margin:20px -20px;
padding: 0 20px;
border-top:1px solid #eee;
border-bottom:1px solid #eee;
font-size:14px;
color:#777;
}
}
.row_title {
font-weight:bold;
color:#444;
&:hover {
text-decoration:underline;
}
}
li, .wll {
padding:10px;
&:first-child {
@include round-borders-top(4px);
border-top:none;
}
&:last-child {
@include round-borders-bottom(4px);
border:none;
}
}
}
.help li { color:#111 } .help li { color:#111 }
.back_link { .back_link {
...@@ -591,11 +276,6 @@ img.lil_av { ...@@ -591,11 +276,6 @@ img.lil_av {
} }
} }
.borders {
border: 1px solid #ccc;
@include shade;
}
.download_repo_link { .download_repo_link {
background: url("images.png") no-repeat 0 -48px; background: url("images.png") no-repeat 0 -48px;
padding-left:20px; padding-left:20px;
...@@ -623,6 +303,7 @@ table a code { ...@@ -623,6 +303,7 @@ table a code {
.btn.padded { .btn.padded {
margin-right:3px; margin-right:3px;
padding:4px 10px 4px;
} }
.loading { .loading {
...@@ -726,7 +407,7 @@ a.project-update.titled { ...@@ -726,7 +407,7 @@ a.project-update.titled {
input.git_clone_url { input.git_clone_url {
width:475px; width:325px;
} }
.merge-request-form-holder { .merge-request-form-holder {
...@@ -874,7 +555,7 @@ li.commit { ...@@ -874,7 +555,7 @@ li.commit {
} }
code { code {
padding:4px; padding:0px;
} }
} }
p.time { p.time {
......
a {
outline: none;
color: $link_color;
&:hover {
text-decoration:none;
color: $blue_link;
}
&.btn {
color: $style_color;
}
&.dark {
color: $style_color;
}
&.lined {
text-decoration:underlined;
}
&.gray {
color:gray;
}
&.supp_diff_link {
text-align:center;
padding:20px 0;
background:#f1f1f1;
width:100%;
float:left;
}
&.neib {
margin-right:15px;
}
}
.alert-message {
@extend .alert;
&.success {
@extend .alert-success;
}
&.error {
@extend .alert-error;
}
}
.alert {
&.alert-well {
background:#ddd;
border:1px solid #ccc;
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #ddd), to(#dfdfdf));
background-image: -webkit-linear-gradient(#ddd 6.6%, #dfdfdf);
background-image: -moz-linear-gradient(#ddd 6.6%, #dfdfdf);
background-image: -o-linear-gradient(#ddd 6.6%, #dfdfdf);
color:#111;
}
}
h3, h4, h5, h6 {
line-height: 36px;
}
code {
background:#FCEEC1;
color:$style_color;
}
table {
width:100%;
th {
padding-top: 9px;
font-weight: bold;
vertical-align: middle;
}
th, td {
padding: 10px 10px 9px;
line-height: 18px;
text-align: left;
}
&.bordered-table {
border: 1px solid #DDD;
border-collapse: separate;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
&.zebra-striped {
@extend .table-striped;
}
}
.btn {
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f1f1f1), color-stop(25%, #f1f1f1), to(#e6e6e6));
background-image: -webkit-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
background-image: -moz-linear-gradient(top, #f1f1f1, #f1f1f1 25%, #e6e6e6);
background-image: -ms-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
background-image: -o-linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
background-image: linear-gradient(#f1f1f1, #f1f1f1 25%, #e6e6e6);
&:hover {
}
&.btn-primary {
background:$link_color;
&:hover {
background:$blue_link;
}
}
&.danger,
&.btn-danger {
background:#DD4B39;
color:white;
border-color:#990000;
text-shadow:0 0 1px #111;
&:hover {
color:white;
background:#DD0000;
}
}
&.small {
@extend .btn-small;
}
}
a:focus {
outline: none;
}
.nav-pills a:hover {
background-color:#ccc;
}
.nav-pills .active a {
background-color: #aaa;
}
.label {
background-color: #474D57;
}
.nav-tabs > li > a, .nav-pills > li > a {
color:$style_color;
}
/** COLORS **/
.cgray { color:gray; }
.cred { color:#D12F19; }
.cgreen { color:#44aa22; }
.cblack { color:#111; }
.cwhite { color:#fff !important }
/** COMMON STYLES **/
.left {
float:left;
}
.right {
float:right !important;
}
.width-50p{
width:50%;
}
.width-49p{
width:49%;
}
.width-30p{
width:30%;
}
.width-65p{
width:65%;
}
.width-100p{
width:100%;
}
.append-bottom-10 {
margin-bottom:10px;
}
.append-bottom-20 {
margin-bottom:20px;
}
.prepend-top-10 {
margin-top:10px;
}
.prepend-top-20 {
margin-top:20px;
}
.padded {
padding:20px;
}
.ipadded {
padding:20px !important;
}
.lborder {
border-left:1px solid #eee;
}
.borders {
border: 1px solid #ccc;
@include shade;
}
.no-borders {
border:none;
}
table.no-borders {
border:none;
tr, td { border:none }
}
.no-padding {
padding:0 !important;
}
.underlined {
border-bottom: 1px solid $border_color;
}
.vlink {
color: $link_color !important;
}
.pretty_label {
@include round-borders-all(4px);
padding:2px 4px;
background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.076, #fefefe), to(#F6F7F8));
background-image: -webkit-linear-gradient(#fefefe 7.6%, #F6F7F8);
background-image: -moz-linear-gradient(#fefefe 7.6%, #F6F7F8);
background-image: -o-linear-gradient(#fefefe 7.6%, #F6F7F8);
color: #777;
border: 1px solid #DEDFE1;
&.branch {
border:none;
font-size:13px;
background: #474D57;
color:#fff;
font-family: monospace;
}
}
.event_label {
background: #FCEEC1;
padding:0 2px;
font-family: monospace;
}
img.avatar {
float:left;
margin-right:15px;
width:40px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
img.lil_av {
padding-left: 4px;
padding-right:3px;
}
form {
@extend .form-horizontal;
.actions {
@extend .form-actions;
}
.clearfix {
@extend .control-group;
}
.input {
@extend .controls;
}
label {
@extend .control-label;
}
.xlarge {
@extend .input-xlarge;
}
.xxlarge {
@extend .input-xxlarge;
}
}
/**
* List li block element #1
*
*/
.wll {
background-color: #FFF;
padding: 10px 5px;
min-height: 20px;
border-bottom: 1px solid #eee;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
cursor:pointer;
&.smoke {
background-color:#f5f5f5;
}
&:hover {
background:$hover;
}
&:last-child { border:none }
p { padding-top:5px; margin:0; color:$style_color;}
.author { color: #999; }
p {
color:#222;
margin-bottom: 0;
img {
position:relative;
top:3px;
}
}
}
/**
* Block element #2
*
*/
.entry {
position: relative;
padding: 7px 15px;
margin-bottom: 18px;
color: #404040;
filter:none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
background:#F1F1F1;
border: 1px solid #ccc;
p {
color:$style_color;
margin-bottom: 0;
img {
position:relative;
top:3px;
}
}
}
/**
* Big UI Block for show page content
*
*/
.ui-box {
margin-bottom: 40px;
@include round-borders-all(4px);
@include shade;
border-color:#ddd;
ul {
margin:0;
}
h5, .title {
padding: 0 10px;
background:#f5f5f5;
border-bottom: 1px solid #eee;
@include round-borders-top(4px);
border-top:none;
form {
padding:9px 0;
margin:0px;
}
.pills {
li {
padding:3px 0;
&.active a { background-color:$style_color; }
a {
border-radius:7px;
}
}
}
}
.bottom {
background:#f5f5f5;
border-top: 1px solid #eee;
@include round-borders-bottom(4px);
border-bottom:none;
}
&.padded {
h5, .title {
margin: -20px;
margin-bottom: 0;
padding: 5px 20px;
}
.middle_title {
background:#f5f5f5;
margin:20px -20px;
padding: 0 20px;
border-top:1px solid #eee;
border-bottom:1px solid #eee;
font-size:14px;
color:#777;
}
}
.row_title {
font-weight:bold;
color:#444;
&:hover {
text-decoration:underline;
}
}
li, .wll {
padding:10px;
&:first-child {
@include round-borders-top(4px);
border-top:none;
}
&:last-child {
@include round-borders-bottom(4px);
border:none;
}
}
}
@import "bootstrap"; @import "bootstrap";
@import "bootstrap-responsive";
/** GITLAB colors **/ /** GITLAB colors **/
$text_color:#222; $text_color:#222;
...@@ -75,6 +76,14 @@ $hover: #FDF5D9; ...@@ -75,6 +76,14 @@ $hover: #FDF5D9;
*/ */
@import "ui_mars.scss"; @import "ui_mars.scss";
/**
* Gitlab bootstrap.
* Overrides some styles of twitter bootstrap.
* Also give some common classes for gitlab app
*/
@import "gitlab_bootstrap.scss";
/** /**
* Most of application styles placed here. * Most of application styles placed here.
* This file represent common UI that should not be changed between themes * This file represent common UI that should not be changed between themes
......
...@@ -124,14 +124,17 @@ ...@@ -124,14 +124,17 @@
.tree-item { .tree-item {
.tree-item-file-name { .tree-item-file-name {
vertical-align:middle;
font-weight:bold; font-weight:bold;
a { a {
color:$style_color; color:$style_color;
&:hover {
color:$blue_link;
}
} }
img { img {
position: relative; position: relative;
top: 2px;
} }
} }
} }
...@@ -139,6 +142,10 @@ ...@@ -139,6 +142,10 @@
ul.breadcrumb { ul.breadcrumb {
background:white; background:white;
border:none; border:none;
li {
display: inline;
text-shadow: 0 1px 0 white
}
a { a {
color:#474D57; color:#474D57;
...@@ -149,6 +156,7 @@ ...@@ -149,6 +156,7 @@
#tree-slider { #tree-slider {
@include shade; @include shade;
width:100%;
border-color:#ccc; border-color:#ccc;
......
...@@ -63,15 +63,11 @@ ...@@ -63,15 +63,11 @@
} }
} }
} }
.wrapper { .container {
.top_panel_content {
margin:auto; margin:auto;
min-width:$min_app_width;
max-width:$max_app_width;
position:relative; position:relative;
padding:15px 0; padding:15px 0;
.top_panel_content {
margin:0 $app_padding;
} }
} }
......
...@@ -123,7 +123,7 @@ module ApplicationHelper ...@@ -123,7 +123,7 @@ module ApplicationHelper
end end
def app_theme def app_theme
if current_user && current_user.theme_id == 1 if true#current_user && current_user.theme_id == 1
"ui_basic" "ui_basic"
else else
"ui_mars" "ui_mars"
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
= @admin_project.description = @admin_project.description
.span-14 .span12
%h3 %h3
Team Team
......
%ul.tabs %ul.nav.nav-tabs
%li %li
= form_tag switch_project_refs_path(@project), :method => :get, :class => "project-refs-form" do = form_tag switch_project_refs_path(@project), :method => :get, :class => "project-refs-form" do
= select_tag "ref", grouped_options_refs, :onchange => "$(this.form).trigger('submit');", :class => "project-refs-select" = select_tag "ref", grouped_options_refs, :onchange => "$(this.form).trigger('submit');", :class => "project-refs-select"
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
%br %br
= link_to profile_path, :class => "btn" do = link_to profile_path, :class => "btn" do
Your Profile » Your Profile »
.span12.left= render "dashboard/projects_feed", :projects => @active_projects .span8.left= render "dashboard/projects_feed", :projects => @active_projects
- if @last_push && @last_push.valid_push? - if @last_push && @last_push.valid_push?
.padded.prepend-top-20 .padded.prepend-top-20
%h5 %h5
......
.tabs %ul.nav.nav-tabs
%li{:class => "#{'active' if current_page?(project_issues_path(@project))}"} %li{:class => "#{'active' if current_page?(project_issues_path(@project))}"}
= link_to project_issues_path(@project), :class => "tab" do = link_to project_issues_path(@project), :class => "tab" do
Browse Issues Browse Issues
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
.title .title
.row .row
.span6 .span6
%ul.pills.left %ul.nav.nav-pills.left
%li{:class => ("active" if (params[:f] == "0" || !params[:f]))} %li{:class => ("active" if (params[:f] == "0" || !params[:f]))}
= link_to project_issues_path(@project, :f => 0) do = link_to project_issues_path(@project, :f => 0) do
Open Open
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
= link_to project_issues_path(@project, :f => 1) do = link_to project_issues_path(@project, :f => 1) do
All All
.span6.right .span4.right
= form_tag project_issues_path(@project), :method => :get, :class => :right do = form_tag project_issues_path(@project), :method => :get, :class => :right do
= select_tag(:milestone_id, options_from_collection_for_select(@project.milestones.order("id desc").all, "id", "title", params[:milestone_id]), :prompt => "Select milestone") = select_tag(:milestone_id, options_from_collection_for_select(@project.milestones.order("id desc").all, "id", "title", params[:milestone_id]), :prompt => "Select milestone")
......
/ Page Header / Page Header
%header.top_panel_holder %header.top_panel_holder
.wrapper .container
.top_panel_content .top_panel_content
%div.app_logo %div.app_logo
= link_to root_path, :class => "home", :title => "Home" do = link_to root_path, :class => "home", :title => "Home" do
......
= form_for [@project, @merge_request] do |f| = form_for [@project, @merge_request], :html => { :class => "new_merge_request form-horizontal" } do |f|
-if @merge_request.errors.any? -if @merge_request.errors.any?
.alert-message.block-message.error .alert-message.block-message.error
%ul %ul
- @merge_request.errors.full_messages.each do |msg| - @merge_request.errors.full_messages.each do |msg|
%li= msg %li= msg
.clearfix .control-group
= f.label :title = f.label :title, :class => "control-label"
.input= f.text_area :title, :class => "xxlarge", :maxlength => 255, :rows => 5 .controls= f.text_area :title, :class => "input-xxlarge", :maxlength => 255, :rows => 5
.clearfix .control-group
= f.label :source_branch, "From" = f.label :source_branch, "From", :class => "control-label"
.input .controls
= f.select(:source_branch, @project.heads.map(&:name), { :include_blank => "Select branch" }, :style => "width:250px") = f.select(:source_branch, @project.heads.map(&:name), { :include_blank => "Select branch" }, :style => "width:250px")
.mr_source_commit .mr_source_commit
.clearfix .control-group
= f.label :target_branch, "To" = f.label :target_branch, "To", :class => "control-label"
.input .controls
= f.select(:target_branch, @project.heads.map(&:name), { :include_blank => "Select branch" }, :style => "width:250px") = f.select(:target_branch, @project.heads.map(&:name), { :include_blank => "Select branch" }, :style => "width:250px")
.mr_target_commit .mr_target_commit
.clearfix .clearfix
= f.label :assignee_id, "Assign to" = f.label :assignee_id, "Assign to", :class => "control-label"
.input= f.select(:assignee_id, @project.users.all.collect {|p| [ p.name, p.id ] }, { :include_blank => "Select user" }, :style => "width:250px") .controls= f.select(:assignee_id, @project.users.all.collect {|p| [ p.name, p.id ] }, { :include_blank => "Select user" }, :style => "width:250px")
.actions .form-actions
= f.submit 'Save', :class => "primary btn" = f.submit 'Save', :class => "btn-primary btn"
- if @merge_request.new_record? - if @merge_request.new_record?
= link_to project_merge_requests_path(@project), :class => "btn" do = link_to project_merge_requests_path(@project), :class => "btn" do
Cancel Cancel
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
.ui-box .ui-box
.title .title
%ul.pills %ul.nav.nav-pills
%li{:class => ("active" if (params[:f] == "0" || !params[:f]))} %li{:class => ("active" if (params[:f] == "0" || !params[:f]))}
= link_to project_merge_requests_path(@project, :f => 0) do = link_to project_merge_requests_path(@project, :f => 0) do
Open Open
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
= render "merge_requests/commits" = render "merge_requests/commits"
- unless @commits.empty? - unless @commits.empty?
.tabs .nav.nav-tabs
%li.active %li.active
= link_to "#notes", :class => "merge-notes-tab tab" do = link_to "#notes", :class => "merge-notes-tab tab" do
Notes Notes
......
...@@ -5,33 +5,33 @@ ...@@ -5,33 +5,33 @@
%hr %hr
= form_for [@project, @milestone] do |f| = form_for [@project, @milestone], :html => {:class => "new_milestone form-horizontal"} do |f|
-if @milestone.errors.any? -if @milestone.errors.any?
.alert-message.block-message.error .alert-message.block-message.error
%ul %ul
- @milestone.errors.full_messages.each do |msg| - @milestone.errors.full_messages.each do |msg|
%li= msg %li= msg
.row .row
.span7 .span6
.clearfix .control-group
= f.label :title, "Title" = f.label :title, "Title", :class => "control-label"
.input .controls
= f.text_field :title, :maxlength => 255, :class => "xlarge" = f.text_field :title, :maxlength => 255, :class => "input-xlarge"
%p.hint Required %p.help-block Required
.clearfix .control-group
= f.label :description, "Description" = f.label :description, "Description", :class => "control-label"
.input .controls
= f.text_area :description, :maxlength => 2000, :class => "xlarge", :rows => 10 = f.text_area :description, :maxlength => 2000, :class => "input-xlarge", :rows => 10
%p.hint Markdown is enabled. %p.help-block Markdown is enabled.
.span8 .span6
.clearfix .control-group
= f.label :due_date, "Due Date" = f.label :due_date, "Due Date", :class => "control-label"
.input= f.hidden_field :due_date .input= f.hidden_field :due_date
.input .controls
.datepicker .datepicker
.actions .form-actions
- if @milestone.new_record? - if @milestone.new_record?
= f.submit 'Create milestone', :class => "primary btn" = f.submit 'Create milestone', :class => "primary btn"
-else -else
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
%br %br
%div.ui-box %div.ui-box
.title .title
%ul.pills %ul.nav.nav-pills
%li{:class => ("active" if (params[:f] == "0" || !params[:f]))} %li{:class => ("active" if (params[:f] == "0" || !params[:f]))}
= link_to project_milestones_path(@project, :f => 0) do = link_to project_milestones_path(@project, :f => 0) do
Active Active
......
= form_for @user, :url => profile_update_path, :remote => true, :method => :put do |f| = form_for @user, :url => profile_update_path, :remote => true, :method => :put do |f|
-#%div
%h3 Application theme %h3 Application theme
%hr %hr
.clearfix .clearfix
...@@ -13,18 +14,20 @@ ...@@ -13,18 +14,20 @@
%h3 Code review %h3 Code review
%hr %hr
.row .row
%label.span4{:for => "user_dark_scheme_false"} %label.span3{:for => "user_dark_scheme_false"}
%center .thumbnail
%h4 = image_tag "white.png", :width => 260, :class => "styled_image"
.caption
%h5
= f.radio_button :dark_scheme, false = f.radio_button :dark_scheme, false
White code preview White code preview
= image_tag "white.png", :width => 210, :class => "styled_image" %label.span3{:for => "user_dark_scheme_true"}
%label.span4{:for => "user_dark_scheme_true"} .thumbnail
%center = image_tag "dark.png", :width => 260, :class => "styled_image"
%h4 .caption
%h5
= f.radio_button :dark_scheme, true = f.radio_button :dark_scheme, true
Dark code preview Dark code preview
= image_tag "dark.png", :width => 210, :class => "styled_image"
:javascript :javascript
$(function(){ $(function(){
......
.row .row
.span8 .span6
.thumbnail
.caption
%h3 Password %h3 Password
%hr %hr
= form_for @user, :url => profile_password_path, :method => :put do |f| = form_for @user, :url => profile_password_path, :method => :put do |f|
...@@ -18,10 +20,12 @@ ...@@ -18,10 +20,12 @@
.clearfix .clearfix
= f.label :password_confirmation = f.label :password_confirmation
.input= f.password_field :password_confirmation .input= f.password_field :password_confirmation
.actions %hr
= f.submit 'Save', :class => "btn" = f.submit 'Save', :class => "btn"
.span7.right .span6.right
.thumbnail
.caption
%h3 %h3
Private token Private token
%span.cred.right %span.cred.right
...@@ -38,7 +42,7 @@ ...@@ -38,7 +42,7 @@
= text_field_tag "token", current_user.private_token = text_field_tag "token", current_user.private_token
- else - else
You don`t have one yet. Click generate to fix it. You don`t have one yet. Click generate to fix it.
.actions %hr
- if current_user.private_token - if current_user.private_token
= f.submit 'Reset', :confirm => "Are you sure?", :class => "btn" = f.submit 'Reset', :confirm => "Are you sure?", :class => "btn"
- else - else
......
.row .row
.span10 .span8
.profile_avatar_holder .profile_avatar_holder
= image_tag gravatar_icon(@user.email, 90), :class => "styled_image" = image_tag gravatar_icon(@user.email, 90), :class => "styled_image"
%h3 %h3
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
%small %small
= @user.email = @user.email
.span6.right .span4.right
%div %div
%div %div
%h5.cgray %h5.cgray
...@@ -23,45 +23,45 @@ ...@@ -23,45 +23,45 @@
%span= current_user.keys.count %span= current_user.keys.count
%hr %hr
= form_for @user, :url => profile_update_path, :method => :put do |f| = form_for @user, :url => profile_update_path, :method => :put, :html => { :class => "edit_user form-horizontal" } do |f|
-if @user.errors.any? -if @user.errors.any?
%div.alert-message.block-message.error %div.alert-message.block-message.error
%ul %ul
- @user.errors.full_messages.each do |msg| - @user.errors.full_messages.each do |msg|
%li= msg %li= msg
.row .row
.span9 .span7
.clearfix .control-group
= f.label :name = f.label :name, :class => "control-label"
.input .controls
= f.text_field :name, :class => "xlarge" = f.text_field :name, :class => "input-xlarge"
%span.help-block Enter youre name, so people you know can recognize you. %span.help-block Enter youre name, so people you know can recognize you.
.clearfix .control-group
= f.label :email = f.label :email, :class => "control-label"
.input .controls
= f.text_field :email, :class => "xlarge" = f.text_field :email, :class => "input-xlarge"
%span.help-block We also use email for avatar detection %span.help-block We also use email for avatar detection
.clearfix .control-group
= f.label :skype = f.label :skype, :class => "control-label"
.input= f.text_field :skype, :class => "xlarge" .controls= f.text_field :skype, :class => "input-xlarge"
.clearfix .control-group
= f.label :linkedin = f.label :linkedin, :class => "control-label"
.input= f.text_field :linkedin, :class => "xlarge" .controls= f.text_field :linkedin, :class => "input-xlarge"
.clearfix .control-group
= f.label :twitter = f.label :twitter, :class => "control-label"
.input= f.text_field :twitter, :class => "xlarge" .controls= f.text_field :twitter, :class => "input-xlarge"
.clearfix .control-group
= f.label :bio = f.label :bio, :class => "control-label"
.input .controls
= f.text_area :bio, :rows => 6, :class => "xlarge", :maxlength => 250 = f.text_area :bio, :rows => 6, :class => "input-xlarge", :maxlength => 250
%span.help-block About yourself in fewer than 250 characters. %span.help-block About yourself in fewer than 250 characters.
.span7.right .span5.right
%p.alert-message.block-message %p.alert-message.block-message
%strong Tip: %strong Tip:
You can change your avatar at gravatar.com You can change your avatar at gravatar.com
.actions .form-actions
= f.submit 'Save', :class => "primary btn" = f.submit 'Save', :class => "btn-primary btn"
-#= link_to "New project", new_project_path, :class => "btn small padded" -#= link_to "New project", new_project_path, :class => "btn small padded"
-#= link_to "New public key", new_key_path, :class => "btn small" -#= link_to "New public key", new_key_path, :class => "btn small"
%ul.tabs %ul.nav.nav-tabs
%li{ :class => "#{'active' if current_page?(project_path(@project)) }" } %li{ :class => "#{'active' if current_page?(project_path(@project)) }" }
= link_to project_path(@project), :class => "activities-tab tab" do = link_to project_path(@project), :class => "activities-tab tab" do
Show Show
......
- if @projects.any? - if @projects.any?
.row .row
.span11 .span8
= render @events = render @events
.span5.right .span4.right
%div.leftbar.ui-box %div.leftbar.ui-box
%h5 %h5
Projects Projects
......
= render "project_head" = render "project_head"
.main_box
.top_box_content .alert.alert-info
%h3 .row
= @project.name -#.span2
%span.right .back_link
= link_to projects_path do
← To projects list
.span7
.form-horizontal
.input-prepend
%span.add-on git clone
= text_field_tag :project_clone, @project.url_to_repo, :class => "one_click_select span5"
.span4.right
.right
- if can? current_user, :download_code, @project - if can? current_user, :download_code, @project
= link_to "Download", archive_project_repository_path(@project), :class => "btn small padded" = link_to "Download", archive_project_repository_path(@project), :class => "btn small padded"
- if @project.merge_requests_enabled && can?(current_user, :write_merge_request, @project) - if @project.merge_requests_enabled && can?(current_user, :write_merge_request, @project)
...@@ -12,18 +21,7 @@ ...@@ -12,18 +21,7 @@
- if @project.issues_enabled && can?(current_user, :write_issue, @project) - if @project.issues_enabled && can?(current_user, :write_issue, @project)
= link_to new_project_issue_path(@project), :title => "New Issue", :class => "btn small" do = link_to new_project_issue_path(@project), :title => "New Issue", :class => "btn small" do
Issue Issue
.back_link
= link_to projects_path do
← To projects list
.middle_box_content
.input
.input-prepend
%span.add-on git clone
= text_field_tag :project_clone, @project.url_to_repo, :class => "xlarge one_click_select git_clone_url"
- if @project.description.present?
.bottom_box_content
.markdown= markdown @project.description
- unless @events.blank? - unless @events.blank?
%br %br
%h5.cgray %h5.cgray
......
= render "project_head" = render "project_head"
- if can? current_user, :admin_team_member, @project - if can? current_user, :admin_team_member, @project
.alert-message.block-message .alert.alert-info
= link_to new_project_team_member_path(@project), :class => "btn small right", :title => "New Team Member" do = link_to new_project_team_member_path(@project), :class => "btn small right", :title => "New Team Member" do
New Team Member New Team Member
%p Read more about project permissions #{link_to "here", help_permissions_path, :class => "vlink"} %p
Read more about project permissions
%strong= link_to "here", help_permissions_path, :class => "vlink"
%p To open team member profile - click on avatar. %p To open team member profile - click on avatar.
......
= render "repositories/branches_head" = render "repositories/branches_head"
.alert-message.block-message .alert
%p Protected branches designed to prevent push for all except #{link_to "masters", help_permissions_path, :class => "vlink"}. %p Protected branches designed to prevent push for all except #{link_to "masters", help_permissions_path, :class => "vlink"}.
%p This ability allows: %p This ability allows:
%ul %ul
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
- unless @branches.empty? - unless @branches.empty?
%table.zebra-striped %table.table-striped
%thead %thead
%tr %tr
%th Name %th Name
......
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
.row .row
.span1.file_icon= image_tag(file.image? ? "file_img.png" : "file_txt.png") .span1.file_icon= image_tag(file.image? ? "file_img.png" : "file_txt.png")
.span2.mode_text= file.mode .span2.mode_text= file.mode
.span7.file_name= name .span5.file_name= name
.span4.right .span3.right
= link_to "raw", blob_project_ref_path(@project, @ref, :path => params[:path]), :class => "right", :target => "_blank" = link_to "raw", blob_project_ref_path(@project, @ref, :path => params[:path]), :class => "right", :target => "_blank"
= link_to "history", project_commits_path(@project, :path => params[:path], :ref => @ref), :class => "right", :style => "margin-right:10px;" = link_to "history", project_commits_path(@project, :path => params[:path], :ref => @ref), :class => "right", :style => "margin-right:10px;"
- if file.text? - if file.text?
.view_file_content .view_file_content
- unless file.empty? - unless file.empty?
%div{:class => current_user.dark_scheme ? "black" : ""} %div{:class => current_user.dark_scheme ? "black" : "white"}
:erb :erb
<%= raw file.colorize %> <%= raw file.colorize %>
- else - else
......
%ul.tabs %ul.nav.nav-tabs
%li %li
= form_tag switch_project_refs_path(@project), :method => :get, :class => "project-refs-form", :remote => true do = form_tag switch_project_refs_path(@project), :method => :get, :class => "project-refs-form", :remote => true do
= select_tag "ref", grouped_options_refs, :onchange => "$(this.form).trigger('submit');", :class => "project-refs-select" = select_tag "ref", grouped_options_refs, :onchange => "$(this.form).trigger('submit');", :class => "project-refs-select"
......
= render "commits/head" = render "commits/head"
%ul.pills %ul.nav.nav-pills
%li{:class => ("active" if current_page?(project_repository_path(@project)))} %li{:class => ("active" if current_page?(project_repository_path(@project)))}
= link_to project_repository_path(@project) do = link_to project_repository_path(@project) do
Recent Recent
......
= render "repositories/branches_head" = render "repositories/branches_head"
- unless @branches.empty? - unless @branches.empty?
%table.zebra-striped.borders %table.table-striped.borders
%tbody %tbody
- @branches.each do |branch| - @branches.each do |branch|
= render "repositories/branch", :branch => branch = render "repositories/branch", :branch => branch
= render "commits/head" = render "commits/head"
- unless @tags.empty? - unless @tags.empty?
%table.zebra-striped.borders %table.table-striped.borders
- @tags.each do |tag| - @tags.each do |tag|
%tr %tr
%td %td
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
.padded .padded
= label_tag :search, "Looking for" = label_tag :search, "Looking for"
.input .input
= text_field_tag :search, params[:search],:placeholder => "issue 143", :class => "xxlarge" = text_field_tag :search, params[:search],:placeholder => "issue 143", :class => "input-xxlarge"
= submit_tag 'Search', :class => "btn primary" = submit_tag 'Search', :class => "btn btn-primary"
- if params[:search].present? - if params[:search].present?
%br %br
%h3 Search results %h3 Search results
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
&larr; To team list &larr; To team list
%br %br
.row .row
.span8 .span6
%table.no-borders %table.no-borders
%tr %tr
%td Email %td Email
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
%tr %tr
%td Bio %td Bio
%td= user.bio %td= user.bio
.span8 .span6
%table.no-borders %table.no-borders
%tr %tr
%td Member since %td Member since
...@@ -50,8 +50,9 @@ ...@@ -50,8 +50,9 @@
%hr %hr
= render user.recent_events.limit(3) = render user.recent_events.limit(3)
- if can? current_user, :admin_project, @project - if can? current_user, :admin_project, @project
.actions .form-horizontal
= link_to 'Remove from team', project_team_member_path(:project_id => @project, :id => @team_member.id), :confirm => 'Are you sure?', :method => :delete, :class => "btn danger" .form-actions
= link_to 'Remove from team', project_team_member_path(:project_id => @project, :id => @team_member.id), :confirm => 'Are you sure?', :method => :delete, :class => "btn btn-danger"
:javascript :javascript
$(function(){ $(function(){
......
...@@ -30,8 +30,8 @@ ActiveRecord::Schema.define(:version => 20120408181910) do ...@@ -30,8 +30,8 @@ ActiveRecord::Schema.define(:version => 20120408181910) do
t.integer "assignee_id" t.integer "assignee_id"
t.integer "author_id" t.integer "author_id"
t.integer "project_id" t.integer "project_id"
t.datetime "created_at", :null => false t.datetime "created_at"
t.datetime "updated_at", :null => false t.datetime "updated_at"
t.boolean "closed", :default => false, :null => false t.boolean "closed", :default => false, :null => false
t.integer "position", :default => 0 t.integer "position", :default => 0
t.boolean "critical", :default => false, :null => false t.boolean "critical", :default => false, :null => false
...@@ -44,8 +44,8 @@ ActiveRecord::Schema.define(:version => 20120408181910) do ...@@ -44,8 +44,8 @@ ActiveRecord::Schema.define(:version => 20120408181910) do
create_table "keys", :force => true do |t| create_table "keys", :force => true do |t|
t.integer "user_id" t.integer "user_id"
t.datetime "created_at", :null => false t.datetime "created_at"
t.datetime "updated_at", :null => false t.datetime "updated_at"
t.text "key" t.text "key"
t.string "title" t.string "title"
t.string "identifier" t.string "identifier"
...@@ -60,10 +60,10 @@ ActiveRecord::Schema.define(:version => 20120408181910) do ...@@ -60,10 +60,10 @@ ActiveRecord::Schema.define(:version => 20120408181910) do
t.integer "assignee_id" t.integer "assignee_id"
t.string "title" t.string "title"
t.boolean "closed", :default => false, :null => false t.boolean "closed", :default => false, :null => false
t.datetime "created_at", :null => false t.datetime "created_at"
t.datetime "updated_at", :null => false t.datetime "updated_at"
t.text "st_commits", :limit => 2147483647 t.text "st_commits", :limit => 4294967295
t.text "st_diffs", :limit => 2147483647 t.text "st_diffs", :limit => 4294967295
t.boolean "merged", :default => false, :null => false t.boolean "merged", :default => false, :null => false
end end
...@@ -84,8 +84,8 @@ ActiveRecord::Schema.define(:version => 20120408181910) do ...@@ -84,8 +84,8 @@ ActiveRecord::Schema.define(:version => 20120408181910) do
t.string "noteable_id" t.string "noteable_id"
t.string "noteable_type" t.string "noteable_type"
t.integer "author_id" t.integer "author_id"
t.datetime "created_at", :null => false t.datetime "created_at"
t.datetime "updated_at", :null => false t.datetime "updated_at"
t.integer "project_id" t.integer "project_id"
t.string "attachment" t.string "attachment"
t.string "line_code" t.string "line_code"
...@@ -98,8 +98,8 @@ ActiveRecord::Schema.define(:version => 20120408181910) do ...@@ -98,8 +98,8 @@ ActiveRecord::Schema.define(:version => 20120408181910) do
t.string "name" t.string "name"
t.string "path" t.string "path"
t.text "description" t.text "description"
t.datetime "created_at", :null => false t.datetime "created_at"
t.datetime "updated_at", :null => false t.datetime "updated_at"
t.boolean "private_flag", :default => true, :null => false t.boolean "private_flag", :default => true, :null => false
t.string "code" t.string "code"
t.integer "owner_id" t.integer "owner_id"
...@@ -122,8 +122,8 @@ ActiveRecord::Schema.define(:version => 20120408181910) do ...@@ -122,8 +122,8 @@ ActiveRecord::Schema.define(:version => 20120408181910) do
t.text "content" t.text "content"
t.integer "author_id", :null => false t.integer "author_id", :null => false
t.integer "project_id", :null => false t.integer "project_id", :null => false
t.datetime "created_at", :null => false t.datetime "created_at"
t.datetime "updated_at", :null => false t.datetime "updated_at"
t.string "file_name" t.string "file_name"
t.datetime "expires_at" t.datetime "expires_at"
end end
...@@ -156,8 +156,8 @@ ActiveRecord::Schema.define(:version => 20120408181910) do ...@@ -156,8 +156,8 @@ ActiveRecord::Schema.define(:version => 20120408181910) do
t.datetime "last_sign_in_at" t.datetime "last_sign_in_at"
t.string "current_sign_in_ip" t.string "current_sign_in_ip"
t.string "last_sign_in_ip" t.string "last_sign_in_ip"
t.datetime "created_at", :null => false t.datetime "created_at"
t.datetime "updated_at", :null => false t.datetime "updated_at"
t.string "name" t.string "name"
t.boolean "admin", :default => false, :null => false t.boolean "admin", :default => false, :null => false
t.integer "projects_limit", :default => 10 t.integer "projects_limit", :default => 10
...@@ -176,16 +176,16 @@ ActiveRecord::Schema.define(:version => 20120408181910) do ...@@ -176,16 +176,16 @@ ActiveRecord::Schema.define(:version => 20120408181910) do
create_table "users_projects", :force => true do |t| create_table "users_projects", :force => true do |t|
t.integer "user_id", :null => false t.integer "user_id", :null => false
t.integer "project_id", :null => false t.integer "project_id", :null => false
t.datetime "created_at", :null => false t.datetime "created_at"
t.datetime "updated_at", :null => false t.datetime "updated_at"
t.integer "project_access", :default => 0, :null => false t.integer "project_access", :default => 0, :null => false
end end
create_table "web_hooks", :force => true do |t| create_table "web_hooks", :force => true do |t|
t.string "url" t.string "url"
t.integer "project_id" t.integer "project_id"
t.datetime "created_at", :null => false t.datetime "created_at"
t.datetime "updated_at", :null => false t.datetime "updated_at"
end end
create_table "wikis", :force => true do |t| create_table "wikis", :force => true do |t|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment