<html>
<head>
    <link type="text/css" rel="stylesheet" href="{{ url_for('file_manager.static', filename='css/file_manager.css')}}"/>
</head>
<body>
<div class="file_manager">
    <div id="uploader" class='col-xs-12'>
        <div class="btn-group filemanager-path-group col-sm-7 col-xs-12" role="group">
            <button name="home" type="button" value="Home" title="{{ _('Home') }}" class="fa fa-home btn home"><span></span>
            </button>
            <button name="level-up" type="button" title="{{ _('Back') }}" value="LevelUp" class="btn fa fa-level-up level-up"
                    disabled><span></span></button>
            <input class='input-path' title='' type="text"/>

        </div>
        <div class="btn-group filemanager-btn-group" role="group">
            <div class="uploadresponse"></div>
            <input class="mode" name="mode" type="hidden" value="add"/>
            <input class="currentpath" name="currentpath" type="hidden"/>
            <button type="button" title="{{ _('Refresh') }}" class="btn fa fa-refresh refresh"></button>
            <button type="button" title="{{ _('Download File') }}" class="btn fa fa-download download" disabled><span></span>
            </button>
            <button name="delete" type="button" title="{{ _('Delete File/Folder') }}" class="btn fa fa-trash delete" disabled>
                <span></span></button>
            <button name="rename" type="button" title="{{ _('Rename File/Folder') }}" class="btn fa fa-pencil-square-o rename">
                <span></span></button>
            <button name="newfolder" type="button" title="{{ _('Create new folder') }}" value="New Folder"
                    class="btn fa fa-folder-open create"><span></span></button>
            <button class="ON fa fa-th btn grid" type="button" title="{{ _('View as grid') }}"><span></span></button>
            <button type="button" class="btn fa fa-list list" title="{{ _('View as table') }}"><span></span></button>
        </div>
    </div>
    <div class="fileinfo">
        <span class="activity">
          <img src="{{ url_for('static', filename='js/generated/img/load-root.gif') }}">
        </span>
        <div class="file_listing"></div>
        <div class="upload_file dropzone"></div>
        <div class="allowed_file_types"></div>
        <div class='fm_dimmer'></div>
        <div class='delete_item'>
            <span>{{ _('Are you sure you want to delete this item?') }}</span>
        <span class="pull-right">
          <button type='button' class='btn btn_yes'>{{ _('Yes') }}</button>
          <button type='button' class='btn btn_no'>{{ _('No') }}</button>
        </span>
        </div>
        <div class='replace_file'>
            <span>{{ _('Are you sure you want to replace this file?') }}</span>
        <span class="pull-right">
          <button type='button' class='btn btn_yes'>{{ _('Yes') }}</button>
          <button type='button' class='btn btn_no'>{{ _('No') }}</button>
        </span>
        </div>
    </div>
    <script>
	require(['sources/generated/file_utils'], function() {
	    pgAdmin.FileUtils.init();
    });
    </script>
</div>
</body>
</html>
