├── README.md ├── manage.py └── realblog ├── __init__.py ├── admin ├── __init__.py ├── article.py ├── articles.html ├── base.html ├── blog-plugins.html ├── blog-settings.html ├── category.py ├── edit-article.html ├── edit-category.html ├── edit-link.html ├── image │ ├── a-button.png │ ├── blank.png │ ├── blue-button.png │ ├── button-bg.png │ ├── comment-notes.png │ ├── content-holder.png │ ├── deep-blue.png │ ├── dialog.png │ ├── dianlog-sprite.png │ ├── editor-control.png │ ├── editor-promote.png │ ├── feed-bg-sprites.png │ ├── feed-exif-detail.png │ ├── feed-ft-triangle.png │ ├── feed-icons.png │ ├── feed-img-too-high-tip.png │ ├── feed-new-post-guide.png │ ├── gp-bg.png │ ├── gp-complete.png │ ├── gray-button.png │ ├── green.png │ ├── grey-tip.png │ ├── header.png │ ├── helpcenter-bg.png │ ├── home.png │ ├── hot-tag-icon.png │ ├── htmlbg.png │ ├── icon.png │ ├── input-text.png │ ├── loading-small.gif │ ├── logo-0317.png │ ├── msg-load-more.png │ ├── msg-title.png │ ├── msgbox-bg.png │ ├── no-login-search.png │ ├── pb-main-bg.png │ ├── pb-tag-bg.png │ ├── photo-reply.png │ ├── player.png │ ├── post-by-timer.png │ ├── progress.png │ ├── publisher-audio-drag.png │ ├── publisher-photo-drag.png │ ├── publisher-share-tip.png │ ├── publisher-video.png │ ├── publisher.png │ ├── publisher_photo.png │ ├── radar.png │ ├── round.png │ ├── side-search-tip.png │ ├── sidemenu-item.png │ ├── sidemenu-sub-item.png │ ├── sidemenu.png │ ├── small-close-icon.png │ ├── small-round-loading.gif │ ├── split.png │ ├── startpage-0410.png │ ├── startpage-1231.png │ ├── startpage-button.png │ ├── startpage-error.png │ ├── startpage.png │ ├── wall-player.png │ ├── x-close.png │ ├── xiami_player.png │ └── yellow-tip.png ├── img │ └── uploadify-cancel.png ├── import-and-export.html ├── install.html ├── link.py ├── login.html ├── other.py ├── redirect.html ├── region-footer.html ├── region-header.html ├── region-sidebar.html ├── register.html ├── script │ ├── crypto-min.js │ ├── crypto-sha1.js │ ├── jquery-1.8.3.min.js │ ├── jquery.uploadify.min.js │ ├── timezone.js │ └── uploadify.swf ├── show-categories.html ├── show-hidden-article.html ├── show-links.html ├── style │ ├── dd.css │ ├── home.css │ ├── login-style.css │ ├── login.css │ ├── publisher.css │ ├── setting-blog.css │ └── uploadify.css ├── timezone.py └── urls.py ├── config ├── __init__.py └── server.py ├── editor ├── CHANGELOG.TXT ├── dialogs │ ├── anchor │ │ └── anchor.html │ ├── attachment │ │ ├── attachment.css │ │ ├── attachment.html │ │ ├── callbacks.js │ │ ├── fileTypeImages │ │ │ ├── icon_chm.gif │ │ │ ├── icon_default.png │ │ │ ├── icon_doc.gif │ │ │ ├── icon_exe.gif │ │ │ ├── icon_mp3.gif │ │ │ ├── icon_mv.gif │ │ │ ├── icon_pdf.gif │ │ │ ├── icon_ppt.gif │ │ │ ├── icon_psd.gif │ │ │ ├── icon_rar.gif │ │ │ ├── icon_txt.gif │ │ │ └── icon_xls.gif │ │ └── fileTypeMaps.js │ ├── background │ │ ├── background.css │ │ ├── background.html │ │ └── background.js │ ├── emotion │ │ ├── emotion.css │ │ ├── emotion.html │ │ ├── emotion.js │ │ └── images │ │ │ ├── 0.gif │ │ │ ├── bface.gif │ │ │ ├── cface.gif │ │ │ ├── fface.gif │ │ │ ├── jxface2.gif │ │ │ ├── neweditor-tab-bg.png │ │ │ ├── tface.gif │ │ │ ├── wface.gif │ │ │ └── yface.gif │ ├── gmap │ │ └── gmap.html │ ├── help │ │ ├── help.css │ │ ├── help.html │ │ └── help.js │ ├── highlightcode │ │ └── highlightcode.html │ ├── image │ │ ├── image.css │ │ ├── image.html │ │ ├── image.js │ │ ├── imageUploader.swf │ │ └── images │ │ │ ├── center_focus.jpg │ │ │ ├── left_focus.jpg │ │ │ ├── none_focus.jpg │ │ │ └── right_focus.jpg │ ├── insertframe │ │ └── insertframe.html │ ├── internal.js │ ├── link │ │ └── link.html │ ├── map │ │ └── map.html │ ├── music │ │ ├── music.css │ │ ├── music.html │ │ └── music.js │ ├── scrawl │ │ ├── images │ │ │ ├── addimg.png │ │ │ ├── brush.png │ │ │ ├── delimg.png │ │ │ ├── delimgH.png │ │ │ ├── empty.png │ │ │ ├── emptyH.png │ │ │ ├── eraser.png │ │ │ ├── redo.png │ │ │ ├── redoH.png │ │ │ ├── scale.png │ │ │ ├── scaleH.png │ │ │ ├── size.png │ │ │ ├── undo.png │ │ │ └── undoH.png │ │ ├── scrawl.css │ │ ├── scrawl.html │ │ └── scrawl.js │ ├── searchreplace │ │ ├── searchreplace.html │ │ └── searchreplace.js │ ├── snapscreen │ │ └── snapscreen.html │ ├── spechars │ │ ├── spechars.html │ │ └── spechars.js │ ├── table │ │ ├── edittd.html │ │ ├── table.css │ │ ├── table.html │ │ └── table.js │ ├── tangram.js │ ├── template │ │ ├── config.js │ │ ├── images │ │ │ ├── bg.gif │ │ │ ├── pre0.png │ │ │ ├── pre1.png │ │ │ ├── pre2.png │ │ │ ├── pre3.png │ │ │ └── pre4.png │ │ ├── template.css │ │ ├── template.html │ │ └── template.js │ ├── video │ │ ├── images │ │ │ ├── center_focus.jpg │ │ │ ├── left_focus.jpg │ │ │ ├── none_focus.jpg │ │ │ └── right_focus.jpg │ │ ├── video.css │ │ ├── video.html │ │ └── video.js │ ├── webapp │ │ └── webapp.html │ └── wordimage │ │ ├── fClipboard_ueditor.swf │ │ ├── imageUploader.swf │ │ ├── wordimage.html │ │ └── wordimage.js ├── editor_all.js ├── editor_all_min.js ├── editor_config.js ├── lang │ ├── en │ │ ├── en.js │ │ └── images │ │ │ ├── addimage.png │ │ │ ├── alldeletebtnhoverskin.png │ │ │ ├── alldeletebtnupskin.png │ │ │ ├── background.png │ │ │ ├── button.png │ │ │ ├── copy.png │ │ │ ├── deletedisable.png │ │ │ ├── deleteenable.png │ │ │ ├── imglabel.png │ │ │ ├── listbackground.png │ │ │ ├── localimage.png │ │ │ ├── music.png │ │ │ ├── rotateleftdisable.png │ │ │ ├── rotateleftenable.png │ │ │ ├── rotaterightdisable.png │ │ │ ├── rotaterightenable.png │ │ │ └── upload.png │ └── zh-cn │ │ ├── images │ │ ├── copy.png │ │ ├── imglabel.png │ │ ├── localimage.png │ │ ├── music.png │ │ └── upload.png │ │ └── zh-cn.js ├── themes │ ├── default │ │ ├── css │ │ │ └── ueditor.css │ │ ├── dialogbase.css │ │ └── images │ │ │ ├── anchor.gif │ │ │ ├── arrow.png │ │ │ ├── button-bg.gif │ │ │ ├── cancelbutton.gif │ │ │ ├── cursor_h.gif │ │ │ ├── cursor_v.gif │ │ │ ├── dialog-title-bg.png │ │ │ ├── filescan.png │ │ │ ├── highlighted.gif │ │ │ ├── icons-all.gif │ │ │ ├── icons.gif │ │ │ ├── icons.png │ │ │ ├── lock.gif │ │ │ ├── neweditor-tab-bg.png │ │ │ ├── pagebreak.gif │ │ │ ├── scale.png │ │ │ ├── spacer.gif │ │ │ ├── sparator_v.png │ │ │ ├── toolbar_bg.png │ │ │ ├── unhighlighted.gif │ │ │ ├── upload.png │ │ │ ├── videologo.gif │ │ │ └── word.gif │ ├── gorgeous │ │ ├── css │ │ │ └── ueditor.css │ │ ├── dialogbase.css │ │ └── images │ │ │ ├── anchor.gif │ │ │ ├── arrow.png │ │ │ ├── bottom.png │ │ │ ├── button-bg.gif │ │ │ ├── cancelbutton.gif │ │ │ ├── cursor_h.gif │ │ │ ├── cursor_v.gif │ │ │ ├── dialog-title-bg.png │ │ │ ├── dialog_title.png │ │ │ ├── filescan.png │ │ │ ├── highlighted.gif │ │ │ ├── icons-all.gif │ │ │ ├── icons-all.png │ │ │ ├── icons-checked.gif │ │ │ ├── icons-checked.png │ │ │ ├── icons-hover.gif │ │ │ ├── icons-hover.png │ │ │ ├── icons.gif │ │ │ ├── icons.png │ │ │ ├── lock.gif │ │ │ ├── neweditor-tab-bg.png │ │ │ ├── pagebreak.gif │ │ │ ├── scale.png │ │ │ ├── spacer.gif │ │ │ ├── sparator_v.png │ │ │ ├── toolbar-bg.png │ │ │ ├── unhighlighted.gif │ │ │ ├── upload.png │ │ │ ├── videologo.gif │ │ │ └── word.gif │ ├── iframe.css │ └── modern │ │ ├── css │ │ └── ueditor.css │ │ ├── dialogbase.css │ │ └── images │ │ ├── anchor.gif │ │ ├── arrow.png │ │ ├── bottom.png │ │ ├── button-bg.gif │ │ ├── cancelbutton.gif │ │ ├── cursor_h.gif │ │ ├── cursor_v.gif │ │ ├── dialog-title-bg.png │ │ ├── dialog_title.png │ │ ├── filescan.png │ │ ├── highlighted.gif │ │ ├── icons-all.gif │ │ ├── icons-all.png │ │ ├── icons-checked.gif │ │ ├── icons-checked.png │ │ ├── icons-hover.gif │ │ ├── icons-hover.png │ │ ├── icons.gif │ │ ├── icons.png │ │ ├── lock.gif │ │ ├── neweditor-tab-bg.png │ │ ├── pagebreak.gif │ │ ├── scale.png │ │ ├── spacer.gif │ │ ├── sparator_v.png │ │ ├── toolbar-bg.png │ │ ├── unhighlighted.gif │ │ ├── upload.png │ │ ├── videologo.gif │ │ └── word.gif └── third-party │ ├── SyntaxHighlighter │ ├── shCore.js │ └── shCoreDefault.css │ └── codemirror │ ├── codemirror.css │ └── codemirror.js ├── func.py ├── middleware.py ├── settings.py ├── themes ├── Zine │ ├── base.html │ ├── bg.png │ ├── detail.html │ ├── dot.gif │ ├── footer.html │ ├── header.html │ ├── index.html │ ├── logo-django.png │ ├── logo-linode.png │ ├── logo-mongodb.png │ ├── nav.gif │ ├── pagenavi-css.css │ ├── paginator.html │ ├── relatedPosts.png │ ├── sidebar-index.html │ ├── style.css │ ├── switch_collapsed.png │ ├── switch_expanded.png │ ├── switch_item.png │ ├── toolbar.png │ ├── toolbar_sina.png │ └── wp-syntax.css └── default │ ├── base.html │ ├── bullet_black.gif │ ├── bullet_red.gif │ ├── detail.html │ ├── footer.html │ ├── header.html │ ├── index.html │ ├── logo-django.png │ ├── logo-linode.png │ ├── logo-mongodb.png │ ├── reset.css │ ├── root.html │ ├── rss.png │ ├── sidebar-detail.html │ ├── sidebar-index.html │ ├── style.css │ ├── switch_collapsed.png │ ├── switch_expanded.png │ └── switch_item.png ├── urls.py ├── views.py └── wsgi.py /manage.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | import os 3 | import sys 4 | 5 | if __name__ == "__main__": 6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "realBlog.settings") 7 | 8 | from django.core.management import execute_from_command_line 9 | execute_from_command_line(sys.argv) 10 | -------------------------------------------------------------------------------- /realblog/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kailunio/RealBlog/784286ad3c177624145f6218e0f53d0507906dff/realblog/__init__.py -------------------------------------------------------------------------------- /realblog/admin/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kailunio/RealBlog/784286ad3c177624145f6218e0f53d0507906dff/realblog/admin/__init__.py -------------------------------------------------------------------------------- /realblog/admin/articles.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | {% block ref %} 4 | 22 | {% endblock %} 23 | {% block content %} 24 |
20 |
21 |
27 | | 28 | |
ctrl+b | 33 |34 | |
ctrl+c | 37 |38 | |
ctrl+x | 41 |42 | |
ctrl+v | 45 |46 | |
ctrl+y | 49 |50 | |
ctrl+z | 53 |54 | |
ctrl+i | 57 |58 | |
ctrl+u | 61 |62 | |
ctrl+a | 65 |66 | |
ctrl+shift+c | 69 |70 | |
ctrl+shift+l | 73 |74 | |
ctrl+shift+r | 77 |78 | |
shift+enter | 81 |82 | |
: | 28 |29 | |
32 | | 33 | 34 | | 35 |
38 | 39 | 40 | | 41 |
: | 48 |49 | |
: | 52 |53 | |
56 | | 57 | 58 | | 59 |
62 | 63 | 64 | 65 | 66 | | 67 |
26 | {% if article.IsEncrypted %} 27 | 请输入访问密码: 28 | 29 | 30 | {% else %} 31 | {{ article.Content|safe }} 32 | {% endif %} 33 |
34 | 38 | {% if info.CommentCode %}{{ info.CommentCode|safe }}{% endif %} 39 |27 | {% if i.IsEncrypted %} 28 | 请输入访问密码: 29 | 30 | 31 | {% else %} 32 | {{ i.Content|safe }} 33 | 阅读全文 » 34 | {% endif %} 35 |
36 |