mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
(mvc) add Bootgrind (http://www.jquery-bootgrid.com/) to core UI
This commit is contained in:
parent
acc3ad9f31
commit
4ee4a93894
@ -62,6 +62,10 @@
|
||||
<script type="text/javascript" src="/ui/js/jquery.tokenize.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/ui/css/jquery.tokenize.css" />
|
||||
|
||||
<!-- Bootgrind (grid system from http://www.jquery-bootgrid.com/ ) -->
|
||||
<link rel="stylesheet" type="text/css" href="/ui/css/jquery.bootgrid.css"/>
|
||||
<script src="/ui/js/jquery.bootgrid.js"></script>
|
||||
|
||||
<!-- OPNsense standard toolkit -->
|
||||
<script type="text/javascript" src="/ui/js/opnsense.js"></script>
|
||||
<script type="text/javascript" src="/ui/js/opnsense_ui.js"></script>
|
||||
|
||||
147
src/opnsense/www/css/jquery.bootgrid.css
Normal file
147
src/opnsense/www/css/jquery.bootgrid.css
Normal file
@ -0,0 +1,147 @@
|
||||
/*!
|
||||
* jQuery Bootgrid v1.2.0 - 05/02/2015
|
||||
* Copyright (c) 2014-2015 Rafael Staib (http://www.jquery-bootgrid.com)
|
||||
* Licensed under MIT http://www.opensource.org/licenses/MIT
|
||||
*/
|
||||
.bootgrid-header,
|
||||
.bootgrid-footer {
|
||||
margin: 15px 0;
|
||||
}
|
||||
.bootgrid-header a,
|
||||
.bootgrid-footer a {
|
||||
outline: 0;
|
||||
}
|
||||
.bootgrid-header .search,
|
||||
.bootgrid-footer .search {
|
||||
display: inline-block;
|
||||
margin: 0 20px 0 0;
|
||||
vertical-align: middle;
|
||||
width: 180px;
|
||||
}
|
||||
.bootgrid-header .search .glyphicon,
|
||||
.bootgrid-footer .search .glyphicon {
|
||||
top: 0;
|
||||
}
|
||||
.bootgrid-header .search .fa,
|
||||
.bootgrid-footer .search .fa {
|
||||
display: table-cell;
|
||||
}
|
||||
.bootgrid-header .search.search-field::-ms-clear,
|
||||
.bootgrid-footer .search.search-field::-ms-clear,
|
||||
.bootgrid-header .search .search-field::-ms-clear,
|
||||
.bootgrid-footer .search .search-field::-ms-clear {
|
||||
display: none;
|
||||
}
|
||||
.bootgrid-header .pagination,
|
||||
.bootgrid-footer .pagination {
|
||||
margin: 0 !important;
|
||||
}
|
||||
.bootgrid-header .actionBar,
|
||||
.bootgrid-footer .infoBar {
|
||||
text-align: right;
|
||||
}
|
||||
.bootgrid-header .actionBar .btn-group > .btn-group .dropdown-menu,
|
||||
.bootgrid-footer .infoBar .btn-group > .btn-group .dropdown-menu {
|
||||
text-align: left;
|
||||
}
|
||||
.bootgrid-header .actionBar .btn-group > .btn-group .dropdown-menu .dropdown-item,
|
||||
.bootgrid-footer .infoBar .btn-group > .btn-group .dropdown-menu .dropdown-item {
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 3px 20px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.bootgrid-header .actionBar .btn-group > .btn-group .dropdown-menu .dropdown-item:hover,
|
||||
.bootgrid-footer .infoBar .btn-group > .btn-group .dropdown-menu .dropdown-item:hover,
|
||||
.bootgrid-header .actionBar .btn-group > .btn-group .dropdown-menu .dropdown-item:focus,
|
||||
.bootgrid-footer .infoBar .btn-group > .btn-group .dropdown-menu .dropdown-item:focus {
|
||||
color: #262626;
|
||||
text-decoration: none;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
.bootgrid-header .actionBar .btn-group > .btn-group .dropdown-menu .dropdown-item.dropdown-item-checkbox,
|
||||
.bootgrid-footer .infoBar .btn-group > .btn-group .dropdown-menu .dropdown-item.dropdown-item-checkbox,
|
||||
.bootgrid-header .actionBar .btn-group > .btn-group .dropdown-menu .dropdown-item .dropdown-item-checkbox,
|
||||
.bootgrid-footer .infoBar .btn-group > .btn-group .dropdown-menu .dropdown-item .dropdown-item-checkbox {
|
||||
margin: 0 2px 4px 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.bootgrid-header .actionBar .btn-group > .btn-group .dropdown-menu .dropdown-item.disabled,
|
||||
.bootgrid-footer .infoBar .btn-group > .btn-group .dropdown-menu .dropdown-item.disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.bootgrid-table {
|
||||
table-layout: fixed;
|
||||
}
|
||||
.bootgrid-table a {
|
||||
outline: 0;
|
||||
}
|
||||
.bootgrid-table th > .column-header-anchor {
|
||||
color: #333;
|
||||
cursor: not-allowed;
|
||||
display: block;
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
}
|
||||
.bootgrid-table th > .column-header-anchor.sortable {
|
||||
cursor: pointer;
|
||||
}
|
||||
.bootgrid-table th > .column-header-anchor > .text {
|
||||
display: block;
|
||||
margin: 0 16px 0 0;
|
||||
overflow: hidden;
|
||||
-ms-text-overflow: ellipsis;
|
||||
-o-text-overflow: ellipsis;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.bootgrid-table th > .column-header-anchor > .icon {
|
||||
display: block;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 2px;
|
||||
}
|
||||
.bootgrid-table th:hover,
|
||||
.bootgrid-table th:active {
|
||||
background: #fafafa;
|
||||
}
|
||||
.bootgrid-table td {
|
||||
overflow: hidden;
|
||||
-ms-text-overflow: ellipsis;
|
||||
-o-text-overflow: ellipsis;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.bootgrid-table td.loading,
|
||||
.bootgrid-table td.no-results {
|
||||
background: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
.bootgrid-table th.select-cell,
|
||||
.bootgrid-table td.select-cell {
|
||||
text-align: center;
|
||||
width: 30px;
|
||||
}
|
||||
.bootgrid-table th.select-cell .select-box,
|
||||
.bootgrid-table td.select-cell .select-box {
|
||||
margin: 0;
|
||||
outline: 0;
|
||||
}
|
||||
.table-responsive .bootgrid-table {
|
||||
table-layout: inherit !important;
|
||||
}
|
||||
.table-responsive .bootgrid-table th > .column-header-anchor > .text {
|
||||
overflow: inherit !important;
|
||||
-ms-text-overflow: inherit !important;
|
||||
-o-text-overflow: inherit !important;
|
||||
text-overflow: inherit !important;
|
||||
white-space: inherit !important;
|
||||
}
|
||||
.table-responsive .bootgrid-table td {
|
||||
overflow: inherit !important;
|
||||
-ms-text-overflow: inherit !important;
|
||||
-o-text-overflow: inherit !important;
|
||||
text-overflow: inherit !important;
|
||||
white-space: inherit !important;
|
||||
}
|
||||
21
src/opnsense/www/js/jquery.bootgrid.LICENSE
Normal file
21
src/opnsense/www/js/jquery.bootgrid.LICENSE
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2015 Rafael J. Staib
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
2037
src/opnsense/www/js/jquery.bootgrid.js
Normal file
2037
src/opnsense/www/js/jquery.bootgrid.js
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user