Changeset 842


Ignore:
Timestamp:
Mar 27, 2015 11:37:08 AM (10 years ago)
Author:
dungnv
Message:
 
Location:
pro-violet-viettel/www/deploy/20150304
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/www/deploy/20150304/application/modules/filemanager/views/main.php

    r823 r842  
    106106                        </ul>
    107107                <ul class="change-file-view list-inline pull-right">
    108                     <li><i class="ace-icon icon-th-large show-grid-view"></i></li>
    109                     <li><i class="ace-icon icon-th-list show-list-view"></i></li>
     108                    <li><i class="ace-icon icon-th-large show-grid-view" title="Hiển thị thumbnail"></i></li>
     109                    <li><i class="ace-icon icon-th-list show-list-view" title="Hiển thị danh sách"></i></li>
    110110                </ul>
    111111                </div>
  • pro-violet-viettel/www/deploy/20150304/application/views/layout/footer.php

    r835 r842  
    3636                grid: 'file-container',
    3737                maincontainer: 'main-content',
    38                 titlebar: 'title-bar',
     38                titlebar: 'navbar',
    3939                toolsbar: 'tools-bar',
    4040                statusbar: 'status-bar',
     
    4242                invisibledButtons: ['btnShare'],
    4343                filehosting: '<?php echo $this->config->item('api_url');?>'
     44        });
     45
     46        $('.show-list-view').click(function{
     47                $('#file-container').addClass('list-view');
     48        });
     49        $('.show-grid-view').click(function{
     50                $('#file-container').removeClass('list-view');
    4451        });
    4552}
  • pro-violet-viettel/www/deploy/20150304/assets/css/style2.css

    r823 r842  
    88    padding:0;
    99}
    10 
    11 
    1210/*-------------------------
    1311    General Styles
    1412--------------------------*/
    15 
    16 
    1713html{
    1814    background-color:#ebebec;
     
    4339}
    4440
    45 /* Fix something from style.css */
     41
     42/* --------------------------------Fix something from style.css ---------------------------*/
     43
     44/* Bootstrap modified */
     45.dropdown-menu.dropdown-close {
     46    top: 100%;
     47}
     48#tools-bar .btn-success, .btn-success:focus,
     49#tools-bar .btn-danger, .btn-danger:focus,
     50#tools-bar .btn-warning, .btn-warning:focus,
     51#tools-bar .btn-info, .btn-info:focus {
     52    background-color: transparent;
     53    border-color: transparent;
     54}
     55#tools-bar .btn, .btn-default, .btn:focus, .btn-default:focus, .btn:hover, .btn-default:hover {
     56    background-color: #F5F5F5!important;
     57    border-color: #F5F5F5;
     58}
     59/*.btn:hover, .btn-default:hover {
     60    border: 1px solid #666;
     61    border-width: 1px !important;
     62    border-radius: 100px !important;
     63}*/
     64#tools-bar .btn {
     65    color: #666 !important;
     66}
     67/* End Bootstrap */
    4668
    4769#navigation-bar {
     
    7294}
    7395#file-container {
    74     height: calc(100% - 46px);
     96    height: calc(100% - 47px);
     97}
     98#status-bar {
     99    color: #666;
     100    background: #F5F5F5;
     101    padding: 3px 0 0 20px;
     102    border-top: 1px #CDCDCD solid;
     103}
     104#status-bar span:first-child {
     105    float: right;
     106    padding-right: 10px;
     107}
     108
     109img[src=''], img:not([src]) {
     110    opacity:0;
     111}
     112.btn:focus {
     113    outline: none !important;
     114}
     115.preview .modal-content {
     116    background: transparent;
     117    border: 0;
     118}
     119.preview .modal-content .modal-body .bootbox-body {
     120    margin-top: 5px;
     121}
     122.preview button.bootbox-close-button {
     123        float: none;
     124    position: absolute;
     125    right: 0;
     126    font-size: 31px;
     127    font-weight: 700;
     128    line-height: 1;
     129    color: #FFF;
     130    text-shadow: 0 1px 0 #fff;
     131    border: 2px solid #FFFFFF;
     132    background: #000;
     133    border-radius: 50%;
     134    opacity: 1;
     135    z-index: 99;
     136    padding: 0 6px;
     137}
     138.preview button.bootbox-close-button:hover,
     139.preview button.bootbox-close-button:focus {
     140    color: #fff;
     141    text-decoration: none;
     142    cursor: pointer;
     143    filter: alpha(opacity=100);
     144    opacity: 1;
     145    outline: 0;
     146}
     147.preview .modal-content .modal-footer {
     148    display: none;
     149}
     150/*------------ File Manager: Grid View ----- */
     151#file-container ul.vsgrid li.vscell div[class^="icon-"] img {
     152    height: 100%;
     153    width: 100%;
     154    padding: 5px;
     155}
     156#file-container ul.vsgrid li.vscell div[class^="icon-"]:not([class="icon-directory"]) img:not([src]),
     157#file-container ul.vsgrid li.vscell div[class^="icon-"]:not([class="icon-directory"]):empty {
     158    background-image: url(../images/file-icon-new.png);
     159    background-repeat: no-repeat;
    75160}
    76161
     
    84169        width: 100%;
    85170}
    86 .list-view#file-container > ul.vsgrid > li.vscell:hover {
     171.list-view#file-container > ul.vsgrid > li.vscell:hover,
     172.list-view#file-container > ul.vsgrid > li.vscell.selected {
    87173        background: rgba(87, 199, 214, 0.07);
    88174}
    89 
     175.list-view#file-container > ul.vsgrid > li.vscell.selected {
     176    background: #E3F2FF;
     177}
     178.list-view#file-container ul.vsgrid li.vscell.selected div[class^="icon-"],
     179.list-view#file-container ul.vsgrid li.vscell.selected div.file-name {
     180    background-color: transparent;
     181}
    90182.list-view#file-container > ul.vsgrid > li.vscell > div.icon-directory {
    91183        background-size: cover;
     
    103195        height: 28px;
    104196        float: left;
     197    background-size: cover;
    105198}
    106199
  • pro-violet-viettel/www/deploy/20150304/assets/js/manager.js

    r841 r842  
    10001000                        if (items.length == 1) {
    10011001                                if ((typeof items[0].minetype !== 'undefined')) {
    1002                                         message += '<span> - Tệp: <strong>' + items[0].name + '</strong></span>';
     1002                                        message += '<span>Tệp: <strong>' + items[0].name + '</strong></span>';
    10031003                                        message += '<span> - Dung lượng: <strong>' + self.formatFileSize(items[0].size) + '</strong></span>';
    10041004                                }else {
    1005                                         message += '<span> - Thư mục: <strong>' + items[0].name + '</strong></span>';
     1005                                        message += '<span>Thư mục: <strong>' + items[0].name + '</strong></span>';
    10061006                                }
    10071007                        }
     
    10111011                                        selectedSize += (typeof items[i].minetype !== 'undefined') ? parseInt(items[i].size) : 0;
    10121012                                }
    1013                                 message += '<span> - <strong>' + items.length + ' tệp (thư mục)</strong> được chọn</span>';
    1014                                 message += '<span> - Total size: <strong>' + self.formatFileSize(selectedSize) + '</strong></span>';
     1013                                message += '<span><strong>' + items.length + ' tệp (thư mục)</strong> được chọn</span>';
     1014                                message += '<span> - Dung lượng: <strong>' + self.formatFileSize(selectedSize) + '</strong></span>';
    10151015                        }
    10161016                       
Note: See TracChangeset for help on using the changeset viewer.