aboutsummaryrefslogtreecommitdiff
path: root/htdocs/index.html
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2017-11-10 19:05:58 -0500
committerPaul Duncan <pabs@pablotron.org>2017-11-10 19:05:58 -0500
commitbbc7aa8b51e4890f66c8298d6dc7d6368ebade38 (patch)
treee8b7c8d37330be0188649718f6d4358963449f21 /htdocs/index.html
parent142e66c257c29fbca426bbfeb58ac8d2f883c817 (diff)
downloadmathy-bbc7aa8b51e4890f66c8298d6dc7d6368ebade38.tar.bz2
mathy-bbc7aa8b51e4890f66c8298d6dc7d6368ebade38.zip
add permalinks, move about links to data.js
Diffstat (limited to 'htdocs/index.html')
-rw-r--r--htdocs/index.html65
1 files changed, 61 insertions, 4 deletions
diff --git a/htdocs/index.html b/htdocs/index.html
index 0fe5fd4..3a5c416 100644
--- a/htdocs/index.html
+++ b/htdocs/index.html
@@ -45,6 +45,19 @@
</a><!-- btn -->
</div><!-- btn-group -->
+ <div class='btn-group btn-group-sm'>
+ <a
+ href='#'
+ class='btn btn-default'
+ title='Create permalink.'
+ data-toggle='modal'
+ data-target='#link-dialog'
+ >
+ <i class='fa fa-link'></i>
+ Link
+ </a><!-- btn -->
+ </div><!-- btn-group -->
+
<div class='btn-group btn-group-sm pull-right dropup'>
<a
href='#'
@@ -102,10 +115,6 @@
</p>
<ul>
- <li><a target='_blank' title='Ace Editor' href='https://ace.c9.io/'>Ace Editor</a></li>
- <li><a target='_blank' title='Bootstrap' href='https://getbootstrap.com/'>Bootstrap</a></li>
- <li><a target='_blank' title='jQuery' href='https://jquery.com'>jQuery</a></li>
- <li><a target='_blank' title='MathJax' href='https://www.mathjax.org/'>MathJax</a></li>
</ul>
</div><!-- modal-body -->
@@ -164,6 +173,54 @@
</div><!-- modal-dialog -->
</div><!-- modal -->
+ <div id='link-dialog' class='modal fade' role='dialog'>
+ <div class='modal-dialog' role='document'>
+ <div class='modal-content'>
+ <div class='modal-header'>
+ <button
+ type='button'
+ class='close'
+ title='Close dialog.'
+ data-dismiss='modal'
+ aria-label='Close'
+ >
+ <span aria-hidden='true'>
+ &times;
+ </span>
+ </button><!-- close -->
+
+ <h4 class="modal-title">
+ <i class='fa fa-link'></i>
+ Permalink
+ </h4><!-- modal-title -->
+ </div><!-- modal-header -->
+
+ <div class='modal-body'>
+ <p>
+ Copy the link below to share this entry:
+ </p>
+
+ <input
+ type='text'
+ class='form-control'
+ readonly='readonly'
+ />
+ </div><!-- modal-body -->
+
+ <div class='modal-footer'>
+ <button
+ type='button'
+ class='btn btn-default'
+ title='Close dialog.'
+ data-dismiss='modal'
+ >
+ &times; Close
+ </button>
+ </div><!-- modal-footer -->
+ </div><!-- modal-content -->
+ </div><!-- modal-dialog -->
+ </div><!-- modal -->
+
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
showProcessingMessages: false,