Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Lartu
lartype
Commits
d4fbe754
Commit
d4fbe754
authored
6 years ago
by
Lartu
🐕
Browse files
Options
Download
Email Patches
Plain Diff
Lartype can now be auto-update with -pull-update
parent
e9338eef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
1 deletion
+16
-1
generator/lartype_check.py
generator/lartype_check.py
+13
-0
lartype/lartype.js
lartype/lartype.js
+1
-1
lartype/styles.css
lartype/styles.css
+2
-0
No files found.
generator/lartype_check.py
View file @
d4fbe754
...
...
@@ -4,6 +4,19 @@ from subprocess import call
lartype_logo
=
(
"
\033
[34;1m
\\\033
[37;1mLartype
\033
[33;1m.
\033
[0m"
)
if
"-pull-update"
in
sys
.
argv
:
print
"Downloading latest "
+
lartype_logo
+
" version..."
call
([
"wget"
,
"https://github.com/Lartu/lartype/archive/master.zip"
])
print
"Unpacking..."
call
([
"unzip"
,
"-o"
,
"master.zip"
])
print
"Finding installer..."
call
([
"sh"
,
"lartype-master/install_lartype"
])
print
"Cleaning up..."
call
([
"rm"
,
"-rf"
,
"lartype-master"
])
call
([
"rm"
,
"master.zip*"
])
call
([
"lartype"
,
"-update"
])
exit
(
1
)
if
"-init"
in
sys
.
argv
or
"-fix"
in
sys
.
argv
:
if
"-init"
in
sys
.
argv
:
print
"Initialized new "
+
lartype_logo
+
" project in "
+
os
.
getcwd
()
...
...
This diff is collapsed.
Click to expand it.
lartype/lartype.js
View file @
d4fbe754
...
...
@@ -151,7 +151,7 @@ var files_to_load=[]
texto
=
texto
.
replaceAll
(
'
.parallel20/
'
,
'
</td>
'
);
texto
=
texto
.
replaceAll
(
'
/parallel10.
'
,
'
<td class="parallel10">
'
);
texto
=
texto
.
replaceAll
(
'
.parallel10/
'
,
'
</td>
'
);
texto
=
texto
.
replaceAll
(
'
/todo.
'
,
'
<div class="todo">
'
);
texto
=
texto
.
replaceAll
(
'
/todo.
'
,
'
<div class="todo">
TODO:
'
);
texto
=
texto
.
replaceAll
(
'
.todo/
'
,
'
</div>
'
);
//Esto siempre va al final
...
...
This diff is collapsed.
Click to expand it.
lartype/styles.css
View file @
d4fbe754
...
...
@@ -231,4 +231,6 @@ td .code_section{
font-size
:
12px
;
color
:
#e67e22
;
background
:
#ffeaa7
;
margin-top
:
0px
;
margin-bottom
:
20px
;
}
This diff is collapsed.
Click to expand it.
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