Update for vanilla Artanis

parent 41ccb8e9
......@@ -173,7 +173,7 @@
(post "/v1/colt/upload_head_img"
#:with-auth "dashboard/login"
#:from-post `(store #:path ,(format #f "~a/pub/img/" (current-toplevel)))
#:from-post `(store #:path ,(format #f "~a/img/" (current-toplevel)))
(lambda (rc)
(:from-post rc 'store)
"ok"))
......@@ -10,7 +10,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport'>
<meta name="referrer" content="same-origin">
<link rel="preload" as="font" href="/pub/css/fonts/OpenSans-Regular.ttf">
<link rel="preload" as="font" href="/css/fonts/OpenSans-Regular.ttf">
<@css materialize.min.css %>
<@js materialize.min.js %>
<@css blog.css %>
......@@ -18,7 +18,7 @@
<@css dashboard.css %>
</head>
<body style="background-image:url('/pub/img/bg-0.jpg');">
<body style="background-image:url('/img/bg-0.jpg');">
<div class="row">
<div id="card_tips" class="col s12 m5">
<div class="card small blue darken-1 hoverable">
......
......@@ -10,7 +10,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport'>
<meta name="referrer" content="strict-origin-when-cross-origin">
<link rel="preload" as="font" href="/pub/css/fonts/OpenSans-Regular.ttf">
<link rel="preload" as="font" href="/css/fonts/OpenSans-Regular.ttf">
<@css materialize.min.css %>
<@js materialize.min.js %>
<@css blog.css %>
......@@ -38,7 +38,7 @@
</div>
</div>
<div class="sidenav sidenav-fixed" style="width:19%;background-image:url('/pub/img/ink_paint.jpg');">
<div class="sidenav sidenav-fixed" style="width:19%;background-image:url('/img/ink_paint.jpg');">
<ul id="slide-out">
<li>
<div id="upload_img_area" onmouseover="show_upload_button(this)" onmouseout="hide_upload_button(this)" class="hoverable">
......@@ -48,7 +48,7 @@
<div id="upload_img_button_background" class="background">
<div id="upload_img_button" class="responsive-img" onclick="choose_file()" alt="Upload a new pic">
</div>
<img id="head_pic" class="responsive-img" src="pub/img/head.jpg">
<img id="head_pic" class="responsive-img" src="/img/head.jpg">
</div>
</div>
</li>
......
......@@ -21,7 +21,7 @@
</script>
</head>
<body style="background-image:url('/pub/img/bg.jpg');">
<body style="background-image:url('/img/bg.jpg');">
<div class="valign-wrapper row login-box center-align">
<div class="col card hoverable s10 pull-s1 m6 pull-m3 l4 pull-l4">
<form action="/auth" method="post">
......
......@@ -2,7 +2,7 @@
<nav class="blue darken-2">
<div class="nav-wrapper container">
<a href="https://gitlab.com/NalaGinrut/colt/" class="left colt-icon-button">
<img src="/pub/img/colt.png" width="40" height="35"
<img src="/img/colt.png" width="40" height="35"
title="Powered by Colt Blog Engine" alt="Colt Blog Engine" />
</a>
......@@ -15,7 +15,7 @@
<li><a href="/about">About</a></li>
<li><a href="/dashboard">Dashboard</a></li>
<li>
<a href="/feed/atom">Subscribe <img src="/pub/img/feed-icon-14x14.png" alt="[feed]" /></a>
<a href="/feed/atom">Subscribe <img src="/img/feed-icon-14x14.png" alt="[feed]" /></a>
</li>
</ul>
</div>
......
......@@ -118,7 +118,7 @@ select {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url('/pub/css/fonts/material-icons.woff2') format('woff2');
src: url('/css/fonts/material-icons.woff2') format('woff2');
}
.material-icons {
......@@ -139,21 +139,21 @@ select {
/* Light */
@font-face {
font-family: 'Open Sans';
src: url('/pub/css/fonts/OpenSans-Light.ttf');
src: url('/css/fonts/OpenSans-Light.ttf');
font-weight: 300;
font-style: normal;
}
/* Regular */
@font-face {
font-family: 'Open Sans';
src: url('/pub/css/fonts/OpenSans-Regular.ttf');
src: url('/css/fonts/OpenSans-Regular.ttf');
font-weight: 400;
font-style: normal;
}
/* Regular */
@font-face {
font-family: 'Open Sans';
src: url('/pub/css/fonts/OpenSans-Bold.ttf');
src: url('/css/fonts/OpenSans-Bold.ttf');
font-weight: 700;
font-style: normal;
}
......
......@@ -256,50 +256,6 @@ h2, h3 {
margin-bottom: 0;
}
/* Herman */
/* @font-face { */
/* font-family: 'Material Icons'; */
/* font-style: normal; */
/* font-weight: 400; */
/* src: url('/pub/css/fonts/material-icons.woff2') format('woff2'); */
/* } */
/* .material-icons { */
/* font-family: 'Material Icons'; */
/* font-weight: normal; */
/* font-style: normal; */
/* font-size: 24px; */
/* line-height: 1; */
/* letter-spacing: normal; */
/* text-transform: none; */
/* display: inline-block; */
/* white-space: nowrap; */
/* word-wrap: normal; */
/* direction: ltr; */
/* -webkit-font-smoothing: antialiased; */
/* } */
/* Light */
/* @font-face { */
/* font-family: 'Open Sans'; */
/* src: url('/pub/css/fonts/OpenSans-Light.ttf'); */
/* font-weight: 300; */
/* font-style: normal; */
/* } */
/* /\* Regular *\/ */
/* @font-face { */
/* font-family: 'Open Sans'; */
/* font-weight: 400; */
/* font-style: normal; */
/* } */
/* /\* Regular *\/ */
/* @font-face { */
/* font-family: 'Open Sans'; */
/* src: url('/pub/css/fonts/OpenSans-Bold.ttf'); */
/* font-weight: 700; */
/* font-style: normal; */
/* } */
html,
body {
font-family: 'Open Sans', sans-serif;
......
......@@ -32,7 +32,7 @@
z-index:1;
margin-top:15%;
display:none;
background-image: url('/pub/img/upload.svg');
background-image: url('/img/upload.svg');
cursor:pointer;
}
......
......@@ -8,7 +8,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport'>
<meta name="referrer" content="strict-origin-when-cross-origin">
<link rel="preload" as="font" href="/pub/css/fonts/OpenSans-Regular.ttf">
<link rel="preload" as="font" href="/css/fonts/OpenSans-Regular.ttf">
<@css materialize.min.css %>
<@css blog.css %>
<@js jquery-3.4.1.min.js %>
......
......@@ -82,7 +82,7 @@ function upload_img(obj) {
.then(response => {
if (200 == response.status) {
let img = document.getElementById('head_pic');
img.src = "/pub/img/head.jpg?time="+new Date().getTime();
img.src = "/img/head.jpg?time="+new Date().getTime();
hide_upload_button(this);
}});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment