mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Modal about and legal
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
#!/bin/bash
|
||||
apt-get update
|
||||
apt-get install npm
|
||||
apt-get install nodejs
|
||||
apt-get install -y npm
|
||||
apt-get install -y nodejs
|
||||
npm install -g forever
|
||||
ln -s /usr/bin/nodejs /usr/bin/node
|
||||
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/server
|
||||
forever stopall
|
||||
CMD="forever start -l /var/log/zoff.log -a --workingDir $DIR $DIR/server.js"
|
||||
|
||||
@@ -19,12 +19,30 @@ if(isset($_GET['chan'])){
|
||||
</a>
|
||||
<a href="zoff.no" class="brand-logo hide-on-med-and-up">Zöff</a>
|
||||
<ul id="nav-mobile" class="right hide-on-med-and-down">
|
||||
<li><a href="#">About</a></li>
|
||||
<li><a href="#">GitHub</a></li>
|
||||
<li><a href="#">Legal</a></li>
|
||||
<li><a class="modal-trigger" onclick="$('#about').openModal()">About</a></li>
|
||||
<li><a href="https://github.com/nixolas1/Zoff">GitHub</a></li>
|
||||
<li><a class="modal-trigger" onclick="$('#legal').openModal()">Legal</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
<div id="legal" class="modal">
|
||||
<div class="modal-content">
|
||||
<h4>Legal</h4>
|
||||
<p>A bunch of text</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a href="#!" class=" modal-action modal-close waves-effect waves-green btn-flat">Close</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="about" class="modal">
|
||||
<div class="modal-content">
|
||||
<h4>About</h4>
|
||||
<p>A bunch of text</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<a href="#!" class=" modal-action modal-close waves-effect waves-green btn-flat">Close</a>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main class="center-align container">
|
||||
|
||||
@@ -72,6 +72,8 @@ main {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.clickable, .modal-trigger{cursor:pointer;}
|
||||
|
||||
.cardbg{
|
||||
background-repeat: no-repeat;
|
||||
background-size: 124%;
|
||||
|
||||
Reference in New Issue
Block a user