Initial commit with user management
This commit is contained in:
commit
a1a928e7cb
98 changed files with 13042 additions and 0 deletions
11
static/less/Makefile
Normal file
11
static/less/Makefile
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
less = $(wildcard *.less)
|
||||
_css = $(less:.less=.css)
|
||||
css = $(addprefix ../css/, $(_css) )
|
||||
|
||||
../css/%.css: %.less
|
||||
lessc $< $@
|
||||
|
||||
all: $(css)
|
||||
|
||||
clean:
|
||||
rm -vf $(css)
|
||||
19
static/less/loop_make.sh
Executable file
19
static/less/loop_make.sh
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
while true
|
||||
do
|
||||
# inotifywait -q -e MOVE_SELF *less
|
||||
inotifywait -q -e MODIFY *less
|
||||
#sleep 0.5
|
||||
clear
|
||||
|
||||
for THEME in $(ls theme-*.less | sed -e 's/^theme-\(.*\)\.less$/\1/'); do
|
||||
export THEME=$THEME
|
||||
make -j12
|
||||
#curl -s http://notes.lan:1371/_ws/css_update
|
||||
done
|
||||
echo -e "\n\e[32;1mOK!\e[0m"
|
||||
sleep 1
|
||||
clear
|
||||
|
||||
done
|
||||
17
static/less/main.less
Normal file
17
static/less/main.less
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
html {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
*,
|
||||
*:before,
|
||||
*:after {
|
||||
box-sizing: inherit;
|
||||
}
|
||||
|
||||
*:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
[onClick] {
|
||||
cursor: pointer;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue