Update Bulma, remove out-of-place navbar

This commit is contained in:
James 2018-08-03 22:04:06 +10:00
parent a46e911ea0
commit b5e35e4495
6 changed files with 6 additions and 21531 deletions

View file

@ -33,13 +33,12 @@ pub fn file_from_string(file_path: &str) -> Option<(String, &'static [u8])> {
let contents = include_files_as_assets!( let contents = include_files_as_assets!(
file_path, file_path,
"/index.html", "/index.html",
"/css/bulma.css", "/css/bulma.min.css",
"/css/main.css", "/css/main.css",
"/img/logo.png", "/img/logo.png",
"/js/helpers.js", "/js/helpers.js",
"/js/vue.js",
"/js/vue.min.js" "/js/vue.min.js"
)?; )?;
Some((string_mime, contents)) //(*ASSETS.get(file_path)?).to_owned())) Some((string_mime, contents))
} }

View file

@ -77,7 +77,7 @@ fn main() {
let http_address = format!("http://{}", server.get_addr()); let http_address = format!("http://{}", server.get_addr());
// Init the web view // Init the web view
let size = (1024, 550); let size = (1024, 500);
let resizable = false; let resizable = false;
let debug = true; let debug = true;

10719
static/css/bulma.css vendored

File diff suppressed because it is too large Load diff

1
static/css/bulma.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -7,19 +7,11 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>yuzu Installer</title> <title>yuzu Installer</title>
<link rel="stylesheet" href="/css/bulma.css" type="text/css"> <link rel="stylesheet" href="/css/bulma.min.css" type="text/css">
<link rel="stylesheet" href="/css/main.css" type="text/css"> <link rel="stylesheet" href="/css/main.css" type="text/css">
</head> </head>
<body> <body>
<div id="app"> <div id="app">
<nav class="navbar is-dark" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<span class="navbar-item">
<img src="/img/logo.png" v-bind:alt="config.general.name">
</span>
</div>
</nav>
<!-- Main content --> <!-- Main content -->
<section class="section"> <section class="section">
<div class="container"> <div class="container">
@ -141,7 +133,7 @@
<script src="/api/config"></script> <script src="/api/config"></script>
<script src="/js/helpers.js"></script> <script src="/js/helpers.js"></script>
<script src="/js/vue.js"></script> <script src="/js/vue.min.js"></script>
<script> <script>
function selectFileCallback(name) { function selectFileCallback(name) {
app.install_location = name; app.install_location = name;

File diff suppressed because it is too large Load diff