From 596b1676043aa55f67e5cc3a20018e3c3ec7f9f3 Mon Sep 17 00:00:00 2001 From: Van Date: Tue, 21 Oct 2014 17:51:15 +0800 Subject: [PATCH] =?UTF-8?q?start=20=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- conf/wide.json | 7 +++++-- static/css/start.css | 7 +++++++ view/start.html | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/conf/wide.json b/conf/wide.json index bc97fbb..ebcf26b 100644 --- a/conf/wide.json +++ b/conf/wide.json @@ -10,14 +10,17 @@ "MaxProcs": 4, "RuntimeMode": "dev", "Pwd": "{pwd}", - "Workspace": "{pwd}/data/workspace", + "Workspace": "", "Users": [ { "Name": "admin", "Password": "admin", "Workspace": "{pwd}/data/user_workspaces/admin", "LatestSessionContent": { - "FileTree": [], + "FileTree": [ + "E:\\Work\\go\\src\\github.com\\b3log\\wide\\data\\user_workspaces\\admin\\src\\mytest", + "E:\\Work\\go\\src\\github.com\\b3log\\wide\\data\\user_workspaces\\admin\\src\\mytest\\hello" + ], "Files": [], "CurrentFile": "" } diff --git a/static/css/start.css b/static/css/start.css index a9fe874..53db960 100644 --- a/static/css/start.css +++ b/static/css/start.css @@ -2,6 +2,13 @@ font-size: 15px; padding: 30px 70px; line-height: 28px; + white-space: normal; + word-wrap: break-word; +} + +#startPage .workspace { + line-height: 16px; + margin-bottom: 6px; } #startPage a { diff --git a/view/start.html b/view/start.html index 6b1742c..bf3cd67 100644 --- a/view/start.html +++ b/view/start.html @@ -7,7 +7,7 @@
  • {{.i18n.colon}} - {{.workspace}} +
    {{.workspace}}