Archived
Fix installer and updater for use with backend JS
- include Modernizr in the installer as well (needed for no-js/js) - reference backend JS before body instead of in head - added container markup for installer error msgs - some styling for tables in the installer - remove obsolete no-js/js styles for JS-less installer - compensate for the lack of iconfonts (due to the style.css not being piped through serendipity.css.php in the installer) by using different markup which works with system fonts
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="{serendipity_getFile file='admin/style.css'}">
|
||||
<script src="{serendipity_getFile file='admin/js/modernizr-2.7.1.min.js'}"></script>
|
||||
<script src="{serendipity_getFile file='jquery.js'}"></script>
|
||||
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
|
||||
</head>
|
||||
<body id="serendipity_admin_page">
|
||||
<header id="top">
|
||||
@@ -21,9 +21,11 @@
|
||||
<main class="clearfix serendipityAdminContent installer">
|
||||
<div id="content" class="clearfix">
|
||||
{if $is_errors && is_array($errors)}
|
||||
<ul class="plainList">
|
||||
{foreach $errors AS $error}
|
||||
<span class="msg_error">{$error}</span>
|
||||
<li><span class="msg_error">{$error}</span></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{if $getstepint0}
|
||||
<h2>{$CONST.WELCOME_TO_INSTALLATION}</h2>
|
||||
@@ -290,5 +292,7 @@
|
||||
<footer id="meta">
|
||||
<p>{$ADMIN_FOOTER_POWERED_BY|sprintf:$versionInstalled:$phpversion}</p>
|
||||
</footer>
|
||||
|
||||
<script src="{serendipity_getFile file='admin/serendipity_editor.js'}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user