Skip to content

Commit

Permalink
added missing files
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Jun 10, 2021
1 parent e266bef commit 508a02a
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ui/build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const fs = require('fs-extra');

fs.ensureDir('./build/unsecured').then(function () {
try {
fs.copySync('./node_modules/@fortawesome/fontawesome-free/webfonts', './build/unsecured');
console.log('copy fonts success!')
} catch (err) {
console.log(err);
}
});
30 changes: 30 additions & 0 deletions ui/public/unsecured/error.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title th:text="#{messages.brand.header.title}">Shibboleth Metadata Management</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="icon" type="image/png" sizes="96x96" href="assets/favicon-96x96.png">
<link rel="stylesheet" type="text/css" href="static.css">
<base href="/">
</head>
<body>
<nav class="navbar navbar-expand-md fixed-top bg-white">
<span class="navbar-text" th:text="#{messages.brand.header.title}">Shibboleth Metadata Management</span>
</nav>
<main class="container-fluid p-3">
<div class="d-flex justify-content-center">
<div class="card align-self-center">
<div class="card-body d-flex justify-content-between">
<i class="fa fa-fw fa-check-circle-o fa-3x text-success"></i>
<div class="ml-2 px-3">
<h5 class="card-title" th:text="#{messages.message.user-request-received-title}">User request received</h5>
<p class="card-text" th:text="#{messages.message.user-request-received-body}">Your request has been received and is being reviewed. You will be notified with access status.</p>
</div>
</div>
</div>
</div>
</main>
</body>
</html>
29 changes: 29 additions & 0 deletions ui/src/static.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
@import '../node_modules/bootstrap/scss/bootstrap';

@import './theme/variables';

$font-size-xs: .75rem !default;
$fa-font-path: ".";

@import '../node_modules/@fortawesome/fontawesome-free/scss/regular';
@import '../node_modules/@fortawesome/fontawesome-free/scss/fontawesome';

body {
background-color: map-get($theme-colors, light);
padding-top: 56px;
}

.section {
.section-body {
background: $white;
}
}

nav.fixed-top {
border-bottom: 3px solid map-get($theme-colors, primary);
}

.card {
margin: 100px;
max-width: 500px;
}

0 comments on commit 508a02a

Please sign in to comment.