installer: reduce margins; misc fixes

This commit is contained in:
Andrew Dolgov 2019-02-19 21:23:03 +03:00
parent 7716f82c2a
commit 5ce55faa3b
9 changed files with 14 additions and 6 deletions

View File

@ -914,7 +914,7 @@ class Handler_Public extends Handler {
print "<hr/>"; print "<hr/>";
print "<form method='GET' action='index.php'> print "<form method='GET' action='index.php'>
<button dojoType='dijit.form.Button'>".__("Return to Tiny Tiny RSS")."</button> <button type='submit' class='alt-primary' dojoType='dijit.form.Button'>".__("Return to Tiny Tiny RSS")."</button>
</form>"; </form>";
} else if (!$method) { } else if (!$method) {
@ -1025,7 +1025,7 @@ class Handler_Public extends Handler {
print "<form method='GET' action='public.php'> print "<form method='GET' action='public.php'>
<input type='hidden' name='op' value='forgotpass'> <input type='hidden' name='op' value='forgotpass'>
<input dojoType='dijit.form.Button' type='submit' value=\"".__("Go back")."\"> <button dojoType='dijit.form.Button' type='submit'>".__("Go back")."</button>
</form>"; </form>";
} }

View File

@ -1551,6 +1551,7 @@ body.ttrss_utility.ttrss_login .container {
body.ttrss_utility.ttrss_login .container .content { body.ttrss_utility.ttrss_login .container .content {
padding: 40px; padding: 40px;
} }
body.ttrss_utility.installer,
body.ttrss_utility.feed_debugger, body.ttrss_utility.feed_debugger,
body.ttrss_utility.ttrss_zoom { body.ttrss_utility.ttrss_zoom {
margin: 2em; margin: 2em;

File diff suppressed because one or more lines are too long

View File

@ -125,6 +125,7 @@ body.ttrss_utility.ttrss_login {
} }
} }
body.ttrss_utility.installer,
body.ttrss_utility.feed_debugger, body.ttrss_utility.feed_debugger,
body.ttrss_utility.ttrss_zoom { body.ttrss_utility.ttrss_zoom {
margin : 2em; margin : 2em;

View File

@ -37,7 +37,7 @@
echo javascript_tag("../lib/dojo/tt-rss-layer.js"); echo javascript_tag("../lib/dojo/tt-rss-layer.js");
?> ?>
</head> </head>
<body class="flat ttrss_utility"> <body class="flat ttrss_utility installer">
<script type="text/javascript"> <script type="text/javascript">
require(['dojo/parser', "dojo/ready", 'dijit/form/Button','dijit/form/CheckBox', 'dijit/form/Form', require(['dojo/parser', "dojo/ready", 'dijit/form/Button','dijit/form/CheckBox', 'dijit/form/Form',
@ -200,6 +200,10 @@
if (!defined('_INSTALLER_IGNORE_CONFIG_CHECK')) { if (!defined('_INSTALLER_IGNORE_CONFIG_CHECK')) {
print_error("Error: config.php already exists in tt-rss directory; aborting."); print_error("Error: config.php already exists in tt-rss directory; aborting.");
print "<form method='GET' action='../index.php'>
<button type='submit' dojoType='dijit.form.Button' class='alt-primary'>Return to Tiny Tiny RSS</button>
</form>";
exit; exit;
} }
} }

View File

@ -1552,6 +1552,7 @@ body.ttrss_utility.ttrss_login .container {
body.ttrss_utility.ttrss_login .container .content { body.ttrss_utility.ttrss_login .container .content {
padding: 40px; padding: 40px;
} }
body.ttrss_utility.installer,
body.ttrss_utility.feed_debugger, body.ttrss_utility.feed_debugger,
body.ttrss_utility.ttrss_zoom { body.ttrss_utility.ttrss_zoom {
margin: 2em; margin: 2em;

File diff suppressed because one or more lines are too long

View File

@ -1552,6 +1552,7 @@ body.ttrss_utility.ttrss_login .container {
body.ttrss_utility.ttrss_login .container .content { body.ttrss_utility.ttrss_login .container .content {
padding: 40px; padding: 40px;
} }
body.ttrss_utility.installer,
body.ttrss_utility.feed_debugger, body.ttrss_utility.feed_debugger,
body.ttrss_utility.ttrss_zoom { body.ttrss_utility.ttrss_zoom {
margin: 2em; margin: 2em;

File diff suppressed because one or more lines are too long