├── blog ├── __init__.py ├── management │ ├── __init__.py │ └── commands │ │ ├── __init__.py │ │ ├── format_old.py │ │ └── replace_net.py ├── plugins │ └── __init__.py ├── templatetags │ ├── __init__.py │ └── substring.py ├── tests.py └── middleware.py ├── utils ├── __init__.py └── profiler.py ├── weixin ├── __init__.py ├── tests.py └── urls.py ├── selfblog ├── __init__.py ├── wsgi.py └── urls.py ├── static ├── ueditor │ ├── themes │ │ ├── iframe.css │ │ ├── default │ │ │ └── images │ │ │ │ ├── lock.gif │ │ │ │ ├── word.gif │ │ │ │ ├── anchor.gif │ │ │ │ ├── arrow.png │ │ │ │ ├── charts.png │ │ │ │ ├── icons.gif │ │ │ │ ├── icons.png │ │ │ │ ├── scale.png │ │ │ │ ├── spacer.gif │ │ │ │ ├── upload.png │ │ │ │ ├── arrow_up.png │ │ │ │ ├── button-bg.gif │ │ │ │ ├── cursor_h.gif │ │ │ │ ├── cursor_h.png │ │ │ │ ├── cursor_v.gif │ │ │ │ ├── cursor_v.png │ │ │ │ ├── fileScan.png │ │ │ │ ├── icons-all.gif │ │ │ │ ├── pagebreak.gif │ │ │ │ ├── sortable.png │ │ │ │ ├── videologo.gif │ │ │ │ ├── wordpaste.png │ │ │ │ ├── arrow_down.png │ │ │ │ ├── cancelbutton.gif │ │ │ │ ├── highlighted.gif │ │ │ │ ├── sparator_v.png │ │ │ │ ├── toolbar_bg.png │ │ │ │ ├── unhighlighted.gif │ │ │ │ ├── dialog-title-bg.png │ │ │ │ ├── neweditor-tab-bg.png │ │ │ │ ├── table-cell-align.png │ │ │ │ └── tangram-colorpicker.png │ │ ├── modern │ │ │ └── images │ │ │ │ ├── arrow.png │ │ │ │ ├── icons.gif │ │ │ │ ├── icons.png │ │ │ │ ├── lock.gif │ │ │ │ ├── scale.png │ │ │ │ ├── word.gif │ │ │ │ ├── anchor.gif │ │ │ │ ├── bottom.png │ │ │ │ ├── cursor_h.gif │ │ │ │ ├── cursor_v.gif │ │ │ │ ├── filescan.png │ │ │ │ ├── spacer.gif │ │ │ │ ├── upload.png │ │ │ │ ├── button-bg.gif │ │ │ │ ├── icons-all.gif │ │ │ │ ├── icons-all.png │ │ │ │ ├── pagebreak.gif │ │ │ │ ├── sparator_v.png │ │ │ │ ├── toolbar-bg.png │ │ │ │ ├── videologo.gif │ │ │ │ ├── cancelbutton.gif │ │ │ │ ├── dialog_title.png │ │ │ │ ├── highlighted.gif │ │ │ │ ├── icons-checked.gif │ │ │ │ ├── icons-checked.png │ │ │ │ ├── icons-hover.gif │ │ │ │ ├── icons-hover.png │ │ │ │ ├── unhighlighted.gif │ │ │ │ ├── dialog-title-bg.png │ │ │ │ └── neweditor-tab-bg.png │ │ └── gorgeous │ │ │ └── images │ │ │ ├── anchor.gif │ │ │ ├── arrow.png │ │ │ ├── bottom.png │ │ │ ├── icons.gif │ │ │ ├── icons.png │ │ │ ├── lock.gif │ │ │ ├── scale.png │ │ │ ├── spacer.gif │ │ │ ├── upload.png │ │ │ ├── word.gif │ │ │ ├── cursor_h.gif │ │ │ ├── cursor_v.gif │ │ │ ├── filescan.png │ │ │ ├── button-bg.gif │ │ │ ├── highlighted.gif │ │ │ ├── icons-all.gif │ │ │ ├── icons-all.png │ │ │ ├── icons-hover.gif │ │ │ ├── icons-hover.png │ │ │ ├── pagebreak.gif │ │ │ ├── sparator_v.png │ │ │ ├── toolbar-bg.png │ │ │ ├── videologo.gif │ │ │ ├── cancelbutton.gif │ │ │ ├── dialog_title.png │ │ │ ├── icons-checked.gif │ │ │ ├── icons-checked.png │ │ │ ├── unhighlighted.gif │ │ │ ├── dialog-title-bg.png │ │ │ └── neweditor-tab-bg.png │ ├── lang │ │ ├── en │ │ │ └── images │ │ │ │ ├── copy.png │ │ │ │ ├── button.png │ │ │ │ ├── music.png │ │ │ │ ├── upload.png │ │ │ │ ├── addimage.png │ │ │ │ ├── imglabel.png │ │ │ │ ├── background.png │ │ │ │ ├── localimage.png │ │ │ │ ├── deletedisable.png │ │ │ │ ├── deleteenable.png │ │ │ │ ├── listbackground.png │ │ │ │ ├── rotateleftenable.png │ │ │ │ ├── alldeletebtnupskin.png │ │ │ │ ├── rotateleftdisable.png │ │ │ │ ├── rotaterightdisable.png │ │ │ │ ├── rotaterightenable.png │ │ │ │ └── alldeletebtnhoverskin.png │ │ └── zh-cn │ │ │ └── images │ │ │ ├── copy.png │ │ │ ├── music.png │ │ │ ├── upload.png │ │ │ ├── imglabel.png │ │ │ └── localimage.png │ ├── dialogs │ │ ├── emotion │ │ │ ├── images │ │ │ │ ├── 0.gif │ │ │ │ ├── bface.gif │ │ │ │ ├── cface.gif │ │ │ │ ├── fface.gif │ │ │ │ ├── tface.gif │ │ │ │ ├── wface.gif │ │ │ │ ├── yface.gif │ │ │ │ ├── jxface2.gif │ │ │ │ └── neweditor-tab-bg.png │ │ │ └── emotion.css │ │ ├── table │ │ │ ├── dragicon.png │ │ │ ├── edittip.html │ │ │ ├── edittable.css │ │ │ └── edittd.html │ │ ├── scrawl │ │ │ └── images │ │ │ │ ├── redo.png │ │ │ │ ├── size.png │ │ │ │ ├── undo.png │ │ │ │ ├── addimg.png │ │ │ │ ├── brush.png │ │ │ │ ├── delimg.png │ │ │ │ ├── delimgH.png │ │ │ │ ├── empty.png │ │ │ │ ├── emptyH.png │ │ │ │ ├── eraser.png │ │ │ │ ├── redoH.png │ │ │ │ ├── scale.png │ │ │ │ ├── scaleH.png │ │ │ │ └── undoH.png │ │ ├── template │ │ │ ├── images │ │ │ │ ├── bg.gif │ │ │ │ ├── pre0.png │ │ │ │ ├── pre1.png │ │ │ │ ├── pre2.png │ │ │ │ ├── pre3.png │ │ │ │ └── pre4.png │ │ │ ├── template.html │ │ │ ├── template.css │ │ │ └── template.js │ │ ├── charts │ │ │ ├── images │ │ │ │ ├── charts0.png │ │ │ │ ├── charts1.png │ │ │ │ ├── charts2.png │ │ │ │ ├── charts3.png │ │ │ │ ├── charts4.png │ │ │ │ └── charts5.png │ │ │ └── chart.config.js │ │ ├── image │ │ │ ├── imageUploader.swf │ │ │ └── images │ │ │ │ ├── left_focus.jpg │ │ │ │ ├── none_focus.jpg │ │ │ │ ├── center_focus.jpg │ │ │ │ └── right_focus.jpg │ │ ├── video │ │ │ └── images │ │ │ │ ├── left_focus.jpg │ │ │ │ ├── none_focus.jpg │ │ │ │ ├── center_focus.jpg │ │ │ │ └── right_focus.jpg │ │ ├── wordimage │ │ │ ├── imageUploader.swf │ │ │ └── fClipboard_ueditor.swf │ │ ├── attachment │ │ │ ├── fileTypeImages │ │ │ │ ├── icon_mv.gif │ │ │ │ ├── icon_chm.gif │ │ │ │ ├── icon_doc.gif │ │ │ │ ├── icon_exe.gif │ │ │ │ ├── icon_mp3.gif │ │ │ │ ├── icon_pdf.gif │ │ │ │ ├── icon_ppt.gif │ │ │ │ ├── icon_psd.gif │ │ │ │ ├── icon_rar.gif │ │ │ │ ├── icon_txt.gif │ │ │ │ ├── icon_xls.gif │ │ │ │ └── icon_default.png │ │ │ └── fileTypeMaps.js │ │ ├── help │ │ │ ├── help.css │ │ │ └── help.js │ │ ├── spechars │ │ │ └── spechars.html │ │ ├── music │ │ │ ├── music.html │ │ │ └── music.css │ │ ├── background │ │ │ └── background.css │ │ ├── preview │ │ │ └── preview.html │ │ └── anchor │ │ │ └── anchor.html │ └── third-party │ │ ├── video-js │ │ ├── font │ │ │ ├── vjs.eot │ │ │ ├── vjs.ttf │ │ │ └── vjs.woff │ │ └── video-js.swf │ │ ├── swfupload │ │ ├── swfupload.swf │ │ ├── swfupload_fp9.swf │ │ └── swfupload.cookies.js │ │ ├── snapscreen │ │ └── UEditorSnapscreen.exe │ │ └── highcharts │ │ └── modules │ │ ├── heatmap.js │ │ ├── heatmap.src.js │ │ ├── no-data-to-display.js │ │ └── funnel.js ├── xadmin │ ├── vendor │ │ ├── bootstrap-multiselect │ │ │ └── css │ │ │ │ └── bootstrap-multiselect.css │ │ ├── select2 │ │ │ ├── select2.png │ │ │ ├── select2x2.png │ │ │ ├── select2-spinner.gif │ │ │ ├── select2_locale_zh-CN.js │ │ │ ├── select2_locale_hu.js │ │ │ ├── select2_locale_de.js │ │ │ ├── select2_locale_tr.js │ │ │ ├── select2_locale_nl.js │ │ │ ├── select2_locale_sv.js │ │ │ ├── select2_locale_es.js │ │ │ ├── select2_locale_it.js │ │ │ ├── select2_locale_pt-BR.js │ │ │ ├── select2_locale_pt-PT.js │ │ │ ├── select2_locale_ro.js │ │ │ ├── select2_locale_fr.js │ │ │ ├── select2_locale_ru.js │ │ │ ├── select2_locale_ua.js │ │ │ ├── select2_locale_eu.js │ │ │ └── select2_locale_hr.js │ │ ├── font-awesome │ │ │ └── fonts │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ └── fontawesome-webfont.woff │ │ ├── bootstrap-modal │ │ │ └── img │ │ │ │ └── ajax-loader.gif │ │ ├── bootstrap-image-gallery │ │ │ └── img │ │ │ │ └── loading.gif │ │ ├── bootstrap-datepicker │ │ │ └── js │ │ │ │ └── locales │ │ │ │ ├── bootstrap-datepicker.kr.js │ │ │ │ ├── bootstrap-datepicker.zh-TW.js │ │ │ │ ├── bootstrap-datepicker.ja.js │ │ │ │ ├── bootstrap-datepicker.zh-CN.js │ │ │ │ ├── bootstrap-datepicker.hr.js │ │ │ │ ├── bootstrap-datepicker.id.js │ │ │ │ ├── bootstrap-datepicker.he.js │ │ │ │ ├── bootstrap-datepicker.ms.js │ │ │ │ ├── bootstrap-datepicker.ca.js │ │ │ │ ├── bootstrap-datepicker.da.js │ │ │ │ ├── bootstrap-datepicker.rs.js │ │ │ │ ├── bootstrap-datepicker.sv.js │ │ │ │ ├── bootstrap-datepicker.th.js │ │ │ │ ├── bootstrap-datepicker.tr.js │ │ │ │ ├── bootstrap-datepicker.bg.js │ │ │ │ ├── bootstrap-datepicker.es.js │ │ │ │ ├── bootstrap-datepicker.nl.js │ │ │ │ ├── bootstrap-datepicker.pt-BR.js │ │ │ │ ├── bootstrap-datepicker.rs-latin.js │ │ │ │ ├── bootstrap-datepicker.sl.js │ │ │ │ ├── bootstrap-datepicker.el.js │ │ │ │ ├── bootstrap-datepicker.nb.js │ │ │ │ ├── bootstrap-datepicker.ru.js │ │ │ │ ├── bootstrap-datepicker.uk.js │ │ │ │ ├── bootstrap-datepicker.ro.js │ │ │ │ ├── bootstrap-datepicker.cs.js │ │ │ │ ├── bootstrap-datepicker.is.js │ │ │ │ ├── bootstrap-datepicker.pt.js │ │ │ │ ├── bootstrap-datepicker.fi.js │ │ │ │ ├── bootstrap-datepicker.sk.js │ │ │ │ ├── bootstrap-datepicker.de.js │ │ │ │ ├── bootstrap-datepicker.fr.js │ │ │ │ ├── bootstrap-datepicker.hu.js │ │ │ │ ├── bootstrap-datepicker.it.js │ │ │ │ ├── bootstrap-datepicker.lv.js │ │ │ │ ├── bootstrap-datepicker.lt.js │ │ │ │ ├── bootstrap-datepicker.pl.js │ │ │ │ └── bootstrap-datepicker.sw.js │ │ └── snapjs │ │ │ └── snap.css │ ├── css │ │ ├── xadmin.plugin.aggregation.css │ │ ├── xadmin.plugins.css │ │ ├── xadmin.plugin.quickfilter.css │ │ ├── xadmin.page.dashboard.css │ │ ├── xadmin.widget.editable.css │ │ └── xadmin.plugin.formset.css │ └── js │ │ ├── xadmin.widget.multiselect.js │ │ ├── xadmin.plugin.sortable.js │ │ ├── xadmin.plugin.batch.js │ │ ├── xadmin.plugin.refresh.js │ │ ├── xadmin.plugin.bookmark.js │ │ ├── xadmin.plugin.revision.js │ │ ├── xadmin.plugin.portal.js │ │ └── xadmin.page.list.js ├── favicon.ico ├── blog │ └── img │ │ ├── django.gif │ │ ├── favicon.ico │ │ ├── django-small.png │ │ ├── poweredby-sae.png │ │ └── python-logo.png ├── admin │ ├── img │ │ ├── admin │ │ │ ├── nav-bg.gif │ │ │ ├── arrow-up.gif │ │ │ ├── icon-no.gif │ │ │ ├── icon-yes.gif │ │ │ ├── arrow-down.gif │ │ │ ├── chooser-bg.gif │ │ │ ├── default-bg.gif │ │ │ ├── icon_alert.gif │ │ │ ├── icon_clock.gif │ │ │ ├── icon_error.gif │ │ │ ├── tool-left.gif │ │ │ ├── tool-right.gif │ │ │ ├── tooltag-add.gif │ │ │ ├── changelist-bg.gif │ │ │ ├── icon-unknown.gif │ │ │ ├── icon_addlink.gif │ │ │ ├── icon_calendar.gif │ │ │ ├── icon_success.gif │ │ │ ├── inline-delete.png │ │ │ ├── selector-add.gif │ │ │ ├── deleted-overlay.gif │ │ │ ├── icon_changelink.gif │ │ │ ├── icon_deletelink.gif │ │ │ ├── icon_searchbox.png │ │ │ ├── inline-restore.png │ │ │ ├── nav-bg-grabber.gif │ │ │ ├── nav-bg-reverse.gif │ │ │ ├── selector-addall.gif │ │ │ ├── selector-remove.gif │ │ │ ├── selector-search.gif │ │ │ ├── tool-left_over.gif │ │ │ ├── tool-right_over.gif │ │ │ ├── tooltag-add_over.gif │ │ │ ├── changelist-bg_rtl.gif │ │ │ ├── chooser_stacked-bg.gif │ │ │ ├── default-bg-reverse.gif │ │ │ ├── inline-delete-8bit.png │ │ │ ├── inline-splitter-bg.gif │ │ │ ├── selector-removeall.gif │ │ │ ├── tooltag-arrowright.gif │ │ │ ├── inline-restore-8bit.png │ │ │ ├── selector_stacked-add.gif │ │ │ ├── selector_stacked-remove.gif │ │ │ └── tooltag-arrowright_over.gif │ │ └── gis │ │ │ ├── move_vertex_off.png │ │ │ └── move_vertex_on.png │ ├── js │ │ ├── jquery.init.js │ │ ├── prepopulate.min.js │ │ ├── collapse.min.js │ │ ├── collapse.js │ │ ├── LICENSE-JQUERY.txt │ │ ├── grappelli │ │ │ ├── jquery.grp_collapsible.js │ │ │ └── jquery.grp_related_m2m.js │ │ └── prepopulate.js │ ├── jquery │ │ ├── ui │ │ │ └── css │ │ │ │ ├── custom-theme │ │ │ │ └── images │ │ │ │ │ ├── ui-icons_444444_256x240.png │ │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ │ │ ├── ui-bg_flat_0_d6d6d6_40x100.png │ │ │ │ │ ├── ui-bg_flat_60_bdbdbd_40x100.png │ │ │ │ │ ├── ui-bg_flat_75_eeeeee_40x100.png │ │ │ │ │ ├── ui-bg_glass_25_cee9f2_1x400.png │ │ │ │ │ ├── ui-bg_glass_25_e0e0e0_1x400.png │ │ │ │ │ ├── ui-bg_glass_60_fffccc_1x400.png │ │ │ │ │ ├── ui-bg_inset-soft_95_fef1ec_1x100.png │ │ │ │ │ └── ui-bg_highlight-soft_25_d6d6d6_1x100.png │ │ │ │ └── ui-lightness │ │ │ │ └── images │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ ├── ui-icons_228ef1_256x240.png │ │ │ │ ├── ui-icons_ef8c08_256x240.png │ │ │ │ ├── ui-icons_ffd27a_256x240.png │ │ │ │ ├── ui-icons_ffffff_256x240.png │ │ │ │ ├── ui-bg_flat_10_000000_40x100.png │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ ├── ui-bg_glass_100_f6f6f6_1x400.png │ │ │ │ ├── ui-bg_glass_100_fdf5ce_1x400.png │ │ │ │ ├── ui-bg_gloss-wave_35_f6a828_500x100.png │ │ │ │ ├── ui-bg_diagonals-thick_18_b81900_40x40.png │ │ │ │ ├── ui-bg_diagonals-thick_20_666666_40x40.png │ │ │ │ ├── ui-bg_highlight-soft_100_eeeeee_1x100.png │ │ │ │ └── ui-bg_highlight-soft_75_ffe45c_1x100.png │ │ ├── i18n │ │ │ ├── ui.datepicker-de.js │ │ │ └── ui.datepicker-fr.js │ │ └── jquery.cookie.min.js │ ├── css │ │ ├── dashboard.css │ │ ├── login.css │ │ └── ie.css │ └── blog │ │ └── change_form.html ├── debug_toolbar │ ├── img │ │ ├── back.png │ │ ├── close.png │ │ ├── indicator.png │ │ ├── ajax-loader.gif │ │ ├── back_hover.png │ │ ├── close_hover.png │ │ └── djdt_vertical.png │ └── js │ │ ├── toolbar.sql.js │ │ ├── toolbar.template.js │ │ └── toolbar.profiling.js └── bootstrap │ ├── img │ ├── glyphicons-halflings.png │ └── glyphicons-halflings-white.png │ └── css │ └── prettify.css ├── favicon.ico ├── index.wsgic ├── templates ├── 500.html ├── 404.html ├── pingback.html ├── sitemap.xml ├── page.html └── includes │ ├── footer.html │ ├── sidebar.html │ └── share.html ├── clean_dir.sh ├── init_database.sh ├── README.md ├── manage.py ├── index.wsgi ├── sitemap.py ├── config.yaml ├── requirement.txt ├── .gitignore └── feeds.py /blog/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /weixin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /selfblog/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /blog/management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /blog/plugins/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /blog/templatetags/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /blog/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /static/ueditor/themes/iframe.css: -------------------------------------------------------------------------------- 1 | /*可以在这里添加你自己的css*/ 2 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-multiselect/css/bootstrap-multiselect.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/favicon.ico -------------------------------------------------------------------------------- /index.wsgic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/index.wsgic -------------------------------------------------------------------------------- /weixin/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/favicon.ico -------------------------------------------------------------------------------- /static/blog/img/django.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/blog/img/django.gif -------------------------------------------------------------------------------- /static/blog/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/blog/img/favicon.ico -------------------------------------------------------------------------------- /static/admin/img/admin/nav-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/nav-bg.gif -------------------------------------------------------------------------------- /static/blog/img/django-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/blog/img/django-small.png -------------------------------------------------------------------------------- /static/blog/img/poweredby-sae.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/blog/img/poweredby-sae.png -------------------------------------------------------------------------------- /static/blog/img/python-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/blog/img/python-logo.png -------------------------------------------------------------------------------- /static/debug_toolbar/img/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/debug_toolbar/img/back.png -------------------------------------------------------------------------------- /templates/500.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | 4 | {% block main %} 5 | 哦,程序又抽了 6 | 7 | 8 | {% endblock %} 9 | -------------------------------------------------------------------------------- /static/admin/img/admin/arrow-up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/arrow-up.gif -------------------------------------------------------------------------------- /static/admin/img/admin/icon-no.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/icon-no.gif -------------------------------------------------------------------------------- /static/admin/img/admin/icon-yes.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/icon-yes.gif -------------------------------------------------------------------------------- /static/debug_toolbar/img/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/debug_toolbar/img/close.png -------------------------------------------------------------------------------- /static/admin/img/admin/arrow-down.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/arrow-down.gif -------------------------------------------------------------------------------- /static/admin/img/admin/chooser-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/chooser-bg.gif -------------------------------------------------------------------------------- /static/admin/img/admin/default-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/default-bg.gif -------------------------------------------------------------------------------- /static/admin/img/admin/icon_alert.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/icon_alert.gif -------------------------------------------------------------------------------- /static/admin/img/admin/icon_clock.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/icon_clock.gif -------------------------------------------------------------------------------- /static/admin/img/admin/icon_error.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/icon_error.gif -------------------------------------------------------------------------------- /static/admin/img/admin/tool-left.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/tool-left.gif -------------------------------------------------------------------------------- /static/admin/img/admin/tool-right.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/tool-right.gif -------------------------------------------------------------------------------- /static/admin/img/admin/tooltag-add.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/tooltag-add.gif -------------------------------------------------------------------------------- /static/debug_toolbar/img/indicator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/debug_toolbar/img/indicator.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/copy.png -------------------------------------------------------------------------------- /static/admin/img/admin/changelist-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/changelist-bg.gif -------------------------------------------------------------------------------- /static/admin/img/admin/icon-unknown.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/icon-unknown.gif -------------------------------------------------------------------------------- /static/admin/img/admin/icon_addlink.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/icon_addlink.gif -------------------------------------------------------------------------------- /static/admin/img/admin/icon_calendar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/icon_calendar.gif -------------------------------------------------------------------------------- /static/admin/img/admin/icon_success.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/icon_success.gif -------------------------------------------------------------------------------- /static/admin/img/admin/inline-delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/inline-delete.png -------------------------------------------------------------------------------- /static/admin/img/admin/selector-add.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/selector-add.gif -------------------------------------------------------------------------------- /static/admin/img/gis/move_vertex_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/gis/move_vertex_off.png -------------------------------------------------------------------------------- /static/admin/img/gis/move_vertex_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/gis/move_vertex_on.png -------------------------------------------------------------------------------- /static/debug_toolbar/img/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/debug_toolbar/img/ajax-loader.gif -------------------------------------------------------------------------------- /static/debug_toolbar/img/back_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/debug_toolbar/img/back_hover.png -------------------------------------------------------------------------------- /static/debug_toolbar/img/close_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/debug_toolbar/img/close_hover.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/button.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/music.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/upload.png -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/xadmin/vendor/select2/select2.png -------------------------------------------------------------------------------- /clean_dir.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | #run this befor upload it to server 3 | find -name "*~" -exec rm {} \; 4 | find -name "*.pyc" -exec rm {} \; 5 | -------------------------------------------------------------------------------- /static/admin/img/admin/deleted-overlay.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/deleted-overlay.gif -------------------------------------------------------------------------------- /static/admin/img/admin/icon_changelink.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/icon_changelink.gif -------------------------------------------------------------------------------- /static/admin/img/admin/icon_deletelink.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/icon_deletelink.gif -------------------------------------------------------------------------------- /static/admin/img/admin/icon_searchbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/icon_searchbox.png -------------------------------------------------------------------------------- /static/admin/img/admin/inline-restore.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/inline-restore.png -------------------------------------------------------------------------------- /static/admin/img/admin/nav-bg-grabber.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/nav-bg-grabber.gif -------------------------------------------------------------------------------- /static/admin/img/admin/nav-bg-reverse.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/nav-bg-reverse.gif -------------------------------------------------------------------------------- /static/admin/img/admin/selector-addall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/selector-addall.gif -------------------------------------------------------------------------------- /static/admin/img/admin/selector-remove.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/selector-remove.gif -------------------------------------------------------------------------------- /static/admin/img/admin/selector-search.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/selector-search.gif -------------------------------------------------------------------------------- /static/admin/img/admin/tool-left_over.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/tool-left_over.gif -------------------------------------------------------------------------------- /static/admin/img/admin/tool-right_over.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/tool-right_over.gif -------------------------------------------------------------------------------- /static/admin/img/admin/tooltag-add_over.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/tooltag-add_over.gif -------------------------------------------------------------------------------- /static/debug_toolbar/img/djdt_vertical.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/debug_toolbar/img/djdt_vertical.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/emotion/images/0.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/table/dragicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/table/dragicon.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/addimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/addimage.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/imglabel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/imglabel.png -------------------------------------------------------------------------------- /static/ueditor/lang/zh-cn/images/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/zh-cn/images/copy.png -------------------------------------------------------------------------------- /static/ueditor/lang/zh-cn/images/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/zh-cn/images/music.png -------------------------------------------------------------------------------- /static/ueditor/lang/zh-cn/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/zh-cn/images/upload.png -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2x2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/xadmin/vendor/select2/select2x2.png -------------------------------------------------------------------------------- /static/admin/img/admin/changelist-bg_rtl.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/changelist-bg_rtl.gif -------------------------------------------------------------------------------- /static/admin/img/admin/chooser_stacked-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/chooser_stacked-bg.gif -------------------------------------------------------------------------------- /static/admin/img/admin/default-bg-reverse.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/default-bg-reverse.gif -------------------------------------------------------------------------------- /static/admin/img/admin/inline-delete-8bit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/inline-delete-8bit.png -------------------------------------------------------------------------------- /static/admin/img/admin/inline-splitter-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/inline-splitter-bg.gif -------------------------------------------------------------------------------- /static/admin/img/admin/selector-removeall.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/selector-removeall.gif -------------------------------------------------------------------------------- /static/admin/img/admin/tooltag-arrowright.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/tooltag-arrowright.gif -------------------------------------------------------------------------------- /static/bootstrap/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/bootstrap/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/scrawl/images/redo.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/size.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/scrawl/images/size.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/scrawl/images/undo.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/images/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/template/images/bg.gif -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/background.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/localimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/localimage.png -------------------------------------------------------------------------------- /static/ueditor/lang/zh-cn/images/imglabel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/zh-cn/images/imglabel.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/lock.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/lock.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/word.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/word.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/arrow.png -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/icons.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/icons.png -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/lock.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/lock.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/scale.png -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/word.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/word.gif -------------------------------------------------------------------------------- /templates/404.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | 3 | 4 | {% block main %} 5 | 噢,没有你要找的东西吗,到右边搜搜看! 6 | 7 |
8 | {% endblock %} 9 | -------------------------------------------------------------------------------- /static/admin/img/admin/inline-restore-8bit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/inline-restore-8bit.png -------------------------------------------------------------------------------- /static/admin/img/admin/selector_stacked-add.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/selector_stacked-add.gif -------------------------------------------------------------------------------- /static/admin/js/jquery.init.js: -------------------------------------------------------------------------------- 1 | // Puts the included jQuery into our own namespace 2 | var django = { 3 | "jQuery": jQuery.noConflict(true) 4 | }; 5 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/charts/images/charts0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/charts/images/charts0.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/charts/images/charts1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/charts/images/charts1.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/charts/images/charts2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/charts/images/charts2.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/charts/images/charts3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/charts/images/charts3.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/charts/images/charts4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/charts/images/charts4.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/charts/images/charts5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/charts/images/charts5.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/bface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/emotion/images/bface.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/cface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/emotion/images/cface.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/fface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/emotion/images/fface.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/tface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/emotion/images/tface.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/wface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/emotion/images/wface.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/yface.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/emotion/images/yface.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/image/imageUploader.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/image/imageUploader.swf -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/addimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/scrawl/images/addimg.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/brush.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/scrawl/images/brush.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/delimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/scrawl/images/delimg.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/delimgH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/scrawl/images/delimgH.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/scrawl/images/empty.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/emptyH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/scrawl/images/emptyH.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/eraser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/scrawl/images/eraser.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/redoH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/scrawl/images/redoH.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/scrawl/images/scale.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/scaleH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/scrawl/images/scaleH.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/scrawl/images/undoH.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/scrawl/images/undoH.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/images/pre0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/template/images/pre0.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/images/pre1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/template/images/pre1.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/images/pre2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/template/images/pre2.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/images/pre3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/template/images/pre3.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/images/pre4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/template/images/pre4.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/deletedisable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/deletedisable.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/deleteenable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/deleteenable.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/listbackground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/listbackground.png -------------------------------------------------------------------------------- /static/ueditor/lang/zh-cn/images/localimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/zh-cn/images/localimage.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/anchor.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/arrow.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/charts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/charts.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/icons.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/icons.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/scale.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/spacer.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/upload.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/anchor.gif -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/arrow.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/bottom.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/icons.gif -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/icons.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/lock.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/lock.gif -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/scale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/scale.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/spacer.gif -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/upload.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/word.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/word.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/anchor.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/bottom.png -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/cursor_h.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/cursor_h.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/cursor_v.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/cursor_v.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/filescan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/filescan.png -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/spacer.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/upload.png -------------------------------------------------------------------------------- /static/ueditor/third-party/video-js/font/vjs.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/third-party/video-js/font/vjs.eot -------------------------------------------------------------------------------- /static/ueditor/third-party/video-js/font/vjs.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/third-party/video-js/font/vjs.ttf -------------------------------------------------------------------------------- /static/ueditor/third-party/video-js/video-js.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/third-party/video-js/video-js.swf -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2-spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/xadmin/vendor/select2/select2-spinner.gif -------------------------------------------------------------------------------- /static/admin/img/admin/selector_stacked-remove.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/selector_stacked-remove.gif -------------------------------------------------------------------------------- /static/admin/img/admin/tooltag-arrowright_over.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/img/admin/tooltag-arrowright_over.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/jxface2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/emotion/images/jxface2.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/image/images/left_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/image/images/left_focus.jpg -------------------------------------------------------------------------------- /static/ueditor/dialogs/image/images/none_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/image/images/none_focus.jpg -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/left_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/video/images/left_focus.jpg -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/none_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/video/images/none_focus.jpg -------------------------------------------------------------------------------- /static/ueditor/dialogs/wordimage/imageUploader.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/wordimage/imageUploader.swf -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/rotateleftenable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/rotateleftenable.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/arrow_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/arrow_up.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/button-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/button-bg.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/cursor_h.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/cursor_h.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/cursor_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/cursor_h.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/cursor_v.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/cursor_v.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/cursor_v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/cursor_v.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/fileScan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/fileScan.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/icons-all.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/icons-all.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/pagebreak.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/sortable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/sortable.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/videologo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/videologo.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/wordpaste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/wordpaste.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/cursor_h.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/cursor_h.gif -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/cursor_v.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/cursor_v.gif -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/filescan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/filescan.png -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/button-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/button-bg.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/icons-all.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/icons-all.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/icons-all.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/icons-all.png -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/pagebreak.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/sparator_v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/sparator_v.png -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/toolbar-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/toolbar-bg.png -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/videologo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/videologo.gif -------------------------------------------------------------------------------- /static/ueditor/third-party/swfupload/swfupload.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/third-party/swfupload/swfupload.swf -------------------------------------------------------------------------------- /static/ueditor/third-party/video-js/font/vjs.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/third-party/video-js/font/vjs.woff -------------------------------------------------------------------------------- /static/bootstrap/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/bootstrap/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /static/ueditor/dialogs/image/images/center_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/image/images/center_focus.jpg -------------------------------------------------------------------------------- /static/ueditor/dialogs/image/images/right_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/image/images/right_focus.jpg -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/center_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/video/images/center_focus.jpg -------------------------------------------------------------------------------- /static/ueditor/dialogs/video/images/right_focus.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/video/images/right_focus.jpg -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/alldeletebtnupskin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/alldeletebtnupskin.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/rotateleftdisable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/rotateleftdisable.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/rotaterightdisable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/rotaterightdisable.png -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/rotaterightenable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/rotaterightenable.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/arrow_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/arrow_down.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/cancelbutton.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/cancelbutton.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/highlighted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/highlighted.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/sparator_v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/sparator_v.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/toolbar_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/toolbar_bg.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/button-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/button-bg.gif -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/highlighted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/highlighted.gif -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/icons-all.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/icons-all.gif -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/icons-all.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/icons-all.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/icons-hover.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/icons-hover.gif -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/icons-hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/icons-hover.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/pagebreak.gif -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/sparator_v.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/sparator_v.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/toolbar-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/toolbar-bg.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/videologo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/videologo.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/cancelbutton.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/cancelbutton.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/dialog_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/dialog_title.png -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/highlighted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/highlighted.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/icons-checked.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/icons-checked.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/icons-checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/icons-checked.png -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/icons-hover.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/icons-hover.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/icons-hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/icons-hover.png -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/unhighlighted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/unhighlighted.gif -------------------------------------------------------------------------------- /static/xadmin/css/xadmin.plugin.aggregation.css: -------------------------------------------------------------------------------- 1 | td.aggregate { 2 | font-weight: bold; 3 | } 4 | td.aggregate span.aggregate_title { 5 | float: right; 6 | } -------------------------------------------------------------------------------- /init_database.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | nohup python manage.py syncdb --noinput > /dev/null 2>&1 & 3 | nohup python manage.py loaddata initial_data.json > /dev/null 2>&1 & 4 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/wordimage/fClipboard_ueditor.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/wordimage/fClipboard_ueditor.swf -------------------------------------------------------------------------------- /static/ueditor/lang/en/images/alldeletebtnhoverskin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/lang/en/images/alldeletebtnhoverskin.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/unhighlighted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/unhighlighted.gif -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/cancelbutton.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/cancelbutton.gif -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/dialog_title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/dialog_title.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/icons-checked.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/icons-checked.gif -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/icons-checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/icons-checked.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/unhighlighted.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/unhighlighted.gif -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/dialog-title-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/dialog-title-bg.png -------------------------------------------------------------------------------- /static/ueditor/third-party/swfupload/swfupload_fp9.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/third-party/swfupload/swfupload_fp9.swf -------------------------------------------------------------------------------- /static/xadmin/vendor/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/xadmin/vendor/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/images/neweditor-tab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/emotion/images/neweditor-tab-bg.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/dialog-title-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/dialog-title-bg.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/neweditor-tab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/neweditor-tab-bg.png -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/table-cell-align.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/table-cell-align.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/dialog-title-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/dialog-title-bg.png -------------------------------------------------------------------------------- /static/ueditor/themes/gorgeous/images/neweditor-tab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/gorgeous/images/neweditor-tab-bg.png -------------------------------------------------------------------------------- /static/ueditor/themes/modern/images/neweditor-tab-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/modern/images/neweditor-tab-bg.png -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-modal/img/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/xadmin/vendor/bootstrap-modal/img/ajax-loader.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif -------------------------------------------------------------------------------- /static/ueditor/themes/default/images/tangram-colorpicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/themes/default/images/tangram-colorpicker.png -------------------------------------------------------------------------------- /static/ueditor/third-party/snapscreen/UEditorSnapscreen.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/third-party/snapscreen/UEditorSnapscreen.exe -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-image-gallery/img/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/xadmin/vendor/bootstrap-image-gallery/img/loading.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif -------------------------------------------------------------------------------- /static/xadmin/vendor/font-awesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/xadmin/vendor/font-awesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /static/xadmin/vendor/font-awesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/xadmin/vendor/font-awesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeImages/icon_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/ueditor/dialogs/attachment/fileTypeImages/icon_default.png -------------------------------------------------------------------------------- /static/xadmin/vendor/font-awesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/xadmin/vendor/font-awesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/custom-theme/images/ui-icons_444444_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/custom-theme/images/ui-icons_444444_256x240.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/custom-theme/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/custom-theme/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/custom-theme/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/custom-theme/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/ui-lightness/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/ui-lightness/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/ui-lightness/images/ui-icons_228ef1_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/ui-lightness/images/ui-icons_228ef1_256x240.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/ui-lightness/images/ui-icons_ef8c08_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/ui-lightness/images/ui-icons_ef8c08_256x240.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/ui-lightness/images/ui-icons_ffd27a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/ui-lightness/images/ui-icons_ffd27a_256x240.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/ui-lightness/images/ui-icons_ffffff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/ui-lightness/images/ui-icons_ffffff_256x240.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/custom-theme/images/ui-bg_flat_0_d6d6d6_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/custom-theme/images/ui-bg_flat_0_d6d6d6_40x100.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/custom-theme/images/ui-bg_flat_60_bdbdbd_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/custom-theme/images/ui-bg_flat_60_bdbdbd_40x100.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/custom-theme/images/ui-bg_flat_75_eeeeee_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/custom-theme/images/ui-bg_flat_75_eeeeee_40x100.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/custom-theme/images/ui-bg_glass_25_cee9f2_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/custom-theme/images/ui-bg_glass_25_cee9f2_1x400.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/custom-theme/images/ui-bg_glass_25_e0e0e0_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/custom-theme/images/ui-bg_glass_25_e0e0e0_1x400.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/custom-theme/images/ui-bg_glass_60_fffccc_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/custom-theme/images/ui-bg_glass_60_fffccc_1x400.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/custom-theme/images/ui-bg_inset-soft_95_fef1ec_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/custom-theme/images/ui-bg_inset-soft_95_fef1ec_1x100.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/custom-theme/images/ui-bg_highlight-soft_25_d6d6d6_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/custom-theme/images/ui-bg_highlight-soft_25_d6d6d6_1x100.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png -------------------------------------------------------------------------------- /static/admin/jquery/ui/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wujunze/django-blog/master/static/admin/jquery/ui/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png -------------------------------------------------------------------------------- /weixin/urls.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | from django.conf.urls import patterns, url 3 | 4 | from .views import interface 5 | 6 | urlpatterns = patterns( 7 | '', 8 | url(r'interface/$', interface, name='interface'), 9 | ) 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | django-blog 2 | =========== 3 | 4 | a bolg system base an django 5 | 6 | see http://mushapi.sinaapp.com/ 7 | 说明 8 | ==== 9 | 10 | 11 | 其中因为Ueditor使用的是https://github.com/zhangfisher/DjangoUeditor ,但该项目本身并不支持SAE,所以我也对其进行了修改(修改部分尚未上传,可联系我索要)。 12 | -------------------------------------------------------------------------------- /static/xadmin/css/xadmin.plugins.css: -------------------------------------------------------------------------------- 1 | /** Action **/ 2 | .action-checkbox-column { 3 | width: 14px; 4 | } 5 | 6 | /** quick-form **/ 7 | .quick-form .modal-body { 8 | padding-bottom: 0px; 9 | } 10 | .quick-form .modal-footer { 11 | margin-top: 0px; 12 | } -------------------------------------------------------------------------------- /static/xadmin/js/xadmin.widget.multiselect.js: -------------------------------------------------------------------------------- 1 | 2 | ;(function($){ 3 | 4 | $.fn.exform.renders.push(function(f){ 5 | if($.fn.multiselect){ 6 | f.find('.selectmultiple.selectdropdown').multiselect({ 7 | 8 | }); 9 | } 10 | }); 11 | 12 | })(jQuery) -------------------------------------------------------------------------------- /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", "selfblog.settings") 7 | from django.core.management import execute_from_command_line 8 | execute_from_command_line(sys.argv) 9 | -------------------------------------------------------------------------------- /index.wsgi: -------------------------------------------------------------------------------- 1 | import sys 2 | import pylibmc 3 | sys.modules['memcache'] = pylibmc 4 | import sae 5 | from selfblog import wsgi 6 | import os 7 | 8 | app_root = os.path.dirname(__file__) 9 | sys.path.insert(0, os.path.join(app_root, 'virtualenv.bundle')) 10 | application = sae.create_wsgi_app(wsgi.application) 11 | -------------------------------------------------------------------------------- /static/debug_toolbar/js/toolbar.sql.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | $('#djDebug a.djDebugToggle').on('click', function(e) { 3 | e.preventDefault(); 4 | $(this).parent().find('.djDebugCollapsed').toggle(); 5 | $(this).parent().find('.djDebugUncollapsed').toggle(); 6 | }); 7 | })(djdt.jQuery); 8 | -------------------------------------------------------------------------------- /static/xadmin/css/xadmin.plugin.quickfilter.css: -------------------------------------------------------------------------------- 1 | .nav-quickfilter .filter-item { 2 | white-space: nowrap; 3 | overflow: hidden; 4 | padding: 5px; 5 | } 6 | 7 | .nav-quickfilter .filter-col-1 { 8 | margin: 3px 2px 0 -2px; 9 | float: left; 10 | } 11 | 12 | .nav-quickfilter .filter-col-2 { 13 | } 14 | 15 | .nav-quickfilter .nav-expand { 16 | z-index:100; 17 | } -------------------------------------------------------------------------------- /static/xadmin/js/xadmin.plugin.sortable.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | 3 | $(function(){ 4 | $(".results table tbody").sortable({ 5 | axis: 'y', 6 | items: 'tr', 7 | //handle: 'a.sort_hand', 8 | cursor: 'move', 9 | opacity: 0.8, 10 | stop: function(event, ui) { 11 | //alert(0); 12 | } 13 | }); 14 | }); 15 | 16 | })(jQuery); -------------------------------------------------------------------------------- /static/admin/js/prepopulate.min.js: -------------------------------------------------------------------------------- 1 | (function(a){a.fn.prepopulate=function(d,g){return this.each(function(){var b=a(this);b.data("_changed",false);b.change(function(){b.data("_changed",true)});var c=function(){if(b.data("_changed")!=true){var e=[];a.each(d,function(h,f){a(f).val().length>0&&e.push(a(f).val())});b.val(URLify(e.join(" "),g))}};a(d.join(",")).keyup(c).change(c).focus(c)})}})(django.jQuery); 2 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/help/help.css: -------------------------------------------------------------------------------- 1 | .wrapper{width: 370px;margin: 10px auto;zoom: 1;} 2 | .tabbody{height: 360px;} 3 | .tabbody .panel{width:100%;height: 360px;position: absolute;background: #fff;} 4 | .tabbody .panel h1{font-size:26px;margin: 5px 0 0 5px;} 5 | .tabbody .panel p{font-size:12px;margin: 5px 0 0 5px;} 6 | .tabbody table{width:90%;line-height: 20px;margin: 5px 0 0 5px;;} 7 | .tabbody table thead{font-weight: bold;line-height: 25px;} -------------------------------------------------------------------------------- /static/debug_toolbar/js/toolbar.template.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | var uarr = String.fromCharCode(0x25b6), 3 | darr = String.fromCharCode(0x25bc); 4 | 5 | $('a.djTemplateShowContext').on('click', function() { 6 | var arrow = $(this).children('.toggleArrow'); 7 | arrow.html(arrow.html() == uarr ? darr : uarr); 8 | $(this).parent().next().toggle(); 9 | return false; 10 | }); 11 | })(djdt.jQuery); 12 | -------------------------------------------------------------------------------- /utils/profiler.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | from django.db import connection 3 | from pprint import pprint as pp 4 | import time 5 | 6 | 7 | def print_queries(func): 8 | def wrapper(*args, **kwargs): 9 | start = time.time() 10 | result = func(*args, **kwargs) 11 | print 'the function[%s] cast you [%s]s' % (func.__name__, (time.time() - start)) 12 | pp(connection.queries) 13 | return result 14 | return wrapper 15 | -------------------------------------------------------------------------------- /blog/tests.py: -------------------------------------------------------------------------------- 1 | """ 2 | This file demonstrates writing tests using the unittest module. These will pass 3 | when you run "manage.py test". 4 | 5 | Replace this with more appropriate tests for your application. 6 | """ 7 | 8 | from django.test import TestCase 9 | 10 | 11 | class SimpleTest(TestCase): 12 | def test_basic_addition(self): 13 | """ 14 | Tests that 1 + 1 always equals 2. 15 | """ 16 | self.assertEqual(1 + 1, 2) 17 | -------------------------------------------------------------------------------- /sitemap.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | 3 | from django.contrib.sitemaps import Sitemap 4 | 5 | from blog.models import Post 6 | 7 | class PostSitemap(Sitemap): 8 | changefreq = "weekly" 9 | priority = 0.2 10 | 11 | print '&'*90 12 | def items(self): 13 | return Post.objects.filter(status=0) 14 | 15 | def lastmod(self, obj): 16 | return obj.update_time 17 | 18 | def location(self, obj): 19 | return '/%s.html' % obj.alias 20 | -------------------------------------------------------------------------------- /static/xadmin/js/xadmin.plugin.batch.js: -------------------------------------------------------------------------------- 1 | 2 | ;(function($){ 3 | 4 | $('.batch-field-checkbox').bind('click', function(event){ 5 | if (!event) { var event = window.event; } 6 | var target = event.target ? event.target : event.srcElement; 7 | 8 | var wrap = $(this).parent().parent().find('.control-wrap'); 9 | if(target.checked){ 10 | wrap.show('fast'); 11 | } else { 12 | wrap.hide('fast'); 13 | } 14 | }); 15 | 16 | })(jQuery) -------------------------------------------------------------------------------- /config.yaml: -------------------------------------------------------------------------------- 1 | name: mushapi 2 | version: 2 3 | libraries: 4 | - name: "django" 5 | version: "1.5" 6 | 7 | - compress: if ( out_header["Content-type"] ~ "text/css" ) compress 8 | - compress: if ( out_header["Content-type"] ~ "text/javascript" ) compress 9 | - compress: if ( out_header["Content-type"] ~ "image/jpeg" ) compress 10 | - compress: if ( out_header["Content-type"] ~ "image/png" ) compress 11 | - compress: if ( out_header["Content-type"] ~ "image/gif" ) compress 12 | - compress: if ( out_header["Content-type"] ~ "image/bmp" ) compress 13 | -------------------------------------------------------------------------------- /static/xadmin/js/xadmin.plugin.refresh.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | 3 | $.dofresh = function(){ 4 | var refresh_el = $('#refresh_time'); 5 | var time = parseInt(refresh_el.text()); 6 | if(time == 1){ 7 | refresh_el.text(0); 8 | window.location.reload(); 9 | } else { 10 | refresh_el.text(time-1); 11 | setTimeout("$.dofresh()",1000) 12 | } 13 | }; 14 | 15 | $(function(){ 16 | var refresh_el = $('#refresh_time'); 17 | if(refresh_el){ 18 | setTimeout("$.dofresh()",1000) 19 | } 20 | }); 21 | 22 | })(jQuery); -------------------------------------------------------------------------------- /static/ueditor/third-party/highcharts/modules/heatmap.js: -------------------------------------------------------------------------------- 1 | (function(b){var k=b.seriesTypes,l=b.each;k.heatmap=b.extendClass(k.map,{colorKey:"z",useMapGeometry:!1,pointArrayMap:["y","z"],translate:function(){var c=this,b=c.options,i=Number.MAX_VALUE,j=Number.MIN_VALUE;c.generatePoints();l(c.data,function(a){var e=a.x,f=a.y,d=a.z,g=(b.colsize||1)/2,h=(b.rowsize||1)/2;a.path=["M",e-g,f-h,"L",e+g,f-h,"L",e+g,f+h,"L",e-g,f+h,"Z"];a.shapeType="path";a.shapeArgs={d:c.translatePath(a.path)};typeof d==="number"&&(d>j?j=d:d'+gettext("Show")+")")}});a("fieldset.collapse a.collapse-toggle").toggle(function(){a(this).text(gettext("Hide"));a(this).closest("fieldset").removeClass("collapsed");return false},function(){a(this).text(gettext("Show"));a(this).closest("fieldset").addClass("collapsed"); 2 | return false})})})(django.jQuery); 3 | -------------------------------------------------------------------------------- /static/admin/css/dashboard.css: -------------------------------------------------------------------------------- 1 | /* DASHBOARD */ 2 | 3 | .dashboard .module table th { 4 | width: 100%; 5 | } 6 | 7 | .dashboard .module table td { 8 | white-space: nowrap; 9 | } 10 | 11 | .dashboard .module table td a { 12 | display: block; 13 | padding-right: .6em; 14 | } 15 | 16 | /* RECENT ACTIONS MODULE */ 17 | 18 | .module ul.actionlist { 19 | margin-left: 0; 20 | } 21 | 22 | ul.actionlist li { 23 | list-style-type: none; 24 | } 25 | 26 | ul.actionlist li.changelink { 27 | overflow: hidden; 28 | text-overflow: ellipsis; 29 | -o-text-overflow: ellipsis; 30 | } -------------------------------------------------------------------------------- /templates/pingback.html: -------------------------------------------------------------------------------- 1 | {% load i18n pingback_tags %} 2 | {% load pingback_tags %} 3 | {% get_pingback_list for object as pingbacks %} 4 | {% get_pingback_count for object as pingback_count %} 5 | {% if pingbacks %} 6 |

