Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
a6695514
Commit
a6695514
authored
Nov 17, 2013
by
Jean Michel Rouly
Browse files
Renamed site_data to static.
parent
2c7fad56
Changes
8
Hide whitespace changes
Inline
Side-by-side
s
ite_data
/about.part
→
s
tatic
/about.part
View file @
a6695514
File moved
s
ite_data
/bottom.part
→
s
tatic
/bottom.part
View file @
a6695514
File moved
s
ite_data
/favicon.ico
→
s
tatic
/favicon.ico
View file @
a6695514
File moved
s
ite_data
/go.js
→
s
tatic
/go.js
View file @
a6695514
File moved
s
ite_data
/style.css
→
s
tatic
/style.css
View file @
a6695514
File moved
s
ite_data
/top.part
→
s
tatic
/top.part
View file @
a6695514
...
...
@@ -8,9 +8,9 @@ Go Url Shortener
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
/>
<link
href=
"http://fonts.googleapis.com/css?family=Carrois+Gothic"
rel=
"stylesheet"
type=
"text/css"
>
<link
rel=
"stylesheet"
href=
"/s
ite_data
/style.css"
/>
<link
rel=
"icon"
type=
"image/jpg"
href=
"/s
ite_data
/favicon.ico"
/>
<script
type=
"text/javascript"
src=
"/s
ite_data
/go.js"
></script>
<link
rel=
"stylesheet"
href=
"/s
tatic
/style.css"
/>
<link
rel=
"icon"
type=
"image/jpg"
href=
"/s
tatic
/favicon.ico"
/>
<script
type=
"text/javascript"
src=
"/s
tatic
/go.js"
></script>
</head>
<body>
...
...
wsgi/about.py
View file @
a6695514
...
...
@@ -11,7 +11,7 @@ def application(environ, start_response):
top
=
library
.
get_top
(
user_logged_in
)
bottom
=
library
.
get_bottom
(
user_logged_in
)
f
=
open
(
goconfig
.
doc_root
+
"/s
ite_data
/about.part"
,
"r"
)
f
=
open
(
goconfig
.
doc_root
+
"/s
tatic
/about.part"
,
"r"
)
about
=
f
.
read
()
f
.
close
()
...
...
wsgi/library.py
View file @
a6695514
...
...
@@ -344,7 +344,7 @@ def ldap_authenticate( usr, psw ):
def
get_top
(
logged_in
=
False
):
f
=
open
(
goconfig
.
doc_root
+
"/s
ite_data
/top.part"
,
"r"
)
f
=
open
(
goconfig
.
doc_root
+
"/s
tatic
/top.part"
,
"r"
)
top
=
f
.
read
()
f
.
close
()
...
...
@@ -364,7 +364,7 @@ def get_top( logged_in=False ):
def
get_bottom
(
logged_in
=
False
):
f
=
open
(
goconfig
.
doc_root
+
"/s
ite_data
/bottom.part"
,
"r"
)
f
=
open
(
goconfig
.
doc_root
+
"/s
tatic
/bottom.part"
,
"r"
)
bottom
=
f
.
read
()
f
.
close
()
...
...
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