From 13b6e06943b8cb44bb246e1d57856ed3574f6184 Mon Sep 17 00:00:00 2001 From: FuXiaoHei Date: Sun, 23 Mar 2014 16:20:47 +0800 Subject: [PATCH 1/3] 404 and 500 page ui --- public/img/404.png | Bin 0 -> 9776 bytes public/img/500.png | Bin 0 -> 12087 bytes templates/status/404.tmpl | 5 +++-- templates/status/500.tmpl | 5 ++++- 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 public/img/404.png create mode 100644 public/img/500.png diff --git a/public/img/404.png b/public/img/404.png new file mode 100644 index 0000000000000000000000000000000000000000..1f0ee0ef4953defd225425d52531cd8b27be9ebb GIT binary patch literal 9776 zcmb_?XIN8B*X~Y2=uJ97I@myp1VxGjP$|-+1(j+LsRBaiC7=S9P(=i!C`fN23L=4E z2`IgUE=1`y6zT13^m*R%UGLBHogc8d_N-a6W|e#0Gnt28Z z{RN4`yg>h}qXqN;9s;DC(3XIrJ_2^;;U>~h;wK=h7$qh{Lo9{huDw5_4aE`QfNzXt z92?3Gz@=zPw*VqaP(VwFvlS+y56hD4s;3m#dOoPufdItjq}JpsT?$;)NgW8kl_knA z(O;k3-e}tMo@94q7#DkyoF>kxGX>LcV+H`kR%gS$l6u_K zE{HCV?$Tkl$M0~oXboJO~-6^0nHt}}K7ZaofA+C>Rv zyfki76+Ftw#IzuJ^CdxU?D2&Ig`Xaj$D!-s=>AaP65y4JN+}^`-`n%DzvEkK5;N6I zqbYx9V@iC#@j=*L%*oDQ$TwEf+>e$mA66TS88ilbFp0k?`Yq`f$4uCnW#MOg42ga$ zKyjoI(eORpyJk0H=pqFAnANh&7eIxso_>O0iU-(lBhLhE06=2>RxC;i0<u%uWXQ4Vws|FScT7d^3vMzWqjhRjbxzFXrkw|7gdfvax?@k{in>Fs)E7wj$rH~r#{j0prE7MpXAmmXD2G=Ri>iA^9-s(xz zCA)`~h+~aBmaphK!<; zac6XybX|3ZbWZ1(=3MAvcYdLNY%b3I+sHV51+G{mIld~6EzT%m=iBG;DlX-((ZBQ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!?p`Ww*vyCKB1^d`py+Ez`vzqN5tyx9KiU^MbW@_%$K$$R?K@Z*^Zv(O literal 0 HcmV?d00001 diff --git a/public/img/500.png b/public/img/500.png new file mode 100644 index 0000000000000000000000000000000000000000..2c122fde93fcba1d61c8412867a68b2a5ebcc44c GIT binary patch literal 12087 zcmcJ#XH-*N@GpE4I?|*Qq={fbDH2*lKq5`0_aY!s2pt5ZLl6W}La`yeDlIexK_C!N zDI!&x2q6d>ijYu4)%W1@e?Q!BcinYw)`Fcfd-lxi*}pyIB$^oMv9rQh0RUh((7$R1 z08sEPKw@SD{|6NjO~HZ1Pv15G0FLn-{Xu}tY(W5EHFQTJO-#_ffxZD~Uq5jJBvRb( zuCJ@R*Bt-|nanW{ws}h9*O;N*;k448pw^~)#Q-NIam?LZwuM|zfLn1~+*+R=JY==v z%j4?Y8C3FD!IIWYi^n@x1#`fJsJtzjx0NhKq zN#)dX1~3`g=f42rs!#wa%F{z;=h)|EOxFl7G$5{&FRIQ8qsn{_&*x zp45<7oB7j{1f>VKj0Px^PCtK+(fM^jYJ%E4%j|(kD*!#SdsFc{OTHcJVA$^CP}Ku1 z(cA))Zgr6ptjCV6NVyc?<>wx2{8gOwB|VPX27mqYJ&X$YXKH0s5{hCE{cri)t1?R_ z_tI-C_|V9bf4Uw-A10q2`T?(XIM4TJ%_gzYs~y8xxG)G1d2a5u#Qh(8nA$!}kEKsErFruw!WemmBd2UG{9v*i|o;cah zERc~*fAW?-{0XL5eDNW#>B&#scZ;EA+8${)^(EIY+~rlnI%w^se(x5)_~_tKi=M)> zm^Y?$BhVnN_oZU6N1gcrLxFJ4o0u1co=f= zza{Iqo0zRxV&fD#PM>^QYFsB3#=ZM7#062CYNLyjUX>7)$dz(D&B5dJRR0u5&y#s0 zRtc%piw4IGJoUfpUnn*&))?k;&%PnOoa)^}oM(Q6!HK7*HKcN;8b8_Z`7qzWi}>{L z#|@UkQ)b1_xUVVQ(fmpOD(|9pMt-?zUs>)5bNNF=o}Gbr{y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2cafe0c9 100644 --- a/templates/status/404.tmpl +++ b/templates/status/404.tmpl @@ -1,7 +1,8 @@ {{template "base/head" .}} {{template "base/navbar" .}} -
-

This page is not found !

+
+

404

+

Application Version: {{AppVer}}

{{template "base/footer" .}} \ No newline at end of file diff --git a/templates/status/500.tmpl b/templates/status/500.tmpl index 9a00eb1ff..f3cd24d69 100644 --- a/templates/status/500.tmpl +++ b/templates/status/500.tmpl @@ -1,7 +1,10 @@ {{template "base/head" .}} {{template "base/navbar" .}} -
+
+

404

+

An error is occurred : {{.ErrorMsg}}

+

Application Version: {{AppVer}}

{{template "base/footer" .}} \ No newline at end of file From 406afa3c32eab4782291ca01eea273f2df25748d Mon Sep 17 00:00:00 2001 From: slene Date: Sun, 23 Mar 2014 17:22:14 +0800 Subject: [PATCH 2/3] markdown img max-width --- public/css/markdown.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/css/markdown.css b/public/css/markdown.css index a810fa3ce..9f4024ba8 100644 --- a/public/css/markdown.css +++ b/public/css/markdown.css @@ -175,6 +175,10 @@ margin-bottom: 0; } +.markdown img { + max-width: 100%; +} + .markdown .btn { color: #fff; } From c9e830cefb3b19593e7de05c785efdd93a0982d6 Mon Sep 17 00:00:00 2001 From: FuXiaoHei Date: Sun, 23 Mar 2014 17:36:12 +0800 Subject: [PATCH 3/3] fix dropdown close bug --- public/js/app.js | 2 +- templates/repo/nav.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/app.js b/public/js/app.js index df755727b..e0f92854f 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -98,7 +98,7 @@ var Gogits = { }; // fix dropdown inside click Gogits.initDropDown = function(){ - $('.dropdown-menu').on('click','a,button,input,select',function(e){ + $('.dropdown-menu.no-propagation').on('click',function(e){ e.stopPropagation(); }); }; diff --git a/templates/repo/nav.tmpl b/templates/repo/nav.tmpl index cf1b7d038..4d939e250 100644 --- a/templates/repo/nav.tmpl +++ b/templates/repo/nav.tmpl @@ -18,7 +18,7 @@ -