Skip to content

Commit c3bf438

Browse files
author
David Schenk
committed
inital commit
0 parents  commit c3bf438

File tree

179 files changed

+127399
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+127399
-0
lines changed

.gitignore

+469
Large diffs are not rendered by default.

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# nginx ui
2+
3+
We use nginx in our company lab environment.
4+
I thought it would be nice to have the possibility to view and adjust
5+
the configuration of nginx via web ui.

app/__init__.py

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
from flask import Flask
2+
from config import config
3+
4+
5+
def create_app(config_name):
6+
app = Flask(__name__)
7+
app.config.from_object(config[config_name])
8+
config[config_name].init_app(app)
9+
10+
from app.ui import ui as ui_blueprint
11+
app.register_blueprint(ui_blueprint)
12+
13+
from app.api import api as api_blueprint
14+
app.register_blueprint(api_blueprint, url_prefix='/api')
15+
16+
return app

app/api/__init__.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
from flask import Blueprint
2+
3+
api = Blueprint('api', __name__)
4+
5+
from . import endpoints

app/api/endpoints.py

Whitespace-only changes.

app/static/semantic/.versions

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
3+
4+

app/static/semantic/LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Semantic Org
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

app/static/semantic/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# CSS Distribution
2+
3+
This repository is automatically synced with the main [Semantic UI](https://github.com/Semantic-Org/Semantic-UI) repository to provide lightweight CSS only version of Semantic UI.
4+
5+
This package **does not support theming** and includes generated CSS files of the default theme only.
6+
7+
You can view more on Semantic UI at [LearnSemantic.com](http://www.learnsemantic.com) and [Semantic-UI.com](http://www.semantic-ui.com)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,253 @@
1+
/*!
2+
* # Semantic UI 2.4.1 - Accordion
3+
* http://github.com/semantic-org/semantic-ui/
4+
*
5+
*
6+
* Released under the MIT license
7+
* http://opensource.org/licenses/MIT
8+
*
9+
*/
10+
11+
12+
/*******************************
13+
Accordion
14+
*******************************/
15+
16+
.ui.accordion,
17+
.ui.accordion .accordion {
18+
max-width: 100%;
19+
}
20+
.ui.accordion .accordion {
21+
margin: 1em 0em 0em;
22+
padding: 0em;
23+
}
24+
25+
/* Title */
26+
.ui.accordion .title,
27+
.ui.accordion .accordion .title {
28+
cursor: pointer;
29+
}
30+
31+
/* Default Styling */
32+
.ui.accordion .title:not(.ui) {
33+
padding: 0.5em 0em;
34+
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
35+
font-size: 1em;
36+
color: rgba(0, 0, 0, 0.87);
37+
}
38+
39+
/* Content */
40+
.ui.accordion .title ~ .content,
41+
.ui.accordion .accordion .title ~ .content {
42+
display: none;
43+
}
44+
45+
/* Default Styling */
46+
.ui.accordion:not(.styled) .title ~ .content:not(.ui),
47+
.ui.accordion:not(.styled) .accordion .title ~ .content:not(.ui) {
48+
margin: '';
49+
padding: 0.5em 0em 1em;
50+
}
51+
.ui.accordion:not(.styled) .title ~ .content:not(.ui):last-child {
52+
padding-bottom: 0em;
53+
}
54+
55+
/* Arrow */
56+
.ui.accordion .title .dropdown.icon,
57+
.ui.accordion .accordion .title .dropdown.icon {
58+
display: inline-block;
59+
float: none;
60+
opacity: 1;
61+
width: 1.25em;
62+
height: 1em;
63+
margin: 0em 0.25rem 0em 0rem;
64+
padding: 0em;
65+
font-size: 1em;
66+
-webkit-transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
67+
transition: opacity 0.1s ease, -webkit-transform 0.1s ease;
68+
transition: transform 0.1s ease, opacity 0.1s ease;
69+
transition: transform 0.1s ease, opacity 0.1s ease, -webkit-transform 0.1s ease;
70+
vertical-align: baseline;
71+
-webkit-transform: none;
72+
transform: none;
73+
}
74+
75+
/*--------------
76+
Coupling
77+
---------------*/
78+
79+
80+
/* Menu */
81+
.ui.accordion.menu .item .title {
82+
display: block;
83+
padding: 0em;
84+
}
85+
.ui.accordion.menu .item .title > .dropdown.icon {
86+
float: right;
87+
margin: 0.21425em 0em 0em 1em;
88+
-webkit-transform: rotate(180deg);
89+
transform: rotate(180deg);
90+
}
91+
92+
/* Header */
93+
.ui.accordion .ui.header .dropdown.icon {
94+
font-size: 1em;
95+
margin: 0em 0.25rem 0em 0rem;
96+
}
97+
98+
99+
/*******************************
100+
States
101+
*******************************/
102+
103+
.ui.accordion .active.title .dropdown.icon,
104+
.ui.accordion .accordion .active.title .dropdown.icon {
105+
-webkit-transform: rotate(90deg);
106+
transform: rotate(90deg);
107+
}
108+
.ui.accordion.menu .item .active.title > .dropdown.icon {
109+
-webkit-transform: rotate(90deg);
110+
transform: rotate(90deg);
111+
}
112+
113+
114+
/*******************************
115+
Types
116+
*******************************/
117+
118+
119+
/*--------------
120+
Styled
121+
---------------*/
122+
123+
.ui.styled.accordion {
124+
width: 600px;
125+
}
126+
.ui.styled.accordion,
127+
.ui.styled.accordion .accordion {
128+
border-radius: 0.28571429rem;
129+
background: #FFFFFF;
130+
-webkit-box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15);
131+
box-shadow: 0px 1px 2px 0 rgba(34, 36, 38, 0.15), 0px 0px 0px 1px rgba(34, 36, 38, 0.15);
132+
}
133+
.ui.styled.accordion .title,
134+
.ui.styled.accordion .accordion .title {
135+
margin: 0em;
136+
padding: 0.75em 1em;
137+
color: rgba(0, 0, 0, 0.4);
138+
font-weight: bold;
139+
border-top: 1px solid rgba(34, 36, 38, 0.15);
140+
-webkit-transition: background 0.1s ease, color 0.1s ease;
141+
transition: background 0.1s ease, color 0.1s ease;
142+
}
143+
.ui.styled.accordion > .title:first-child,
144+
.ui.styled.accordion .accordion .title:first-child {
145+
border-top: none;
146+
}
147+
148+
/* Content */
149+
.ui.styled.accordion .content,
150+
.ui.styled.accordion .accordion .content {
151+
margin: 0em;
152+
padding: 0.5em 1em 1.5em;
153+
}
154+
.ui.styled.accordion .accordion .content {
155+
padding: 0em;
156+
padding: 0.5em 1em 1.5em;
157+
}
158+
159+
/* Hover */
160+
.ui.styled.accordion .title:hover,
161+
.ui.styled.accordion .active.title,
162+
.ui.styled.accordion .accordion .title:hover,
163+
.ui.styled.accordion .accordion .active.title {
164+
background: transparent;
165+
color: rgba(0, 0, 0, 0.87);
166+
}
167+
.ui.styled.accordion .accordion .title:hover,
168+
.ui.styled.accordion .accordion .active.title {
169+
background: transparent;
170+
color: rgba(0, 0, 0, 0.87);
171+
}
172+
173+
/* Active */
174+
.ui.styled.accordion .active.title {
175+
background: transparent;
176+
color: rgba(0, 0, 0, 0.95);
177+
}
178+
.ui.styled.accordion .accordion .active.title {
179+
background: transparent;
180+
color: rgba(0, 0, 0, 0.95);
181+
}
182+
183+
184+
/*******************************
185+
States
186+
*******************************/
187+
188+
189+
/*--------------
190+
Active
191+
---------------*/
192+
193+
.ui.accordion .active.content,
194+
.ui.accordion .accordion .active.content {
195+
display: block;
196+
}
197+
198+
199+
/*******************************
200+
Variations
201+
*******************************/
202+
203+
204+
/*--------------
205+
Fluid
206+
---------------*/
207+
208+
.ui.fluid.accordion,
209+
.ui.fluid.accordion .accordion {
210+
width: 100%;
211+
}
212+
213+
/*--------------
214+
Inverted
215+
---------------*/
216+
217+
.ui.inverted.accordion .title:not(.ui) {
218+
color: rgba(255, 255, 255, 0.9);
219+
}
220+
221+
222+
/*******************************
223+
Theme Overrides
224+
*******************************/
225+
226+
@font-face {
227+
font-family: 'Accordion';
228+
src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjB5AAAAC8AAAAYGNtYXAPfOIKAAABHAAAAExnYXNwAAAAEAAAAWgAAAAIZ2x5Zryj6HgAAAFwAAAAyGhlYWT/0IhHAAACOAAAADZoaGVhApkB5wAAAnAAAAAkaG10eAJuABIAAAKUAAAAGGxvY2EAjABWAAACrAAAAA5tYXhwAAgAFgAAArwAAAAgbmFtZfC1n04AAALcAAABPHBvc3QAAwAAAAAEGAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADw2gHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEADgAAAAKAAgAAgACAAEAIPDa//3//wAAAAAAIPDZ//3//wAB/+MPKwADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQASAEkAtwFuABMAADc0PwE2FzYXFh0BFAcGJwYvASY1EgaABQgHBQYGBQcIBYAG2wcGfwcBAQcECf8IBAcBAQd/BgYAAAAAAQAAAEkApQFuABMAADcRNDc2MzIfARYVFA8BBiMiJyY1AAUGBwgFgAYGgAUIBwYFWwEACAUGBoAFCAcFgAYGBQcAAAABAAAAAQAAqWYls18PPPUACwIAAAAAAM/9o+4AAAAAz/2j7gAAAAAAtwFuAAAACAACAAAAAAAAAAEAAAHg/+AAAAIAAAAAAAC3AAEAAAAAAAAAAAAAAAAAAAAGAAAAAAAAAAAAAAAAAQAAAAC3ABIAtwAAAAAAAAAKABQAHgBCAGQAAAABAAAABgAUAAEAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEADAAAAAEAAAAAAAIADgBAAAEAAAAAAAMADAAiAAEAAAAAAAQADABOAAEAAAAAAAUAFgAMAAEAAAAAAAYABgAuAAEAAAAAAAoANABaAAMAAQQJAAEADAAAAAMAAQQJAAIADgBAAAMAAQQJAAMADAAiAAMAAQQJAAQADABOAAMAAQQJAAUAFgAMAAMAAQQJAAYADAA0AAMAAQQJAAoANABaAHIAYQB0AGkAbgBnAFYAZQByAHMAaQBvAG4AIAAxAC4AMAByAGEAdABpAG4AZ3JhdGluZwByAGEAdABpAG4AZwBSAGUAZwB1AGwAYQByAHIAYQB0AGkAbgBnAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('truetype'), url(data:application/font-woff;charset=utf-8;base64,d09GRk9UVE8AAASwAAoAAAAABGgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAAA9AAAAS0AAAEtFpovuE9TLzIAAAIkAAAAYAAAAGAIIweQY21hcAAAAoQAAABMAAAATA984gpnYXNwAAAC0AAAAAgAAAAIAAAAEGhlYWQAAALYAAAANgAAADb/0IhHaGhlYQAAAxAAAAAkAAAAJAKZAedobXR4AAADNAAAABgAAAAYAm4AEm1heHAAAANMAAAABgAAAAYAB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AAoANABaAHIAYQB0AGkAbgBnAFYAZQByAHMAaQBvAG4AIAAxAC4AMAByAGEAdABpAG4AZ3JhdGluZwByAGEAdABpAG4AZwBSAGUAZwB1AGwAYQByAHIAYQB0AGkAbgBnAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA) format('woff');
229+
font-weight: normal;
230+
font-style: normal;
231+
}
232+
233+
/* Dropdown Icon */
234+
.ui.accordion .title .dropdown.icon,
235+
.ui.accordion .accordion .title .dropdown.icon {
236+
font-family: Accordion;
237+
line-height: 1;
238+
-webkit-backface-visibility: hidden;
239+
backface-visibility: hidden;
240+
font-weight: normal;
241+
font-style: normal;
242+
text-align: center;
243+
}
244+
.ui.accordion .title .dropdown.icon:before,
245+
.ui.accordion .accordion .title .dropdown.icon:before {
246+
content: '\f0da' /*rtl:'\f0d9'*/;
247+
}
248+
249+
250+
/*******************************
251+
User Overrides
252+
*******************************/
253+

0 commit comments

Comments
 (0)