new development version 2.2-dev

This commit is contained in:
Marco Dickert 2017-02-14 20:10:25 +01:00
parent f423253b85
commit 6892595c82
13 changed files with 1488 additions and 1262 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.*.swp
*.zip

1315
ifm.php

File diff suppressed because one or more lines are too long

14
src/ace/ace.js Normal file

File diff suppressed because one or more lines are too long

1
src/bootstrap-notify.min.js vendored Normal file

File diff suppressed because one or more lines are too long

6
src/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

7
src/bootstrap.min.js vendored Normal file

File diff suppressed because one or more lines are too long

2
src/ekko-lightbox.min.css vendored Normal file
View File

@ -0,0 +1,2 @@
.ekko-lightbox-nav-overlay a:focus,.ekko-lightbox-nav-overlay a>:focus{outline:0}.ekko-lightbox-container{position:relative}.ekko-lightbox-container>div.ekko-lightbox-item{position:absolute;top:0;left:0;width:100%;transition:opacity .5s ease-in-out;opacity:1}.ekko-lightbox-nav-overlay{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex}.ekko-lightbox-nav-overlay a{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;transition:opacity .5s;color:#fff;font-size:30px;z-index:1}.ekko-lightbox-nav-overlay a>*{-ms-flex-positive:1;flex-grow:1}.ekko-lightbox-nav-overlay a span{padding:0 30px}.ekko-lightbox-nav-overlay a:last-child span{text-align:right}.ekko-lightbox-nav-overlay a:hover{text-decoration:none}.ekko-lightbox a:hover{opacity:1;text-decoration:none}.ekko-lightbox .modal-footer{text-align:left}.ekko-lightbox-loader{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.ekko-lightbox-loader>div{width:40px;height:40px;position:relative;text-align:center}.ekko-lightbox-loader>div>div{width:100%;height:100%;border-radius:50%;background-color:#fff;opacity:.6;position:absolute;top:0;left:0;animation:a 2s infinite ease-in-out}.ekko-lightbox-loader>div>div:last-child{animation-delay:-1s}@keyframes a{0%,to{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}
/*# sourceMappingURL=ekko-lightbox.min.css.map */

2
src/ekko-lightbox.min.js vendored Normal file

File diff suppressed because one or more lines are too long

106
src/fontello-embedded.css vendored Normal file

File diff suppressed because one or more lines are too long

1274
src/ifm.js

File diff suppressed because it is too large Load Diff

4
src/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -11,7 +11,7 @@
*/
class IFM {
const VERSION = '2.1';
const VERSION = '2.2-dev';
public function __construct() {
session_start();
@ -70,11 +70,11 @@ class IFM {
print '<li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><span class="icon icon-down-open"></span></a><ul class="dropdown-menu" role="menu">';
$options = false;
if( IFMConfig::remoteupload == 1 ) {
print '<li><a href="/fatfree/padlock/public/lang/de"><span class="icon icon-upload-cloud"></span> remote upload</a></li>';
print '<li><a onclick="ifm.remoteUploadDialog();return false;"><span class="icon icon-upload-cloud"></span> remote upload</a></li>';
$options = true;
}
if( IFMConfig::ajaxrequest == 1 ) {
print '<li><a href="/fatfree/padlock/public/lang/en"><span class="icon icon-link-ext"></span> ajax request</a></li>';
print '<li><a onclick="ifm.ajaxRequestDialog();return false;"><span class="icon icon-link-ext"></span> ajax request</a></li>';
$options = true;
}
if( !$options ) print '<li>No options available</li>';
@ -103,10 +103,11 @@ class IFM {
</table>
</div>
<footer>IFM - improved file manager | ifm.php hidden | <a href="http://github.com/misterunknown/ifm">Visit the project on GitHub</a></footer>
<script>';?> @@@src/ace/ace.js@@@ <?php print '</script>
<script>';?> @@@src/jquery.min.js@@@ <?php print '</script>
<script>';?> @@@src/bootstrap.min.js@@@ <?php print '</script>
<script>';?> @@@src/bootstrap-notify.min.js@@@ <?php print '</script>
<script>';?> @@@src/ekko-lightbox.min.js@@@ <?php print '</script>
<script>';?> @@@src/ace.js@@@ <?php print '</script>
<script>';?> @@@src/ifm.js@@@ <?php print '</script>
</body>
</html>

View File

@ -6,8 +6,16 @@ body {
font-size: 14pt;
}
#filetable tr td:nth-child(5) {
text-align: center;
}
#filetable tr td:nth-child(6) {
text-align: center;
}
#filetable tr td:last-child {
text-align: right;
}
a { cursor: pointer !important; }
div#content { width: 100%; height: 350px; }