From e9589968f88ba2aae621b2677120d83de24359fa Mon Sep 17 00:00:00 2001 From: Li Jianxuan Date: Tue, 27 Mar 2012 04:02:08 +0000 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=BD=9C=E8=80=85=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=92=8Cjs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/css/author.css | 7 ++- htdocs/static/css/kindskin/common/anchor.gif | Bin 0 -> 371 bytes .../static/css/kindskin/default/default.png | Bin 0 -> 8391 bytes htdocs/static/js/plugins/anchor/anchor.js | 46 ++++++++++++++++++ 4 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 htdocs/static/css/kindskin/common/anchor.gif create mode 100644 htdocs/static/css/kindskin/default/default.png create mode 100644 htdocs/static/js/plugins/anchor/anchor.js diff --git a/htdocs/css/author.css b/htdocs/css/author.css index 461f6e9d..30b3b1b5 100644 --- a/htdocs/css/author.css +++ b/htdocs/css/author.css @@ -71,6 +71,9 @@ .helplist ul li h1{font-size:16px;font-weight:bold;line-height:26px;} .helplist ul li .content p{line-height:24px;} - - +#archives_view{} +#archives_view .title{font-size:16px;font-weight:bold;text-align:center;margin:10px 0px;} +#archives_view .info{font-size:11px;text-align:center;} +#archives_view .content{font-size:14px;margin-top:15px;margin-bottom:15px;} +#archives_view .content p{line-height:24px;} diff --git a/htdocs/static/css/kindskin/common/anchor.gif b/htdocs/static/css/kindskin/common/anchor.gif new file mode 100644 index 0000000000000000000000000000000000000000..61145ea78138f12df43b666409bcc4b8e3231a60 GIT binary patch literal 371 zcmZ?wbhEHb6krfwxN6QYDW2i~>#Uh+4FA{5|NoTr{}#jK1cv|r8K$Q&OaU@(FieVN zn48I*>dcU0&(ImhkmAVj|0cu#%M2+_4F5kfq&hJ~TQO9G2;_J&L|HM+%VPe&MQ&C) z)BiVF|KBtGUnBJY9mD^(IUOMk|2NBZhcf(sRXQn=;s4jN|DPBp#xP8bXXprI=#FCe zf19B@45+gB{|AQI=^Wh=4F5Ms{Qp)u1*rHM&^`YdZ~(=hEQ|~c<_tO@d61tN*d`p9 zUBIEi)aIe0aDYcB+&yV9KvzU~I(C$-u_p#Ky|bWX>%jt!B=|&dL_YB{V~Gw$?l$E`JVT wW>zLW4P_lBR%X%3<`U-X1)1cSnFM$4@f6r##-+BwLW0RJL(*8l(j literal 0 HcmV?d00001 diff --git a/htdocs/static/css/kindskin/default/default.png b/htdocs/static/css/kindskin/default/default.png new file mode 100644 index 0000000000000000000000000000000000000000..f3e7d46a156d4faab33f1c51048e0e2b251a3eb0 GIT binary patch literal 8391 zcmd^FWm6msuU*__p=fayEpElVI6Syh+}+)m!ct&yho!i?m*QI7wYY0>huime+duy$s`kqs){TYIw?8;0Kk%$lUDzyNdN%EDO7}ij1xv7`ag%q7hMkxXDbhHQ#VV1 zgoU%2C6&CRskNoLrKyFl>xiW=0Du5cRnq+OFZj;@DRwfJl@&L5;t8l+m(jasl`+<} z-oV7a795UhwPAS~q-{(v47G)CUp*U`*>QC6p4R*Q2JUUeGkl&CPwb6ut3VJGs1nY;5d(hN`NnYRt+i zx%|e$1-uY~stexWk~7<=2dG!5w`plL@-lDC)&(SwuOGa`#Kc%xSv3yc49)KT`t?hK z1*5p_LNjcxu&^+!=yE(V^5Wv+{-SzlJ^g(Q;P3Ch^-HR;e`%;G-CjpL@u&SfJG(s{ z&2)9OZ(Oy4ZP`>k6YGBs&XGCCO@bL283qOhXae63F1ujC05O;tr;5Ynh12`}61(TI zlZAq$q*PPqh`YOcOoi1#Wu#ro!TX+nX-1SAY*I7w@$cp9dj=rZN6)4Da(#VWgrA94 z=9`L3c0u2BJ~QLH4b^ZeL1NWmWBc6U4Bsl$lTqL276s+Ah)z;L)82${)uOsf$K@2#uE6KG9sRho(e1x|JJgL>#RS#Do=X=H`dt@p@1G zxqXiY3{^|=XpPlLN!=Xp_5=dgTUtsQ1~=OA#N9VFt-#VgPte-ihLSiFIl}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Uj?!r z##CS%*jty&$#MTNP#_TtjQp_(NJQ`UzIgz6NHU2U?LI22AD+@o21H6nsNkaD$b%oU zm*yU7fH03&J+DJD!(f0d;;t$~@inwYta~G}z5QwT5?HO2%!s-Ot0r&CBHg<^z>S*3 zRxPff5}nCGF`xR6LB?U5ej#hd?iO9TrUb7*iV`u9<57bJ|BY&H`eT{4P>#Z$s~;0> zPw%WWcw-AozgD|({fBou9-(5d*7@y19{6*HE|Ig^PeW|ySd7s~&&&=#6Zf_j;X|51 zvYW3-UoSNMn>xn$y4KA&bF!>|lm5n<|6A~*qb+mF)`?Jzp@m8P>mQaes#@*Oi<^bT z>L3%v#LRtRet!EZTl(B}Cr;i2y($CDd3u3mGgTe^U)r;Ty?lzXttG`WGUZuViH^v< zVXWf@h&il?Wp(;kwSQ9z4gpkg}Zg&<$YPs>oTB0Ia|ERgHP274gA1_sDm`tIT#zU2%< zz6=pz``QR>WPHjHJYK!~J){<=RQk@`;{EM)^bX_kV&gx&OY4t&7Mq=K!Enfc9zNkx V^4UwXf6oR0`7bKc)siM*{|6!G!@K|h literal 0 HcmV?d00001 diff --git a/htdocs/static/js/plugins/anchor/anchor.js b/htdocs/static/js/plugins/anchor/anchor.js new file mode 100644 index 00000000..3edab9f7 --- /dev/null +++ b/htdocs/static/js/plugins/anchor/anchor.js @@ -0,0 +1,46 @@ +/******************************************************************************* +* KindEditor - WYSIWYG HTML Editor for Internet +* Copyright (C) 2006-2011 kindsoft.net +* +* @author Roddy +* @site http://www.kindsoft.net/ +* @licence http://www.kindsoft.net/license.php +*******************************************************************************/ + +KindEditor.plugin('anchor', function(K) { + var self = this, name = 'anchor', lang = self.lang(name + '.'); + self.plugin.anchor = { + edit : function() { + var html = ['
', + '
', + '', + '', + '
', + '
'].join(''); + var dialog = self.createDialog({ + name : name, + width : 300, + title : self.lang(name), + body : html, + yesBtn : { + name : self.lang('yes'), + click : function(e) { + self.insertHtml('').hideDialog().focus(); + } + } + }); + var div = dialog.div, + nameBox = K('input[name="name"]', div); + var img = self.plugin.getSelectedAnchor(); + if (img) { + nameBox.val(unescape(img.attr('data-ke-name'))); + } + nameBox[0].focus(); + nameBox[0].select(); + }, + 'delete' : function() { + self.plugin.getSelectedAnchor().remove(); + } + }; + self.clickToolbar(name, self.plugin.anchor.edit); +});