Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
framadate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
framadate
Commits
2a6b8acf
Commit
2a6b8acf
authored
9 years ago
by
Olivier PEREZ
Browse files
Options
Downloads
Patches
Plain Diff
Some responsive
parent
c5236ec3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tpl/header.tpl
+6
-2
6 additions, 2 deletions
tpl/header.tpl
tpl/index.tpl
+3
-3
3 additions, 3 deletions
tpl/index.tpl
with
9 additions
and
5 deletions
tpl/header.tpl
+
6
−
2
View file @
2a6b8acf
<header
role=
"banner"
>
{
if
count
(
$langs
)>
1
}
<form
method=
"post"
action=
""
class=
"hidden-print"
>
<div
class=
"input-group input-group-sm pull-right col-
md-
2 col-
xs-4
"
>
<div
class=
"input-group input-group-sm pull-right col-
xs-1
2 col-
sm-2
"
>
<select
name=
"lang"
class=
"form-control"
title=
"{__('Language selector', 'Select the language')}"
>
{
foreach
$langs
as
$lang_key
=>
$lang_value
}
<option
lang=
"
{
substr
(
$lang_key
,
0
,
2
)
}
"
{
if
substr
(
$lang_key
,
0
,
2
)==
$locale
}
selected
{/
if
}
value=
"
{
$lang_key
|
html
}
"
>
{
$lang_value
|
html
}
</option>
...
...
@@ -14,7 +14,11 @@
</form>
{/
if
}
<h1><a
href=
"
{
$SERVER_URL
|
html
}
"
title=
"{__('Generic', 'Home')} -
{
$APPLICATION_NAME
|
html
}
"
><img
src=
"
{
$TITLE_IMAGE
|
resource
}
"
alt=
"
{
$APPLICATION_NAME
|
html
}
"
/></a></h1>
<h1>
<a
href=
"
{
$SERVER_URL
|
html
}
"
title=
"{__('Generic', 'Home')} -
{
$APPLICATION_NAME
|
html
}
"
class=
"col-xs-12 col-sm-10"
>
<img
src=
"
{
$TITLE_IMAGE
|
resource
}
"
alt=
"
{
$APPLICATION_NAME
|
html
}
"
class=
"img-responsive"
/>
</a>
</h1>
{
if
!
empty
(
$title
)
}
<h2
class=
"lead"
><i>
{
$title
|
html
}
</i></h2>
{/
if
}
<hr
class=
"trait"
role=
"presentation"
/>
</header>
...
...
This diff is collapsed.
Click to expand it.
tpl/index.tpl
+
3
−
3
View file @
2a6b8acf
...
...
@@ -2,7 +2,7 @@
{
block
name
=
main
}
<div
class=
"row"
>
<div
class=
"col-md-6 text-center"
>
<div
class=
"
col-xs-12
col-md-6 text-center"
>
<p
class=
"home-choice"
>
<a
href=
"
{
$SERVER_URL
}
create_poll.php?type=date"
class=
"opacity"
role=
"button"
>
<img
class=
"img-responsive center-block"
src=
"
{
'images/date.png'
|
resource
}
"
alt=
""
/>
...
...
@@ -14,7 +14,7 @@
</a>
</p>
</div>
<div
class=
"col-md-6 text-center"
>
<div
class=
"
col-xs-12
col-md-6 text-center"
>
<p
class=
"home-choice"
>
<a
href=
"
{
$SERVER_URL
}
create_poll.php?type=autre"
class=
"opacity"
role=
"button"
>
<img
alt=
""
class=
"img-responsive center-block"
src=
"
{
'images/classic.png'
|
resource
}
"
/>
...
...
@@ -26,7 +26,7 @@
</a>
</p>
</div>
<div
class=
"col-md-6 col-md-offset-3 text-center"
>
<div
class=
"
col-xs-12
col-md-6 col-md-offset-3 text-center"
>
<p
class=
"home-choice"
>
<a
href=
"
{
$SERVER_URL
}
find_polls.php"
class=
"opacity"
role=
"button"
>
<span
class=
"btn btn-warning btn-lg"
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment