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