- Tethys heading

- better tsconfig.json
- dashboard without php reports
This commit is contained in:
Arno Kaimbacher 2019-11-28 19:06:51 +01:00
parent e2c131edd1
commit 9d056b0b9f
7 changed files with 62 additions and 53 deletions

File diff suppressed because one or more lines are too long

View File

@ -62,6 +62,13 @@ a {
width: 100%;
}
.main-heading {
text-align: center;
font-weight: bold;
text-transform: uppercase;
color: inherit;
}
/* Separator */
.separator {

View File

@ -263,7 +263,7 @@ export default {
// https://github.com/vuejs-templates/webpack/issues/121
// npm install node-sass sass-loader --save-dev
<style lang="scss">
// Import CSS from Leaflet and plugins.
/* Import CSS from Leaflet and plugins.*/
@import "~leaflet/dist/leaflet.css";
@import "~leaflet-draw/dist/leaflet.draw.css";
@ -282,6 +282,6 @@ export default {
border: none;
width: 120px;
z-index: 999;
// height: 120px;
/*height: 120px;*/
}
</style>

View File

@ -63,7 +63,7 @@ Vue.use(VeeValidate, {
const STATUS_INITIAL = 0, STATUS_SAVING = 1, STATUS_SUCCESS = 2, STATUS_FAILED = 3;
const app = new Vue({
el: '#app',
components: { MyAutocomplete, LocationsMap,VueCountdown, modal, PersonTable },
components: { MyAutocomplete, LocationsMap, VueCountdown, modal, PersonTable },
data() {
return {
list: [
@ -364,7 +364,7 @@ const app = new Vue({
{
headers: {
'Content-Type': 'multipart/form-data',
'X-CSRF-TOKEN' : document.querySelector('meta[name="csrf-token"]').getAttribute('content'),
'X-CSRF-TOKEN': document.querySelector('meta[name="csrf-token"]').getAttribute('content'),
'X-Requested-With': 'XMLHttpRequest',
}
})
@ -406,14 +406,14 @@ const app = new Vue({
var error = 'The file you tried to upload is too large.';
_this.serrors.push(error);
}
else if(error.response && error.response.status == 419) {
else if (error.response && error.response.status == 419) {
// session timed out | not authenticated
// _this.serrors.push(error.response.data.message);
_this.serrors.push('This page has expired due to inactivity, please refresh and try again');
window.location = '/login';
}
if (error.message && error.message) {
_this.serrors.push( error.message);
_this.serrors.push(error.message);
}
_this.currentStatus = STATUS_FAILED;
});

View File

@ -6,9 +6,10 @@
<div class="hero-image"></div>
<div class="container centered">
<div class="twelve columns">
<h1 class="separator">Research Data Repository</h1>
<h1 class="main-heading">Tethys</h1>
<h2 class="separator">Research Data Repository</h1>
<h2>
Data Publisher for Geo- and Atmospheric Science Austria
Data Publisher for Geoscience Austria
</h2>
</div>
</div>

View File

@ -92,14 +92,14 @@
<div class="pure-u-1 pure-u-md-1">
{{-- <canvas id="myChart" width="400" height="260"></canvas> --}}
<div class="php-info">
@php
{{-- @php
ob_start();
phpinfo();
$pinfo = ob_get_contents();
ob_end_clean();
$pinfo = preg_replace( '%^.*<body>(.*)</body>.*$%ms','$1',$pinfo);
echo $pinfo;
@endphp
@endphp --}}
</div>
</div>
</div>

View File

@ -6,6 +6,7 @@
"sourceMap": true,
"outDir": "public/js/search",
"experimentalDecorators": true,
"lib": [ "es2015", "es2017", "dom" ]
},
"include": [
"resources/js/**/*"