Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
akoprow committed Oct 25, 2011
1 parent 1457a9c commit c2ac428
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
9 changes: 8 additions & 1 deletion examples.opa
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import stdlib.system

type plugin =
{ name : string
; files : list(string)
Expand Down Expand Up @@ -54,6 +56,11 @@ Examples = {{
do rerun(e)
void

deploy_all(ex, recompile) = List.iter(deploy(recompile, _), ex)
deploy_all(ex, recompile) =
do List.iter(deploy(recompile, _), ex)
if recompile then
System.exit(0)
else
void

}}
9 changes: 2 additions & 7 deletions hands-on-opa.opa
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ index_page() =
Go to opalang.org
</>
</>
blog_articles = <ul>{List.map(show_article, blog_articles)}</ul>
manual_articles = <ul>{List.map(show_article, manual_articles)}</ul>
blog_articles = <ul class=unstyled>{List.map(show_article, blog_articles)}</ul>
manual_articles = <ul class=unstyled>{List.map(show_article, manual_articles)}</ul>
examples = List.filter_map(show_example, examples)
page =
<div id="header">{header}</div>
Expand Down Expand Up @@ -242,8 +242,3 @@ server =
needs_recompile = CommandLine.filter(recompile)
do Examples.deploy_all(examples, needs_recompile)
Server.simple_bundle([resources], urls)

css = css
li {
clear: both;
}
6 changes: 3 additions & 3 deletions resources/style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ iframe {
}
.action {
display: inline-block;
border: 1px dotted black;
border: 1px solid #DDD;
padding-right: 5px;
margin-top: 2px;
}
Expand Down Expand Up @@ -194,7 +194,7 @@ div.coming_soon {
#container ul li {
list-style-type: none;
background-image: none !important;
border-bottom: 1px dotted black;
border-bottom: 1px solid #DDD;
padding: 3px 0px !important;
min-height: 32px;
}
Expand All @@ -214,7 +214,7 @@ h3 {
.opalang_apps {
width: 100% !important;
height: inherit !important;
border-bottom: 1px dotted black;
border-bottom: 1px solid #DDD;
}
.col50 {
width: 46.5% !important;
Expand Down

0 comments on commit c2ac428

Please sign in to comment.