Skip to content
Snippets Groups Projects
Select Git revision
  • 24c97b73f6abde5c15f93fd8d33746e04752ce2e
  • mui5-annotation-on-video-stable default
  • get_setter_canvasSizeInformations
  • fix-error-div-into-p
  • annotation-on-video-v2
  • detached
  • annotation-on-video-r17
  • mui5
  • mui5-react-18
  • jacob-test
  • annotation-on-video protected
  • master
  • test-antoinev1
  • 20-fetch-thumbnail-on-annotation
  • add-research-field
  • Save
  • add-plugin
  • 14-wip-no-seek-to
  • 14-bug-on-video-time-control
  • 9_wip_videotests
  • _upgrade_material_ui
  • latest-tetras-16
  • v3.3.0
  • v3.2.0
  • v3.1.1
  • v3.1.0
  • v3.0.0
  • v3.0.0-rc.7
  • v3.0.0-rc.6
  • v3.0.0-rc.5
  • v3.0.0-rc.4
  • v3.0.0-rc.3
  • v3.0.0-rc.2
  • v3.0.0-rc.1
  • v3.0.0-beta.10
  • v3.0.0-beta.9
  • v3.0.0-beta.8
  • v3.0.0-beta.7
  • v3.0.0-beta.6
  • v3.0.0-beta.5
  • v3.0.0-beta.3
41 results

ViewerInfo.test.js

Blame
  • base.twig 5.75 KiB
    <!DOCTYPE html>
    <html class="no-js">
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
    
        <title>{% if meta.title %}{{ meta.title }} | {% endif %}{{ site_title }}</title>
        {% if meta.description %}
            <meta name="description" content="{{ meta.description|striptags }}" />
        {% endif %}
        {% if meta.robots %}
            <meta name="robots" content="{{ meta.robots }}" />
        {% endif %}
    
        {% if current_page %}
            <link rel="canonical" href="{{ current_page.url }}" />
        {% endif %}
    
        <link rel="stylesheet" href="{{ theme_url }}/css/bootstrap.min.css" >
        <link rel="stylesheet" href="{{ theme_url }}/css/style.css" type="text/css" />
        <link rel="stylesheet" href="{{ theme_url }}/css/droidsans.css" type="text/css" />
        <link rel="stylesheet" href="{{ theme_url }}/css/fontello.css" type="text/css" />
        <link rel="shortcut icon" href="{{ theme_url }}/img/favicon.png">
        {% block head %}
        {% endblock %}
    </head>
    <body{% if config.theme_config.widescreen %} class="widescreen"{% endif %}>
    
        <header id="top" role="banner">
                <nav class="navbar navbar-expand-lg navbar-light bg-light justify-content-end sticky">
                    <a id="logo" class="navbar-brand" href="{{ "index"|link }}">
                        <img style="height:100px;min-width:130px;" src="{{ pages["_meta"].meta.logo|url }}" alt="{{ site_title }}">
                        <span>{{ pages["_meta"].meta.tagline|markdown }}</span>
                    </a>
                    <button class="navbar-toggler ml-auto" type="button" data-toggle="collapse" data-target="#navbarsExample03" aria-controls="navbarsExample03" aria-expanded="false" aria-label="Toggle navigation">
                        <span class="navbar-toggler-icon"></span>
                    </button>
                        
                    <div class="collapse navbar-collapse flex-grow-0 ml-auto" id="navbarsExample03">
                            <ul class="navbar-nav mr-auto">
                                {% set tags = get_all_tags() %}
                                {% for page in pages if page.title %}
                                    {% if parentPage and not (page.id starts with parentPage) %}
                                        {% set parentPage = null %}
                                        </ul>
                                        </li>
                                    {% endif %}
    
                                    {% set pageDepth = page.id|split('/')|length %}
                                    {% if pageDepth == 1 %}
                                        <li class="{% if page.id == current_page.id %} active{% endif %} nav-link">
                                            <a href="{{ page.url }}">{{ page.title }}</a>
                                        </li>
                                    {% elseif (pageDepth == 2) and (page.id ends with "/index") %}
                                        {% set parentPage = page.id|slice(0, -5) %}
                                        <li class="{% if page.id == current_page.id %} active{% endif %} dropdown show nav-link">
                                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{ page.title }}</a>
                                        <ul class="dropdown-menu">
                                        {% if page.title == 'Blog' %}
                                            <li class="nav-link"><a href="{{base_url}}/blog">Tous les articles</a></li>
                                            {% for tag in tags|sort %}
                                            <li class="nav-link"><a href="{{base_url}}/blog/?tag={{ tag }}">{{ tag }}</a></li>
                                            {% endfor %}
                                        {% endif %}
                                    {% elseif (pageDepth == 2) and parentPage %}
                                        <li class="nav-link"><a href="{{ page.url }}">{{ page.title }}</a></li>
                                    {% endif %}
                                {% endfor %}
                                </ul>
                                {% if parentPage %}