Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fsci.org.in
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abhijith PA
fsci.org.in
Commits
60e6baa9
Commit
60e6baa9
authored
Jul 10, 2017
by
Bady
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add navigation buttons for events
parent
b385b052
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
11 deletions
+31
-11
css/events.css
css/events.css
+10
-0
pug/templates/events.pug
pug/templates/events.pug
+12
-5
pug/templates/individual_event_page.pug
pug/templates/individual_event_page.pug
+9
-6
No files found.
css/events.css
View file @
60e6baa9
...
...
@@ -43,3 +43,13 @@
a
.list-group-item
::before
{
display
:
none
;
}
.list-group-item.events-list.separator
:hover
{
margin-right
:
0
;
}
.panel
.panel-heading
.pull-right
{
margin-top
:
-36px
;
margin-right
:
10px
;
padding
:
6px
25px
;
}
pug/templates/events.pug
View file @
60e6baa9
...
...
@@ -14,20 +14,27 @@ block content
.panel-body
.search-form
.row
.col-xs-
10
.col-xs-
2.col-sm-8
|
//-.form-group
input.form-control(type='text', placeholder='Search Contacts...')
i.fa.fa-search
.col-xs-2
a.btn.btn-primary.btn-block(href='
#
')
.col-xs-
5.col-sm-
2
a.btn.btn-primary.btn-block(href='
https://git.fosscommunity.in/community/fsci.org.in/tree/master/events/details' target='_blank
')
i.fa.fa-plus
span Add
.col-xs-5.col-sm-2
a.btn.btn-primary.btn-block(href='http://fsci.org.in')
i.fa.fa-plus
span Back
// panel body
.list-group
// list of sample data
for event in events.events
for event in events.events
a.list-group-item.events-list.separator(href='/events/' + event.id + '.html')
img.img-rounded.pull-left(src=event.imgurl)
h4.list-group-item-heading= event.name
p.list-group-item-text!= event.locationame
p.list-group-item-text!= event.when
//- for event in sortedEvents
h4.list-group-item-heading=event.id
pug/templates/individual_event_page.pug
View file @
60e6baa9
...
...
@@ -27,7 +27,7 @@ block content
a.list-group-item(href='/events/' + event.lat + '.' + event.lng + '.html')
img.img-rounded.pull-left(src=event.imgurl)
h4.list-group-item-heading= event.name
p.list-group-item-text!= event.
locationame
p.list-group-item-text!= event.
venue + ', ' + event.district
.col-sm-12.bootcards-cards
// contact details
#contact-card.event-card.col-sm-4
...
...
@@ -46,23 +46,26 @@ block content
label= "LOCATION"
if (evt.lat != "" && evt.lng != "")
a(href="http://www.openstreetmap.org/?mlat=" + evt.lat + "&mlon=" + evt.lng + "&ref=FSCI")
h4.list-group-item-heading= evt.
locationame
h4.list-group-item-heading= evt.
venue + ', ' + evt.district
else
h4.list-group-item-heading= evt.locationame
h4.list-group-item-heading= evt.venue + ', ' + evt.district
.list-group-item.separator
label= "ORGANIZED BY"
h4.list-group-item-heading= evt.organizedby
.list-group-item.separator
label= "DATETIME"
h4.list-group-item-heading= evt.when
.list-group-item.separator
label= "CONTACT INFO"
h4.list-group-item-heading= evt.contactinfo
if (evt.contactinfo != "")
.list-group-item.separator
label= "CONTACT INFO"
h4.list-group-item-heading= evt.contactinfo
#description-card.event-card.col-sm-8
.panel.panel-default.bootcards-richtext.event-details
.panel-heading
h3.panel-title Description
a.btn.btn-primary.pull-right(href='http://fsci.org.in/events')
span Back
.panel-body!= evt.description
p.lead
img(src=evt.imgurl, alt=evt.name)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment