|
| 1 | +<!DOCTYPE html> |
| 2 | +<html> |
| 3 | +<head> |
| 4 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 5 | + <link rel='stylesheet' href='/static/css/markdown.css' type='text/css' /> |
| 6 | + <!-- Bootstrap core CSS --> |
| 7 | + <link href="/static/bootstrap3/dist/css/bootstrap.css" rel="stylesheet"> |
| 8 | + <!-- Bootstrap theme --> |
| 9 | + <link href="/static/bootstrap3/dist/css/bootstrap-theme.min.css" rel="stylesheet"> |
| 10 | + |
| 11 | + <!-- Custom styles for this template --> |
| 12 | + <link href="/static/css/theme.css" rel="stylesheet"> |
| 13 | + <link href="/static/css/code.css" rel="stylesheet"> |
| 14 | + <link rel="StyleSheet" href="/static/js/tree/dtree.css" type="text/css" /> |
| 15 | + <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --> |
| 16 | + <!--[if lt IE 9]> |
| 17 | + <script src="/static/bootstrap3/dist/js/html5shiv.js"></script> |
| 18 | + <script src="/static/bootstrap3/dist/js/respond.min.js"></script> |
| 19 | + <![endif]--> |
| 20 | + <script src="/static/js/rainbow-custom.min.js"></script> |
| 21 | + <script src="/static/js/jquery.js"></script> |
| 22 | + <script src="/static/js/dtree.js"></script> |
| 23 | + <title>最新更新列表_Swoole文档中心</title> |
| 24 | +</head> |
| 25 | +<body> |
| 26 | + <div class="main_right" style="width: 96%;"> |
| 27 | + <style type="text/css"> |
| 28 | + td { |
| 29 | + vertical-align: middle !important; |
| 30 | + } |
| 31 | + </style> |
| 32 | + <div id="readme" class="blob instapaper_body"> |
| 33 | + <table class="table table-bordered table-striped" style="margin-top: 20px;"> |
| 34 | + <thead> |
| 35 | + <tr> |
| 36 | + <th style="width: 70px;">版本号</th> |
| 37 | + <th>标题</th> |
| 38 | + <th>修改人</th> |
| 39 | + <th>修改时间</th> |
| 40 | + <th>操作</th> |
| 41 | + </tr> |
| 42 | + </thead> |
| 43 | + <tbody> |
| 44 | + <?php foreach($list as $li): ?> |
| 45 | + <tr> |
| 46 | + <td> |
| 47 | + <span class="badge right">版本: <?=$li['version']?></span> |
| 48 | + </td> |
| 49 | + <td><a href="/wiki_admin/main/?id=<?= $li['wiki_id']?>"><?= $li['title'] ?></a></td> |
| 50 | + <td><a href="/page/user/uid-<?= $li['uid'] ?>"><?= $users[$li['update_uid']] ?></a></td> |
| 51 | + <td><?=\Swoole\Tool::howLongAgo(date('Y-m-d H:i:s', $li['uptime']))?></td> |
| 52 | + <td> |
| 53 | + <a href="/wiki_admin/revert/?id=<?= $li['wiki_id']?>&version=<?=$li['version']-1?>" class="btn btn-sm btn-warning">回滚</a> |
| 54 | + <a href="/wiki_admin/diff/?id=<?= $li['wiki_id']?>&version=<?=$li['version']-1?>&compare=current" class="btn btn-sm btn-info">对比</a> |
| 55 | + </tr> |
| 56 | + <?php endforeach; ?> |
| 57 | + </tbody> |
| 58 | + </table> |
| 59 | + </div> |
| 60 | + <hr /> |
| 61 | + <!-- Duoshuo Comment BEGIN --> |
| 62 | + <div class="ds-thread" data-thread-key="wiki-<?=$wiki_page['id']?>" data-title="<?=$wiki_page['title']?>" |
| 63 | + data-url="http://wiki.swoole.com/wiki/page/<?=$wiki_page['id']?>.html"></div> |
| 64 | + <script type="text/javascript"> |
| 65 | + $(document).ready(function() { |
| 66 | + $('a').each(function(e){ |
| 67 | + //外链 |
| 68 | + if(this.href.substring(7, location.host.length +7) != location.host) { |
| 69 | + this.target = "_blank"; |
| 70 | + } |
| 71 | + }); |
| 72 | + }); |
| 73 | + </script> |
| 74 | + <!-- Duoshuo Comment END --> |
| 75 | + </div> |
| 76 | +<div style="display: none"> |
| 77 | +<script type="text/javascript"> |
| 78 | +var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"); |
| 79 | +document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F4967f2faa888a2e52742bebe7fcb5f7d' type='text/javascript'%3E%3C/script%3E")); |
| 80 | +</script> |
| 81 | +</div> |
| 82 | +</body> |
| 83 | +</html> |
0 commit comments