...
 
Commits (4)
......@@ -24,12 +24,25 @@
<![endif]-->
</head>
<body>
<div class="container">
</div>
<div class="container">
<div class="page-header" id="banner" style="border-bottom: 0px;">
<div class="row">
<div class="col-lg-12">
<h1 class="text-center"><strong>gmu</strong>keyserver</h1>
</div>
<h1 class="text-cente<div class = "content-dir-item"></h1>
<img src="./img/key.svg" class = "key" alt="img-key" align=left />
<h1><p><strong> GMU Key Server </strong></p></h1>
</div>
<link rel="icon" href="img/favicon.ico" type="image/x-icon"/>
<br></br>
<h4 class="modal-title" id="myModalLabel">Search for a PGP Key</h4>
<label class="control-label" for="textarea">Enter either a:</label>
<ul>
<li> KeyID (0xdeadbeef)</li>
<li> Name (John Doe)</li>
<li> Email (johndoe@example.com)</li>
</ul>
</div>
</div>
</div>
</div>
......@@ -40,16 +53,16 @@
<div class="control-group">
<div class="controls">
<input name="search" id="search" class="form-control" type="text" style="font-size: 1.5em; line-height: 1.5em; height: 2em;"/>
</div>
</div>
</div>
<div class="control-group text-center" style="margin-top: 0.5em;">
<div class="controls">
<button class="btn btn-primary" onClick="searchSubmit();">Search Key</button>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">Submit Key</button>
</div>
</div>
<div class="text-center" style="margin-top: 0.5em;">
<a data-toggle="collapse" data-target="#advancedOptionsCollapse" href="#">Advanced Options</a>
</div>
<div class="text-center" style="margin-top: 0.5em;">
<label> Multiple Keys? Use a space-separated list: </label><br></br>
<!--- <a data-toggle="collapse" data-target="#advancedOptionsCollapse" href="#">Advanced Options</a> ---!>
</div>
<div id="advancedOptionsCollapse" class="collapse">
<div class="control-group">
......@@ -90,13 +103,13 @@
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="myModalLabel">Submit PGP Key</h4>
</div>
<!--- <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> ----!>
<h4 class="modal-title" id="myModalLabel">Submit your PGP Key</h4>
</div>
<div class="modal-body">
<form action="/pks/add" method="post" id="keySubmitForm">
<div class="control-group">
<label class="control-label" for="textarea">Enter an ASCII-armored OpenPGP key:</label>
<label class="control-label" for="textarea">Enter the <strong> Public Key</strong> of your ASCII-armored OpenPGP keypair:</label>
<div class="controls">
<textarea id="textarea" name="keytext" rows="5" style="width: 100%;"></textarea>
</div>
......@@ -104,17 +117,18 @@
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" onClick="submitHandler();">Submit Key</button>
</div>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">Submit Key</button>
</div>
</div>
</div>
</div>
<div id="footer">
<div class="footer-row">
<div class="col-md-8 col-md-offset-2">
<p id="footer" style="text-align:center">A service of <a href="http://srct.gmu.edu">Mason SRCT</a>. Licensed under the <a href="http://opensource.org/licenses/Apache-2.0">Apache License, Version 2.0</a>.</p>
</div>
<p id="footer" style="text-align:center">A service of <a href="http://srct.gmu.edu">Mason SRCT</a>.<img src="./img/favicon.ico" class = "image" alt="img-srct" align=center /> Licensed under the <a href="http://opensource.org/licenses/Apache-2.0">Apache License, Version 2.0</a>.</p>
</div>
<link rel="icon" href="img/favicon.ico" type="image/x-icon"/>
</div>
</div>
</div>
<script>
......