deleted: README.md~
modified: c/CtrlCheckLinks.rb new file: fichier/dir/d/zz modified: v/VueResult.rb
This commit is contained in:
		
							
								
								
									
										11
									
								
								README.md~
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md~
									
									
									
									
									
								
							@@ -1,11 +0,0 @@
 | 
			
		||||
curling-g32
 | 
			
		||||
==========================================================================
 | 
			
		||||
Projet Acsi Curling 2013-2014
 | 
			
		||||
 | 
			
		||||
Albert Jeremy, Aviles Adrien, Geoffrey Sentost, Quentin Rouland
 | 
			
		||||
 | 
			
		||||
==========================================================================
 | 
			
		||||
Requiert :
 | 
			
		||||
* Gtk2 : gem install gtk2
 | 
			
		||||
* net/ping : gem install net-ping
 | 
			
		||||
 | 
			
		||||
@@ -13,7 +13,7 @@ class CtrlCheckLinks
 | 
			
		||||
  def recupUrls(str)
 | 
			
		||||
    f = ReadFile.new(str)
 | 
			
		||||
    @urls = f.getUrls
 | 
			
		||||
    self.vueResult(self.verifLiens(@urls))
 | 
			
		||||
    self.vueResult(self.verifLiens(@urls), str)
 | 
			
		||||
  end
 | 
			
		||||
  
 | 
			
		||||
  def recupUrlsDoss(str)
 | 
			
		||||
@@ -45,8 +45,8 @@ class CtrlCheckLinks
 | 
			
		||||
    return resultats	
 | 
			
		||||
  end
 | 
			
		||||
  
 | 
			
		||||
  def vueResult(resultats)
 | 
			
		||||
    v = VueResult.new(resultats)
 | 
			
		||||
  def vueResult(resultats, nom)
 | 
			
		||||
    v = VueResult.new(resultats, nom)
 | 
			
		||||
    v.getWindow.show_all
 | 
			
		||||
    Gtk.main
 | 
			
		||||
    
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										4
									
								
								fichier/dir/d/zz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								fichier/dir/d/zz
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
fdfsdjkfdjskljfldks https://www.google.fr fodfkljskljsd
 | 
			
		||||
dqdjqdjodzzd  http://www.ndqjkdjqdkjz.com hdqhdkjqdqzdq
 | 
			
		||||
dqdqdkdpqzdd dqzdqzdkqlzndlkqdhqlkhdlkqhlkdkql djqlojdqkzjdmq
 | 
			
		||||
dqljdqjdmoljqdj http://www.a.com
 | 
			
		||||
							
								
								
									
										21
									
								
								fichier/haut.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								fichier/haut.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
<!DOCTYPE HTML>
 | 
			
		||||
<html>
 | 
			
		||||
 | 
			
		||||
<head>
 | 
			
		||||
	<meta charset="utf8" />
 | 
			
		||||
	<link rel="stylesheet" type="text/css" href="style/styles.css">
 | 
			
		||||
	
 | 
			
		||||
	<title>Boutique Marchande sur le Web</title>
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
	<div id="bandeau">
 | 
			
		||||
		<h1>Boutique marchande</h1>
 | 
			
		||||
	</div>
 | 
			
		||||
	<div id="menu">
 | 
			
		||||
		<ul>
 | 
			
		||||
			<li><a href="http://index.php ">Accueil</a></li>
 | 
			
		||||
			<li><a href="http://consultprod.php ">Consultation des promotions et nouveautés</a></li>
 | 
			
		||||
			<li><a href="http://consultcat.php ">Consultation des produits par catégorie</a></li>
 | 
			
		||||
			<li><a href="http://recherche.php ">Recherche d’un produit à commander (client nouveau)</a></ul>
 | 
			
		||||
	</div>
 | 
			
		||||
	<div id="contenu">
 | 
			
		||||
							
								
								
									
										21
									
								
								fichier/haut.html~
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								fichier/haut.html~
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
<!DOCTYPE HTML>
 | 
			
		||||
<html>
 | 
			
		||||
 | 
			
		||||
<head>
 | 
			
		||||
	<meta charset="utf8" />
 | 
			
		||||
	<link rel="stylesheet" type="text/css" href="style/styles.css">
 | 
			
		||||
	
 | 
			
		||||
	<title>Boutique Marchande sur le Web</title>
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
	<div id="bandeau">
 | 
			
		||||
		<h1>Boutique marchande</h1>
 | 
			
		||||
	</div>
 | 
			
		||||
	<div id="menu">
 | 
			
		||||
		<ul>
 | 
			
		||||
			<li><a href="http://index.php">Accueil</a></li>
 | 
			
		||||
			<li><a href="http://consultprod.php">Consultation des promotions et nouveautés</a></li>
 | 
			
		||||
			<li><a href="http://consultcat.php">Consultation des produits par catégorie</a></li>
 | 
			
		||||
			<li><a href="http://recherche.php">Recherche d’un produit à commander (client nouveau)</a></ul>
 | 
			
		||||
	</div>
 | 
			
		||||
	<div id="contenu">
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
class VueResult
 | 
			
		||||
  def initialize(liste_result)
 | 
			
		||||
  def initialize(liste_result, nom)
 | 
			
		||||
    @window = Gtk::Window.new
 | 
			
		||||
    @window.set_title('Resultats')
 | 
			
		||||
    @window.set_title(nom)
 | 
			
		||||
    
 | 
			
		||||
    vb = Gtk::VBox.new(true, 6)
 | 
			
		||||
    vh = Gtk::HBox.new(false, 6)
 | 
			
		||||
@@ -21,6 +21,7 @@ class VueResult
 | 
			
		||||
  def getWindow
 | 
			
		||||
    return @window
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def listenerDestroy
 | 
			
		||||
    @window.signal_connect('destroy') {
 | 
			
		||||
    @window.destroy
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user