Changeset 842
- Timestamp:
- Mar 27, 2015 11:37:08 AM (10 years ago)
- 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 106 106 </ul> 107 107 <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> 110 110 </ul> 111 111 </div> -
pro-violet-viettel/www/deploy/20150304/application/views/layout/footer.php
r835 r842 36 36 grid: 'file-container', 37 37 maincontainer: 'main-content', 38 titlebar: ' title-bar',38 titlebar: 'navbar', 39 39 toolsbar: 'tools-bar', 40 40 statusbar: 'status-bar', … … 42 42 invisibledButtons: ['btnShare'], 43 43 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'); 44 51 }); 45 52 } -
pro-violet-viettel/www/deploy/20150304/assets/css/style2.css
r823 r842 8 8 padding:0; 9 9 } 10 11 12 10 /*------------------------- 13 11 General Styles 14 12 --------------------------*/ 15 16 17 13 html{ 18 14 background-color:#ebebec; … … 43 39 } 44 40 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 */ 46 68 47 69 #navigation-bar { … … 72 94 } 73 95 #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 109 img[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; 75 160 } 76 161 … … 84 169 width: 100%; 85 170 } 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 { 87 173 background: rgba(87, 199, 214, 0.07); 88 174 } 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 } 90 182 .list-view#file-container > ul.vsgrid > li.vscell > div.icon-directory { 91 183 background-size: cover; … … 103 195 height: 28px; 104 196 float: left; 197 background-size: cover; 105 198 } 106 199 -
pro-violet-viettel/www/deploy/20150304/assets/js/manager.js
r841 r842 1000 1000 if (items.length == 1) { 1001 1001 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>'; 1003 1003 message += '<span> - Dung lượng: <strong>' + self.formatFileSize(items[0].size) + '</strong></span>'; 1004 1004 }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>'; 1006 1006 } 1007 1007 } … … 1011 1011 selectedSize += (typeof items[i].minetype !== 'undefined') ? parseInt(items[i].size) : 0; 1012 1012 } 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>'; 1015 1015 } 1016 1016
Note: See TracChangeset
for help on using the changeset viewer.