1
0
Fork 0

Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel

This commit is contained in:
Jan Steemann 2013-02-28 11:05:10 +01:00
commit c1f1bfd4be
6 changed files with 138 additions and 88 deletions

View File

@ -113,8 +113,8 @@
margin:5px 0;
}
#transparentHeader .pagination ul > li > a {
font-size:1.8em;
#transparentHeader .pagination-small ul > li:last-child > a {
margin-left:0px
}
#transparentHeader .btn-group {

View File

@ -124,15 +124,24 @@
}
#tableDiv .nav-tabs,
#sourceDiv .nav-tabs {
#sourceDiv .nav-tabs,
#logContent .nav-tabs {
margin-bottom:-1px; border-bottom:#FFFFFF solid 1px;
}
#tableDiv .nav-tabs > li > a,
#tableDiv .nav-tabs > li:hover > a,
#sourceDiv .nav-tabs > li > a,
#sourceDiv .nav-tabs > li:hover > a {
#sourceDiv .nav-tabs > li:hover > a ,
#logContent .nav-tabs > li > a,
#logContent .nav-tabs > li:hover > a {
background-image: -moz-linear-gradient(center top , #F3EFEC, #EBE7E3);
background-image: -ms-linear-gradient(top, #F3EFEC, #EBE7E3);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F3EFEC), to(#EBE7E3));
background-image: -webkit-linear-gradient(top, #F3EFEC, #EBE7E3);
background-image: -o-linear-gradient(top, #F3EFEC, #EBE7E3);
background-image: linear-gradient(top, #bedc6a, #80a127#F3EFEC, #EBE7E3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F3EFEC', endColorstr='#EBE7E3', GradientType=0);
border-top: 1px solid #F3EFEC;
border-left: 1px solid #F3EFEC;
border-right: 1px solid #F3EFEC;
@ -142,7 +151,9 @@
#tableDiv .nav-tabs > li.active > a,
#tableDiv .nav-tabs > li:hover.active > a,
#sourceDiv .nav-tabs > li.active > a,
#sourceDiv .nav-tabs > li:hover.active > a {
#sourceDiv .nav-tabs > li:hover.active > a ,
#logContent .nav-tabs > li.active > a,
#logContent .nav-tabs > li:hover.active > a {
background: #FFF;
border: 1px solid #FFF;
}

View File

@ -81,56 +81,45 @@ table.dataTable td {
}
#documentsTableID {
margin-left: 20px !important;
width: 900px; !important;
table-layout:fixed !important;
border-collapse:separate;
border-spacing:0 5px;
margin-left: 20px !important;
}
#documentsTableID,
#logContent .dataTable {
width: 900px; !important;
table-layout:fixed !important;
border-collapse:separate;
border-spacing:0 5px;
}
table.dataTable thead th {
border-bottom:none;
}
#documentsTableID.dataTable thead tr {
background-image: -moz-linear-gradient(top, #f3efec, #ebe7e3);
background-image: -ms-linear-gradient(top, #f3efec, #ebe7e3);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3efec), to(#ebe7e3));
background-image: -webkit-linear-gradient(top, #f3efec, #ebe7e3);
background-image: -o-linear-gradient(top, #f3efec, #ebe7e3);
background-image: linear-gradient(top, #f3efec, #ebe7e3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3efec', endColorstr='#ebe7e3', GradientType=0);
border:1px solid #c1bdba;
#documentsTableID.dataTable thead tr,
#logContent .dataTable thead tr {
background-image: -moz-linear-gradient(top, #f3efec, #ebe7e3);
background-image: -ms-linear-gradient(top, #f3efec, #ebe7e3);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3efec), to(#ebe7e3));
background-image: -webkit-linear-gradient(top, #f3efec, #ebe7e3);
background-image: -o-linear-gradient(top, #f3efec, #ebe7e3);
background-image: linear-gradient(top, #f3efec, #ebe7e3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3efec', endColorstr='#ebe7e3', GradientType=0);
border:1px solid #c1bdba;
}
#documentsTableID.dataTable tr {
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
#documentsTableID.dataTable tr,
#logContent .dataTable tr {
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
/*table.dataTable tr td:first-child {
border-left:1px solid #c1bdba;
border-right:0px;
border-top:1px solid #c1bdba;
border-bottom:1px solid #c1bdba;
border-radius: 6px 0px 0px 6px;
}
table.dataTable tr td:last-child {
border-left:0px;
border-right:1px solid #c1bdba;
border-top:1px solid #c1bdba;
border-bottom:1px solid #c1bdba;
border-right:1px solid #c1bdba;
border-radius: 0px 6px 6px 0px;
}*/
#documentsTableID .odd,
#documentsTableID .even {
margin-bottom: 5px;
<<<<<<< HEAD
#documentsTableID .odd,
#documentsTableID .even,
#logContent .odd,
#logContent .even {
margin-bottom: 5px;
background-image: -moz-linear-gradient(top, #ffffff, #f5f5f5);
background-image: -ms-linear-gradient(top, #ffffff, #f5f5f5);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));
@ -143,7 +132,9 @@ border-radius: 6px 0px 0px 6px;
#documentsTableID .odd:hover,
#documentsTableID .even:hover {
#documentsTableID .even:hover,
#logContent .odd:hover,
#logContent .even:hover {
border: 1px solid #fbdb7e;
cursor: pointer;
background-image: -moz-linear-gradient(top, #f4f4f4, #e4e4e4);
@ -156,25 +147,29 @@ border-radius: 6px 0px 0px 6px;
}
#documentsTableID.dataTable tr.even td.sorting_1,
#documentsTableID.dataTable tr.odd td.sorting_1 {
background-image: -moz-linear-gradient(top, #f4f4f4, #e4e4e4);
background-image: -ms-linear-gradient(top,#f4f4f4, #e4e4e4);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#e4e4e4));
background-image: -webkit-linear-gradient(top, #f4f4f4, #e4e4e4);
background-image: -o-linear-gradient(top, #f4f4f4, #e4e4e4);
background-image: linear-gradient(top, #f4f4f4, #e4e4e4);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4', endColorstr='#e4e4e4', GradientType=0);
#documentsTableID.dataTable tr.odd td.sorting_1,
#logContent tr.even td.sorting_1,
#logContent tr.odd td.sorting_1 {
background-image: -moz-linear-gradient(top, #f4f4f4, #e4e4e4);
background-image: -ms-linear-gradient(top,#f4f4f4, #e4e4e4);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#e4e4e4));
background-image: -webkit-linear-gradient(top, #f4f4f4, #e4e4e4);
background-image: -o-linear-gradient(top, #f4f4f4, #e4e4e4);
background-image: linear-gradient(top, #f4f4f4, #e4e4e4);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f4f4f4', endColorstr='#e4e4e4', GradientType=0);
}
#documentsTableID tr.even:hover td.sorting_1,
#documentsTableID tr.odd:hover td.sorting_1 {
background-image: -moz-linear-gradient(top, #e7e7e7, #d5d5d5);
background-image: -ms-linear-gradient(top, #e7e7e7, #d5d5d5);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e7e7e7), to(#d5d5d5));
background-image: -webkit-linear-gradient(top, #e7e7e7, #d5d5d5);
background-image: -o-linear-gradient(top, #e7e7e7, #d5d5d5);
background-image: linear-gradient(top, #e7e7e7, #d5d5d5);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e7e7e7', endColorstr='#d5d5d5', GradientType=0);
#documentsTableID tr.odd:hover td.sorting_1,
#logContent tr.even:hover td.sorting_1,
#logContent tr.odd:hover td.sorting_1 {
background-image: -moz-linear-gradient(top, #e7e7e7, #d5d5d5);
background-image: -ms-linear-gradient(top, #e7e7e7, #d5d5d5);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e7e7e7), to(#d5d5d5));
background-image: -webkit-linear-gradient(top, #e7e7e7, #d5d5d5);
background-image: -o-linear-gradient(top, #e7e7e7, #d5d5d5);
background-image: linear-gradient(top, #e7e7e7, #d5d5d5);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e7e7e7', endColorstr='#d5d5d5', GradientType=0);
}
@ -229,24 +224,27 @@ border-bottom: 20px solid rgba(0,0,0,0.0);
}
.pagination-mini ul > li:first-child > a, .pagination-small ul > li:first-child > a, .pagination-mini ul > li:first-child > span, .pagination-small ul > li:first-child > span {
margin-right:10px;
margin-right:10px;
}
.pagination-mini ul > li:last-child > a, .pagination-small ul > li:last-child > a, .pagination-mini ul > li:last-child > span, .pagination-small ul > li:last-child > span {
margin-left:10px;
margin-left:10px;
}
.pagination-mini ul > li:last-child > a, .pagination-small ul > li:last-child > a, .pagination-mini ul > li:last-child > span, .pagination-small ul > li:last-child > span,
.pagination-mini ul > li:first-child > a, .pagination-small ul > li:first-child > a, .pagination-mini ul > li:first-child > span, .pagination-small ul > li:first-child > span {
background-image: -moz-linear-gradient(top, #8f8d8c, #6d6c6b);
background-image: -ms-linear-gradient(top, #8f8d8c, #6d6c6b);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#8f8d8c), to(#6d6c6b));
background-image: -webkit-linear-gradient(top, #8f8d8c, #6d6c6b);
background-image: -o-linear-gradient(top, #8f8d8c, #6d6c6b);
background-image: linear-gradient(top, #8f8d8c, #6d6c6b);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8f8d8c', endColorstr='#6d6c6b', GradientType=0);
border:1px solid #54514f;
color:#FFFFFF;
/* background-image: -moz-linear-gradient(top, #8f8d8c, #6d6c6b);
background-image: -ms-linear-gradient(top, #8f8d8c, #6d6c6b);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#8f8d8c), to(#6d6c6b));
background-image: -webkit-linear-gradient(top, #8f8d8c, #6d6c6b);
background-image: -o-linear-gradient(top, #8f8d8c, #6d6c6b);
background-image: linear-gradient(top, #8f8d8c, #6d6c6b);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8f8d8c', endColorstr='#6d6c6b', GradientType=0);*/
box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
background: #8f8d8c;
border: none;
color:#FFFFFF;
font-size:1.8em;
}
.pagination ul > li > a:hover, .pagination ul > .active > a, .pagination ul > .active > span {

View File

@ -16,17 +16,6 @@ input {
text-decoration: none;
}
.arangoBtnError {
background-color: #DA4F49;
background-repeat: repeat-x;
color: #FFFFFF;
float: left;
font-family: Rockwell,Georgia,"Times New Roman",Times,serif;
font-size: 16px;
padding: 4px 10px;
text-decoration: none;
}
.arangoBtnSuccess {
background: none repeat scroll 0 0 #5E7B36;
color: #FFFFFF;
@ -43,6 +32,57 @@ input {
box-shadow: 0;
}
.navbar .nav li.dropdown.open > .dropdown-toggle, .navbar .nav li.dropdown.active > .dropdown-toggle, .navbar .nav li.dropdown.open.active > .dropdown-toggle {
background: #788f3d;
}
.btn {
box-shadow:0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05), 2px 2px 0 rgba(0, 0, 0, 0.2);
background: #8f8d8c;
border: none;
color:#FFFFFF;
}
.btn:hover {
background: #736b68;
color:#FFFFFF;
}
.btn-primary {
background: #564e4a;
}
.btn-primary:hover {
background: #3a322e;
}
.btn-success {
background: #8AA051;
}
.btn-success:hover {
background: #788f3d;
}
.btn-danger {
background-color: #DA4F49;
}
.btn-danger:hover {
background-color: #be342e;
}
.btn-group > .btn + .dropdown-toggle {
box-shadow: 1px 0 0 rgba(255, 255, 255, 0.125) inset, 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05), 2px 2px 0 rgba(0, 0, 0, 0.2)
}
.btn-group.open .btn-inverse.dropdown-toggle {
background-color: #736b68;
}
.breadcrumb {
background-color: #F5F5F5;
background: transparent;

View File

@ -21,7 +21,7 @@
</table>
<!-- <div id="documentsToolbar" class="pagination pagination-small pagination-centered arangoToolbar">
<div id="documentsToolbar" class="pagination pagination-small pagination-centered arangoToolbar">
<ul>
<li class="enabled"><a href="#">&laquo;</a></li>
<li class="active"><a href="#">1</a></li>
@ -30,10 +30,9 @@
<li class="enabled"><a href="#">&raquo;</a></li>
</ul>
</div>
-->
</div>
<!--
<div id="documentsFooterBox" class="">
<div id="documentsFooter" class="">
<div id="documentsStatus">
@ -50,6 +49,8 @@
</div>
</div>
</div>
-->
<!-- Delete Modal -->
<div id="docDeleteModal" style="display:none" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">

View File

@ -165,7 +165,7 @@ var documentsView = Backbone.View.extend({
}
var rowContent = $(this.table).dataTable().fnGetData(aPos);
window.location.hash = "#collection/" + rowContent[0];
window.location.hash = "#collection/" + this.colid + "/" + rowContent[0];
},
initTable: function (colid, pageid) {