{{ pingback_count }} Pingbacks

7 |
8 | {% for pingback in pingbacks %} 9 |
  • 10 | {{ pingback.date|date:"M d, Y" }}: {{ pingback.title }} 11 |
  • 12 | {% endfor %} 13 |
    14 | {% endif %} 15 | -------------------------------------------------------------------------------- /static/xadmin/js/xadmin.plugin.bookmark.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | 3 | $(function(){ 4 | $('#bookmark_form').each(function(){ 5 | var f = $(this); 6 | f.submit(function(e){ 7 | f.find('button[type=submit]').button('loading'); 8 | $.post(f.attr('action'), f.serialize(), function(data){ 9 | $('#bookmark-menu .add-bookmark').remove(); 10 | $('#bookmark-menu').append('
  • '+ data.title +'
  • '); 11 | }, 'json'); 12 | return false; 13 | }); 14 | }); 15 | }); 16 | 17 | })(jQuery); -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.kr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Korean translation for bootstrap-datepicker 3 | * Gu Youn 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['kr'] = { 7 | days: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"], 8 | daysShort: ["일", "월", "화", "수", "목", "금", "토", "일"], 9 | daysMin: ["일", "월", "화", "수", "목", "금", "토", "일"], 10 | months: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"], 11 | monthsShort: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"] 12 | }; 13 | }(jQuery)); 14 | -------------------------------------------------------------------------------- /blog/templatetags/substring.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | 3 | from django import template 4 | 5 | register = template.Library() 6 | 7 | 8 | @register.filter(name='substring') 9 | def substring(value, length): 10 | if not value: 11 | return u'无摘要' 12 | 13 | if len(value) > length: 14 | return '%s...' % value[:length] 15 | return value[:length] 16 | 17 | 18 | @register.filter(name='sub') 19 | def sub(value, param): 20 | if not value: 21 | return value 22 | try: 23 | value = int(value) 24 | param = int(param) 25 | except TypeError: 26 | return value 27 | return value - param 28 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-TW.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Traditional Chinese translation for bootstrap-datepicker 3 | * Rung-Sheng Jang 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['zh-TW'] = { 7 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"], 8 | daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"], 9 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"], 10 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 11 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"] 12 | }; 13 | }(jQuery)); 14 | -------------------------------------------------------------------------------- /templates/sitemap.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | {% spaceless %} 6 | {% for url in urlset %} 7 | 8 | {{ url.location }} 9 | {% if url.lastmod %}{{ url.lastmod|date:"Y-m-d\TH:i:s+08:00" }}{% endif %} 10 | {% if url.changefreq %}{{ url.changefreq }}{% endif %} 11 | {% if url.priority %}{{ url.priority }}{% endif %} 12 | 13 | {% endfor %} 14 | {% endspaceless %} 15 | 16 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.ja.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Japanese translation for bootstrap-datepicker 3 | * Norio Suzuki 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['ja'] = { 7 | days: ["日曜", "月曜", "火曜", "水曜", "木曜", "金曜", "土曜", "日曜"], 8 | daysShort: ["日", "月", "火", "水", "木", "金", "土", "日"], 9 | daysMin: ["日", "月", "火", "水", "木", "金", "土", "日"], 10 | months: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], 11 | monthsShort: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], 12 | today: "今日", 13 | format: "yyyy/mm/dd" 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-CN.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Simplified Chinese translation for bootstrap-datepicker 3 | * Yuan Cheung 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['zh-CN'] = { 7 | days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"], 8 | daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"], 9 | daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"], 10 | months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 11 | monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], 12 | today: "今日" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.hr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Croatian localisation 3 | */ 4 | ;(function($){ 5 | $.fn.datepicker.dates['hr'] = { 6 | days: ["Nedjelja", "Ponedjelja", "Utorak", "Srijeda", "Četrtak", "Petak", "Subota", "Nedjelja"], 7 | daysShort: ["Ned", "Pon", "Uto", "Srr", "Čet", "Pet", "Sub", "Ned"], 8 | daysMin: ["Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su", "Ne"], 9 | months: ["Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"], 10 | monthsShort: ["Sije", "Velj", "Ožu", "Tra", "Svi", "Lip", "Jul", "Kol", "Ruj", "Lis", "Stu", "Pro"], 11 | today: "Danas" 12 | }; 13 | }(jQuery)); 14 | -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_zh-CN.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 Chinese translation 3 | */ 4 | (function ($) { 5 | "use strict"; 6 | $.extend($.fn.select2.defaults, { 7 | formatNoMatches: function () { return "没有找到匹配项"; }, 8 | formatInputTooShort: function (input, min) { var n = min - input.length; return "请再输入" + n + "个字符";}, 9 | formatInputTooLong: function (input, max) { var n = input.length - max; return "请删掉" + n + "个字符";}, 10 | formatSelectionTooBig: function (limit) { return "你只能选择最多" + limit + "项"; }, 11 | formatLoadMore: function (pageNumber) { return "加载结果中..."; }, 12 | formatSearching: function () { return "搜索中..."; } 13 | }); 14 | })(jQuery); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.id.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Bahasa translation for bootstrap-datepicker 3 | * Azwar Akbar 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['id'] = { 7 | days: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu", "Minggu"], 8 | daysShort: ["Mgu", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab", "Mgu"], 9 | daysMin: ["Mg", "Sn", "Sl", "Ra", "Ka", "Ju", "Sa", "Mg"], 10 | months: ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ags", "Sep", "Okt", "Nov", "Des"] 12 | }; 13 | }(jQuery)); 14 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.he.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Hebrew translation for bootstrap-datepicker 3 | * Sagie Maoz 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['he'] = { 7 | days: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת", "ראשון"], 8 | daysShort: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"], 9 | daysMin: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"], 10 | months: ["ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"], 11 | monthsShort: ["ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ"], 12 | today: "היום", 13 | rtl: true 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.ms.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Malay translation for bootstrap-datepicker 3 | * Ateman Faiz 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['ms'] = { 7 | days: ["Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu", "Ahad"], 8 | daysShort: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab", "Aha"], 9 | daysMin: ["Ah", "Is", "Se", "Ra", "Kh", "Ju", "Sa", "Ah"], 10 | months: ["Januari", "Februari", "Mac", "April", "Mei", "Jun", "Julai", "Ogos", "September", "Oktober", "November", "Disember"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ogo", "Sep", "Okt", "Nov", "Dis"], 12 | today: "Hari Ini" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /blog/management/commands/format_old.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | from django.core.management.base import BaseCommand 3 | 4 | from blog.models import Post 5 | 6 | 7 | class Command(BaseCommand): 8 | args = 'no' 9 | help = 'import old post' 10 | 11 | def handle(self, *args, **options): 12 | format_all() 13 | 14 | 15 | def format_all(): 16 | posts = Post.objects.filter(is_old=True) 17 | 18 | for post in posts: 19 | print post.title 20 | #处理代码 21 | post.content = post.content.replace("[cc lang=\'python\']", '
    ').replace("[/cc]", "
    ") 22 | #处理换行 23 | post.content_html = post.content.replace('\n\n', '
    ').replace('\n', '
    ') 24 | post.save() 25 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.ca.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Catalan translation for bootstrap-datepicker 3 | * J. Garcia 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['ca'] = { 7 | days: ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte", "Diumenge"], 8 | daysShort: ["Diu", "Dil", "Dmt", "Dmc", "Dij", "Div", "Dis", "Diu"], 9 | daysMin: ["dg", "dl", "dt", "dc", "dj", "dv", "ds", "dg"], 10 | months: ["Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"], 11 | monthsShort: ["Gen", "Feb", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Oct", "Nov", "Des"], 12 | today: "Avui" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.da.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Danish translation for bootstrap-datepicker 3 | * Christian Pedersen 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['da'] = { 7 | days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"], 8 | daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"], 9 | daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"], 10 | months: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], 12 | today: "I Dag" 13 | }; 14 | }(jQuery)); -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.rs.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Serbian cyrillic translation for bootstrap-datepicker 3 | * Bojan Milosavlević 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['rs'] = { 7 | days: ["Недеља","Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота", "Недеља"], 8 | daysShort: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб", "Нед"], 9 | daysMin: ["Н", "По", "У", "Ср", "Ч", "Пе", "Су", "Н"], 10 | months: ["Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"], 11 | monthsShort: ["Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец"], 12 | today: "Данас" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.sv.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Swedish translation for bootstrap-datepicker 3 | * Patrik Ragnarsson 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['sv'] = { 7 | days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"], 8 | daysShort: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön"], 9 | daysMin: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö", "Sö"], 10 | months: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], 12 | today: "I Dag" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.th.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Thai translation for bootstrap-datepicker 3 | * Suchau Jiraprapot 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['th'] = { 7 | days: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์", "อาทิตย์"], 8 | daysShort: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"], 9 | daysMin: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"], 10 | months: ["มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"], 11 | monthsShort: ["ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."], 12 | today: "วันนี้" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.tr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Turkish translation for bootstrap-datepicker 3 | * Serkan Algur 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['tr'] = { 7 | days: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi", "Pazar"], 8 | daysShort: ["Pz", "Pzt", "Sal", "Çrş", "Prş", "Cu", "Cts", "Pz"], 9 | daysMin: ["Pz", "Pzt", "Sa", "Çr", "Pr", "Cu", "Ct", "Pz"], 10 | months: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"], 11 | monthsShort: ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"], 12 | today: "Bugün" 13 | }; 14 | }(jQuery)); 15 | 16 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.bg.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Bulgarian translation for bootstrap-datepicker 3 | * Apostol Apostolov 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['bg'] = { 7 | days: ["Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота", "Неделя"], 8 | daysShort: ["Нед", "Пон", "Вто", "Сря", "Чет", "Пет", "Съб", "Нед"], 9 | daysMin: ["Н", "П", "В", "С", "Ч", "П", "С", "Н"], 10 | months: ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"], 11 | monthsShort: ["Ян", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Ное", "Дек"], 12 | today: "днес" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.es.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Spanish translation for bootstrap-datepicker 3 | * Bruno Bonamin 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['es'] = { 7 | days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"], 8 | daysShort: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb", "Dom"], 9 | daysMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Do"], 10 | months: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"], 11 | monthsShort: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"], 12 | today: "Hoy" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.nl.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Dutch translation for bootstrap-datepicker 3 | * Reinier Goltstein 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['nl'] = { 7 | days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"], 8 | daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"], 9 | daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"], 10 | months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], 12 | today: "Vandaag" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt-BR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Brazilian translation for bootstrap-datepicker 3 | * Cauan Cabral 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['pt-BR'] = { 7 | days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"], 8 | daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"], 9 | daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"], 10 | months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], 11 | monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"], 12 | today: "Hoje" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.rs-latin.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Serbian latin translation for bootstrap-datepicker 3 | * Bojan Milosavlević 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['rs'] = { 7 | days: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"], 8 | daysShort: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Ned"], 9 | daysMin: ["N", "Po", "U", "Sr", "Č", "Pe", "Su", "N"], 10 | months: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"], 12 | today: "Danas" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.sl.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Slovene translation for bootstrap-datepicker 3 | * Gregor Rudolf 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['sl'] = { 7 | days: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota", "Nedelja"], 8 | daysShort: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob", "Ned"], 9 | daysMin: ["Ne", "Po", "To", "Sr", "Če", "Pe", "So", "Ne"], 10 | months: ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"], 12 | today: "Danes" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.el.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Greek translation for bootstrap-datepicker 3 | */ 4 | ;(function($){ 5 | $.fn.datepicker.dates['el'] = { 6 | days: ["Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο", "Κυριακή"], 7 | daysShort: ["Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ", "Κυρ"], 8 | daysMin: ["Κυ", "Δε", "Τρ", "Τε", "Πε", "Πα", "Σα", "Κυ"], 9 | months: ["Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"], 10 | monthsShort: ["Ιαν", "Φεβ", "Μαρ", "Απρ", "Μάι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ"], 11 | today: "Σήμερα" 12 | }; 13 | }(jQuery)); -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.nb.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Norwegian (bokmål) translation for bootstrap-datepicker 3 | * Fredrik Sundmyhr 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['nb'] = { 7 | days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"], 8 | daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"], 9 | daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"], 10 | months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"], 12 | today: "I Dag" 13 | }; 14 | }(jQuery)); -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.ru.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Russian translation for bootstrap-datepicker 3 | * Victor Taranenko 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['ru'] = { 7 | days: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота", "Воскресенье"], 8 | daysShort: ["Вск", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Вск"], 9 | daysMin: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"], 10 | months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"], 11 | monthsShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"], 12 | today: "Сегодня" 13 | }; 14 | }(jQuery)); -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.uk.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Ukrainian translation for bootstrap-datepicker 3 | * Andrey Vityuk 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['uk'] = { 7 | days: ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота", "Неділя"], 8 | daysShort: ["Нед", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Нед"], 9 | daysMin: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Нд"], 10 | months: ["Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"], 11 | monthsShort: ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"], 12 | today: "Сьогодні" 13 | }; 14 | }(jQuery)); -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.ro.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Romanian translation for bootstrap-datepicker 3 | * Cristian Vasile 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['ro'] = { 7 | days: ["Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă", "Duminică"], 8 | daysShort: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm", "Dum"], 9 | daysMin: ["Du", "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ", "Du"], 10 | months: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"], 11 | monthsShort: ["Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Nov", "Dec"], 12 | today: "Astăzi", 13 | weekStart: 1 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /static/debug_toolbar/js/toolbar.profiling.js: -------------------------------------------------------------------------------- 1 | (function ($) { 2 | function getSubcalls(row) { 3 | var id = row.attr('id'); 4 | return $('.djDebugProfileRow[id^="'+id+'_"]'); 5 | } 6 | function getDirectSubcalls(row) { 7 | var subcalls = getSubcalls(row); 8 | var depth = parseInt(row.attr('depth'), 10) + 1; 9 | return subcalls.filter('[depth='+depth+']'); 10 | } 11 | $('.djDebugProfileRow .djDebugProfileToggle').on('click', function(){ 12 | var row = $(this).closest('.djDebugProfileRow'); 13 | var subcalls = getSubcalls(row); 14 | if (subcalls.css('display') == 'none') { 15 | getDirectSubcalls(row).show(); 16 | } else { 17 | subcalls.hide(); 18 | } 19 | }); 20 | })(djdt.jQuery); 21 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.cs.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Czech translation for bootstrap-datepicker 3 | * Matěj Koubík 4 | * Fixes by Michal Remiš 5 | */ 6 | ;(function($){ 7 | $.fn.datepicker.dates['cs'] = { 8 | days: ["Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota", "Neděle"], 9 | daysShort: ["Ned", "Pon", "Úte", "Stř", "Čtv", "Pát", "Sob", "Ned"], 10 | daysMin: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So", "Ne"], 11 | months: ["Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"], 12 | monthsShort: ["Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čnc", "Srp", "Zář", "Říj", "Lis", "Pro"], 13 | today: "Dnes" 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.is.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Icelandic translation for bootstrap-datepicker 3 | * Hinrik Örn Sigurðsson 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['is'] = { 7 | days: ["Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur", "Sunnudagur"], 8 | daysShort: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau", "Sun"], 9 | daysMin: ["Su", "Má", "Þr", "Mi", "Fi", "Fö", "La", "Su"], 10 | months: ["Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júní", "Júlí", "Ágúst", "September", "Október", "Nóvember", "Desember"], 11 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Okt", "Nóv", "Des"], 12 | today: "Í Dag" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.pt.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Portuguese translation for bootstrap-datepicker 3 | * Original code: Cauan Cabral 4 | * Tiago Melo 5 | */ 6 | ;(function($){ 7 | $.fn.datepicker.dates['pt'] = { 8 | days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"], 9 | daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"], 10 | daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"], 11 | months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], 12 | monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"] 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.fi.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Finnish translation for bootstrap-datepicker 3 | * Jaakko Salonen 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['fi'] = { 7 | days: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai", "sunnuntai"], 8 | daysShort: ["sun", "maa", "tii", "kes", "tor", "per", "lau", "sun"], 9 | daysMin: ["su", "ma", "ti", "ke", "to", "pe", "la", "su"], 10 | months: ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu"], 11 | monthsShort: ["tam", "hel", "maa", "huh", "tou", "kes", "hei", "elo", "syy", "lok", "mar", "jou"], 12 | today: "tänään" 13 | }; 14 | }(jQuery)); 15 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.sk.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Slovak translation for bootstrap-datepicker 3 | * Marek Lichtner 4 | * Fixes by Michal Remiš 5 | */ 6 | ;(function($){ 7 | $.fn.datepicker.dates["sk"] = { 8 | days: ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota", "Nedeľa"], 9 | daysShort: ["Ned", "Pon", "Uto", "Str", "Štv", "Pia", "Sob", "Ned"], 10 | daysMin: ["Ne", "Po", "Ut", "St", "Št", "Pia", "So", "Ne"], 11 | months: ["Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"], 12 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec"], 13 | today: "Dnes" 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.de.js: -------------------------------------------------------------------------------- 1 | /** 2 | * German translation for bootstrap-datepicker 3 | * Sam Zurcher 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['de'] = { 7 | days: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"], 8 | daysShort: ["Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam", "Son"], 9 | daysMin: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"], 10 | months: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], 11 | monthsShort: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], 12 | today: "Heute", 13 | weekStart: 1, 14 | format: "dd.mm.yyyy" 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.fr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * French translation for bootstrap-datepicker 3 | * Nico Mollet 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['fr'] = { 7 | days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"], 8 | daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"], 9 | daysMin: ["D", "L", "Ma", "Me", "J", "V", "S", "D"], 10 | months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"], 11 | monthsShort: ["Jan", "Fev", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Dec"], 12 | today: "Aujourd'hui", 13 | weekStart: 1, 14 | format: "dd/mm/yyyy" 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /blog/management/commands/replace_net.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | from django.core.management.base import BaseCommand 3 | 4 | from blog.models import Post 5 | 6 | 7 | class Command(BaseCommand): 8 | args = 'no' 9 | help = 'import old post' 10 | 11 | def handle(self, *args, **options): 12 | replace_all() 13 | 14 | 15 | def replace_all(): 16 | posts = Post.objects.filter(is_old=True) 17 | 18 | for post in posts: 19 | #print post.title 20 | #处理代码 21 | index = post.content.find('the5fire.net') 22 | if index > 0: 23 | print post.title 24 | post.content = post.content.replace("www.the5fire.net", 'www.the5fire.com') 25 | post.content_html = post.content_html.replace("www.the5fire.net", 'www.the5fire.com') 26 | post.save() 27 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.hu.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Hungarian translation for bootstrap-datepicker 3 | * Sotus László 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['hu'] = { 7 | days: ["Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat", "Vasárnap"], 8 | daysShort: ["Vas", "Hét", "Ked", "Sze", "Csü", "Pén", "Szo", "Vas"], 9 | daysMin: ["Va", "Hé", "Ke", "Sz", "Cs", "Pé", "Sz", "Va"], 10 | months: ["Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"], 11 | monthsShort: ["Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Sze", "Okt", "Nov", "Dec"], 12 | today: "Ma", 13 | weekStart: 1, 14 | format: "yyyy.mm.dd" 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /templates/page.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% load duoshuo_tags substring %} 3 | {% block title %}{{ page.title }} | {% endblock %} 4 | {% block desc %}{{ page.content|truncatewords:140 }}{% endblock %} 5 | {% block keywords %}{% for tag in page.tags_list %}{{ tag }},{% endfor %}{% endblock %} 6 | {% block main %} 7 |
    8 |

    9 | {{ page.title }} 10 |

    11 | 12 |
    13 | 作者:{{ page.author }} 14 | | 发布:{{ page.create_time|date:"Y-m-d P" }} 15 |
    16 | 17 |
    18 | 19 |
    20 | {% autoescape off %} 21 | {{ page.content_html }} 22 | {% endautoescape %} 23 |
    24 | 25 | {% duoshuo_comments %} 26 |
    27 | {% endblock %} 28 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.it.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Italian translation for bootstrap-datepicker 3 | * Enrico Rubboli 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['it'] = { 7 | days: ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato", "Domenica"], 8 | daysShort: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"], 9 | daysMin: ["Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa", "Do"], 10 | months: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"], 11 | monthsShort: ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"], 12 | today: "Oggi", 13 | weekStart: 1, 14 | format: "dd/mm/yyyy" 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_hu.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 Hungarian translation 3 | */ 4 | (function ($) { 5 | "use strict"; 6 | 7 | $.extend($.fn.select2.defaults, { 8 | formatNoMatches: function () { return "Nincs találat."; }, 9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Túl rövid. Még " + n + " karakter hiányzik."; }, 10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Túl hosszú. " + n + " kerekterrel több mint kellene."; }, 11 | formatSelectionTooBig: function (limit) { return "Csak " + limit + " elemet lehet kiválasztani."; }, 12 | formatLoadMore: function (pageNumber) { return "Töltés..."; }, 13 | formatSearching: function () { return "Keresés..."; } 14 | }); 15 | })(jQuery); 16 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.lv.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Latvian translation for bootstrap-datepicker 3 | * Artis Avotins 4 | */ 5 | 6 | ;(function($){ 7 | $.fn.datepicker.dates['lv'] = { 8 | days: ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena", "Svētdiena"], 9 | daysShort: ["Sv", "P", "O", "T", "C", "Pk", "S", "Sv"], 10 | daysMin: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "St", "Sv"], 11 | months: ["Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"], 12 | monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jūn", "Jūl", "Aug", "Sep", "Okt", "Nov", "Dec."], 13 | today: "Šodien", 14 | weekStart: 1 15 | }; 16 | }(jQuery)); -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_de.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 German translation 3 | */ 4 | (function ($) { 5 | "use strict"; 6 | 7 | $.extend($.fn.select2.defaults, { 8 | formatNoMatches: function () { return "Keine Übereinstimmungen gefunden"; }, 9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Bitte " + n + " Zeichen mehr eingeben"; }, 10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Bitte " + n + " Zeichen weniger eingeben"; }, 11 | formatSelectionTooBig: function (limit) { return "Sie können nur " + limit + " Eintr" + (limit === 1 ? "ag" : "äge") + " auswählen"; }, 12 | formatLoadMore: function (pageNumber) { return "Lade mehr Ergebnisse..."; }, 13 | formatSearching: function () { return "Suche..."; } 14 | }); 15 | })(jQuery); -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_tr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 Turkish translation. 3 | * 4 | * Author: Salim KAYABAŞI 5 | */ 6 | (function ($) { 7 | "use strict"; 8 | 9 | $.extend($.fn.select2.defaults, { 10 | formatNoMatches: function () { return "Sonuç bulunamadı"; }, 11 | formatInputTooShort: function (input, min) { var n = min - input.length; return "En az " + n + " karakter daha girmelisiniz"; }, 12 | formatInputTooLong: function (input, max) { var n = input.length - max; return n + " karakter azaltmalısınız"; }, 13 | formatSelectionTooBig: function (limit) { return "Sadece " + limit + " seçim yapabilirsiniz"; }, 14 | formatLoadMore: function (pageNumber) { return "Daha fazla ..."; }, 15 | formatSearching: function () { return "Aranıyor..."; } 16 | }); 17 | })(jQuery); 18 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.lt.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Lithuanian translation for bootstrap-datepicker 3 | * Šarūnas Gliebus 4 | */ 5 | 6 | ;(function($){ 7 | $.fn.datepicker.dates['lt'] = { 8 | days: ["Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis", "Sekmadienis"], 9 | daysShort: ["S", "Pr", "A", "T", "K", "Pn", "Š", "S"], 10 | daysMin: ["Sk", "Pr", "An", "Tr", "Ke", "Pn", "Št", "Sk"], 11 | months: ["Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"], 12 | monthsShort: ["Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugp", "Rugs", "Spa", "Lap", "Gru"], 13 | today: "Šiandien", 14 | weekStart: 1 15 | }; 16 | }(jQuery)); 17 | -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_nl.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 Dutch translation 3 | */ 4 | (function ($) { 5 | "use strict"; 6 | 7 | $.extend($.fn.select2.defaults, { 8 | formatNoMatches: function () { return "Geen resultaten gevonden"; }, 9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Vul " + n + " karakter" + (n == 1? "" : "s") + " meer in"; }, 10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Vul " + n + " karakter" + (n == 1? "" : "s") + " minder in"; }, 11 | formatSelectionTooBig: function (limit) { return "Maximaal " + limit + " item" + (limit == 1 ? "" : "s") + " toegestaan"; }, 12 | formatLoadMore: function (pageNumber) { return "Meer resultaten laden..."; }, 13 | formatSearching: function () { return "Zoeken..."; }, 14 | }); 15 | })(jQuery); -------------------------------------------------------------------------------- /static/ueditor/dialogs/attachment/fileTypeMaps.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by JetBrains PhpStorm. 3 | * User: taoqili 4 | * Date: 12-2-10 5 | * Time: 下午3:50 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | //文件类型图标索引 9 | var fileTypeMaps = { 10 | ".rar":"icon_rar.gif", 11 | ".zip":"icon_rar.gif", 12 | ".doc":"icon_doc.gif", 13 | ".docx":"icon_doc.gif", 14 | ".pdf":"icon_pdf.gif", 15 | ".mp3":"icon_mp3.gif", 16 | ".xls":"icon_xls.gif", 17 | ".chm":"icon_chm.gif", 18 | ".ppt":"icon_ppt.gif", 19 | ".pptx":"icon_ppt.gif", 20 | ".avi":"icon_mv.gif", 21 | ".rmvb":"icon_mv.gif", 22 | ".wmv":"icon_mv.gif", 23 | ".flv":"icon_mv.gif", 24 | ".swf":"icon_mv.gif", 25 | ".rm":"icon_mv.gif", 26 | ".exe":"icon_exe.gif", 27 | ".psd":"icon_psd.gif", 28 | ".txt":"icon_txt.gif" 29 | }; -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_sv.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 Swedish translation. 3 | * 4 | * Author: Jens Rantil 5 | */ 6 | (function ($) { 7 | "use strict"; 8 | 9 | $.extend($.fn.select2.defaults, { 10 | formatNoMatches: function () { return "Inga träffar"; }, 11 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Var god skriv in " + n + (n>1 ? " till tecken" : " tecken till"); }, 12 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Var god sudda ut " + n + " tecken"; }, 13 | formatSelectionTooBig: function (limit) { return "Du kan max välja " + limit + " element"; }, 14 | formatLoadMore: function (pageNumber) { return "Laddar fler resultat..."; }, 15 | formatSearching: function () { return "Söker..."; } 16 | }); 17 | })(jQuery); 18 | -------------------------------------------------------------------------------- /requirement.txt: -------------------------------------------------------------------------------- 1 | BeautifulSoup==3.2.1 2 | Django==1.5.1 3 | DjangoUeditor==1.4.125 4 | MySQL-python==1.2.5 5 | PyJWT==0.2.1 6 | PyYAML==3.11 7 | Pygments==1.6 8 | Werkzeug==0.9.4 9 | argparse==1.2.1 10 | bpython==0.13 11 | defusedxml==0.4.1 12 | django-crispy-forms==1.4.0 13 | django-debug-toolbar==1.2.1 14 | django-pingback==0.3 15 | django-pylibmc==0.5.0 16 | django-reversion==1.8.1 17 | django-xadmin==0.5.0 18 | django-xmlrpc==0.1.4 19 | docutils==0.11 20 | -e git+https://github.com/duoshuo/duoshuo-python-sdk.git@e1b9768a32147470ffad1e66185462d36aaa5bb9#egg=duoshuo_python_sdk-master 21 | enum==0.4.4 22 | grizzled-python==1.0.1 23 | gunicorn==18.0 24 | meld3==1.0.0 25 | prettytable==0.7.2 26 | pylibmc==1.3.100-dev 27 | python-memcached==1.53 28 | requests==2.3.0 29 | rpc4django==0.3.0 30 | sae-python-dev==1.3.2 31 | sqlcmd==0.7.1 32 | sqlparse==0.1.11 33 | supervisor==3.0 34 | wsgiref==0.1.2 35 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.pl.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Polish translation for bootstrap-datepicker 3 | * Robert 4 | */ 5 | ;(function($){ 6 | $.fn.datepicker.dates['pl'] = { 7 | days: ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela"], 8 | daysShort: ["Nie", "Pn", "Wt", "Śr", "Czw", "Pt", "So", "Nie"], 9 | daysMin: ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N"], 10 | months: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"], 11 | monthsShort: ["Sty", "Lu", "Mar", "Kw", "Maj", "Cze", "Lip", "Sie", "Wrz", "Pa", "Lis", "Gru"], 12 | today: "Dzisiaj", 13 | weekStart: 1 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /templates/includes/footer.html: -------------------------------------------------------------------------------- 1 |
    2 |
    3 |

    4 | 当前{{ online_num }}人在线,表示毫无压力 5 | {% if online_num > 50 %} 6 | 囧~ 7 | {% endif %} 8 | {% if online_num < 10 %} 9 | 汗~ 10 | {% endif %} 11 |

    12 |

    本页面加载耗时:s

    13 |

    14 | Powered by 15 |

    16 |

    17 | 18 | 19 |

    20 |

    21 | 网站地图 22 |

    23 |

    版权所有 © 2010-2014 mushapi.sinaapp.com

    24 |

    CC BY-NC-SA 3.0

    25 |
    26 |
    27 | -------------------------------------------------------------------------------- /static/xadmin/vendor/bootstrap-datepicker/js/locales/bootstrap-datepicker.sw.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Swahili translation for bootstrap-datepicker 3 | * Edwin Mugendi 4 | * Source: http://scriptsource.org/cms/scripts/page.php?item_id=entry_detail&uid=xnfaqyzcku 5 | */ 6 | ;(function($){ 7 | $.fn.datepicker.dates['sw'] = { 8 | days: ["Jumapili", "Jumatatu", "Jumanne", "Jumatano", "Alhamisi", "Ijumaa", "Jumamosi", "Jumapili"], 9 | daysShort: ["J2", "J3", "J4", "J5", "Alh", "Ij", "J1", "J2"], 10 | daysMin: ["2", "3", "4", "5", "A", "I", "1", "2"], 11 | months: ["Januari", "Februari", "Machi", "Aprili", "Mei", "Juni", "Julai", "Agosti", "Septemba", "Oktoba", "Novemba", "Desemba"], 12 | monthsShort: ["Jan", "Feb", "Mac", "Apr", "Mei", "Jun", "Jul", "Ago", "Sep", "Okt", "Nov", "Des"], 13 | today: "Leo" 14 | }; 15 | }(jQuery)); 16 | -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_es.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 Spanish translation 3 | */ 4 | (function ($) { 5 | "use strict"; 6 | 7 | $.extend($.fn.select2.defaults, { 8 | formatNoMatches: function () { return "No se encontraron resultados"; }, 9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Por favor adicione " + n + " caracter" + (n == 1? "" : "es"); }, 10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Por favor elimine " + n + " caracter" + (n == 1? "" : "es"); }, 11 | formatSelectionTooBig: function (limit) { return "Solo puede seleccionar " + limit + " elemento" + (limit == 1 ? "" : "s"); }, 12 | formatLoadMore: function (pageNumber) { return "Cargando más resultados..."; }, 13 | formatSearching: function () { return "Buscando..."; } 14 | }); 15 | })(jQuery); -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_it.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 Italian translation 3 | */ 4 | (function ($) { 5 | "use strict"; 6 | 7 | $.extend($.fn.select2.defaults, { 8 | formatNoMatches: function () { return "Nessuna corrispondenza trovata"; }, 9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Inserisci ancora " + n + " caratter" + (n == 1? "e" : "i"); }, 10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Inserisci " + n + " caratter" + (n == 1? "e" : "i") + " in meno"; }, 11 | formatSelectionTooBig: function (limit) { return "Puoi selezionare solo " + limit + " element" + (limit == 1 ? "o" : "i"); }, 12 | formatLoadMore: function (pageNumber) { return "Caricamento in corso..."; }, 13 | formatSearching: function () { return "Ricerca..."; } 14 | }); 15 | })(jQuery); -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_pt-BR.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 Brazilian Portuguese translation 3 | */ 4 | (function ($) { 5 | "use strict"; 6 | 7 | $.extend($.fn.select2.defaults, { 8 | formatNoMatches: function () { return "Nenhum resultado encontrado"; }, 9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Informe " + n + " caracter" + (n == 1? "" : "es"); }, 10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Apague " + n + " caracter" + (n == 1? "" : "es"); }, 11 | formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); }, 12 | formatLoadMore: function (pageNumber) { return "Carregando mais resultados..."; }, 13 | formatSearching: function () { return "Buscando..."; } 14 | }); 15 | })(jQuery); 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Byte-compiled / optimized / DLL files 2 | __pycache__/ 3 | *.py[cod] 4 | *.pyc 5 | *~ 6 | *.swp 7 | .project 8 | .pydevproject 9 | .settings 10 | tags 11 | # C extensions 12 | *.so 13 | # Distribution / packaging 14 | .Python 15 | .svn 16 | virtualenv.bundle/ 17 | env/ 18 | bin/ 19 | build/ 20 | develop-eggs/ 21 | dist/ 22 | eggs/ 23 | lib/ 24 | lib64/ 25 | parts/ 26 | sdist/ 27 | var/ 28 | *.egg-info/ 29 | .installed.cfg 30 | *.egg 31 | 32 | # Installer logs 33 | pip-log.txt 34 | pip-delete-this-directory.txt 35 | 36 | # Unit test / coverage reports 37 | htmlcov/ 38 | .tox/ 39 | .coverage 40 | .cache 41 | nosetests.xml 42 | coverage.xml 43 | 44 | # Translations 45 | *.mo 46 | 47 | # Mr Developer 48 | .mr.developer.cfg 49 | .project 50 | .pydevproject 51 | 52 | # Rope 53 | .ropeproject 54 | 55 | # Django stuff: 56 | *.log 57 | *.pot 58 | 59 | # Sphinx documentation 60 | docs/_build/ 61 | 62 | -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_pt-PT.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 Portuguese (Portugal) translation 3 | */ 4 | (function ($) { 5 | "use strict"; 6 | 7 | $.extend($.fn.select2.defaults, { 8 | formatNoMatches: function () { return "Nenhum resultado encontrado"; }, 9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Introduza " + n + " caracter" + (n == 1 ? "" : "es"); }, 10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Apague " + n + " caracter" + (n == 1 ? "" : "es"); }, 11 | formatSelectionTooBig: function (limit) { return "Só é possível selecionar " + limit + " elemento" + (limit == 1 ? "" : "s"); }, 12 | formatLoadMore: function (pageNumber) { return "A carregar mais resultados..."; }, 13 | formatSearching: function () { return "A pesquisar..."; } 14 | }); 15 | })(jQuery); 16 | -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_ro.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 Romanian translation. 3 | */ 4 | (function ($) { 5 | "use strict"; 6 | 7 | $.extend($.fn.select2.defaults, { 8 | formatNoMatches: function () { return "Nu a fost găsit nimic"; }, 9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Vă rugăm să introduceți incă " + n + " caracter" + (n == 1 ? "" : "e"); }, 10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Vă rugăm să introduceți mai puțin de " + n + " caracter" + (n == 1? "" : "e"); }, 11 | formatSelectionTooBig: function (limit) { return "Aveți voie să selectați cel mult " + limit + " element" + (limit == 1 ? "" : "e"); }, 12 | formatLoadMore: function (pageNumber) { return "Se încarcă..."; }, 13 | formatSearching: function () { return "Căutare..."; } 14 | }); 15 | })(jQuery); 16 | -------------------------------------------------------------------------------- /static/admin/jquery/i18n/ui.datepicker-de.js: -------------------------------------------------------------------------------- 1 | /* German initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Milian Wolff (mail@milianw.de). */ 3 | (function($){ 4 | $.datepicker.regional['de'] = { 5 | closeText: 'schließen', 6 | prevText: '<zurück', 7 | nextText: 'Vor>', 8 | currentText: 'heute', 9 | monthNames: ['Januar','Februar','März','April','Mai','Juni', 10 | 'Juli','August','September','Oktober','November','Dezember'], 11 | monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun', 12 | 'Jul','Aug','Sep','Okt','Nov','Dez'], 13 | dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'], 14 | dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'], 15 | dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'], 16 | dateFormat: 'yy-mm-dd', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['de']); 19 | })(django.jQuery); 20 | 21 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/spechars/spechars.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 14 | 15 | 16 |
    17 |
    18 |
    19 | 20 | 21 | -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_fr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 French translation 3 | */ 4 | (function ($) { 5 | "use strict"; 6 | 7 | $.extend($.fn.select2.defaults, { 8 | formatNoMatches: function () { return "Aucun résultat trouvé"; }, 9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Merci de saisir " + n + " caractère" + (n == 1? "" : "s") + " de plus"; }, 10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Merci de saisir " + n + " caractère" + (n == 1? "" : "s") + " de moins"; }, 11 | formatSelectionTooBig: function (limit) { return "Vous pouvez seulement sélectionner " + limit + " élément" + (limit == 1 ? "" : "s"); }, 12 | formatLoadMore: function (pageNumber) { return "Chargement de résultats supplémentaires..."; }, 13 | formatSearching: function () { return "Recherche en cours..."; } 14 | }); 15 | })(jQuery); 16 | -------------------------------------------------------------------------------- /static/admin/js/collapse.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | $(document).ready(function() { 3 | // Add anchor tag for Show/Hide link 4 | $("fieldset.collapse").each(function(i, elem) { 5 | // Don't hide if fields in this fieldset have errors 6 | if ( $(elem).find("div.errors").length == 0 ) { 7 | $(elem).addClass("collapsed"); 8 | $(elem).find("h2").first().append(' (' + gettext("Show") + 10 | ')'); 11 | } 12 | }); 13 | // Add toggle to anchor tag 14 | $("fieldset.collapse a.collapse-toggle").toggle( 15 | function() { // Show 16 | $(this).text(gettext("Hide")); 17 | $(this).closest("fieldset").removeClass("collapsed"); 18 | return false; 19 | }, 20 | function() { // Hide 21 | $(this).text(gettext("Show")); 22 | $(this).closest("fieldset").addClass("collapsed"); 23 | return false; 24 | } 25 | ); 26 | }); 27 | })(django.jQuery); 28 | -------------------------------------------------------------------------------- /static/bootstrap/css/prettify.css: -------------------------------------------------------------------------------- 1 | .com { color: #93a1a1; } 2 | .lit { color: #195f91; } 3 | .pun, .opn, .clo { color: #93a1a1; } 4 | .fun { color: #dc322f; } 5 | .str, .atv { color: #D14; } 6 | .kwd, .prettyprint .tag { color: #1e347b; } 7 | .typ, .atn, .dec, .var { color: teal; } 8 | .pln { color: #48484c; } 9 | 10 | .prettyprint { 11 | padding: 8px; 12 | background-color: #f7f7f9; 13 | border: 1px solid #e1e1e8; 14 | } 15 | .prettyprint.linenums { 16 | -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; 17 | -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; 18 | box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; 19 | } 20 | 21 | /* Specify class=linenums on a pre to get line numbering */ 22 | ol.linenums { 23 | margin: 0 0 0 33px; /* IE indents via margin-left */ 24 | } 25 | ol.linenums li { 26 | padding-left: 12px; 27 | color: #bebec5; 28 | line-height: 20px; 29 | text-shadow: 0 1px 0 #fff; 30 | } -------------------------------------------------------------------------------- /static/admin/jquery/i18n/ui.datepicker-fr.js: -------------------------------------------------------------------------------- 1 | /* French initialisation for the jQuery UI date picker plugin. */ 2 | /* Written by Keith Wood (kbwood@virginbroadband.com.au) and Stéphane Nahmani (sholby@sholby.net). */ 3 | (function($){ 4 | $.datepicker.regional['fr'] = { 5 | closeText: 'Fermer', 6 | prevText: '<Préc', 7 | nextText: 'Suiv>', 8 | currentText: 'Courant', 9 | monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin', 10 | 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'], 11 | monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun', 12 | 'Jul','Aoû','Sep','Oct','Nov','Déc'], 13 | dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'], 14 | dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'], 15 | dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'], 16 | dateFormat: 'yy-mm-dd', firstDay: 1, 17 | isRTL: false}; 18 | $.datepicker.setDefaults($.datepicker.regional['fr']); 19 | })(django.jQuery); 20 | -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_ru.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 Russian translation 3 | */ 4 | (function ($) { 5 | "use strict"; 6 | 7 | $.extend($.fn.select2.defaults, { 8 | formatNoMatches: function () { return "Совпадений не найдено"; }, 9 | formatInputTooShort: function (input, min) { var n = min - input.length; return "Пожалуйста, введите еще " + n + " символ" + (n == 1 ? "" : ((n > 1)&&(n < 5) ? "а" : "ов")); }, 10 | formatInputTooLong: function (input, max) { var n = input.length - max; return "Пожалуйста, введите на " + n + " символ" + (n == 1 ? "" : ((n > 1)&&(n < 5)? "а" : "ов")) + " меньше"; }, 11 | formatSelectionTooBig: function (limit) { return "Вы можете выбрать не более " + limit + " элемент" + (limit == 1 ? "" : ((limit > 1)&&(limit < 5)? "а" : "ов")); }, 12 | formatLoadMore: function (pageNumber) { return "Загрузка данных..."; }, 13 | formatSearching: function () { return "Поиск..."; } 14 | }); 15 | })(jQuery); 16 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/table/edittip.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 表格删除提示 5 | 6 | 17 | 18 | 19 |
    20 |
    21 | 22 |
    23 |
    24 | 25 |
    26 |
    27 | 32 | 33 | -------------------------------------------------------------------------------- /static/xadmin/js/xadmin.plugin.revision.js: -------------------------------------------------------------------------------- 1 | jQuery(function($){ 2 | $('.diff_field').each(function(){ 3 | var el = $(this); 4 | var textarea = el.find('textarea.org-data'); 5 | var title = el.data('org-data') || el.attr('title'); 6 | if(textarea.length){ 7 | title = textarea.val(); 8 | } 9 | el.find('.controls').tooltip({ 10 | title: title, 11 | html: true 12 | }) 13 | }); 14 | 15 | $('.formset-content .formset-row').each(function(){ 16 | var row = $(this); 17 | var del = row.find('input[id $= "-DELETE"]'); 18 | if(del.val() == 'on' || del.val() == 'True'){ 19 | row.addClass('row-deleted'); 20 | del.val('on'); 21 | } 22 | var idinput = row.find('input[id $= "-id"]'); 23 | if(idinput.val() == '' || idinput.val() == undefined){ 24 | row.addClass('row-added'); 25 | row.find('.formset-num').html(gettext('New Item')); 26 | } 27 | }); 28 | }); -------------------------------------------------------------------------------- /static/admin/css/login.css: -------------------------------------------------------------------------------- 1 | /* LOGIN FORM */ 2 | 3 | body.login { 4 | background: #eee; 5 | } 6 | 7 | .login #container { 8 | background: white; 9 | border: 1px solid #ccc; 10 | width: 28em; 11 | min-width: 300px; 12 | margin-left: auto; 13 | margin-right: auto; 14 | margin-top: 100px; 15 | } 16 | 17 | .login #content-main { 18 | width: 100%; 19 | } 20 | 21 | .login form { 22 | margin-top: 1em; 23 | } 24 | 25 | .login .form-row { 26 | padding: 4px 0; 27 | float: left; 28 | width: 100%; 29 | } 30 | 31 | .login .form-row label { 32 | float: left; 33 | width: 9em; 34 | padding-right: 0.5em; 35 | line-height: 2em; 36 | text-align: right; 37 | font-size: 1em; 38 | color: #333; 39 | } 40 | 41 | .login .form-row #id_username, .login .form-row #id_password { 42 | width: 14em; 43 | } 44 | 45 | .login span.help { 46 | font-size: 10px; 47 | display: block; 48 | } 49 | 50 | .login .submit-row { 51 | clear: both; 52 | padding: 1em 0 0 9.4em; 53 | } 54 | 55 | -------------------------------------------------------------------------------- /static/admin/blog/change_form.html: -------------------------------------------------------------------------------- 1 | {% extends "admin/change_form.html" %} 2 | 3 | {% block after_related_objects %} 4 | {% if original.pk %} 5 |
    6 | 7 | {% if original.requested %} 8 | 9 | 10 | {% endif %} 11 | {% if original.submitted %} 12 | 13 | 14 | {% endif %} 15 | {% if original.submitted or original.assigned %} 16 | 17 | {% endif %} 18 | {% if original.accepted %} 19 | 20 | {% endif %} 21 | {% if original.cancelled %} 22 | 23 | {% endif %} 24 |
    25 | {% endif %} 26 | {% endblock %} 27 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/template.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
    11 |
    12 |
    13 | 14 |
    15 |
    16 |
    17 |
    18 | 19 |
    20 |
    21 |
    22 |
    23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /static/admin/jquery/jquery.cookie.min.js: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2006 Klaus Hartl (stilbuero.de) 2 | 3 | jQuery.cookie=function(name,value,options){if(typeof value!='undefined'){options=options||{};if(value===null){value='';options.expires=-1;} 4 | var expires='';if(options.expires&&(typeof options.expires=='number'||options.expires.toUTCString)){var date;if(typeof options.expires=='number'){date=new Date();date.setTime(date.getTime()+(options.expires*24*60*60*1000));}else{date=options.expires;} 5 | expires='; expires='+date.toUTCString();} 6 | var path=options.path?'; path='+(options.path):'';var domain=options.domain?'; domain='+(options.domain):'';var secure=options.secure?'; secure':'';document.cookie=[name,'=',encodeURIComponent(value),expires,path,domain,secure].join('');}else{var cookieValue=null;if(document.cookie&&document.cookie!=''){var cookies=document.cookie.split(';');for(var i=0;i 2 | 3 | 4 | 5 | 插入音乐 6 | 7 | 8 | 9 | 10 |
    11 | 15 |
    16 | 17 |
    18 |
    19 |
    20 |
    21 | 22 | 31 | 32 | -------------------------------------------------------------------------------- /static/xadmin/css/xadmin.page.dashboard.css: -------------------------------------------------------------------------------- 1 | 2 | .dashboard.container-fluid { 3 | padding-left: 0px; 4 | } 5 | .dashboard .column{ 6 | min-height: 60px; 7 | } 8 | 9 | .widget { 10 | position: relative; 11 | } 12 | .widget_options { 13 | overflow: visible; 14 | position: absolute; 15 | } 16 | 17 | /* Quick Buttons 18 | =================================================================== */ 19 | .qbutton .panel-body { 20 | padding-top: 5px; 21 | } 22 | .btn-quick { 23 | margin-top: 10px; 24 | padding: 20px 0px 0px 0px; 25 | font-size: 15px; 26 | display:block; 27 | text-align: center; 28 | cursor: pointer; 29 | position: relative; 30 | } 31 | .btn-quick i { 32 | font-size: 32px; 33 | } 34 | 35 | /* Quick Buttons Small 36 | =================================================================== */ 37 | 38 | .btn-quick-small { 39 | border-radius: 3px; 40 | padding: 15px 0px 0px 0px; 41 | font-size: 10px; 42 | display:block; 43 | text-align: center; 44 | cursor: pointer; 45 | position: relative; 46 | } 47 | 48 | .btn-quick-small i { 49 | font-size: 20px; 50 | } -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/template.css: -------------------------------------------------------------------------------- 1 | .wrap{ padding: 5px;font-size: 14px;} 2 | .left{width:425px;float: left;} 3 | .right{width:160px;border: 1px solid #ccc;float: right;padding: 5px;margin-right: 5px;} 4 | .right .pre{height: 332px;overflow-y: auto;} 5 | .right .preitem{border: white 1px solid;margin: 5px 0;padding: 2px 0;} 6 | .right .preitem:hover{background-color: lemonChiffon;cursor: pointer;border: #ccc 1px solid;} 7 | .right .preitem img{display: block;margin: 0 auto;width:100px;} 8 | .clear{clear: both;} 9 | .top{height:26px;line-height: 26px;padding: 5px;} 10 | .bottom{height:320px;width:100%;margin: 0 auto;} 11 | .transparent{ background: url("images/bg.gif") repeat;} 12 | .bottom table tr td{border:1px dashed #ccc;} 13 | #colorPicker{width: 17px;height: 17px;border: 1px solid #CCC;display: inline-block;border-radius: 3px;box-shadow: 2px 2px 5px #D3D6DA;} 14 | .border_style1{padding:2px;border: 1px solid #ccc;border-radius: 5px;box-shadow:2px 2px 5px #d3d6da;} 15 | p{margin: 5px 0} 16 | table{clear:both;margin-bottom:10px;border-collapse:collapse;word-break:break-all;} 17 | li{clear:both} 18 | ol{padding-left:40px; } -------------------------------------------------------------------------------- /static/xadmin/js/xadmin.plugin.portal.js: -------------------------------------------------------------------------------- 1 | jQuery(function() { 2 | $( ".column" ).sortable({ 3 | connectWith: ".column", 4 | handle: '.panel-heading', 5 | forcePlaceholderSize: true, 6 | cursor: "move", 7 | cancel: ".unsort, .tab-content", 8 | stop: function( event, ui ) { 9 | var pos = []; 10 | $('.column').each(function(){ 11 | var col = []; 12 | $(this).find('.panel').each(function(){ 13 | col.push($(this).attr('id')); 14 | }); 15 | pos.push(col.join(',')); 16 | }); 17 | var pos_val = pos.join('|'); 18 | var key = $('#_portal_key').val(); 19 | $.save_user_settings(key, pos_val, function(){ 20 | //alert('success'); 21 | }); 22 | } 23 | }); 24 | 25 | $( ".panel-heading .icon.chevron" ).click(function() { 26 | $( this ).toggleClass( "fa fa-chevron-up" ).toggleClass( "fa fa-chevron-down" ); 27 | $( this ).parents( ".panel:first" ).find( ".panel-body" ).toggle('fast'); 28 | }); 29 | 30 | }); -------------------------------------------------------------------------------- /static/admin/js/LICENSE-JQUERY.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010 John Resig, http://jquery.com/ 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_ua.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 translation. 3 | * 4 | * Author: bigmihail 5 | */ 6 | (function ($) { 7 | "use strict"; 8 | 9 | $.extend($.fn.select2.defaults, { 10 | formatNoMatches: function () { return "Нічого не знайдено"; }, 11 | formatInputTooShort: function (input, min) { var n = min - input.length, s = ["", "и", "ів"], p = [2,0,1,1,1,2]; return "Введіть буль ласка ще " + n + " символ" + s[ (n%100>4 && n%100<=20)? 2 : p[Math.min(n%10, 5)] ]; }, 12 | formatInputTooLong: function (input, max) { var n = input.length - max, s = ["", "и", "ів"], p = [2,0,1,1,1,2]; return "Введіть буль ласка на " + n + " символ" + s[ (n%100>4 && n%100<=20)? 2 : p[Math.min(n%10, 5)] ] + " менше"; }, 13 | formatSelectionTooBig: function (limit) {var s = ["", "и", "ів"], p = [2,0,1,1,1,2]; return "Ви можете вибрати лише " + limit + " елемент" + s[ (limit%100>4 && limit%100<=20)? 2 : p[Math.min(limit%10, 5)] ]; }, 14 | formatLoadMore: function (pageNumber) { return "Завантаження даних..."; }, 15 | formatSearching: function () { return "Пошук..."; } 16 | }); 17 | })(jQuery); 18 | -------------------------------------------------------------------------------- /static/admin/css/ie.css: -------------------------------------------------------------------------------- 1 | /* IE 6 & 7 */ 2 | 3 | /* Proper fixed width for dashboard in IE6 */ 4 | 5 | .dashboard #content { 6 | *width: 768px; 7 | } 8 | 9 | .dashboard #content-main { 10 | *width: 535px; 11 | } 12 | 13 | /* IE 6 ONLY */ 14 | 15 | /* Keep header from flowing off the page */ 16 | 17 | #container { 18 | _position: static; 19 | } 20 | 21 | /* Put the right sidebars back on the page */ 22 | 23 | .colMS #content-related { 24 | _margin-right: 0; 25 | _margin-left: 10px; 26 | _position: static; 27 | } 28 | 29 | /* Put the left sidebars back on the page */ 30 | 31 | .colSM #content-related { 32 | _margin-right: 10px; 33 | _margin-left: -115px; 34 | _position: static; 35 | } 36 | 37 | .form-row { 38 | _height: 1%; 39 | } 40 | 41 | /* Fix right margin for changelist filters in IE6 */ 42 | 43 | #changelist-filter ul { 44 | _margin-right: -10px; 45 | } 46 | 47 | /* IE ignores min-height, but treats height as if it were min-height */ 48 | 49 | .change-list .filtered { 50 | _height: 400px; 51 | } 52 | 53 | /* IE doesn't know alpha transparency in PNGs */ 54 | 55 | .inline-deletelink { 56 | background: transparent url(../img/admin/inline-delete-8bit.png) no-repeat; 57 | } -------------------------------------------------------------------------------- /static/admin/js/grappelli/jquery.grp_collapsible.js: -------------------------------------------------------------------------------- 1 | /** 2 | * GRAPPELLI COLLAPSIBLES 3 | * handles collapsibles, 4 | * excluding open/closing all elements 5 | * within a group. 6 | */ 7 | 8 | (function($) { 9 | $.fn.grp_collapsible = function(options){ 10 | var defaults = { 11 | toggle_handler_slctr: ".collapse-handler:first", 12 | closed_css: "closed", 13 | open_css: "open", 14 | on_init: function() {}, 15 | on_toggle: function() {} 16 | }; 17 | var opts = $.extend(defaults, options); 18 | return this.each(function() { 19 | _initialize($(this), opts); 20 | }); 21 | }; 22 | var _initialize = function(elem, options) { 23 | options.on_init(elem, options); 24 | _register_handlers(elem, options); 25 | }; 26 | var _register_handlers = function(elem, options) { 27 | _register_toggle_handler(elem, options); 28 | }; 29 | var _register_toggle_handler = function(elem, options) { 30 | elem.children(options.toggle_handler_slctr).click(function() { 31 | elem.toggleClass(options.closed_css).toggleClass(options.open_css); 32 | }); 33 | }; 34 | })(django.jQuery); -------------------------------------------------------------------------------- /static/xadmin/js/xadmin.page.list.js: -------------------------------------------------------------------------------- 1 | jQuery(function($){ 2 | //full screen btn 3 | $('.layout-btns .layout-full').click(function(e){ 4 | var icon = $(this).find('i') 5 | if($(this).hasClass('active')){ 6 | // reset 7 | $('#left-side, ul.breadcrumb').show('fast'); 8 | $('#content-block').removeClass('col-md-12 col-sm-12 full-content').addClass('col-sm-11 col-md-10'); 9 | icon.removeClass('fa-compress').addClass('fa-expand'); 10 | $(window).trigger('resize'); 11 | } else { 12 | // full screen 13 | $('#left-side, ul.breadcrumb').hide('fast', function(){ 14 | $('#content-block').removeClass('col-sm-11 col-md-10').addClass('col-md-12 col-sm-12 full-content'); 15 | icon.removeClass('fa-expand').addClass('fa-compress'); 16 | $(window).trigger('resize'); 17 | }); 18 | } 19 | }); 20 | 21 | $('.layout-btns .layout-normal').click(function(e){ 22 | $('.results table').removeClass('table-condensed'); 23 | }); 24 | 25 | $('.layout-btns .layout-condensed').click(function(e){ 26 | $('.results table').addClass('table-condensed'); 27 | }); 28 | 29 | }); -------------------------------------------------------------------------------- /static/ueditor/dialogs/background/background.css: -------------------------------------------------------------------------------- 1 | .wrapper{ width: 424px;margin: 10px auto; zoom:1;position: relative} 2 | .tabbody{height:225px;} 3 | .tabbody .panel { position: absolute;width:100%; height:100%;background: #fff; display: none;} 4 | .tabbody .focus { display: block;} 5 | 6 | body{font-size: 12px;color: #888;overflow: hidden;} 7 | input,label{vertical-align:middle} 8 | .clear{clear: both;} 9 | .pl{padding-left: 18px;padding-left: 23px\9;} 10 | 11 | #imageList {width: 420px;height: 215px;margin-top: 10px;overflow: hidden;overflow-y: auto;} 12 | #imageList div {float: left;width: 100px;height: 95px;margin: 5px 10px;} 13 | #imageList img {cursor: pointer;border: 2px solid white;} 14 | 15 | .bgarea{margin: 10px;padding: 5px;height: 84%;border: 1px solid #A8A297;} 16 | .content div{margin: 10px 0 10px 5px;} 17 | .content .iptradio{margin: 0px 5px 5px 0px;} 18 | .txt{width:280px;} 19 | 20 | .wrapcolor{height: 19px;} 21 | div.color{float: left;margin: 0;} 22 | #colorPicker{width: 17px;height: 17px;border: 1px solid #CCC;display: inline-block;border-radius: 3px;box-shadow: 2px 2px 5px #D3D6DA;margin: 0;float: left;} 23 | div.alignment,#custom{margin-left: 23px;margin-left: 28px\9;} 24 | #custom input{height: 15px;min-height: 15px;width:20px;} 25 | #repeatType{width:100px;} -------------------------------------------------------------------------------- /static/admin/js/prepopulate.js: -------------------------------------------------------------------------------- 1 | (function($) { 2 | $.fn.prepopulate = function(dependencies, maxLength) { 3 | /* 4 | Depends on urlify.js 5 | Populates a selected field with the values of the dependent fields, 6 | URLifies and shortens the string. 7 | dependencies - array of dependent fields id's 8 | maxLength - maximum length of the URLify'd string 9 | */ 10 | return this.each(function() { 11 | var field = $(this); 12 | 13 | field.data('_changed', false); 14 | field.change(function() { 15 | field.data('_changed', true); 16 | }); 17 | 18 | var populate = function () { 19 | // Bail if the fields value has changed 20 | if (field.data('_changed') == true) return; 21 | 22 | var values = []; 23 | $.each(dependencies, function(i, field) { 24 | if ($(field).val().length > 0) { 25 | values.push($(field).val()); 26 | } 27 | }) 28 | field.val(URLify(values.join(' '), maxLength)); 29 | }; 30 | 31 | $(dependencies.join(',')).keyup(populate).change(populate).focus(populate); 32 | }); 33 | }; 34 | })(django.jQuery); 35 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/preview/preview.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 21 | 22 | 23 | 24 | 25 | 26 |
    27 | 28 |
    29 | 30 | 40 | -------------------------------------------------------------------------------- /static/ueditor/third-party/highcharts/modules/heatmap.src.js: -------------------------------------------------------------------------------- 1 | (function (Highcharts) { 2 | var seriesTypes = Highcharts.seriesTypes, 3 | each = Highcharts.each; 4 | 5 | seriesTypes.heatmap = Highcharts.extendClass(seriesTypes.map, { 6 | colorKey: 'z', 7 | useMapGeometry: false, 8 | pointArrayMap: ['y', 'z'], 9 | translate: function () { 10 | var series = this, 11 | options = series.options, 12 | dataMin = Number.MAX_VALUE, 13 | dataMax = Number.MIN_VALUE; 14 | 15 | series.generatePoints(); 16 | 17 | each(series.data, function (point) { 18 | var x = point.x, 19 | y = point.y, 20 | value = point.z, 21 | xPad = (options.colsize || 1) / 2, 22 | yPad = (options.rowsize || 1) / 2; 23 | 24 | point.path = [ 25 | 'M', x - xPad, y - yPad, 26 | 'L', x + xPad, y - yPad, 27 | 'L', x + xPad, y + yPad, 28 | 'L', x - xPad, y + yPad, 29 | 'Z' 30 | ]; 31 | 32 | point.shapeType = 'path'; 33 | point.shapeArgs = { 34 | d: series.translatePath(point.path) 35 | }; 36 | 37 | if (typeof value === 'number') { 38 | if (value > dataMax) { 39 | dataMax = value; 40 | } else if (value < dataMin) { 41 | dataMin = value; 42 | } 43 | } 44 | }); 45 | 46 | series.translateColors(dataMin, dataMax); 47 | }, 48 | 49 | getBox: function () {} 50 | 51 | }); 52 | 53 | }(Highcharts)); 54 | -------------------------------------------------------------------------------- /static/xadmin/css/xadmin.widget.editable.css: -------------------------------------------------------------------------------- 1 | .editable-handler .popover{ 2 | width: auto; 3 | } 4 | .editable .popover-title{ 5 | white-space:nowrap; 6 | } 7 | .editable .popover-title .close { 8 | margin: -4px 0px 0px 10px; 9 | } 10 | .editable form .btn-ajax{ 11 | display: none; 12 | } 13 | .editable form .control-wrap{ 14 | padding-right: 0px; 15 | } 16 | .editable form{ 17 | margin-bottom: 0px; 18 | } 19 | .editable form .controls{ 20 | margin: 0px; 21 | padding: 0px !important; 22 | border: 0px; 23 | } 24 | .editable form .form-group { 25 | margin: 0px 0px 10px !important; 26 | } 27 | .editable form .control-label{ 28 | display: none; 29 | } 30 | .editable form .controls label { 31 | white-space:nowrap; 32 | } 33 | 34 | @media (min-width: 768px) { 35 | .editable form .text-field, 36 | .editable form .textinput { 37 | width: 200px; 38 | } 39 | .editable form .int-field { 40 | width: 150px; 41 | } 42 | .editable form .textarea-field{ 43 | width: 250px; 44 | height: 50px; 45 | } 46 | 47 | .editable form select, 48 | .editable form .select2-container { 49 | max-width: 200px; 50 | min-width: 100px; 51 | width: 100%; 52 | } 53 | } 54 | @media (max-width: 767px) { 55 | .popover.editpop{ 56 | position: fixed; 57 | top: 30px !important; 58 | left: 10px !important; 59 | right: 10px !important; 60 | z-index: 1040; 61 | max-width: none; 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /static/xadmin/css/xadmin.plugin.formset.css: -------------------------------------------------------------------------------- 1 | 2 | .empty-form { 3 | display: none; 4 | } 5 | .formset:not(.one) > .panel-body { 6 | padding-top: 0px !important; 7 | } 8 | .formset .row-deleted{ 9 | background: #fff0f0 !important; 10 | } 11 | .formset .row-added { 12 | background: #d1ffdd !important; 13 | } 14 | .formset .formset-heading{ 15 | padding: 10px; 16 | border-bottom: 1px solid #EEE; 17 | } 18 | .formset .row-deleted .formset-form { 19 | display: none; 20 | } 21 | .formset .box-content.accordion { 22 | margin: 0px; 23 | padding: 5px 5px 3px; 24 | } 25 | .formset .formset-form { 26 | padding-left: 15px; 27 | padding-right: 15px; 28 | } 29 | .formset .accordion-heading .delete-row { 30 | float: right; 31 | margin: 8px; 32 | } 33 | .formset .nav{ 34 | margin-bottom: 5px; 35 | } 36 | .formset .nav.nav-tabs{ 37 | padding: 10px 10px 0px; 38 | } 39 | .formset .panel-body.tabs { 40 | padding-left: 0px; 41 | padding-right: 0px; 42 | } 43 | .formset .box-content.tabs{ 44 | padding: 5px 0px 0px; 45 | } 46 | .formset .tabs .tab-content{ 47 | overflow: hidden; 48 | } 49 | .formset .tabs .delete-row{ 50 | float: right; 51 | margin: 8px 8px; 52 | } 53 | .formset .table{ 54 | margin-bottom: 0px; 55 | } 56 | .formset .table td{ 57 | padding: 4px; 58 | } 59 | 60 | .formset .table td .delete-row{ 61 | margin-top: 4px; 62 | display: block; 63 | } 64 | -------------------------------------------------------------------------------- /static/ueditor/third-party/highcharts/modules/no-data-to-display.js: -------------------------------------------------------------------------------- 1 | /* 2 | Highcharts JS v3.0.6 (2013-10-04) 3 | Plugin for displaying a message when there is no data visible in chart. 4 | 5 | (c) 2010-2013 Highsoft AS 6 | Author: Øystein Moseng 7 | 8 | License: www.highcharts.com/license 9 | */ 10 | (function(c){function f(){return!!this.points.length}function g(){this.hasData()?this.hideNoData():this.showNoData()}var d=c.seriesTypes,e=c.Chart.prototype,h=c.getOptions(),i=c.extend;i(h.lang,{noData:"No data to display"});h.noData={position:{x:0,y:0,align:"center",verticalAlign:"middle"},attr:{},style:{fontWeight:"bold",fontSize:"12px",color:"#60606a"}};d.pie.prototype.hasData=f;if(d.gauge)d.gauge.prototype.hasData=f;if(d.waterfall)d.waterfall.prototype.hasData=f;c.Series.prototype.hasData=function(){return this.dataMax!== 11 | void 0&&this.dataMin!==void 0};e.showNoData=function(a){var b=this.options,a=a||b.lang.noData,b=b.noData;if(!this.noDataLabel)this.noDataLabel=this.renderer.label(a,0,0,null,null,null,null,null,"no-data").attr(b.attr).css(b.style).add(),this.noDataLabel.align(i(this.noDataLabel.getBBox(),b.position),!1,"plotBox")};e.hideNoData=function(){if(this.noDataLabel)this.noDataLabel=this.noDataLabel.destroy()};e.hasData=function(){for(var a=this.series,b=a.length;b--;)if(a[b].hasData()&&!a[b].options.isInternal)return!0; 12 | return!1};e.callbacks.push(function(a){c.addEvent(a,"load",g);c.addEvent(a,"redraw",g)})})(Highcharts); 13 | -------------------------------------------------------------------------------- /templates/includes/sidebar.html: -------------------------------------------------------------------------------- 1 |
    2 | {% for widget in widgets %} 3 | {% if widget.content == 'recently_post'%} 4 |

    {{ widget.title }}

    5 |
    6 |
      7 | {% with r_posts=recently_posts %} 8 | {% if r_posts %} 9 | {% for post in r_posts %} 10 |
    • 11 | {{ post.title }} 12 |
    • 13 | {% endfor %} 14 | {% endif %} 15 | {% endwith %} 16 |
    17 |
    18 | {% else %}{% if widget.content == 'hot_post' %} 19 |

    {{ widget.title }}

    20 |
    21 |
      22 | {% with h_posts=hot_posts %} 23 | {% if h_posts %} 24 | {% for post in h_posts %} 25 |
    • 26 | {{ post.title }} 27 |
    • 28 | {% endfor %} 29 | {% endif %} 30 | {% endwith %} 31 |
    32 |
    33 | {% else %} 34 |

    {{ widget.title }}

    35 |
    36 | {% autoescape off %} 37 | {{ widget.content }} 38 | {% endautoescape %} 39 |
    40 | {% endif %}{% endif %} 41 | {% endfor %} 42 |
    43 | -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_eu.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 Basque translation. 3 | * 4 | * Author: Julen Ruiz Aizpuru 5 | */ 6 | (function ($) { 7 | "use strict"; 8 | 9 | $.extend($.fn.select2.defaults, { 10 | formatNoMatches: function () { 11 | return "Ez da bat datorrenik aurkitu"; 12 | }, 13 | formatInputTooShort: function (input, min) { 14 | var n = min - input.length; 15 | if (n === 1) { 16 | return "Idatzi karaktere bat gehiago"; 17 | } else { 18 | return "Idatzi " + n + " karaktere gehiago"; 19 | } 20 | }, 21 | formatInputTooLong: function (input, max) { 22 | var n = input.length - max; 23 | if (n === 1) { 24 | return "Idatzi karaktere bat gutxiago"; 25 | } else { 26 | return "Idatzi " + n + " karaktere gutxiago"; 27 | } 28 | }, 29 | formatSelectionTooBig: function (limit) { 30 | if (limit === 1 ) { 31 | return "Elementu bakarra hauta dezakezu"; 32 | } else { 33 | return limit + " elementu hauta ditzakezu soilik"; 34 | } 35 | }, 36 | formatLoadMore: function (pageNumber) { 37 | return "Emaitza gehiago kargatzen..."; 38 | }, 39 | formatSearching: function () { 40 | return "Bilatzen..."; 41 | } 42 | }); 43 | })(jQuery); 44 | -------------------------------------------------------------------------------- /static/xadmin/vendor/snapjs/snap.css: -------------------------------------------------------------------------------- 1 | 2 | .snap-content { 3 | position: absolute; 4 | top: 0; 5 | right: 0; 6 | bottom: 0; 7 | left: 0; 8 | width: auto; 9 | height: auto; 10 | z-index: 2; 11 | overflow: auto; 12 | -webkit-overflow-scrolling: touch; 13 | -webkit-transform: translate3d(0, 0, 0); 14 | -moz-transform: translate3d(0, 0, 0); 15 | -ms-transform: translate3d(0, 0, 0); 16 | -o-transform: translate3d(0, 0, 0); 17 | transform: translate3d(0, 0, 0); 18 | } 19 | 20 | .snap-drawers { 21 | position: absolute; 22 | top: 0; 23 | right: 0; 24 | bottom: 0; 25 | left: 0; 26 | width: auto; 27 | height: auto; 28 | } 29 | 30 | .snap-drawer { 31 | position: absolute; 32 | top: 0; 33 | right: auto; 34 | bottom: 0; 35 | left: auto; 36 | width: 265px; 37 | height: auto; 38 | overflow: auto; 39 | -webkit-overflow-scrolling: touch; 40 | -webkit-transition: width 0.3s ease; 41 | -moz-transition: width 0.3s ease; 42 | -ms-transition: width 0.3s ease; 43 | -o-transition: width 0.3s ease; 44 | transition: width 0.3s ease; 45 | } 46 | 47 | .snap-drawer-left { 48 | left: 0; 49 | z-index: 1; 50 | } 51 | 52 | .snap-drawer-right { 53 | right: 0; 54 | z-index: 1; 55 | } 56 | 57 | .snapjs-left .snap-drawer-right, 58 | .snapjs-right .snap-drawer-left { 59 | display: none; 60 | } 61 | 62 | .snapjs-expand-left .snap-drawer-left, 63 | .snapjs-expand-right .snap-drawer-right { 64 | width: 100%; 65 | } 66 | -------------------------------------------------------------------------------- /selfblog/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for selfblog project. 3 | 4 | This module contains the WSGI application used by Django's development server 5 | and any production WSGI deployments. It should expose a module-level variable 6 | named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover 7 | this application via the ``WSGI_APPLICATION`` setting. 8 | 9 | Usually you will have the standard Django WSGI application here, but it also 10 | might make sense to replace the whole Django WSGI application with a custom one 11 | that later delegates to the Django one. For example, you could introduce WSGI 12 | middleware here, or combine a Django application with an application of another 13 | framework. 14 | 15 | """ 16 | import os 17 | 18 | # We defer to a DJANGO_SETTINGS_MODULE already in the environment. This breaks 19 | # if running multiple sites in the same mod_wsgi process. To fix this, use 20 | # mod_wsgi daemon mode with each site in its own daemon process, or use 21 | # os.environ["DJANGO_SETTINGS_MODULE"] = "myblog.settings" 22 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "selfblog.settings") 23 | 24 | # This application object is used by any WSGI server configured to use this 25 | # file. This includes Django's development server, if the WSGI_APPLICATION 26 | # setting points here. 27 | from django.core.wsgi import get_wsgi_application 28 | application = get_wsgi_application() 29 | 30 | # Apply WSGI middleware here. 31 | # from helloworld.wsgi import HelloWorldApplication 32 | # application = HelloWorldApplication(application) 33 | -------------------------------------------------------------------------------- /blog/middleware.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | import time 3 | import logging 4 | 5 | from utils.cache import cache 6 | 7 | logger = logging.getLogger(__name__) 8 | 9 | 10 | class OnlineMiddleware(object): 11 | def process_request(self, request): 12 | self.start_time = time.time() 13 | 14 | def process_view(self, request, view_func, view_args, view_kwargs): 15 | """ 16 | 处理当前在线人数 17 | """ 18 | http_user_agent = request.META.get('HTTP_USER_AGENT') 19 | if 'Spider' in http_user_agent or 'spider' in http_user_agent: 20 | return 21 | 22 | if 'HTTP_X_FORWARDED_FOR' in request.META: 23 | ip = request.META['HTTP_X_FORWARDED_FOR'] 24 | else: 25 | ip = request.META['REMOTE_ADDR'] 26 | 27 | # ip should be like '115.23.65.112' 28 | # but on SAE the ip is like '115.23.65.112,115.23.65.112' 29 | # and that cause an cache error, so I split it. 30 | ip = ip.split(',')[0] 31 | 32 | online_ips = cache.get("online_ips", []) 33 | 34 | if online_ips: 35 | online_ips = cache.get_many(online_ips).keys() 36 | 37 | cache.set(ip, 0, 5 * 60) 38 | 39 | if ip not in online_ips: 40 | online_ips.append(ip) 41 | 42 | cache.set("online_ips", online_ips) 43 | 44 | def process_response(self, request, response): 45 | cast_time = time.time() - self.start_time 46 | response.content = response.content.replace('', str(cast_time)[:5]) 47 | return response 48 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/table/edittable.css: -------------------------------------------------------------------------------- 1 | body{ 2 | overflow: hidden; 3 | width: 540px; 4 | } 5 | .wrapper { 6 | margin: 10px auto 0; 7 | font-size: 12px; 8 | overflow: hidden; 9 | width: 520px; 10 | height: 315px; 11 | } 12 | 13 | .clear { 14 | clear: both; 15 | } 16 | 17 | .wrapper .left { 18 | float: left; 19 | margin-left: 10px;; 20 | } 21 | 22 | .wrapper .right { 23 | float: right; 24 | border-left: 2px dotted #EDEDED; 25 | padding-left: 15px; 26 | } 27 | 28 | .section { 29 | margin-bottom: 15px; 30 | width: 240px; 31 | overflow: hidden; 32 | } 33 | 34 | .section h3 { 35 | font-weight: bold; 36 | padding: 5px 0; 37 | margin-bottom: 10px; 38 | border-bottom: 1px solid #EDEDED; 39 | font-size: 12px; 40 | } 41 | 42 | .section ul { 43 | list-style: none; 44 | overflow: hidden; 45 | clear: both; 46 | 47 | } 48 | 49 | .section li { 50 | float: left; 51 | width: 120px;; 52 | } 53 | 54 | .section .tone { 55 | width: 80px;; 56 | } 57 | 58 | .section .preview { 59 | width: 220px; 60 | } 61 | 62 | .section .preview table { 63 | text-align: center; 64 | vertical-align: middle; 65 | color: #666; 66 | } 67 | 68 | .section .preview caption { 69 | font-weight: bold; 70 | } 71 | 72 | .section .preview td { 73 | border-width: 1px; 74 | border-style: solid; 75 | height: 22px; 76 | } 77 | 78 | .section .preview th { 79 | border-style: solid; 80 | border-color: #DDD; 81 | border-width: 2px 1px 1px 1px; 82 | height: 22px; 83 | background-color: #F7F7F7; 84 | } -------------------------------------------------------------------------------- /templates/includes/share.html: -------------------------------------------------------------------------------- 1 |
    2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
    19 | -------------------------------------------------------------------------------- /static/xadmin/vendor/select2/select2_locale_hr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Select2 Croatian translation. 3 | * 4 | * Author: Edi Modrić 5 | */ 6 | (function ($) { 7 | "use strict"; 8 | 9 | var specialNumbers = { 10 | 1: function(n) { return (n % 100 != 11 ? "znak" : "znakova"); }, 11 | 2: function(n) { return (n % 100 != 12 ? "znaka" : "znakova"); }, 12 | 3: function(n) { return (n % 100 != 13 ? "znaka" : "znakova"); }, 13 | 4: function(n) { return (n % 100 != 14 ? "znaka" : "znakova"); } 14 | }; 15 | 16 | $.extend($.fn.select2.defaults, { 17 | formatNoMatches: function () { return "Nema rezultata"; }, 18 | formatInputTooShort: function (input, min) { 19 | var n = min - input.length; 20 | var nMod10 = n % 10; 21 | 22 | if (nMod10 > 0 && nMod10 < 5) { 23 | return "Unesite još " + n + " " + specialNumbers[nMod10](n); 24 | } 25 | 26 | return "Unesite još " + n + " znakova"; 27 | }, 28 | formatInputTooLong: function (input, max) { 29 | var n = input.length - max; 30 | var nMod10 = n % 10; 31 | 32 | if (nMod10 > 0 && nMod10 < 5) { 33 | return "Unesite " + n + " " + specialNumbers[nMod10](n) + " manje"; 34 | } 35 | 36 | return "Unesite " + n + " znakova manje"; 37 | }, 38 | formatSelectionTooBig: function (limit) { return "Maksimalan broj odabranih stavki je " + limit; }, 39 | formatLoadMore: function (pageNumber) { return "Učitavanje rezultata..."; }, 40 | formatSearching: function () { return "Pretraga..."; } 41 | }); 42 | })(jQuery); 43 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/charts/chart.config.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 图表配置文件 3 | * */ 4 | 5 | 6 | //不同类型的配置 7 | var typeConfig = [ 8 | { 9 | chart: { 10 | type: 'line' 11 | }, 12 | plotOptions: { 13 | line: { 14 | dataLabels: { 15 | enabled: false 16 | }, 17 | enableMouseTracking: true 18 | } 19 | } 20 | }, { 21 | chart: { 22 | type: 'line' 23 | }, 24 | plotOptions: { 25 | line: { 26 | dataLabels: { 27 | enabled: true 28 | }, 29 | enableMouseTracking: false 30 | } 31 | } 32 | }, { 33 | chart: { 34 | type: 'area' 35 | } 36 | }, { 37 | chart: { 38 | type: 'bar' 39 | } 40 | }, { 41 | chart: { 42 | type: 'column' 43 | } 44 | }, { 45 | chart: { 46 | plotBackgroundColor: null, 47 | plotBorderWidth: null, 48 | plotShadow: false 49 | }, 50 | plotOptions: { 51 | pie: { 52 | allowPointSelect: true, 53 | cursor: 'pointer', 54 | dataLabels: { 55 | enabled: true, 56 | color: '#000000', 57 | connectorColor: '#000000', 58 | formatter: function() { 59 | return ''+ this.point.name +': '+ ( Math.round( this.point.percentage*100 ) / 100 ) +' %'; 60 | } 61 | } 62 | } 63 | } 64 | } 65 | ]; 66 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/help/help.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created with JetBrains PhpStorm. 3 | * User: xuheng 4 | * Date: 12-9-26 5 | * Time: 下午1:06 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | /** 9 | * tab点击处理事件 10 | * @param tabHeads 11 | * @param tabBodys 12 | * @param obj 13 | */ 14 | function clickHandler( tabHeads,tabBodys,obj ) { 15 | //head样式更改 16 | for ( var k = 0, len = tabHeads.length; k < len; k++ ) { 17 | tabHeads[k].className = ""; 18 | } 19 | obj.className = "focus"; 20 | //body显隐 21 | var tabSrc = obj.getAttribute( "tabSrc" ); 22 | for ( var j = 0, length = tabBodys.length; j < length; j++ ) { 23 | var body = tabBodys[j], 24 | id = body.getAttribute( "id" ); 25 | body.onclick = function(){ 26 | this.style.zoom = 1; 27 | }; 28 | if ( id != tabSrc ) { 29 | body.style.zIndex = 1; 30 | } else { 31 | body.style.zIndex = 200; 32 | } 33 | } 34 | 35 | } 36 | 37 | /** 38 | * TAB切换 39 | * @param tabParentId tab的父节点ID或者对象本身 40 | */ 41 | function switchTab( tabParentId ) { 42 | var tabElements = $G( tabParentId ).children, 43 | tabHeads = tabElements[0].children, 44 | tabBodys = tabElements[1].children; 45 | 46 | for ( var i = 0, length = tabHeads.length; i < length; i++ ) { 47 | var head = tabHeads[i]; 48 | if ( head.className === "focus" )clickHandler(tabHeads,tabBodys, head ); 49 | head.onclick = function () { 50 | clickHandler(tabHeads,tabBodys,this); 51 | } 52 | } 53 | } 54 | switchTab("helptab"); 55 | 56 | document.getElementById('version').innerHTML = parent.UE.version -------------------------------------------------------------------------------- /static/ueditor/dialogs/anchor/anchor.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 13 | 14 | 15 |
    16 | 17 |
    18 | 19 | 39 | 40 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/music/music.css: -------------------------------------------------------------------------------- 1 | .wrapper{margin: 5px 10px;} 2 | 3 | .searchBar{height:30px;padding:7px 0 3px;text-align:center;} 4 | .searchBtn{font-size:13px;height:24px;} 5 | 6 | .resultBar{width:460px;margin:5px auto;border: 1px solid #CCC;border-radius: 5px;box-shadow: 2px 2px 5px #D3D6DA;overflow: hidden;} 7 | 8 | .listPanel{overflow: hidden;} 9 | .panelon{display:block;} 10 | .paneloff{display:none} 11 | 12 | .page{width:220px;margin:20px auto;overflow: hidden;} 13 | .pageon{float:right;width:24px;line-height:24px;height:24px;margin-right: 5px;background: none;border: none;color: #000;font-weight: bold;text-align:center} 14 | .pageoff{float:right;width:24px;line-height:24px;height:24px;cursor:pointer;background-color: #fff; 15 | border: 1px solid #E7ECF0;color: #2D64B3;margin-right: 5px;text-decoration: none;text-align:center;} 16 | 17 | .m-box{width:460px;} 18 | .m-m{float: left;line-height: 20px;height: 20px;} 19 | .m-h{height:24px;line-height:24px;padding-left: 46px;background-color:#FAFAFA;border-bottom: 1px solid #DAD8D8;font-weight: bold;font-size: 12px;color: #333;} 20 | .m-l{float:left;width:40px; } 21 | .m-t{float:left;width:140px;} 22 | .m-s{float:left;width:110px;} 23 | .m-z{float:left;width:100px;} 24 | .m-try-t{float: left;width: 60px;;} 25 | 26 | .m-try{float:left;width:20px;height:20px;background:url('http://static.tieba.baidu.com/tb/editor/images/try_music.gif') no-repeat ;} 27 | .m-trying{float:left;width:20px;height:20px;background:url('http://static.tieba.baidu.com/tb/editor/images/stop_music.gif') no-repeat ;} 28 | 29 | .loading{width:95px;height:7px;font-size:7px;margin:60px auto;background:url(http://static.tieba.baidu.com/tb/editor/images/loading.gif) no-repeat} 30 | .empty{width:300px;height:40px;padding:2px;margin:50px auto;line-height:40px; color:#006699;text-align:center;} -------------------------------------------------------------------------------- /static/ueditor/dialogs/table/edittd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 16 | 17 | 18 |
    19 | 20 | 21 |
    22 | 60 | 61 | -------------------------------------------------------------------------------- /feeds.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | from django.contrib.syndication.views import Feed 3 | from django.utils.feedgenerator import Rss201rev2Feed 4 | 5 | from blog.models import Post 6 | 7 | 8 | class ExtendedRSSFeed(Rss201rev2Feed): 9 | mime_type = 'application/xml' 10 | """ 11 | Create a type of RSS feed that has content:encoded elements. 12 | """ 13 | def root_attributes(self): 14 | attrs = super(ExtendedRSSFeed, self).root_attributes() 15 | attrs['xmlns:content'] = 'http://purl.org/rss/1.0/modules/content/' 16 | return attrs 17 | 18 | def add_item_elements(self, handler, item): 19 | super(ExtendedRSSFeed, self).add_item_elements(handler, item) 20 | handler.addQuickElement(u'content:encoded', item['content_encoded']) 21 | 22 | 23 | class LatestEntriesFeed(Feed): 24 | feed_type = ExtendedRSSFeed 25 | 26 | # Elements for the top-level, channel. 27 | title = u"the5fire的技术博客" 28 | link = "http://www.the5fire.com" 29 | author = 'the5fire' 30 | description = u"关注python、vim、linux、web开发和互联网--life is short, we need python." 31 | 32 | def items(self): 33 | return Post.objects.filter(status=0).order_by('-create_time')[:10] 34 | 35 | def item_extra_kwargs(self, item): 36 | return {'content_encoded': self.item_content_encoded(item)} 37 | 38 | # Elements for each item. 39 | def item_title(self, item): 40 | return item.title 41 | 42 | def item_description(self, item): 43 | return item.content_html 44 | 45 | def item_author_name(self, item): 46 | if (item.author.get_full_name()): 47 | return item.author.get_full_name() 48 | else: 49 | return item.author 50 | 51 | def item_pubdate(self, item): 52 | return item.create_time 53 | 54 | def item_content_encoded(self, item): 55 | return item.content_html 56 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/template/template.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created with JetBrains PhpStorm. 3 | * User: xuheng 4 | * Date: 12-8-8 5 | * Time: 下午2:09 6 | * To change this template use File | Settings | File Templates. 7 | */ 8 | (function () { 9 | var me = editor, 10 | preview = $G( "preview" ), 11 | preitem = $G( "preitem" ), 12 | tmps = templates, 13 | currentTmp; 14 | var initPre = function () { 15 | var str = ""; 16 | for ( var i = 0, tmp; tmp = tmps[i++]; ) { 17 | str += '
    '; 18 | } 19 | preitem.innerHTML = str; 20 | }; 21 | var pre = function ( n ) { 22 | var tmp = tmps[n - 1]; 23 | currentTmp = tmp; 24 | clearItem(); 25 | domUtils.setStyles( preitem.childNodes[n - 1], { 26 | "background-color":"lemonChiffon", 27 | "border":"#ccc 1px solid" 28 | } ); 29 | preview.innerHTML = tmp.preHtml ? tmp.preHtml : ""; 30 | }; 31 | var clearItem = function () { 32 | var items = preitem.children; 33 | for ( var i = 0, item; item = items[i++]; ) { 34 | domUtils.setStyles( item, { 35 | "background-color":"", 36 | "border":"white 1px solid" 37 | } ); 38 | } 39 | }; 40 | dialog.onok = function () { 41 | if ( !$G( "issave" ).checked ){ 42 | me.execCommand( "cleardoc" ); 43 | } 44 | var obj = { 45 | html:currentTmp && currentTmp.html 46 | }; 47 | me.execCommand( "template", obj ); 48 | }; 49 | initPre(); 50 | window.pre = pre; 51 | pre(2) 52 | 53 | })(); -------------------------------------------------------------------------------- /selfblog/urls.py: -------------------------------------------------------------------------------- 1 | #coding:utf-8 2 | from django.conf.urls.defaults import patterns, include, url 3 | from django.contrib.staticfiles.urls import staticfiles_urlpatterns 4 | from django.contrib.sitemaps import views as sitemap_views 5 | from django.views.decorators.cache import cache_page 6 | 7 | #from django.contrib import admin 8 | #admin.autodiscover() 9 | import xadmin 10 | xadmin.autodiscover() 11 | 12 | from blog.views import (IndexView, CategoryListView, TagsListView, 13 | PostDetailView, PageDetailView) 14 | from feeds import LatestEntriesFeed 15 | from sitemap import PostSitemap 16 | import debug_toolbar 17 | import settings 18 | 19 | urlpatterns = patterns('', 20 | url(r'^$', IndexView.as_view(), name='home'), 21 | url(r'^feed|rss/$', LatestEntriesFeed()), 22 | #url(r'^sitemap\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}), 23 | url(r'^sitemap\.xml$', cache_page(sitemap_views.sitemap, 60 * 60 * 12), {'sitemaps': {'posts': PostSitemap}}), 24 | url(r'^category/(?P\w+)/', CategoryListView.as_view()), 25 | url(r'^tag/(?P[\w|\.|\-]+)/$', TagsListView.as_view()), 26 | url(r'xadmin/', include(xadmin.site.urls), name='xadmin'), 27 | #url(r'^admin/', include(admin.site.urls), name='admin'), 28 | url(r'^xmlrpc/$', 'django_xmlrpc.views.handle_xmlrpc', name='xmlrpc'), 29 | url(r'^__debug__/', include(debug_toolbar.urls)), 30 | url(r'^ueditor/',include('DjangoUeditor.urls')), 31 | #放到最后 32 | url(r'^(?P[\w|\-|\d|\W]+?).html$', PostDetailView.as_view()), 33 | url(r'^(?P\w+)/$', PageDetailView.as_view()), 34 | ) 35 | 36 | urlpatterns += staticfiles_urlpatterns() 37 | if settings.DEBUG: 38 | urlpatterns += patterns('', 39 | url(r'^media/(?P.*)$', 'django.views.static.serve', { 40 | 'document_root': settings.MEDIA_ROOT, 41 | }), 42 | ) 43 | -------------------------------------------------------------------------------- /static/ueditor/third-party/swfupload/swfupload.cookies.js: -------------------------------------------------------------------------------- 1 | /* 2 | Cookie Plug-in 3 | 4 | This plug in automatically gets all the cookies for this site and adds them to the post_params. 5 | Cookies are loaded only on initialization. The refreshCookies function can be called to update the post_params. 6 | The cookies will override any other post params with the same name. 7 | */ 8 | 9 | var SWFUpload; 10 | if (typeof(SWFUpload) === "function") { 11 | SWFUpload.prototype.initSettings = function (oldInitSettings) { 12 | return function (userSettings) { 13 | if (typeof(oldInitSettings) === "function") { 14 | oldInitSettings.call(this, userSettings); 15 | } 16 | 17 | this.refreshCookies(false); // The false parameter must be sent since SWFUpload has not initialzed at this point 18 | }; 19 | }(SWFUpload.prototype.initSettings); 20 | 21 | // refreshes the post_params and updates SWFUpload. The sendToFlash parameters is optional and defaults to True 22 | SWFUpload.prototype.refreshCookies = function (sendToFlash) { 23 | if (sendToFlash === undefined) { 24 | sendToFlash = true; 25 | } 26 | sendToFlash = !!sendToFlash; 27 | 28 | // Get the post_params object 29 | var postParams = this.settings.post_params; 30 | 31 | // Get the cookies 32 | var i, cookieArray = document.cookie.split(';'), caLength = cookieArray.length, c, eqIndex, name, value; 33 | for (i = 0; i < caLength; i++) { 34 | c = cookieArray[i]; 35 | 36 | // Left Trim spaces 37 | while (c.charAt(0) === " ") { 38 | c = c.substring(1, c.length); 39 | } 40 | eqIndex = c.indexOf("="); 41 | if (eqIndex > 0) { 42 | name = c.substring(0, eqIndex); 43 | value = c.substring(eqIndex + 1); 44 | postParams[name] = value; 45 | } 46 | } 47 | 48 | if (sendToFlash) { 49 | this.setPostParams(postParams); 50 | } 51 | }; 52 | 53 | } 54 | -------------------------------------------------------------------------------- /static/admin/js/grappelli/jquery.grp_related_m2m.js: -------------------------------------------------------------------------------- 1 | /** 2 | * GRAPPELLI RELATED M2M 3 | * m2m lookup 4 | */ 5 | 6 | (function($){ 7 | 8 | var methods = { 9 | init: function(options) { 10 | options = $.extend({}, $.fn.grp_related_m2m.defaults, options); 11 | return this.each(function() { 12 | var $this = $(this); 13 | // add placeholder 14 | $this.next().after(options.placeholder); 15 | // change lookup class 16 | $this.next().addClass("m2m"); 17 | // lookup 18 | lookup_id($this, options); // lookup when loading page 19 | $this.bind("change focus keyup blur", function() { // id-handler 20 | lookup_id($this, options); 21 | }); 22 | }); 23 | } 24 | }; 25 | 26 | $.fn.grp_related_m2m = function(method) { 27 | if (methods[method]) { 28 | return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); 29 | } else if (typeof method === 'object' || ! method) { 30 | return methods.init.apply(this, arguments); 31 | } else { 32 | $.error('Method ' + method + ' does not exist on jQuery.grp_related_m2m'); 33 | }; 34 | return false; 35 | }; 36 | 37 | var lookup_id = function(elem, options) { 38 | $.getJSON(options.lookup_url, { 39 | object_id: elem.val(), 40 | app_label: grappelli.get_app_label(elem), 41 | model_name: grappelli.get_model_name(elem) 42 | }, function(data) { 43 | values = $.map(data, function (a) { return a.label; }); 44 | elem.next().next().text(values.join(", ")); 45 | }); 46 | }; 47 | 48 | $.fn.grp_related_m2m.defaults = { 49 | placeholder: ' ', 50 | repr_max_length: 30, 51 | lookup_url: '' 52 | }; 53 | 54 | })(django.jQuery); -------------------------------------------------------------------------------- /static/ueditor/third-party/highcharts/modules/funnel.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Highcharts funnel module, Beta 4 | 5 | (c) 2010-2012 Torstein Hønsi 6 | 7 | License: www.highcharts.com/license 8 | */ 9 | (function(d){var u=d.getOptions().plotOptions,p=d.seriesTypes,D=d.merge,z=function(){},A=d.each;u.funnel=D(u.pie,{center:["50%","50%"],width:"90%",neckWidth:"30%",height:"100%",neckHeight:"25%",dataLabels:{connectorWidth:1,connectorColor:"#606060"},size:!0,states:{select:{color:"#C0C0C0",borderColor:"#000000",shadow:!1}}});p.funnel=d.extendClass(p.pie,{type:"funnel",animate:z,translate:function(){var a=function(k,a){return/%$/.test(k)?a*parseInt(k,10)/100:parseInt(k,10)},g=0,e=this.chart,f=e.plotWidth, 10 | e=e.plotHeight,h=0,c=this.options,C=c.center,b=a(C[0],f),d=a(C[0],e),p=a(c.width,f),i,q,j=a(c.height,e),r=a(c.neckWidth,f),s=a(c.neckHeight,e),v=j-s,a=this.data,w,x,u=c.dataLabels.position==="left"?1:0,y,m,B,n,l,t,o;this.getWidthAt=q=function(k){return k>j-s||j===s?r:r+(p-r)*((j-s-k)/(j-s))};this.getX=function(k,a){return b+(a?-1:1)*(q(k)/2+c.dataLabels.distance)};this.center=[b,d,j];this.centerX=b;A(a,function(a){g+=a.y});A(a,function(a){o=null;x=g?a.y/g:0;m=d-j/2+h*j;l=m+x*j;i=q(m);y=b-i/2;B=y+ 11 | i;i=q(l);n=b-i/2;t=n+i;m>v?(y=n=b-r/2,B=t=b+r/2):l>v&&(o=l,i=q(v),n=b-i/2,t=n+i,l=v);w=["M",y,m,"L",B,m,t,l];o&&w.push(t,o,n,o);w.push(n,l,"Z");a.shapeType="path";a.shapeArgs={d:w};a.percentage=x*100;a.plotX=b;a.plotY=(m+(o||l))/2;a.tooltipPos=[b,a.plotY];a.slice=z;a.half=u;h+=x});this.setTooltipPoints()},drawPoints:function(){var a=this,g=a.options,e=a.chart.renderer;A(a.data,function(f){var h=f.graphic,c=f.shapeArgs;h?h.animate(c):f.graphic=e.path(c).attr({fill:f.color,stroke:g.borderColor,"stroke-width":g.borderWidth}).add(a.group)})}, 12 | sortByAngle:z,drawDataLabels:function(){var a=this.data,g=this.options.dataLabels.distance,e,f,h,c=a.length,d,b;for(this.center[2]-=2*g;c--;)h=a[c],f=(e=h.half)?1:-1,b=h.plotY,d=this.getX(b,e),h.labelPos=[0,b,d+(g-5)*f,b,d+g*f,b,e?"right":"left",0];p.pie.prototype.drawDataLabels.call(this)}})})(Highcharts); 13 | -------------------------------------------------------------------------------- /static/ueditor/dialogs/emotion/emotion.css: -------------------------------------------------------------------------------- 1 | .jd img{ 2 | background:transparent url(images/jxface2.gif?v=1.1) no-repeat scroll left top; 3 | cursor:pointer;width:35px;height:35px;display:block; 4 | } 5 | .pp img{ 6 | background:transparent url(images/fface.gif?v=1.1) no-repeat scroll left top; 7 | cursor:pointer;width:25px;height:25px;display:block; 8 | } 9 | .ldw img{ 10 | background:transparent url(images/wface.gif?v=1.1) no-repeat scroll left top; 11 | cursor:pointer;width:35px;height:35px;display:block; 12 | } 13 | .tsj img{ 14 | background:transparent url(images/tface.gif?v=1.1) no-repeat scroll left top; 15 | cursor:pointer;width:35px;height:35px;display:block; 16 | } 17 | .cat img{ 18 | background:transparent url(images/cface.gif?v=1.1) no-repeat scroll left top; 19 | cursor:pointer;width:35px;height:35px;display:block; 20 | } 21 | .bb img{ 22 | background:transparent url(images/bface.gif?v=1.1) no-repeat scroll left top; 23 | cursor:pointer;width:35px;height:35px;display:block; 24 | } 25 | .youa img{ 26 | background:transparent url(images/yface.gif?v=1.1) no-repeat scroll left top; 27 | cursor:pointer;width:35px;height:35px;display:block; 28 | } 29 | 30 | .smileytable td {height: 37px;} 31 | #tabPanel{margin-left:5px;overflow: hidden;} 32 | #tabContent {float:left;background:#FFFFFF;} 33 | #tabContent div{display: none;width:480px;overflow:hidden;} 34 | #tabIconReview.show{left:17px;display:block;} 35 | .menuFocus{background:#ACCD3C;} 36 | .menuDefault{background:#FFFFFF;} 37 | #tabIconReview{position:absolute;left:406px;left:398px \9;top:41px;z-index:65533;width:90px;height:76px;} 38 | img.review{width:90px;height:76px;border:2px solid #9cb945;background:#FFFFFF;background-position:center;background-repeat:no-repeat;} 39 | 40 | .wrapper .tabbody{position:relative;float:left;clear:both;padding:10px;width: 95%;} 41 | .tabbody table{width: 100%;} 42 | .tabbody td{border:1px solid #BAC498;} 43 | .tabbody td span{display: block;zoom:1;padding:0 4px;} --------------------------------------------------------------------------------