Skip to content

Commit

Permalink
Unify design of update box with login box
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick committed Jan 18, 2015
1 parent 78c056f commit e2df0ce
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
4 changes: 4 additions & 0 deletions backstage/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,10 @@ h3.panel-title {
margin: 0 auto;
}

.well .alert-danger {
margin: -10px 0 0 0;
}

.well form {
margin: 15px;
padding-bottom: 15px;
Expand Down
16 changes: 9 additions & 7 deletions db_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,16 @@ function stripslashes_array($array) {
<link href="backstage/css/style.css" type="text/css" rel="stylesheet">
</head>
<body onload="document.getElementById('install').start.disabled=false;">
<form class="form" id="install" method="post" action="db_update.php">
<h1 class="form-heading">Luna</h1>
<div class="well form-box">
<h3 class="form-title">Luna</h3>
<p class="alert alert-danger">This is a preview version! Do not install this upon a working ModernBB installation if you're using it in a productive environment!</p>
<fieldset>
<input type="hidden" name="stage" value="start" />
<input class="btn btn-default btn-block btn-update" type="submit" name="start" value="<?php echo $lang['Start update'] ?>" />
</fieldset>
</form>
<form id="install" method="post" action="db_update.php">
<input type="hidden" name="form_sent" value="1" />
<div class="form-group">
<input class="btn btn-primary btn-block btn-update" type="submit" name="start" value="<?php echo $lang['Start update'] ?>" />
</div>
</form>
</div>
</body>
</html>
<?php
Expand Down
2 changes: 1 addition & 1 deletion include/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Version {
const FORUM_VERSION = '0.3-dev';

// The Luna Core version
const FORUM_CORE_VERSION = '0.3.3666';
const FORUM_CORE_VERSION = '0.3.3667';

// The database version number, every change in the database requires this number to go one up
const FORUM_DB_VERSION = '87.14';
Expand Down

0 comments on commit e2df0ce

Please sign in to comment.