mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Divers fix
This commit is contained in:

committed by
Romain Neutron

parent
c7f30521ce
commit
b018027998
@@ -3,19 +3,8 @@
|
||||
{% block content %}
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div class="text-title">
|
||||
Condition Générale d'Utilisation de la Base Beta Version 3.0
|
||||
</div>
|
||||
<div class="cgu-content">
|
||||
<p>
|
||||
Nulla pharetra vestibulum mollis. Donec auctor ultricies libero sit amet tempus. Quisque vulputate, metus non lacinia euismod, justo ipsum accumsan metus, id volutpat quam ante varius massa. In interdum sapien nec dolor tincidunt pulvinar. Nulla mattis, purus a pharetra sollicitudin, massa elit fringilla libero, non blandit velit diam vel sapien. Mauris consectetur, orci elementum tincidunt hendrerit, lorem tortor blandit arcu, ac elementum risus turpis a nisl. Donec at laoreet nisl.
|
||||
</p>
|
||||
<p>
|
||||
Sed tortor lorem, semper eget volutpat id, placerat vel nibh. Quisque ornare, libero quis sagittis dictum, nunc leo scelerisque nisi, eu facilisis nisi sapien ac nisl. Vestibulum feugiat vestibulum orci, nec pharetra quam placerat nec. Vestibulum condimentum rhoncus scelerisque. Duis quis ipsum nec orci pellentesque luctus id quis ipsum. Curabitur placerat, neque non viverra sagittis, nisl orci pharetra lectus, ut sodales massa eros a orci. Quisque ac felis risus, hendrerit laoreet augue. Donec ac ante ipsum, ac placerat elit. Duis volutpat, turpis ut imperdiet ultrices, mauris nisi dignissim eros, a venenatis lacus elit id dui.
|
||||
</p>
|
||||
<p>
|
||||
Sed at enim et felis dapibus rhoncus. Quisque bibendum diam at ipsum tempor blandit. Proin ut urna purus, faucibus aliquet lorem. Phasellus eu eros fermentum nunc gravida tincidunt. Nulla ac diam risus. Nulla ac lectus justo, ac sodales orci. Suspendisse volutpat neque sed sapien tempor quis lacinia magna rhoncus. Aliquam erat volutpat. Suspendisse bibendum lacinia euismod. Nulla sit amet scelerisque neque. Sed nec nunc ac leo pellentesque tempus non at urna.
|
||||
</p>
|
||||
{% block cgu_content %} {% endblock %}
|
||||
</div>
|
||||
<a href="{{ path("homepage") }}" class="btn btn-success ">
|
||||
<i class="icon-arrow-left icon-white"></i> {% trans "Return to login page" %}
|
||||
|
@@ -1,11 +0,0 @@
|
||||
<div id="authentication-sidebar-language" class="text-right well-small">
|
||||
<span class="language"><b>{% trans "language" %}</b></span>
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-mini btn-flat dropdown-toggle" data-toggle="dropdown">{% trans "English" %}<span class="caret"></span></button>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
<li><a href="#">{% trans "French" %}</a></li>
|
||||
<li><a href="#">{% trans "German" %}</a></li>
|
||||
<li><a href="#">{% trans "Dutch" %}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
@@ -112,13 +112,9 @@
|
||||
{% endmacro %}
|
||||
|
||||
{% macro alert() %}
|
||||
{% for type, messages in app['session'].getFlashBag().all() %}
|
||||
{% for type, messages in app.getFlash() %}
|
||||
{% for message in messages %}
|
||||
<alert type="{{ type }}">{{ message|trans }}</alert>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
{% if app.request.query.get("notice") is not none %}
|
||||
<alert type="warning">{{ app.request.query.get("notice") }}</alert>
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
|
@@ -64,3 +64,4 @@
|
||||
</div>
|
||||
</div><!-- /row -->
|
||||
{% endblock %}
|
||||
|
||||
|
12
templates/web/login/include/language-block.html.twig
Normal file
12
templates/web/login/include/language-block.html.twig
Normal file
@@ -0,0 +1,12 @@
|
||||
{% set languages = app.getAvailableLanguages() %}
|
||||
<div id="authentication-sidebar-language" class="text-right well-small">
|
||||
<span class="language"><b>{% trans "language" %}</b></span>
|
||||
<div class="btn-group">
|
||||
<button class="btn btn-mini btn-flat dropdown-toggle" data-toggle="dropdown">{{ attribute(languages, app['locale']) }}<span class="caret"></span></button>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
{% for code, language in languages if code != app['locale'] %}
|
||||
<li><a href="#" data-country-code="{{ code }}">{{ language }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
@@ -1,26 +1,42 @@
|
||||
{% set home_title = app['phraseanet.registry'].get('GV_homeTitle')|default('Phraseanet') %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<!--[if lt IE 7]> <html ng-app="phraseanetAuthentication" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
||||
<!--[if IE 7]> <html ng-app="phraseanetAuthentication" class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html ng-app="phraseanetAuthentication" class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html ng-app="phraseanetAuthentication" class="no-js"> <!--<![endif]-->
|
||||
<head>
|
||||
{% block header %}
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Phraseanet</title>
|
||||
<meta name="description" content="">
|
||||
<title>{% block title %}Phraseanet{% endblock title %}</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<meta content="{{ app['phraseanet.registry'].get('GV_metaDescription') }}" name="description"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
||||
<meta content="{{ app['phraseanet.registry'].get('GV_metaKeywords') }}" name="keywords"/>
|
||||
<meta content="phraseanet" name="generator"/>
|
||||
|
||||
{% for feed in feeds %}
|
||||
{% set link = feed.get_homepage_link(app['phraseanet.registry'], 'rss') %}
|
||||
<link rel="alternate" type="{{ link.get_mimetype() }}" title="{{ link.get_title() }}" href="{{ link.get_href() }}" />
|
||||
{% set link = feed.get_homepage_link(app['phraseanet.registry'], 'atom') %}
|
||||
<link rel="alternate" type="{{ link.get_mimetype() }}" title="{{ link.get_title() }}" href="{{ link.get_href() }}" />
|
||||
{% endfor %}
|
||||
|
||||
{% block favicon %}
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
|
||||
{% endblock favicon %}
|
||||
|
||||
{% block header_stylesheet %}
|
||||
<link rel="stylesheet" href="/assets/normalize-css/normalize.css">
|
||||
<link rel="stylesheet" href="/skins/login/css/bootstrap-switch.css">
|
||||
<link rel="stylesheet" href="/skins/login/css/style.css">
|
||||
|
||||
<link rel="stylesheet" href="/assets/font-awesome/css/font-awesome.css">
|
||||
<!--[if IE 7]>
|
||||
<link rel="stylesheet" href="/assets/font-awesome/css/font-awesome-ie7.min.css">
|
||||
<![endif]-->
|
||||
{% endblock header_stylesheet %}
|
||||
|
||||
{% block header_javascript %}
|
||||
<script src="/assets/modernizr/modernizr.js"></script>
|
||||
<script src="/assets/jquery/jquery.js"></script>
|
||||
<script src="/assets/bootstrap/js/bootstrap-transition.js"></script>
|
||||
@@ -53,6 +69,8 @@
|
||||
</script>
|
||||
<script src="/assets/angular-ui/build/angular-ui-ieshiv.js"></script>
|
||||
<![endif]-->
|
||||
{% endblock header_javascript %}
|
||||
{% endblock header %}
|
||||
</head>
|
||||
<body>
|
||||
<!--[if lt IE 7]>
|
||||
@@ -63,9 +81,12 @@
|
||||
|
||||
{% endblock %}
|
||||
<div class="row-fluid">
|
||||
<div class="span12 footer well-small">
|
||||
<div class="span12">
|
||||
<div class="footer well-small">
|
||||
{% block footer %}
|
||||
<div class="row-fluid">
|
||||
<div class="span9" >
|
||||
{% block footer_content %}
|
||||
<div class="footer-block">
|
||||
<ul class="inline footer-list unstyled">
|
||||
<li class="item-first" >{% trans "Home" %}</li>
|
||||
@@ -74,13 +95,16 @@
|
||||
<li>© Copyright Alchemy 2005-{{ "now"|date("Y") }}</li>
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock footer_content %}
|
||||
</div>
|
||||
<div class="span3">
|
||||
<div class="footer-block text-right">
|
||||
Phraseanet
|
||||
{% block footer_logo %}Phraseanet{% endblock footer_logo %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock footer %}
|
||||
</div>
|
||||
</div><!--/span-->
|
||||
</div><!--/row-->
|
||||
</div><!--/.fluid-container-->
|
||||
|
@@ -1,5 +1,9 @@
|
||||
{% extends "login/layout/base-layout.html.twig" %}
|
||||
|
||||
{% block title %}
|
||||
{{ app['phraseanet.registry'].get('GV_homeTitle')|default('Phraseanet') }}
|
||||
{% endblock %}
|
||||
|
||||
{% block scaffholding %}
|
||||
<div class="row-fluid">
|
||||
<div class="span8 left-content">
|
||||
@@ -15,11 +19,11 @@
|
||||
<div class="header">
|
||||
{% block header %}
|
||||
<div class="text-title">
|
||||
Welcome on {{ app['phraseanet.registry'].get('GV_homeTitle')|default('Tf1') }} Media gallery
|
||||
{% block main_title %}{% endblock %}
|
||||
</div>
|
||||
<a class="visible-phone text-right" data-toggle="collapse" data-target="#headerDetail">More ...</a>
|
||||
<a class="visible-phone text-right" data-toggle="collapse" data-target="#headerDetail">{% trans "More" %} ...</a>
|
||||
<p id="headerDetail" class="collapse">
|
||||
Vivamus justo mauris, elementum eu auctor tincidunt, viverra et erat. Nunc pretium dui eget purus rutrum malesuada. Donec pellentesque arcu quis lectus blandit ac mollis magna vehicula. Fusce non leo id leo blandit feugiat et nec massa. Sed viverra viverra fermentum. In sit amet varius turpis.
|
||||
{% block short_presentation %}{% endblock %}
|
||||
</p>
|
||||
{% endblock %}
|
||||
</div>
|
||||
@@ -28,14 +32,14 @@
|
||||
<div class="row-fluid hidden-phone">
|
||||
<div class="span12">
|
||||
<div class="content">
|
||||
{% include "login/common/main-content.html.twig" with {"home_title" : home_title} %}
|
||||
{% include "login/include/main-content.html.twig" %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!--/span-->
|
||||
<div class="span4 right-content">
|
||||
<div class="authentication-sidebar">
|
||||
{% include "login/common/language-block.html.twig" %}
|
||||
{% include "login/include/language-block.html.twig" %}
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
{% block sidebar %} {% endblock %}
|
||||
@@ -45,6 +49,3 @@
|
||||
</div><!--/span-->
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block javascript %}
|
||||
{% endblock %}
|
@@ -126,3 +126,4 @@
|
||||
</div>
|
||||
</div><!-- /sidebar block -->
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user