doctype html html head meta(http-equiv='Content-Type', content='text/html; charset=UTF-8') meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1') meta(name='description', content='Med Korp kan den språkligt nyfikna göra avancerade sökningar i stora mängder av skriven text.') link(rel='shortcut icon', type='image/ico', href='img/korp_icon.ico') title Korp body(style="opacity: 0;") noscript h2 You need JavaScript to run Korp. #main include includes/header #content include includes/searchtabs #results-wrapper(ng-show='searches.activeSearch || compareTabs.length || graphTabs.length || mapTabs.length', ng-controller='resultContainerCtrl') #columns #left-column(ng-class='{sidebar_visible : word_selected && sidebar_visible}') uib-tabset.tabbable.result_tabs(tab-hash='result_tab', active="activeTab") uib-tab(disabled="!instance.hasData", select="instance.onentry()", deselect="instance.onexit()", kwic-ctrl, index=0 ) uib-tab-heading(ng-class="{not_loading: progress > 99, loading : loading}") | KWIC tab-preloader(ng-if="loading", value="progress", spinner="instance.countCorpora() < 2") .results-kwic(ng-class="{reading_mode : reading_mode, loading: loading}", constr='KWICResults', constr-name='kwicResults') include includes/kwicresult uib-tab(stats-result-ctrl, ng-if="_settings.statistics != false" select="instance.onentry()" deselect="instance.onexit()" index=2 ) uib-tab-heading(ng-class="{not_loading: progress > 99, loading : loading}") | {{'statistics' | loc:lang}} tab-preloader(ng-if="loading", value="progress", spinner="instance.countCorpora() < 2") div(constr='StatsResults', constr-name='statsResults') div(ng-if="!inOrder && !hasResult") | {{'stats_not_in_order_warn' | loc:lang}} div(ng-if="!showStatistics") | {{'stats_warn' | loc:lang}} div button.btn.btn-sm.btn-default.activate_word_pic(ng-click="activate()") | {{'word_pic_warn_btn' | loc:lang}} div(ng-if="showStatistics && !hasResult && inOrder") div button.btn.btn-sm.btn-default.activate_word_pic(ng-click="activate()") | {{'update_btn' | loc:lang}} warning(ng-if="showStatistics && no_hits") | {{"no_stats_results" | loc:lang}} warning(ng-if="showStatistics && aborted && !loading") | {{'search_aborted' | loc:lang}} div(ng-show="showStatistics && hasResult") .stats_header button#showGraph.btn.btn-sm.btn-default(ng-class="{disabled: !graphEnabled}", class="show-graph-btn" uib-tooltip="{{'material_warn' | loc:lang}}", tooltip-placement="right" tooltip-enable="!graphEnabled" ) span.graph_btn_icon Created with Raphaël 2.1.0 | {{'show_diagram' | loc:lang}} div.map-settings-container(uib-dropdown, auto-close="outsideClick", ng-show="newMapEnabled") button.btn.btn-sm.btn-default(uib-dropdown-toggle) | {{'show_map' | loc:lang}} span.caret() div(uib-dropdown-menu) h3.map-settings-title() Välj attribut ul(ng-if="mapAttributes.length != 0") li(ng-repeat="attr in mapAttributes", ng-class="attr.selected ? 'selected':''", ng-click="mapToggleSelected($index, $event)") span(class="checked") ✔ span {{attr.label | loc:lang}} span(ng-show="mapAttributes.length == 0", class="empty-attribute-list") | {{ 'no_geo_info' | loc:lang}} div.btn-container() button.btn.btn-sm.btn-primary(ng-disabled="mapAttributes.length == 0", ng-click="showMap()") {{'show_map' | loc:lang}} #showBarPlot div(ng-if="!loading", style="margin-bottom: 5px;") {{'total_rows' | loc:lang}} {{totalNumberOfRows}} #myGrid #exportStatsSection br br select#kindOfData option(value='relative', rel='localize[statstable_relfigures]') Relativa tal option(value='absolute', rel='localize[statstable_absfigures]') Absoluta tal select#kindOfFormat option(value='csv', rel='localize[statstable_exp_csv]') CSV (kommaseparerade värden) option(value='tsv', rel='localize[statstable_exp_tsv]') TSV (tabseparerade värden) a#generateExportButton button.btn.btn-sm.btn-default {{'statstable_gen_export' | loc:lang}} a#exportButton.btn.btn-sm.btn-default | {{'statstable_export' | loc:lang}} uib-tab(ng-if="_settings.wordpicture != false", wordpic-ctrl, select="instance.onentry()", deselect="instance.onexit()", index=3) uib-tab-heading(ng-class="{not_loading: progress > 99, loading : loading}") | {{'word_picture' | loc:lang}} tab-preloader(ng-if="loading", value="progress", spinner="instance.countCorpora() < 2") div() include includes/word_picture uib-tab(ng-if="_settings.enableMap != false" map-ctrl, index=1) uib-tab-heading(ng-class="{not_loading: progress > 99, loading : loading}") | {{'map' | loc:lang }} tab-preloader(ng-if="loading", value="progress", spinner="countCorpora() < 2") div() include includes/mapresult include includes/dynamic_result_tabs a#json-link(ng-href='{{jsonUrl}}', ng-show="jsonUrl", target="_blank") img(src='img/json.png') #sidebar.ui-corner-all.kwic_sidebar(ng-class='{visible : word_selected && sidebar_visible}') div(style='clear: both; float: none;') div(id='video-modal', ng-controller='VideoCtrl') #deptree_popup script#login_modal(type="text/ng-template").