snusmubrik (snusmubrik) wrote in changelog,
snusmubrik
snusmubrik
changelog

[ljcom] r12998: LJSUP-14473: Admin pages' style and code...

Committer: aeremenko
LJSUP-14473: Admin pages' style and code refactoring
U   trunk/htdocs/admin/backup.bml
Modified: trunk/htdocs/admin/backup.bml
===================================================================
--- trunk/htdocs/admin/backup.bml	2012-12-05 08:54:06 UTC (rev 12997)
+++ trunk/htdocs/admin/backup.bml	2012-12-05 11:14:51 UTC (rev 12998)
@@ -1,3 +1,5 @@
+<?page
+body<=
 <?_code
 {
     use strict;
@@ -3,4 +5,6 @@
     use vars qw(%GET %POST);
 
+    LJ::need_res('stc/admin/general.css');
+
     my $err = sub { return "<b>Error:</b> $_[0]" };
 
@@ -27,8 +31,10 @@
         return "Will soon backup: " . $u->ljuser_display;
     }
 
-    return "<form method='POST'>User to backup: " .
+    return "<h1>Backup user</h1><div class='b-adminpage b-adminpage-wide b-adminpage-list'><form method='POST'>User to backup: " .
         "<input type='text' name='user' size='15' maxlength='15' /> " .
-        "<input type='submit' value='Backup' /></form>";
+        "<input type='submit' value='Backup' /></form></div>";
 }
 _code?>
+<=body
+page?>

Tags: aeremenko, bml, ljcom, snusmubrik
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments