Add progress bar for installer...still need to write the actual migrations
This commit is contained in:
parent
8b0fe2cdaf
commit
5aeb90852b
@ -122,7 +122,13 @@ if (hesk_dbNumRows($tableSql) > 0) {
|
||||
</table>
|
||||
</div>
|
||||
<div data-step="install-or-update" style="display: none">
|
||||
<p>Here we'd actually be doing some things</p>
|
||||
<div class="progress">
|
||||
<div class="progress-bar progress-bar-success progress-bar-striped active" role="progressbar" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"
|
||||
style="min-width: 2em; width: 100%">
|
||||
<span class="sr-only">100% Complete</span>
|
||||
100%
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php // END INSTALL SCREENS ?>
|
||||
<div id="buttons">
|
||||
|
@ -7,7 +7,12 @@ var steps = [
|
||||
{
|
||||
name: 'db-confirm',
|
||||
text: 'Confirm the information below',
|
||||
callback: confirmDatabaseInformation
|
||||
callback: undefined
|
||||
},
|
||||
{
|
||||
name: 'install-or-update',
|
||||
text: 'Updating to the latest version...',
|
||||
callback: undefined
|
||||
}
|
||||
];
|
||||
|
||||
@ -43,7 +48,3 @@ function goToStep(step) {
|
||||
|
||||
$('#header-text').text(steps[step].text);
|
||||
}
|
||||
|
||||
function confirmDatabaseInformation() {
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user