Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Infoscreen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Evy Storozhenko
Infoscreen
Commits
c7863f27
Commit
c7863f27
authored
9 years ago
by
Tilman Vatteroth
Browse files
Options
Downloads
Patches
Plain Diff
ufc panel redesign
parent
7970f462
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
panels/ufc/logo.png
+0
-0
0 additions, 0 deletions
panels/ufc/logo.png
panels/ufc/script.js
+4
-2
4 additions, 2 deletions
panels/ufc/script.js
panels/ufc/style.less
+24
-9
24 additions, 9 deletions
panels/ufc/style.less
panels/ufc/template.html
+7
-5
7 additions, 5 deletions
panels/ufc/template.html
with
35 additions
and
16 deletions
panels/ufc/logo.png
0 → 100644
NaN GiB (NaN%)
View file @
c7863f27
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
Click to expand it.
panels/ufc/script.js
+
4
−
2
View file @
c7863f27
...
@@ -4,7 +4,7 @@ var img=null;
...
@@ -4,7 +4,7 @@ var img=null;
var
titleDiv
=
null
;
var
titleDiv
=
null
;
var
zeitDiv
=
null
;
var
zeitDiv
=
null
;
this
.
loaded
=
function
(
panel
,
config
)
{
this
.
loaded
=
function
(
panel
,
config
)
{
img
=
$
(
panel
).
find
(
"
#
image img
"
);
img
=
$
(
panel
).
find
(
"
#
background
"
);
titleDiv
=
$
(
panel
).
find
(
"
#title span
"
);
titleDiv
=
$
(
panel
).
find
(
"
#title span
"
);
zeitDiv
=
$
(
panel
).
find
(
"
#zeit span
"
);
zeitDiv
=
$
(
panel
).
find
(
"
#zeit span
"
);
$
.
ajax
(
"
panels/ufc/semester.json
"
,{
$
.
ajax
(
"
panels/ufc/semester.json
"
,{
...
@@ -53,7 +53,9 @@ this.show=function() {
...
@@ -53,7 +53,9 @@ this.show=function() {
break
;
break
;
}
}
}
}
img
.
attr
(
"
src
"
,
"
https://ufc.tu-dortmund.de
"
+
nextMovie
.
movie
.
image_url_medium
);
img
.
css
(
"
backgroundImage
"
,
"
url(https://ufc.tu-dortmund.de
"
+
nextMovie
.
movie
.
image_url_medium
+
"
)
"
);
//img.attr("src","https://ufc.tu-dortmund.de" + nextMovie.movie.image_url_medium );
titleDiv
.
text
(
nextMovie
.
title
);
titleDiv
.
text
(
nextMovie
.
title
);
var
d
=
new
Date
(
nextMovie
.
date
);
var
d
=
new
Date
(
nextMovie
.
date
);
var
tag
=
d
.
getDate
();
var
tag
=
d
.
getDate
();
...
...
This diff is collapsed.
Click to expand it.
panels/ufc/style.less
+
24
−
9
View file @
c7863f27
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
}
}
#zeit{
#zeit{
height:10%;
height:10%;
color:white;
}
}
#image img {
#image img {
height: 100%;
height: 100%;
...
@@ -15,21 +14,37 @@
...
@@ -15,21 +14,37 @@
width:auto;
width:auto;
border: solid black 1px;
border: solid black 1px;
}
}
#zeit, #title{
}
#zeit span {
#zeit span {
background:#b00;
background:#b00;
display:inline-block;
display:inline-block;
padding: 3px;
padding: 3px;
}
}
#background {
* {
box-sizing:border-box;
}
#container {
position:relative;
height:100%;
height:100%;
width:100%;
width:100%;
background:white;
}
#background {
background-size: auto 70%;
background-repeat: no-repeat;
background-position: 50% 100%;
-webkit-filter: grayscale(60%);
filter: grayscale(60%);
}
#content{
font-family:NewCicle, Verdana, Arial, sans-serif;
font-family:NewCicle, Verdana, Arial, sans-serif;
text-transform: Capitalize;
text-transform: Capitalize;
color:black;
color:white;
}
* {
box-sizing:border-box;
}
}
#background,#content {
height:100%;
width:100%;
position:absolute;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
panels/ufc/template.html
+
7
−
5
View file @
c7863f27
<div
id=
"background"
>
<div
id=
"container"
>
<!-- TODO: fallback image -->
<div
id=
"background"
>
<div
id=
"zeit"
><span></span></div>
</div>
<div
id=
"title"
><span></span></div>
<div
id=
"content"
>
<div
id=
"image"
><img></div>
<div
id=
"zeit"
><span></span></div>
<div
id=
"title"
><span></span></div>
</div>
</div>
</div>
\ No newline at end of file
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