Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Commit

Permalink
review changes in ui
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-kolda committed Jul 9, 2018
1 parent 15191c1 commit 4f91383
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
7 changes: 4 additions & 3 deletions templates/restoreDataset.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ <h2>Restore dataset</h2>
that this will be a temporary dataset with expiration time set to 7 days. Note that passed
dataset could already exists - it should be in the same location as backup. If target
dataset id is not passed, then source dataset id value will be used as a target dataset id
in restoration project
in restoration project. In case of restoring backups from different datasets multiple target
datasets will be created.
</small>
</div>
</div>
Expand All @@ -74,8 +75,8 @@ <h2>Restore dataset</h2>
<div class="col-sm-4">
<input type="number" class="form-control" id="maxPartitionsDays" name="max_partition_days">
<small id="maxPartitionsDaysHelp" class="form-text text-muted">Optional. Number of days from
partitioned tables will be restored (eg. 30 means that partitions from last 30 days will be
restored)
partitioned tables will be restored (eg. 30 means that partitions from last 30 days from now
will be restored)
</small>
</div>
</div>
Expand Down
11 changes: 9 additions & 2 deletions templates/restoreTable.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ <h2>Restore table</h2>
}
</script>

<p class="lead">
This form restores single non-partitioned table or single partition. In case of restoring multiple
partitions from partitioned table, you need to submit this form for every partition which you want
to restore.
</p>

<form name="restoreTableForm" onsubmit="return OnSubmitForm();">
<div class="form-group row">
<label for="sourceProjectId" class="col-sm-2 col-form-label">Source project id</label>
Expand Down Expand Up @@ -68,8 +74,9 @@ <h2>Restore table</h2>
<div class="col-sm-8">
<input type="number" class="form-control" id="sourcePartitionId" name="partitionId"
placeholder="partition id">
<small id="sourcePartitionIdHelp" class="form-text text-muted">Optional. Partition id of
original table. If specified, only this single partition will be restored
<small id="sourcePartitionIdHelp" class="form-text text-muted">Valid and required for
partitioned tables only. Partition id of original table. If specified, only this single
partition will be restored
</small>
</div>
</div>
Expand Down

0 comments on commit 4f91383

Please sign in to comment.