feup-ltw / ltw-project-g60 Goto Github PK
View Code? Open in Web Editor NEWltw-project-g60 created by GitHub Classroom
ltw-project-g60 created by GitHub Classroom
Refactor project to PHP, using templates structure.
Minimal:
Extra:
X - Dani
@ - Filipe
% - Gonçalo
X Ver favoritos - botão que altera "My Pets" e troca-se a si próprio para uma casa
% CORES
X Verificação Inputs
% Estilo Inputs
@ Proposals (JS):
X Add to Favourites em cada pet
%? Página de próprio user com capacidade de editar campos:
X Pesquisa de Pets
% HomePage - não ter texto todo nos pets. Pôr max length e a acabar com ...
% Adicionar unidades comprimento em pets_list
@ Responsivo
X Segurança
Caso os anos sejam menores que 0, pôr em meses
Retirar Favoritos da página pets_list para utilizadores não registados e shelters
REST API
<input id="csrf_var" type="hidden" name="csrf" value="<?=$_SESSION['csrf']?>">
include 'csrf_set.php';
set_csrf();
if (!isset($_SESSION['csrf']) || $_SESSION['csrf'] !== $_POST['csrf']){
echo '<script type="text/javascript">alert("Hacker Attack")</script>';
die();
}
CSS on its own can be fun, but stylesheets are getting larger, more complex, and harder to maintain. This is where a preprocessor can help. Sass lets you use features that don't exist in CSS yet like variables, nesting, mixins, inheritance and other nifty goodies that make writing CSS fun again.
Once you start tinkering with Sass, it will take your preprocessed Sass file and save it as a normal CSS file that you can use in your website.
You can install Sass on Windows, Mac, or Linux by downloading the package for your operating system from GitHub and adding it to your PATH. That’s all—there are no external dependencies and nothing else you need to install.
If you use Node.js, you can also install Sass using npm by running
npm install -g sass
However, please note that this will install the pure JavaScript implementation of Sass, which runs somewhat slower than the other options listed here. But it has the same interface, so it’ll be easy to swap in another implementation later if you need a bit more speed!
Guide to SASS/LESS/SCSS on WebStorm
You can find useful information here
Our SASS files will be stored on ./style
The main .css
file (style.css
) will contain all CSS code from every SASS file.
The goal here is to separate styles from each page in several SASS files, this allows us to have a better understanding of what is going on with our site's style.
style.sass
should only contain @use
statements so it can process every other SASS file inside.credentials.sass
for login.html
and register.html
; homepage.sass
for homepage.html
, etc.common.sass
should contain style code for common elements throughout the project as the filename suggests.This ussue will be updated as we learn more about SASS.
X - Dani
@ - Filipe
% - Gonçalo
X Ver favoritos - botão que altera "My Pets" e troca-se a si próprio para uma casa
% CORES
X Verificação Inputs
% Estilo Inputs
@ Proposals (JS):
X Add to Favourites em cada pet
%? Página de próprio user com capacidade de editar campos:
X Pesquisa de Pets
% HomePage - não ter texto todo nos pets. Pôr max length e a acabar com ...
% Adicionar unidades comprimento em pets_list
@ Responsivo
X Segurança
Caso os anos sejam menores que 0, pôr em meses
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.