Sha256: 515f40ffe9ee4906b859e76d920358d9fa1876b3f75efa250c5e2bbc53de6c01
Contents?: true
Size: 1.51 KB
Versions: 14
Compression:
Stored size: 1.51 KB
Contents
<!doctype html> <html xml:lang="en" lang="en"> <head> <title>Cachai::Admin</title> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta http-equiv="cleartype" content="on"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Cachai Admin"> <meta name="author" content="Fork Ltd."> <!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]--> <link rel="stylesheet" href="http://tomas.github.io/base.css/build/base-min.css" type="text/css" media="screen" /> <style type="text/css"> body { padding: 30px; } h1,h2 { margin-bottom: 1em; } </style> </head> <body> <div id="main" class="fluid container clearfix"> <%= yield %> </div> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script> function show_input(input) { input.type = 'text'; $(input).prev().hide(); } function hide_input(input) { input.type = 'hidden'; $(input).prev().show().text(input.value); } $('table').on('dblclick', 'td', function(e) { if ($(this).hasClass('textarea')) { var val = $(this).find('textarea').toggle().val(); $(this).find('span').toggle().html(val); } else { var input = $(this).find('input'); if (input[0].type == 'hidden') { show_input(input[0]); } else { hide_input(input[0]); } } }) </script> </body> </html>
Version data entries
14 entries across 14 versions & 1 rubygems