From ffdbf3c78281a6b425bddbfb723653917b62e32c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Thu, 11 Apr 2019 18:04:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=A0=E6=95=B0=E6=8D=AE=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=96=B0=E5=BB=BA=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_l_course.html.erb | 34 ++++++++++++++++++++++++- app/views/users/_l_project.html.erb | 34 ++++++++++++++++++++++++- app/views/users/_l_shixun.html.erb | 31 ++++++++++++++++++++++ app/views/users/_p_path.html.erb | 31 +++++++++++++++++++++- public/stylesheets/educoder/edu-all.css | 6 +++++ 5 files changed, 133 insertions(+), 3 deletions(-) diff --git a/app/views/users/_l_course.html.erb b/app/views/users/_l_course.html.erb index 195fc2d9..7e2ec22b 100644 --- a/app/views/users/_l_course.html.erb +++ b/app/views/users/_l_course.html.erb @@ -97,5 +97,37 @@ <% else %> - <%= render :partial => "welcome/no_data" %> + +
+ <% if @new_icon %> + + +
+ + + +
+
+ + + 新建课堂 + + +
+
+ +
+ + <% end %> + + <%= render :partial => "welcome/no_data" %> + +
<% end %> diff --git a/app/views/users/_l_project.html.erb b/app/views/users/_l_project.html.erb index 83ee900e..594de149 100644 --- a/app/views/users/_l_project.html.erb +++ b/app/views/users/_l_project.html.erb @@ -96,5 +96,37 @@ <% else %> - <%= render :partial => "welcome/no_data" %> + +
+ <% if @new_icon %> + +
+ + + + +
+
+ + + 新建项目 + + +
+
+ +
+ <% end %> + + <%= render :partial => "welcome/no_data" %> +
+ <% end %> diff --git a/app/views/users/_l_shixun.html.erb b/app/views/users/_l_shixun.html.erb index 49c9e78a..d3a54827 100644 --- a/app/views/users/_l_shixun.html.erb +++ b/app/views/users/_l_shixun.html.erb @@ -100,5 +100,36 @@ <% else %> + +
+ <% if @new_icon %> + +
+ +
+ + +
+
+
+
+
+ +
+ +
+
+ + + 新建实训 + + +
+
+ +
+ <% end %> + <%= render :partial => "welcome/no_data" %> +
<% end %> diff --git a/app/views/users/_p_path.html.erb b/app/views/users/_p_path.html.erb index 408c094f..96308e19 100644 --- a/app/views/users/_p_path.html.erb +++ b/app/views/users/_p_path.html.erb @@ -86,5 +86,34 @@ <% else %> - <%= render :partial => "welcome/no_data" %> +
+ <% if @new_icon %> + +
+ + + +
+
+ + + 新建实训课程 + + +
+
+ +
+ <% end %> + + <%= render :partial => "welcome/no_data" %> +
<% end %> diff --git a/public/stylesheets/educoder/edu-all.css b/public/stylesheets/educoder/edu-all.css index f52da577..644a218c 100644 --- a/public/stylesheets/educoder/edu-all.css +++ b/public/stylesheets/educoder/edu-all.css @@ -3217,4 +3217,10 @@ line-height: 20px;display: inline-block;color: rgba(65, 140, 205, 1) !important; position: absolute; top: 120px; left: 88px; +} + +.squarebox{ + position: absolute; + top: -10%; + left: 20%; } \ No newline at end of file