Project

General

Profile

Download (3.56 KB) Statistics
| Branch: | Revision:
1 95b003ff Origo
<div>
2
    <div class="border_container" style="padding: 8px; border-bottom: 1px solid #ddd;">
3
4 2a63870a Christian Orellana
        <div class="plupload_progress" onclick="upload.showDialog();" style="cursor: pointer;">
5 95b003ff Origo
            <div class="plupload_progress_container">
6
                <div class="plupload_progress_bar"></div>
7
            </div>
8
        </div>
9
10
        <div class="btn-group dropdown" style="float:left; position: absolute;">
11
            <button type="button" class="btn btn-success btn-sm shadow" onclick="window['images'].grid.newItem();" id="imagesNewButton">New image&hellip;</button>
12
            <button type="button" class="btn btn-success btn-sm dropdown-toggle shadow" data-toggle="dropdown" aria-expanded="false" style="border-left-color: #64ba13 !important;">
13
                <span class="caret"></span>
14
                <span class="sr-only">Toggle Dropdown</span>
15
            </button>
16
            <ul class="dropdown-menu" role="menu">
17
                <li id="imagesUploadButton"><a href="#images" onclick="upload.showDialog();">Upload&hellip;</a></li>
18
            </ul>
19
        </div>
20 2a63870a Christian Orellana
        <span id="missingbackups" class="missingbackups" style="color:red; margin-left:250px; margin-right:20px; vertical-align: -webkit-baseline-middle; vertical-align: -moz-middle-with-baseline;"></span>
21 95b003ff Origo
22
        <div class="pull-right" style="margin-left:10px;">
23
            <form action="#images" method="get" onsubmit="document.getElementById('images_search_query').blur(); return false;">
24
                <div id="images_search_query" class="searchQueryInput"
25
                     data-dojo-type="stabile.ClearTextBox"
26
                     data-dojo-props="placeHolder:'search by name', intermediateChanges:false">
27
                </div>
28
            </form>
29
        </div>
30
31
        <div class="pull-right">
32
            <span id="storage_sum" style="font-size:90%; color:#AAAAAA; vertical-align: sub;"></span>
33
            <span style="vertical-align: sub; margin-left:10px;">Show:</span>
34
            <select id="images_type_filter_select" data-dojo-type="dijit.form.Select">
35
                <option value="all">All</option>
36
                <option value="user_images" selected="selected">My Images</option>
37
                <option value="user_master_images">My Master Images</option>
38
                <option value="user_cd_roms">My Cd-roms</option>
39
                <option value="common_master_images">Shared Master Images</option>
40
                <option value="common_cd_roms">Shared Cd-roms</option>
41
            </select>
42
            <select id="images_storagepool_filter_select" data-dojo-type="dijit.form.Select">
43
                <option value="all" selected="selected">on all storage</option>
44
                <option value="shared_storage_pools">on shared storage</option>
45
                <option value="node_storage_pools">on node storage</option>
46
                <script type="dojo/method" event="onChange" args="value">
47
                </script>
48
            </select>
49
        </div>
50
        
51
        <button title="Click to perform a ZFS snapshot of available ZFS volumes and sync them with backup storage." type="button" class="btn btn-info btn-xs shadow pull-right" onclick="window['images'].doZBackup();" id="dozbackup" style="display:none; margin-top: 5px; margin-right:8px;">Backup now</button>
52
53
    </div>
54
55
    <div id="images-grid" class="grid-div"></div>
56
57
    <div class="border_container_south">
58
        <a href="#images" onClick="window['images'].grid.refresh(); window['images'].updateMissingBackups();" title="refresh" class="pull-right float btn"><img src="/stabile/static/img/ic_refresh_white_24dp_1x.png"></a>
59
    </div>
60
</div>