Edoruin commited on
Commit
ceb9831
·
1 Parent(s): f7f0a1a

sustitude flet by flask

Browse files
app/main.py CHANGED
@@ -190,7 +190,7 @@ if bot:
190
  # --- WEB ROUTES ---
191
  @app.route('/')
192
  def index():
193
- return render_template('index.html', title="MAKER STATION")
194
 
195
  @app.route('/login', methods=['GET', 'POST'])
196
  def login():
 
190
  # --- WEB ROUTES ---
191
  @app.route('/')
192
  def index():
193
+ return render_template('index.html', title="MAKER SPACE")
194
 
195
  @app.route('/login', methods=['GET', 'POST'])
196
  def login():
app/static/js/script.js CHANGED
@@ -1,4 +1,4 @@
1
- // Global scripts for Maker Station
2
- console.log("Maker Station UI Loaded");
3
 
4
  // Handle any global interactions here
 
1
+ // Global scripts for Maker Space
2
+ console.log("Maker Space UI Loaded");
3
 
4
  // Handle any global interactions here
app/static/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "name": "Maker Station",
3
- "short_name": "MakerStation",
4
- "description": "Panel de control para Maker Station",
5
  "start_url": "/",
6
  "display": "standalone",
7
  "background_color": "#0f172a",
 
1
  {
2
+ "name": "Maker Space",
3
+ "short_name": "MakerSpace",
4
+ "description": "Panel de control para Maker Space",
5
  "start_url": "/",
6
  "display": "standalone",
7
  "background_color": "#0f172a",
app/templates/base.html CHANGED
@@ -4,7 +4,7 @@
4
  <head>
5
  <meta charset="UTF-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <title>{{ title or "MAKERSTATION" }}</title>
8
 
9
  <!-- PWA Meta Tags -->
10
  <link rel="manifest" href="{{ url_for('static', filename='manifest.json') }}">
@@ -12,7 +12,7 @@
12
  <link rel="apple-touch-icon" href="{{ url_for('static', filename='assets/apple-touch-icon.png') }}">
13
  <meta name="apple-mobile-web-app-capable" content="yes">
14
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
15
- <meta name="apple-mobile-web-app-title" content="Maker Station">
16
 
17
  <link rel="icon" href="{{ url_for('static', filename='assets/favicon.png') }}">
18
  <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
@@ -27,7 +27,7 @@
27
  <div class="nav-container">
28
  <a href="/" class="nav-logo">
29
  <i class="fas fa-cube"></i>
30
- <span>MAKER STATION</span>
31
  </a>
32
  <div class="nav-links">
33
  <a href="/prestamos" class="nav-item">PRÉSTAMOS</a>
@@ -79,7 +79,7 @@
79
  container.appendChild(notif);
80
 
81
  if ("Notification" in window && Notification.permission === "granted") {
82
- new Notification("MAKER STATION", {
83
  body: text,
84
  icon: "/static/assets/icon192x192.png"
85
  });
 
4
  <head>
5
  <meta charset="UTF-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>{{ title or "MAKER SPACE" }}</title>
8
 
9
  <!-- PWA Meta Tags -->
10
  <link rel="manifest" href="{{ url_for('static', filename='manifest.json') }}">
 
12
  <link rel="apple-touch-icon" href="{{ url_for('static', filename='assets/apple-touch-icon.png') }}">
13
  <meta name="apple-mobile-web-app-capable" content="yes">
14
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
15
+ <meta name="apple-mobile-web-app-title" content="Maker Space">
16
 
17
  <link rel="icon" href="{{ url_for('static', filename='assets/favicon.png') }}">
18
  <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
 
27
  <div class="nav-container">
28
  <a href="/" class="nav-logo">
29
  <i class="fas fa-cube"></i>
30
+ <span>MAKER SPACE</span>
31
  </a>
32
  <div class="nav-links">
33
  <a href="/prestamos" class="nav-item">PRÉSTAMOS</a>
 
79
  container.appendChild(notif);
80
 
81
  if ("Notification" in window && Notification.permission === "granted") {
82
+ new Notification("MAKER SPACE", {
83
  body: text,
84
  icon: "/static/assets/icon192x192.png"
85
  });
app/templates/index.html CHANGED
@@ -3,7 +3,7 @@
3
  {% block content %}
4
  <div class="hero section">
5
  <h1>PANEL DE CONTROL</h1>
6
- <p class="text-dim">Gestiona los recursos de Maker Station de forma eficiente.</p>
7
  </div>
8
 
9
  <div class="card-grid">
 
3
  {% block content %}
4
  <div class="hero section">
5
  <h1>PANEL DE CONTROL</h1>
6
+ <p class="text-dim">Gestiona los recursos de Maker Space de forma eficiente.</p>
7
  </div>
8
 
9
  <div class="card-grid">
app/templates/login.html CHANGED
@@ -3,7 +3,7 @@
3
  {% block content %}
4
  <div class="hero section" style="text-align: center; margin-bottom: 3rem;">
5
  <h1>INICIO DE SESIÓN</h1>
6
- <p class="text-dim">Accede a los proyectos de Maker Station.</p>
7
  </div>
8
 
9
  <div class="glass" style="max-width: 400px; margin: 0 auto; padding: 2.5rem; border-radius: 24px;">
@@ -22,7 +22,7 @@
22
  </form>
23
 
24
  <div style="margin-top: 2rem; text-align: center; font-size: 0.85rem;" class="text-dim">
25
- <p>Esta sección está protegida para miembros de Maker Station.</p>
26
  </div>
27
  </div>
28
  {% endblock %}
 
3
  {% block content %}
4
  <div class="hero section" style="text-align: center; margin-bottom: 3rem;">
5
  <h1>INICIO DE SESIÓN</h1>
6
+ <p class="text-dim">Accede a los proyectos de Maker Space.</p>
7
  </div>
8
 
9
  <div class="glass" style="max-width: 400px; margin: 0 auto; padding: 2.5rem; border-radius: 24px;">
 
22
  </form>
23
 
24
  <div style="margin-top: 2rem; text-align: center; font-size: 0.85rem;" class="text-dim">
25
+ <p>Esta sección está protegida para miembros de Maker Space.</p>
26
  </div>
27
  </div>
28
  {% endblock %}