Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Murukesh Mohanan
web
Commits
41e8c19f
Commit
41e8c19f
authored
Aug 07, 2016
by
Murukesh Mohanan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Multilingual stuff, and JavaScript's back!
parent
eb66ec96
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
103 additions
and
2 deletions
+103
-2
README.md
README.md
+1
-1
_layouts/default.html
_layouts/default.html
+4
-0
cv.md
cv.md
+3
-1
index.md
index.md
+21
-0
js/index.js
js/index.js
+40
-0
styles/index.css
styles/index.css
+34
-0
No files found.
README.md
View file @
41e8c19f
...
...
@@ -23,7 +23,7 @@ Or, alternatively:
----
The site is written for Jekyll as used by Github Pages, and that is
installed on mars. The site is updated using:
installed on mars. The site is updated
on www.cse.iitb.ac.in
using:
```
sh
cd
~/devel/web
&&
...
...
_layouts/default.html
View file @
41e8c19f
...
...
@@ -17,6 +17,10 @@
{% else %}
{% assign pagestyle = layout.pagestyle %}
{% endif %}
{% if page.script %}
<script
src=
"js/{{ page.script }}.js"
type=
"text/javascript"
>
</script>
{% endif %}
{% if pagestyle %}
<link
rel=
"stylesheet"
href=
"{{ site.base-url }}/styles/{{ pagestyle }}.css"
type=
"text/css"
>
{% endif %}
...
...
cv.md
View file @
41e8c19f
...
...
@@ -11,7 +11,7 @@ permalink: /cv/
{:.org}
<details
markdown=
"1"
>
-
T
BC
-
T
okyo, Japan
</details>
<!-- section -->
...
...
@@ -37,6 +37,8 @@ Computer Science and Engineering
<details
markdown=
"1"
>
### Senior Application Developer
-
Chennai, India
</details>
<!-- section -->
...
...
index.md
View file @
41e8c19f
---
title
:
About Me
pagestyle
:
index
script
:
index
---
-
{:#en .active} En
-
{:#ml} മ
-
{:#jp} 日
{:#i18n}
Call me Muru.
{:.en .active}
私は ムルケシュ モハナン です。
ムルーと 呼んで ください。
どうぞ よろしく おねがいします。
二千十六年七月から 日本語を ならった います。
{:.jp .inactive}
എന്റെ പേര മുരുകെഷ് ആണു.
എന്നെ മുരു എന്നു വിളിക്കുക.
മലയാളി ആണെങ്കിലും വളര്നതു ബോംബെയില് ആണു.
{:.ml .inactive}
I know English, മലയാളം (Malayalam), हिंदी (Hindi), and a smattering of 日本語 (Japanese) and मराठी (Marathi).
<!-- section -->
...
...
js/index.js
0 → 100644
View file @
41e8c19f
(
function
(
m
)
{
var
currentButton
=
'
en
'
;
var
swapClass
=
function
(
classList
,
del
,
add
)
{
}
m
.
SwitchTo
=
function
(
id
)
{
if
(
id
==
currentButton
)
{
return
;
}
var
next_el
=
document
.
getElementById
(
id
);
var
curr_el
=
document
.
getElementById
(
currentButton
);
next_el
.
className
=
'
active
'
;
curr_el
.
className
=
'
inactive
'
;
to_hide
=
document
.
getElementsByClassName
(
currentButton
);
to_show
=
document
.
getElementsByClassName
(
id
);
Array
.
prototype
.
forEach
.
call
(
to_hide
,
function
(
elem
){
elem
.
classList
.
remove
(
'
active
'
);
elem
.
classList
.
add
(
'
inactive
'
);
});
Array
.
prototype
.
forEach
.
call
(
to_show
,
function
(
elem
){
elem
.
classList
.
remove
(
'
inactive
'
);
elem
.
classList
.
add
(
'
active
'
);
});
currentButton
=
id
;
};
window
.
onload
=
function
()
{
document
.
getElementById
(
'
i18n
'
).
childNodes
.
forEach
(
function
(
elem
)
{
if
(
elem
.
tagName
==
"
LI
"
)
{
console
.
log
(
elem
.
id
);
elem
.
onclick
=
function
()
{
m
.
SwitchTo
(
elem
.
id
);
};
}
}
);
};
}(
window
.
M
=
window
.
M
||
{})
);
styles/index.css
0 → 100644
View file @
41e8c19f
ul
#i18n
li
{
display
:
inline-block
;
list-style
:
none
;
width
:
3em
;
font-size
:
0.7em
;
background-color
:
#505050
;
text-align
:
center
;
margin-left
:
0
;
border
:
0.05em
solid
#555555
;
}
#i18n
{
border-radius
:
0.2em
;
overflow
:
hidden
;
display
:
flex
;
float
:
right
;
box-shadow
:
inset
0
0
0.1em
0.1em
rgba
(
128
,
128
,
128
,
0.75
);
}
#i18n
li
.active
{
box-shadow
:
0
0
0.1em
0.1em
rgba
(
16
,
16
,
16
,
0.85
);
background-color
:
#606060
;
z-index
:
1000
;
border-radius
:
0.1em
;
border
:
0.1em
solid
#555555
;
}
.active
{
display
:
initial
;
}
.inactive
{
display
:
none
;
}
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