Skip to content

Commit 0c0bf51

Browse files
authored
Merge branch 'master' into master
2 parents 71a7d9e + ee5402a commit 0c0bf51

File tree

9 files changed

+41
-36
lines changed

9 files changed

+41
-36
lines changed

eventsapp/data/images/btn1.png

7.09 KB
Loading
4.47 KB
Loading

eventsapp/data/jsonfiles/menuitems.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
{
22
"0.0.1": [
3+
{
4+
"menu_item_text": "Home",
5+
"icon_source": "data/images/menu/home.png",
6+
"navigate_to": "WelcomeScreen"
7+
},
38
{
49
"menu_item_text": "Schedule",
510
"icon_source": "data/images/menu/calendar.png",
611
"navigate_to": "ScheduleScreen"
712
},
8-
{
9-
"menu_item_text": "About",
10-
"icon_source": "data/images/menu/about.png",
11-
"navigate_to": "AboutScreen"
12-
},
13+
1314
{
1415
"menu_item_text": "Community",
1516
"icon_source": "data/images/menu/community.png",
@@ -35,15 +36,24 @@
3536
"icon_source": "data/images/menu/sponsor.png",
3637
"navigate_to": "SponsorScreen"
3738
},
39+
3840
{
3941
"menu_item_text": "Contact Us",
4042
"icon_source": "data/images/menu/contactus.png",
4143
"navigate_to": "ContactUsScreen"
4244
},
45+
4346
{
4447
"menu_item_text": "History",
4548
"icon_source": "data/images/menu/history.png",
4649
"navigate_to": "AboutPyConScreen"
50+
},
51+
52+
{
53+
"menu_item_text": "About",
54+
"icon_source": "data/images/menu/about.png",
55+
"navigate_to": "AboutScreen"
4756
}
57+
4858
]
4959
}
Lines changed: 15 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,25 @@
11
{
22
"0.0.1": [
33
{
4-
"name": "Visible Alpha",
5-
"type": "Gold",
6-
"website": "http://visiblealpha.com/",
7-
"logo": "https://in.pycon.org/2018/images/sponsor/visiblealpha.png",
8-
"about": "https://in.pycon.org/2018/"
9-
},
10-
{
11-
"name": "ZeOmega",
12-
"type": "Silver",
13-
"website": "http://www.zeomega.com/",
14-
"logo": "https://in.pycon.org/2018/images/sponsor/zeomega.png",
15-
"about": "https://in.pycon.org/2018/"
4+
"name": "AQR Capital Management",
5+
"type": "Platinum",
6+
"website": "https://www.aqr.com/",
7+
"logo": "https://in.pycon.org/2018/img/sponsors/aqr.jpg",
8+
"about": "https://www.aqr.com/About-Us/OurFirm"
169
},
1710
{
18-
"name": "Adobe",
19-
"type": "Silver",
20-
"website": "https://www.adobe.com/",
21-
"logo": "https://in.pycon.org/2018/images/sponsor/adobe.jpg",
22-
"about": "https://in.pycon.org/2018/"
11+
"name": "D.E. Shaw india",
12+
"type": "Platinum",
13+
"website": "https://www.deshawindia.com/",
14+
"logo": "https://in.pycon.org/2018/img/sponsors/DESCO_Logo_2c.jpg",
15+
"about": "https://www.deshawindia.com/WhoWeAre.shtml"
2316
},
2417
{
25-
"name": "Python Software Foundation",
26-
"type": "Silver",
27-
"website": "https://www.python.org/psf-landing/",
28-
"logo": "https://in.pycon.org/2018/images/sponsor/psf.png",
29-
"about": "https://in.pycon.org/2018/"
18+
"name": "Pramati",
19+
"type": "Gold",
20+
"website": "https://www.pramati.com/",
21+
"logo": "https://in.pycon.org/2018/img/sponsors/Pramati.png",
22+
"about": "https://www.pramati.com/about-pramati/"
3023
}
3124
]
3225
}

eventsapp/uix/buttons/themebutton.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212

1313
class ThemeButton(Button):
1414

15-
background_normal = StringProperty('data/images/btn.png')
16-
background_down = StringProperty('data/images/btn.png')
15+
background_normal = StringProperty('data/images/btn1.png')
16+
background_down = StringProperty('data/images/btn1.png')
1717

1818
Builder.load_string('''
1919
<ThemeButton>:
2020
font_size: dp(12)
2121
border: 10, 10, 10, 10
22+
color: 0, 0, 0, 1
2223
background_normal: root.background_normal
2324
background_down: root.background_down
2425
opacity: 1 if self.state == 'normal' else .9

eventsapp/uix/cards/cardscontainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def del_widget(self, widget):
5151
Builder.load_string('''
5252
<CardsContainer>:
5353
spacing: dp(10)
54-
padding: dp(20), dp(40)
54+
padding: dp(10), dp(10)
5555
canvas:
5656
Color:
5757
rgba: (1, 1, 1, 1)

eventsapp/uix/screens/communityscreen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def chunks(data, SIZE=10):
7777
yield {k:data[k] for k in islice(it, SIZE)}
7878

7979
if self.community_social != []:
80-
for items in chunks(self.community_social, 1):
80+
for items in chunks(self.community_social, 3):
8181
bl = BoxLayout()
8282
self.add_social_icons(bl, items)
8383
social_icons.add_widget(bl)

eventsapp/uix/screens/navigationscreen.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
But6 | ---------------------- |
2323
| |
2424
| |
25+
But7 | |
2526
'''
2627

2728

@@ -124,7 +125,7 @@ class NavigationScreen(Screen):
124125

125126
Builder.load_string('''
126127
<NavButton>
127-
padding: dp(10)
128+
padding: dp(6)
128129
spacing: dp(10)
129130
on_release:
130131
app.navigation_screen.ids.drawer.toggle_state()

eventsapp/uix/tabbedpanels/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class DateTabbedPanelItem(TabbedPanelItem):
2222
background_down: 'data/images/Detail_bar.png'
2323
background_normal: 'data/images/Detail_bar.png'
2424
bold: True
25-
font_size: dp(24)
25+
font_size: dp(15)
2626
''')
2727

2828

@@ -34,7 +34,7 @@ class DateTabbedPanel(TabbedPanel):
3434
do_default_tab: False
3535
tab_pos: "top_mid"
3636
tab_width: self.width/2
37-
tab_height: dp(70)
37+
tab_height: dp(40)
3838
spacing: dp(-5)
3939
canvas:
4040
Color:
@@ -58,7 +58,7 @@ class HallTabbedPanelItem(TabbedPanelItem):
5858
background_down: 'data/images/lower-detail-bar.png'
5959
background_normal: 'data/images/lower-detail-bar.png'
6060
bold: True
61-
font_size: dp(24)
61+
font_size: dp(14)
6262
''')
6363

6464

@@ -68,6 +68,6 @@ class HallTabbedPanel(TabbedPanel):
6868
do_default_tab: False
6969
tab_pos: "bottom_mid"
7070
tab_width: self.width/3
71-
tab_height: dp(60)
71+
tab_height: dp(40)
7272
7373
''')

0 commit comments

Comments
 (0)