update style

This commit is contained in:
Andrew Pamment 2018-02-06 21:00:00 +10:00
parent c7f564e4f8
commit aef982323a
7 changed files with 41 additions and 9 deletions

View File

@ -2769,7 +2769,7 @@ textarea.input-group-sm>.form-control, textarea.input-group-sm>.input-group-addo
}
.navbar {
position: relative;
min-height: 45px;
min-height: 50px;
margin-bottom: 21px;
border: 1px solid transparent;
}
@ -2941,13 +2941,14 @@ textarea.input-group-sm>.form-control, textarea.input-group-sm>.input-group-addo
.navbar-brand {
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
float: left;
padding: 12px 15px;
padding: 5px 15px 0px 15px;
font-size: 19px;
line-height: 21px;
}
.navbar-brand:hover, .navbar-brand:focus {
text-decoration: none;
}
@media(min-width:768px) {
.navbar>.container .navbar-brand {
margin-left: -15px;
@ -3013,8 +3014,8 @@ textarea.input-group-sm>.form-control, textarea.input-group-sm>.input-group-addo
float: left;
}
.navbar-nav>li>a {
padding-top: 12px;
padding-bottom: 12px;
padding-top: 17px;
padding-bottom: 17px;
}
.navbar-nav.navbar-right:last-child {
margin-right: -15px;
@ -5246,4 +5247,4 @@ label, .control-label, .help-block, .checkbox, .radio {
}
.affix {
position: fixed;
}
}

File diff suppressed because one or more lines are too long

BIN
docs/cinder/img/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

@ -15,7 +15,7 @@
<!-- Main title -->
<a class="navbar-brand" href="{{ nav.homepage.url }}">{{ config.site_name }}</a>
<a class="navbar-brand" href="{{ nav.homepage.url }}"><img src="{{ base_url }}/img/logo.png" alt="Magicka Documentation" /></a>
</div>
<!-- Expanded navigation -->

View File

@ -1,5 +1,7 @@
# File Area Setup
File directories and subdirectories are similar to message conferences and areas to set up in that they have a main section followed by sections describing each subdirectory.
## Example Config
[main]
@ -17,3 +19,30 @@
Upload Sec Level = 99
Upload Path = /path/to/MagickaBBS/files/area_two
In the main section there is just one variable that applies to the whole directory, **Visible Sec Level** is the security level required to view the directory.
The section name for the sub-directory is the name of the sub directory.
**Database** is the name of the database that stores the information of the files, it is stored in the main BBS directory. No extension is required.
**Download Sec Level** This is the security level required to download files from the subdirectory.
**Upload Sec Level** This is the security level required to upload files to the subdirectory.
**Upload Path** This is the directory in which uploads are stored for the subdirectory, make sure it's writable for the BBS.
## Uploading Files
When a user (or the sysop) uploads a file, they are not *approved* by default, so they will not be shown in the listings. To approve uploaded files, the sysop should run the fileapprove utility on the database.
./utils/fileapprove/fileapprove -d database.sq3
This will list all the files in the database, and allow the sysop to toggle the approved status, or remove the file entirely.
## Mass Uploading
If you have a directory full of files you want to upload, you can use the massupload perl script. This script will upload and approve all files in a folder, and if they are ZIP files check for file_id.diz files and import them into the description.
./utils/massupload/massupload.pl /path/to/MagickaBBS/files/area_one area_one.sq3
Note that you must use the FULL path of the directory the files are in.

View File

@ -1,5 +1,7 @@
# Tic File Processing
TODO.
## Example ticproc.sh
#!/bin/sh

View File

@ -16,9 +16,9 @@
## Install Prerequisites
Ensure you have git, c compiler, libsqlite3-dev, libreadline-dev, libssl-dev, libssh-dev libncurses5-dev, libmicrohttpd-dev, bash and gnu make
Ensure you have git, c compiler, libsqlite3-dev, libreadline-dev, libssl-dev, libssh-dev libncurses5-dev, libmicrohttpd-dev, bash, libdbd-sqlite3-perl, gnu sed and gnu make
sudo apt-get install build-essential libsqlite3-dev libreadline-dev git libssl-dev libssh-dev libncurses5-dev libmicrohttpd-dev
sudo apt-get install build-essential libsqlite3-dev libreadline-dev git libssl-dev libssh-dev libncurses5-dev libmicrohttpd-dev libdbd-sqlite3-perl sed
should work on debian and debian derivatives.