Guest User

Untitled

a guest
Jan 3rd, 2013
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.55 KB | None | 0 0
  1.  
  2.  
  3. <!doctype html>
  4.     <html lang="en">
  5.         <head>
  6.             <meta charset="utf-8" />
  7.             <title>hocooCMS - Backend</title>
  8.             <link rel="stylesheet" href="img/style_backend.css" />
  9.             <!--[if IE]>
  10.             <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  11.             <![endif]-->
  12.             <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
  13.             <script type="text/javascript">
  14.                 $(document).ready(function() {
  15.                    
  16.  
  17.                    
  18.                    
  19.                     $("#groups_ul > li").click(function() {
  20.                     ;
  21.                         $("#groups_ul > input").each(function (i) {
  22.                             $(this).replaceWith("<li>" + $(this).attr("value") + "</li>");
  23.                             }
  24.                         );
  25.                         $(this).replaceWith("<input type='text' name='group___" + $(this).html() + "' value='" + $(this).html() + "' />");
  26.                     }
  27.                     );
  28.                
  29.                                
  30.                    
  31.                    
  32.                 });
  33.             </script>
  34.         <body>
  35.             <div id="container">
  36.                 <div id="groups">
  37.                     <h1>Groups & Content</h1><form method='post' action='backend.php'><ul id='groups_ul'><li>main</li><ul class='obj_ul'><li class='main'>main</li><li class='test'>test</li></ul><li>users</li><ul class='obj_ul'></ul></ul></form>                   
  38.                 </div>
  39.                 <div id="classes">
  40.                    
  41.             <h1>Classes</h1>
  42.             <ul id="classes_list"><li><a href='?location=class&class=main' title='title
  43. logo
  44. heading
  45. base_url'>main</a></li><li><a href='?location=class&class=user' title='name
  46. password
  47. email
  48. avatar
  49. access'>user</a></li><li><a href='?location=class&class=article' title='title
  50. text
  51. author
  52. timestamp'>article</a></li></ul>                </div>
  53.             </div>
  54.  
  55.         </body>
  56.     </html>
Advertisement
Add Comment
Please, Sign In to add comment