First Guided Tour
Change-Id: Ia0d71307ba6a88c6037598cb7e500372780136b6
diff --git a/templates/de/intro.html.ep b/templates/de/intro.html.ep
index 1aa7178..3806197 100644
--- a/templates/de/intro.html.ep
+++ b/templates/de/intro.html.ep
@@ -9,6 +9,7 @@
<p><strong>Neu bei KorAP?</strong> Dann starten Sie doch mit unserer <%= doc_opener 'korap', begin %>Einführung<% end %>!</p>
+ <!--<p><strong>Neu bei KorAP?</strong> Dann starten Sie doch mit unserer <a href="#" onclick="tourshow()"> Tour</a> oder mit der <%= doc_opener 'korap', begin %>Einführung<% end %>!</p> -->
%= include 'announcement', lang => 'de'
<p>KorAP wird am <a href="http://www.ids-mannheim.de">Leibniz-Institut für Deutsche Sprache</a> in Mannheim entwickelt, Mitglied der <a href="http://www.leibniz-gemeinschaft.de/en/about-us/leibniz-competition/projekte-2011/2011-funding-line-2/">Leibniz Gemeinschaft</a>. Die einzelnen Module werden als Open Source auf <a href="http://github.com/KorAP">GitHub</a> veröffentlicht.</p>
@@ -21,3 +22,4 @@
<a href="http://www.leibniz-gemeinschaft.de/" class="logo"><p id="leibniz-logo"><span>Mitglied der Leibniz Gemeinschaft</span></p></a>
</div>
</div>
+
diff --git a/templates/intro.html.ep b/templates/intro.html.ep
index 28be17e..91761db 100644
--- a/templates/intro.html.ep
+++ b/templates/intro.html.ep
@@ -7,7 +7,8 @@
<p><noscript>KorAP expects activated JavaScript for some features.</noscript></p>
<p><strong>New to KorAP?</strong> Please check out our <%= doc_opener 'korap', begin %>tutorial<% end %>!</p>
-
+
+ <!-- <p><strong>New to KorAP?</strong> Please check out our <a href="#" onclick="tourshow()">guided tour</a> or our <%= doc_opener 'korap', begin %>tutorial<% end %>!</p> -->
%= include 'announcement', lang => 'en'
<p>KorAP is developed at the <a href="http://www.ids-mannheim.de">Leibniz Institute for the German Language</a>, member of the <a href="http://www.leibniz-gemeinschaft.de/en/about-us/leibniz-competition/projekte-2011/2011-funding-line-2/">Leibniz Association</a>. The separated modules are being published as open source at <a href="http://github.com/KorAP">GitHub</a>.</p>
diff --git a/templates/layouts/main.html.ep b/templates/layouts/main.html.ep
index 32dccb6..ee29e60 100644
--- a/templates/layouts/main.html.ep
+++ b/templates/layouts/main.html.ep
@@ -42,6 +42,7 @@
<link rel="apple-touch-icon" href="<%= url_for '/img/apple-touch-icon.png' %>" />
<link href="<%= stash 'prefix' %>/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="<%= stash 'prefix' %>/css/kalamar-<%= $Kalamar::VERSION %>.css" type="text/css" rel="stylesheet" />
+
%= javascript begin
window.KorAP = window.KorAP || {};
% my $api = url_for('index');
@@ -54,6 +55,8 @@
% } else {
<script src="<%= (stash('prefix') // '') . '/js/' . loc('jsFile', 'kalamar-' . $Kalamar::VERSION . '-en.js') %>" async="async"></script>
% };
+
+
</head>
% my $embedded = 0;
% $embedded = 1 if stash('embedded');
@@ -81,5 +84,6 @@
%= notifications 'Kalamar::Plugin::Notifications'
%= content_block 'scripts'
+
</body>
</html>
diff --git a/templates/partial/header.html.ep b/templates/partial/header.html.ep
index 5f1433d..de20994 100644
--- a/templates/partial/header.html.ep
+++ b/templates/partial/header.html.ep
@@ -22,7 +22,7 @@
<div class="button right">
% param(cutoff => 1) unless param 'q';
%= check_box cutoff => 1, id => 'q-cutoff-field', class => 'checkbox'
- <label for="q-cutoff-field" title="<%= loc('glimpse_desc') %>"><span></span><%= loc('glimpse') %></label>
+ <label for="q-cutoff-field" title="<%= loc('glimpse_desc') %>"><span id="glimpse-intrjs"></span><%= loc('glimpse') %></label>
<%= link_to 'doc_start', title => loc('tutorial'), class => "tutorial", id => "view-tutorial", tabindex => '-1', begin %><span><%= loc 'tutorial' %></span><% end %>
</div>
<div class="clear"></div>