diff --git a/app/controllers/static_pages_controller.rb b/app/controllers/static_pages_controller.rb index d111b3f..29a8955 100644 --- a/app/controllers/static_pages_controller.rb +++ b/app/controllers/static_pages_controller.rb @@ -15,4 +15,8 @@ def roadmap end + + def tutorials + + end end \ No newline at end of file diff --git a/app/views/branded/layouts/_navigation.html.erb b/app/views/branded/layouts/_navigation.html.erb index 041cd21..7846495 100644 --- a/app/views/branded/layouts/_navigation.html.erb +++ b/app/views/branded/layouts/_navigation.html.erb @@ -42,6 +42,10 @@ <%= link_to _('DMP Templates'), public_templates_path %> <% end %> + +
  • > + <%= link_to _('Tutorials'), tutorials_path %> +
  • > <%= link_to _('Help'), help_path %> diff --git a/app/views/branded/static_pages/tutorials.html.erb b/app/views/branded/static_pages/tutorials.html.erb new file mode 100644 index 0000000..e47aa32 --- /dev/null +++ b/app/views/branded/static_pages/tutorials.html.erb @@ -0,0 +1,8 @@ +
    +

    <%= _('Screencast on how to use %{application_name}') % {:application_name => Rails.configuration.branding[:application][:name]} %>

    +
    + + <%= link_to "DoRANum", "http://doranum.fr/outil-redaction-dmp-plan-gestion-donnees-dmp/", :target => "_blank" %> / CC BY-NC-SA 2.0 FR +
    \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 5e2376b..e0d0470 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -85,6 +85,7 @@ get "help" => 'static_pages#help' get "roadmap" => 'static_pages#roadmap' get "terms" => 'static_pages#termsuse' + get "tutorials" => 'static_pages#tutorials' get "public_plans" => 'public_pages#plan_index' get "public_templates" => 'public_pages#template_index' get "template_export/:id" => 'public_pages#template_export', as: 'template_export' diff --git a/lib/assets/images/doranum-scene.png b/lib/assets/images/doranum-scene.png new file mode 100755 index 0000000..34304a6 --- /dev/null +++ b/lib/assets/images/doranum-scene.png Binary files differ diff --git a/lib/assets/videos/index.files/html5video/doranum.mp4 b/lib/assets/videos/index.files/html5video/doranum.mp4 new file mode 100644 index 0000000..49934bf --- /dev/null +++ b/lib/assets/videos/index.files/html5video/doranum.mp4 Binary files differ diff --git a/lib/assets/videos/index.files/html5video/flashfox.swf b/lib/assets/videos/index.files/html5video/flashfox.swf deleted file mode 100644 index cc7851b..0000000 --- a/lib/assets/videos/index.files/html5video/flashfox.swf +++ /dev/null Binary files differ diff --git a/lib/assets/videos/index.files/html5video/fullscreen.png b/lib/assets/videos/index.files/html5video/fullscreen.png deleted file mode 100644 index 6181e71..0000000 --- a/lib/assets/videos/index.files/html5video/fullscreen.png +++ /dev/null Binary files differ diff --git a/lib/assets/videos/index.files/html5video/html5ext.js b/lib/assets/videos/index.files/html5video/html5ext.js deleted file mode 100644 index de28896..0000000 --- a/lib/assets/videos/index.files/html5video/html5ext.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * EasyHTML5Video JavaScript Extension API version 1.2 - * Created by EasyHTML5Video.com - * Modified 13:05 25.07.2013 - * This file content fullscreen api - */ -(function(){function j(t,s,i){if(t.addEventListener){t.addEventListener(s,i,false)}else{t.attachEvent("on"+s,i)}}function r(t,s,i){if(t.removeEventListener){t.removeEventListener(s,i)}else{t.detachEvent("on"+s,i)}}function o(u,t){if(!u.length){u=[u]}for(var v in t){for(var s=0;s=0;v--){if(!u[v].type){A=u[v].src}else{if(A&&/mp4/.test(u[v].type)){u[v].src=A;t.load()}}}}}if(!t||!t.canPlayType){var x=s.getElementsByTagName("object")[0]||s.getElementsByTagName("embed")[0];var C=x.height/x.width;x.setAttribute("width","100%");x.removeAttribute("height");var B=function(){x.style.height=s.offsetWidth*C+"px"};j(window,"resize",B);B()}}var b=m("easyhtml5video");for(var f=0;f