Skip to content

Commit

Permalink
Add docker notice on download, Restore website
Browse files Browse the repository at this point in the history
  • Loading branch information
Prev committed Mar 12, 2018
1 parent 4539a55 commit 05b1335
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
generated/
__pycache__
/_*
venv/*
14 changes: 14 additions & 0 deletions assets/css/download.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@ p{
padding: 0;
}

p.notice{
display: inline-block;
width: 520px;
text-align: center;
background-color: #fffcf1;
border: 1px solid #f7efda;
border-radius: 5px;
padding: 2px;
margin: 10px 0 30px;
}

p.notice a{ color: #333; }

.buttons a{
display: inline-block;
*zoom: 1;
Expand Down Expand Up @@ -51,6 +64,7 @@ section#download .buttons a:hover{ background-color: #264058 }
section#developers{
padding: 20px;
background-color: #eee;
text-align: center;
}
section#developers p{ text-align: center; }

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jikji==0.5
13 changes: 11 additions & 2 deletions templates/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ <h2 class="ctr">Test regex in fully isolated environment</h2>
<p>
We support basic environments like python, java, nodejs, and php.<br>And besides, we support regular expressions in special modules like flume, hive, and nginx.
</p>

<p class="notice">
<strong>Notice</strong>: You need to install <a href="https://www.docker.com/get-docker">Docker</a> first before run program.
</p>

<div>
<img src="/images/magaret-screenshot1-1.png" width="800">
</div>
Expand All @@ -51,6 +56,10 @@ <h2 class="ctr">for advanced developer</h2>
You can install this app with npm.
</p>

<p class="notice">
<strong>Notice</strong>: You need to install <a href="https://www.docker.com/get-docker">Docker</a> first before run program.
</p>

<code>
$ git clone https://github.com/rexpress/magaret.git
$ cd magaret
Expand All @@ -65,11 +74,11 @@ <h2 class="ctr">for advanced developer</h2>
</div>

<p class="top-line">
Our all source codes are open source.<br>
Our all codes are open source.<br>
You can see our codes, make pull requests, and submit issues, too.
</p>
<p>
regular.express could always use more contributers!
regular.express loves being a contributer!
</p>
</section>

Expand Down
2 changes: 1 addition & 1 deletion templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h2 class="ctr">Test and share regex with our app</h2>
These modules are run in fully isolated environment in docker.
</div>
<div class="screenshot">
<img src="/images/magaret-screenshot1.png" width="800">
<img src="/images/magaret-screenshot1-1.png" width="800">
</div>
<div class="buttons">
<a href="/download">Download</a>
Expand Down
12 changes: 11 additions & 1 deletion templates/layout/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,20 @@
</div>

<footer>
<span class="copy">&copy; 2016 regular.express</span>
<span class="copy">&copy; 2016-2018 regular.express</span>

<a href="/terms">Terms &amp; Service</a>
<a href="https://github.com/rexpress">Github</a>
</footer>

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-115550970-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-115550970-1');
</script>

</body>
</html>

0 comments on commit 05b1335

Please sign in to comment.